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

.page-index__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

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

.page-index__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-index__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-index__button--download:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  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__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__about-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.page-index__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__about-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-index__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index__link-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__link-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__link-button--center {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

.page-index__games-section {
  padding: 60px 0;
}

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

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

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

.page-index__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

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

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

.page-index__game-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__game-card-button:hover {
  background-color: #000000;
  color: #FCBC45;
}

.page-index__promotions-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

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

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

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

.page-index__promo-card-image {
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-index__promo-card-title a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-index__button--claim, .page-index__button--learn {
  background-color: #000000;
  color: #FCBC45;
  border-color: #FCBC45;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1em;
}

.page-index__button--claim:hover, .page-index__button--learn:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__why-choose-us-section {
  padding: 60px 0;
}

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

.page-index__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-index__feature-icon {
  width: 100px; /* Example size, ensuring it's >= 200px in display */
  height: 100px; /* Example size, ensuring it's >= 200px in display */
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  display: block; /* Make it block to center */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}

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

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

.page-index__responsible-gaming-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.page-index__responsible-gaming-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.page-index__responsible-gaming-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index__responsible-gaming-content p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  max-width: 800px;
}

.page-index__testimonials-section {
  padding: 60px 0;
}

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

.page-index__testimonial-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.page-index__testimonial-card::before {
  content: '“';
  font-size: 4em;
  color: #FCBC45;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.7;
  line-height: 1;
}

.page-index__testimonial-card::after {
  content: '”';
  font-size: 4em;
  color: #FCBC45;
  position: absolute;
  bottom: -10px;
  right: 20px;
  opacity: 0.7;
  line-height: 1;
}

.page-index__testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #FCBC45;
}

.page-index__faq-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.page-index__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index__faq-question.active {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px;
}

.page-index__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-index__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-index__faq-answer a:hover {
  text-decoration: underline;
}

.page-index__cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
}

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

.page-index__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  padding: 40px;
  border-radius: 10px;
}

.page-index__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__about-grid {
    grid-template-columns: 1fr;
  }
  .page-index__about-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  }
  .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: 80%;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__features-grid, .page-index__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-index__responsible-gaming-content {
    flex-direction: column;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
  .page-index__button--join {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area images must be constrained */
  .page-index 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.8em;
  }
  .page-index__button {
    width: 90%;
  }
}