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

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

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

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

.page-index__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
  padding: 20px;
  box-sizing: border-box;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #F0F0F0;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-index__button--login:hover {
  background-color: #E0A030;
}

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

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

.page-index__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-index__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-index__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #555555;
}

.page-index__features-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__about-section,
.page-index__cta-section {
  padding: 60px 0;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__promo-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

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

.page-index__feature-icon,
.page-index__game-image,
.page-index__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-index__game-card .page-index__game-description {
  flex-grow: 1;
}

.page-index__promo-card .page-index__button--view-promo {
  margin-top: 20px;
}

.page-index__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-index__about-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #444444;
}

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

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

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

.page-index__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-content {
    background: rgba(0, 0, 0, 0.75);
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    padding: 12px 25px;
  }
  .page-index__button--large {
    padding: 15px 30px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 0.9em;
  }
  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-index__feature-card,
  .page-index__game-card,
  .page-index__promo-card {
    padding: 20px;
  }
  .page-index__feature-icon,
  .page-index__game-image,
  .page-index__promo-image {
    max-height: 200px;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
  .page-index__about-text {
    font-size: 0.95em;
  }
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.5em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}