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

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

.page-index__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.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;
}

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

.page-index__btn {
  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;
  white-space: nowrap;
}

.page-index__btn--download {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light background */
}

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

.page-index__btn--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for light background */
  border: 2px solid #FCBC45;
}

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

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Blend with dark background */
  z-index: 0;
}

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

.page-index__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-index__features-section,
.page-index__download-guide-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__security-section,
.page-index__faq-section,
.page-index__cta-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-card:hover,
.page-index__game-card:hover,
.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-index__feature-icon,
.page-index__game-image,
.page-index__promo-image {
  width: 100%; /* Ensure images fill card width */
  height: auto; /* Maintain aspect ratio */
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

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

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

.page-index__feature-description,
.page-index__game-description,
.page-index__promo-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-index__step-card {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-index__step-description {
  font-size: 0.95em;
  color: #666666;
}

.page-index__guide-actions,
.page-index__games-cta,
.page-index__promo-cta,
.page-index__security-cta,
.page-index__faq-cta,
.page-index__cta-buttons {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__btn--download-bottom,
.page-index__btn--explore-games,
.page-index__btn--claim,
.page-index__btn--download-final {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__btn--download-bottom:hover,
.page-index__btn--explore-games:hover,
.page-index__btn--claim:hover,
.page-index__btn--download-final:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

.page-index__btn--learn-more,
.page-index__btn--view-promos,
.page-index__btn--all-promos,
.page-index__btn--learn-about-us,
.page-index__btn--contact-support,
.page-index__btn--view-all-faq,
.page-index__btn--register-final {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__btn--learn-more:hover,
.page-index__btn--view-promos:hover,
.page-index__btn--all-promos:hover,
.page-index__btn--learn-about-us:hover,
.page-index__btn--contact-support:hover,
.page-index__btn--view-all-faq:hover,
.page-index__btn--register-final:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index__promo-card .page-index__btn--claim {
  margin-top: 15px;
}

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

.page-index__security-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index__security-heading {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000000;
}

.page-index__security-text {
  font-size: 0.95em;
  color: #666666;
}

.page-index__faq-items {
  margin-top: 50px;
}

.page-index__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-index__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__faq-answer {
  font-size: 0.95em;
  color: #666666;
}

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

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

.page-index__cta-section .page-index__section-intro {
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-intro {
    font-size: 1em;
  }
  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__promo-cards,
  .page-index__guide-steps,
  .page-index__security-points {
    grid-template-columns: 1fr;
  }
  .page-index__hero-section,
  .page-index__features-section,
  .page-index__download-guide-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-section,
  .page-index__faq-section,
  .page-index__cta-section {
    margin: 40px auto;
  }
  .page-index__hero-buttons,
  .page-index__guide-actions,
  .page-index__games-cta,
  .page-index__promo-cta,
  .page-index__security-cta,
  .page-index__faq-cta,
  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area images must not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon, .page-index__game-image, .page-index__promo-image {
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}