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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1A202C;
  color: #ffffff;
}

.page-index__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.page-index__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-index__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-index__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

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

.page-index__section-title {
  font-size: 2.5rem;
  color: #1A202C;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-index__about-section {
  background-color: #f9f9f9;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__promo-card,
.page-index__testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have a minimum height */
}

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

.page-index__feature-image,
.page-index__game-image,
.page-index__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Ensure images are not too small */
}

.page-index__feature-title,
.page-index__game-title,
.page-index__promo-title {
  font-size: 1.6rem;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-index__feature-description,
.page-index__game-description,
.page-index__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__button--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.page-index__button--link:hover {
  color: #e6c200;
  border-color: #FFD700;
}

.page-index__games-section {
  background-color: #ffffff;
}

.page-index__view-all-games,
.page-index__view-all-promos,
.page-index__read-more-reviews,
.page-index__view-all-faq {
  text-align: center;
  margin-top: 50px;
}

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

.page-index__download-app-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 20px;
}

.page-index__download-app-section .page-index__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index__download-app-section .page-index__section-title {
  color: #FFD700;
}

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

.page-index__app-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__button--download {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  font-size: 1rem;
}

.page-index__button--download:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
}

.page-index__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-height: 200px; /* Ensure image is not too small */
}

.page-index__testimonials-section {
  background-color: #ffffff;
}

.page-index__testimonial-card {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  font-style: italic;
  color: #444444;
}

.page-index__testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #1A202C;
  font-size: 0.95rem;
  text-align: right;
}

.page-index__cta-section {
  background: linear-gradient(135deg, #1A202C 0%, #3a4a60 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

.page-index__cta-section .page-index__section-text {
  color: #e0e0e0;
}

.page-index__button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
  margin-top: 30px;
}

.page-index__button--large:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
}

.page-index__responsible-gambling-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.page-index__responsible-gambling-section .page-index__section-title {
  color: #1A202C;
}

.page-index__responsible-gambling-section .page-index__section-text {
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__faq-section {
  background-color: #ffffff;
}

.page-index__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-index__faq-question {
  font-size: 1.3rem;
  color: #1A202C;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 30px; /* Space for potential expand icon */
}

.page-index__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  display: block; /* Initially hidden, can be toggled by JS */
}

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

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

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

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding: 30px 15px;
  }

  .page-index__hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-index__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-index__container {
    padding: 40px 15px;
  }

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

  .page-index__section-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-index__features-grid,
  .page-index__game-categories,
  .page-index__promo-grid,
  .page-index__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__feature-card,
  .page-index__game-card,
  .page-index__promo-card {
    min-height: auto; /* Allow height to adjust on mobile */
  }

  .page-index__feature-image,
  .page-index__game-image,
  .page-index__promo-image,
  .page-index__app-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Maintain minimum height */
  }

  .page-index__app-content {
    text-align: center;
  }

  .page-index__app-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .page-index__app-buttons .page-index__button--download {
    width: 100%;
    max-width: 280px;
  }

  .page-index__button--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }

  .page-index__faq-question {
    font-size: 1.1rem;
  }

  .page-index__faq-answer {
    font-size: 0.9rem;
  }
}

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

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

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