.page-index {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero text contrast */
}

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

.page-index__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-index__hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  color: #FFFFFF;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  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.3s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-index__button--claim, .page-index__button--play-now, .page-index__button--download-app, .page-index__button--join-now {
  background-color: #FCBC45;
  color: #000000;
}

.page-index__button--claim:hover, .page-index__button--play-now:hover, .page-index__button--download-app:hover, .page-index__button--join-now:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-index__button--learn-more, .page-index__button--view-details, .page-index__button--view-all {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-index__button--learn-more:hover, .page-index__button--view-details:hover, .page-index__button--view-all:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  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: #FCBC45;
  border-radius: 2px;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__about-section .page-index__section-description {
  text-align: left;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-index__about-section .page-index__button {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

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

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

.page-index__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

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

.page-index__game-card-text {
  font-size: 1em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__button {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-index__promotions-section .page-index__section-description {
  color: #F0F0F0;
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__promo-card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin: 15px 15px 10px 15px;
}

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

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

.page-index__promo-card-text {
  font-size: 1em;
  color: #F0F0F0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__promo-card .page-index__button {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promotions-section .page-index__button--view-all {
  display: block;
  margin: 40px auto 0 auto;
}

.page-index__why-choose-us-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

.page-index__feature-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index__feature-card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px; /* Enforce min size for images */
}

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

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

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

.page-index__feature-card-text {
  font-size: 0.95em;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__feature-card .page-index__button {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index__testimonial-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-index__testimonial-text {
  font-style: italic;
  color: #333333;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #000000;
  font-size: 1em;
}

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

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

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

.page-index__responsible-gaming-section .page-index__section-description {
  color: #F0F0F0;
}

.page-index__responsible-gaming-section .page-index__button {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

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

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

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

.page-index__faq-answer {
  font-size: 1em;
  color: #555555;
}

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

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

.page-index__cta-section {
  background-color: #FCBC45;
  padding: 60px 0;
  text-align: center;
}

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

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

.page-index__cta-section .page-index__section-description {
  color: #333333;
  margin-bottom: 30px;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__game-grid, .page-index__promo-cards, .page-index__features-grid, .page-index__testimonial-carousel {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
  }
  .page-index__hero-content {
    padding: 30px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 0.95em;
  }
  .page-index__game-grid, .page-index__promo-cards, .page-index__features-grid, .page-index__testimonial-carousel {
    grid-template-columns: 1fr;
  }
  .page-index__game-card-image, .page-index__promo-card-image {
    height: 180px;
  }
  .page-index__feature-card-image {
    width: 150px;
    height: 150px;
    min-width: 200px; /* Enforce min size for images */
    min-height: 200px; /* Enforce min size for images */
  }
  .page-index__container {
    padding: 30px 15px;
  }
  .page-index__game-card, .page-index__promo-card, .page-index__feature-card, .page-index__testimonial-card, .page-index__faq-item {
    padding: 20px;
  }
  /* Ensure content images do not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__hero-section .page-index__hero-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__button {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__game-card-title, .page-index__promo-card-title {
    font-size: 1.4em;
  }
  .page-index__feature-card-title {
    font-size: 1.2em;
  }
  .page-index__faq-question {
    font-size: 1.2em;
  }
}