.page-index {
  color: #333333; /* Dark text for light body background */
}

.page-index__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
  line-height: 1.5;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-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: #E0E0E0;
  transform: translateY(-2px);
}

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

.page-index__button--login:hover {
  background-color: #E6A83C;
  transform: translateY(-2px);
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.6;
}

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

.page-index__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__about-text {
  flex: 1;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-index__about-text p {
  margin-bottom: 20px;
  color: #333333;
}

.page-index__about-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index__about-features li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-index__about-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FCBC45;
  font-weight: bold;
}

.page-index__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
  border: 2px solid #000000;
}

.page-index__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index__about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-index__game-card:hover {
  transform: translateY(-5px);
}

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-index__game-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

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

.page-index__button--play-now, 
.page-index__button--bet-now, 
.page-index__button--explore {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index__button--play-now:hover, 
.page-index__button--bet-now:hover, 
.page-index__button--explore:hover {
  background-color: #E6A83C;
  transform: translateY(-2px);
}

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

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

.page-index__promo-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
}

.page-index__promo-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

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

.page-index__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index__button--view-details:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index__promo-cta {
    text-align: center;
}

.page-index__button--view-all {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-index__button--view-all:hover {
    background-color: #E6A83C;
    transform: translateY(-2px);
}

/* Mobile App Section */
.page-index__mobile-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__mobile-section .page-index__section-title,
.page-index__mobile-section .page-index__section-subtitle {
  color: #FFFFFF;
}

.page-index__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__mobile-text {
  flex: 1;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-index__mobile-text p {
  margin-bottom: 20px;
  color: #F0F0F0;
}

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

.page-index__button--download:hover {
  background-color: #E6A83C;
  transform: translateY(-2px);
}

.page-index__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* News Section */
.page-index__news-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-index__news-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-index__news-card:hover {
  transform: translateY(-5px);
}

.page-index__news-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-index__news-card-content {
    padding: 25px;
    text-align: left;
}

.page-index__news-card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__news-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.page-index__news-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-index__button--read-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index__button--read-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-index__cta-section .page-index__section-title,
.page-index__cta-section .page-index__section-subtitle {
  color: #FFFFFF;
}

.page-index__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 40px;
}

.page-index__button--join-now:hover {
  background-color: #E6A83C;
  transform: translateY(-2px);
}

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

  .page-index__section-title {
    font-size: 2.2em;
  }

  .page-index__about-content, .page-index__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__about-image-wrapper, .page-index__mobile-image-wrapper {
    margin-top: 40px;
  }

  .page-index__about-features {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__button {
    width: 80%;
    max-width: 300px;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__section-subtitle {
    font-size: 1em;
  }

  .page-index__game-card-title, .page-index__promo-card-title, .page-index__news-card-title {
    font-size: 1.5em;
  }

  .page-index__about-text, .page-index__mobile-text {
    font-size: 1em;
  }

  /* Mobile content area images must use max-width: 100%; height: auto; */
  .page-index__hero-image,
  .page-index__about-image,
  .page-index__game-card-image,
  .page-index__promo-card-image,
  .page-index__mobile-image,
  .page-index__news-card-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-content {
    padding: 40px 15px;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index__promo-card-image, .page-index__news-card-image {
    height: 200px;
  }
}