.page-index {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Fallback for image loading */
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index__hero-actions {
  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, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-index__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-index__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-index__button--download-app, .page-index__button--claim-bonus, .page-index__button--play-now, .page-index__button--view-all, .page-index__button--register-now, .page-index__button--learn-more, .page-index__button--view-details {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--download-app:hover, .page-index__button--claim-bonus:hover, .page-index__button--play-now:hover, .page-index__button--view-all:hover, .page-index__button--register-now:hover, .page-index__button--learn-more:hover, .page-index__button--view-details:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-index__text-content {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__about-section, .page-index__games-section, .page-index__promotions-section, .page-index__features-section, .page-index__mobile-section, .page-index__responsible-gaming-section, .page-index__latest-updates-section, .page-index__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index__games-section, .page-index__promotions-section {
  background-color: #f8f8f8;
}

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

.page-index__game-card, .page-index__promo-card, .page-index__detail-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-index__game-card:hover, .page-index__promo-card:hover, .page-index__detail-card:hover {
  transform: translateY(-10px);
}

.page-index__game-card-image, .page-index__promo-card-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-index__game-card-description, .page-index__promo-card-description, .page-index__detail-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-index__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-index__mobile-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-index__mobile-content {
  flex: 1;
}

.page-index__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-index__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

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

.page-index__cta-section .page-index__section-title::after {
  background-color: #FCBC45;
}

.page-index__cta-section .page-index__text-content {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-index__button--register-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index__button--register-now:hover {
  background-color: #e6a73c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__mobile-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 120px);
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__text-content {
    font-size: 0.95em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__features-list, .page-index__detail-pages-list {
    grid-template-columns: 1fr;
  }
  .page-index__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__about-section, .page-index__games-section, .page-index__promotions-section, .page-index__features-section, .page-index__mobile-section, .page-index__responsible-gaming-section, .page-index__latest-updates-section, .page-index__cta-section {
    padding: 60px 0;
  }
  .page-index__container {
    padding: 0 15px;
  }
  .page-index__hero-section {
    padding: 60px 0;
  }
  /* Ensure content area images are responsive and do not overflow */
  .page-index__games-section img, 
  .page-index__promotions-section img, 
  .page-index__mobile-section img, 
  .page-index__latest-updates-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}