/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #000000; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-index__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-index__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-index__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-index__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 25px;
  color: #000000;
  padding-top: 60px;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: #333333;
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.page-index__button--learn-more:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
}

.page-index__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__game-card-title {
  font-size: 1.8em;
  margin: 25px 0 15px;
  color: #000000;
}

.page-index__game-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-index__game-card-title a:hover {
  color: #FCBC45;
}

.page-index__game-card-text {
  font-size: 1em;
  padding: 0 20px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-index__button--play-now, .page-index__button--bet-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--play-now:hover, .page-index__button--bet-now:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card-title {
  font-size: 1.8em;
  margin: 25px 0 15px;
  color: #000000;
}

.page-index__promo-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-index__promo-card-title a:hover {
  color: #FCBC45;
}

.page-index__promo-card-text {
  font-size: 1em;
  padding: 0 20px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-index__button--claim-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--claim-now:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-index__button--view-all {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 50px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.page-index__button--view-all:hover {
  background-color: transparent;
  color: #000000;
  transform: translateY(-3px);
}

/* Why Choose Section */
.page-index__why-choose-section {
  padding: 80px 0;
}

.page-index__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__advantage-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-index__advantage-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__advantage-card-title {
  font-size: 1.6em;
  margin: 25px 0 15px;
  color: #000000;
}

.page-index__advantage-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-index__advantage-card-title a:hover {
  color: #FCBC45;
}

.page-index__advantage-card-text {
  font-size: 1em;
  padding: 0 20px;
  color: #555555;
  line-height: 1.6;
}

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__testimonial-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  position: relative;
}

.page-index__testimonial-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  font-style: italic;
  margin-bottom: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #000000;
  font-size: 1em;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-index__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-index__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index__games-grid, .page-index__promotions-grid, .page-index__advantages-grid, .page-index__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-index__game-card-image,
  .page-index__promo-card-image,
  .page-index__advantage-card-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__button {
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__game-card-title, .page-index__promo-card-title {
    font-size: 1.5em;
  }
  .page-index__advantage-card-title {
    font-size: 1.4em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}