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

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px;
  background-color: #FFFFFF;
  gap: 30px;
}

.page-index__hero-content {
  max-width: 800px;
}

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

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

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

.page-index__button {
  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;
  display: inline-block;
}

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

.page-index__button--register:hover {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-index__button--explore:hover {
  background-color: #e0a73e;
}

.page-index__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-index__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-index__about-jackpot-section, .page-index__promotions-section, .page-index__responsible-gaming-section, .page-index__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__about-jackpot-section, .page-index__app-download-section {
  flex-direction: row;
  text-align: left;
  justify-content: space-between;
}

.page-index__about-jackpot-section .page-index__content-wrapper, .page-index__app-download-section .page-index__content-wrapper {
  flex: 1;
  padding-right: 40px;
}

.page-index__about-jackpot-section .page-index__section-image, .page-index__app-download-section .page-index__section-image {
  flex-shrink: 0;
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 400px; /* Ensure images are not too small */
  min-height: 300px;
}

.page-index__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-index__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-index__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__button--learn-more:hover {
  background-color: #333333;
}

.page-index__featured-games-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
  max-width: 100%;
}

.page-index__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 450px;
}

.page-index__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__button--play-now {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--play-now:hover {
  background-color: #e0a73e;
}

.page-index__promotions-section {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-index__promotions-section .page-index__section-text {
  color: #f0f0f0;
}

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

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

.page-index__button--view-promo:hover {
  background-color: #f0f0f0;
}

.page-index__button--deposit {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--deposit:hover {
  background-color: #e0a73e;
}

.page-index__why-choose-us-section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
}

.page-index__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index__feature-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.5;
}

.page-index__button--register-win {
  margin-top: 50px;
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--register-win:hover {
  background-color: #e0a73e;
}

.page-index__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
}

.page-index__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__button--responsible:hover {
  background-color: #333333;
}

.page-index__app-download-section .page-index__content-wrapper {
  padding-left: 40px;
  padding-right: 0;
}

.page-index__button--download-app {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__button--download-app:hover {
  background-color: #333333;
}

.page-index__section-image--mobile {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-jackpot-section, .page-index__app-download-section {
    flex-direction: column;
    text-align: center;
  }
  .page-index__about-jackpot-section .page-index__content-wrapper, .page-index__app-download-section .page-index__content-wrapper {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-index__about-jackpot-section .page-index__section-image, .page-index__app-download-section .page-index__section-image {
    width: 80%;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
  }
  .page-index__button {
    width: 100%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-text {
    font-size: 0.95em;
  }
  .page-index__game-cards-grid, .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__about-jackpot-section .page-index__section-image, .page-index__app-download-section .page-index__section-image {
    width: 100%;
    max-width: 400px; /* Constrain mobile image width */
    height: auto;
    margin: 0 auto;
  }
  .page-index__app-download-section .page-index__content-wrapper {
    padding-left: 0;
  }
  .page-index__hero-image, .page-index__section-image, .page-index__card-image, .page-index__feature-icon {
    max-width: 100%;
    height: auto;
  }
}