.page-index {
  color: #ffffff; /* Light text for dark body background #0f0f1a */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-index__section-title,
.page-index__hero-title,
.page-index__cta-title {
  font-size: 2.8em;
  color: #e94560; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index__section-description,
.page-index__hero-description,
.page-index__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-index__hero-description {
  font-size: 1.25em;
  margin-bottom: 50px;
}

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  z-index: 2;
  position: relative;
}

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

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

.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;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #e94560; /* Auxiliary color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #e94560; /* Auxiliary color */
  border: 2px solid #e94560;
  box-shadow: 0 4px 10px rgba(233, 69, 96, 0.2);
}

.page-index__btn--secondary:hover {
  background-color: rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-index__btn--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__features-section,
.page-index__details-section,
.page-index__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Main color as section background */
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-index__about-section::before,
.page-index__games-section::before,
.page-index__promo-section::before,
.page-index__features-section::before,
.page-index__details-section::before,
.page-index__faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(233, 69, 96, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.page-index__about-section .page-index__container,
.page-index__games-section .page-index__container,
.page-index__promo-section .page-index__container,
.page-index__features-section .page-index__container,
.page-index__details-section .page-index__container,
.page-index__faq-section .page-index__container {
  position: relative;
  z-index: 1;
}

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

.page-index__about-item,
.page-index__game-card,
.page-index__promo-card,
.page-index__feature-item,
.page-index__detail-card {
  background-color: rgba(26, 26, 46, 0.8); /* Slightly lighter main color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index__about-icon,
.page-index__game-image,
.page-index__promo-image,
.page-index__feature-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-index__about-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-index__about-item-title,
.page-index__game-title,
.page-index__promo-title,
.page-index__feature-title,
.page-index__detail-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__game-title a,
.page-index__detail-title a,
.page-index__feature-title a {
  color: #e94560;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__game-title a:hover,
.page-index__detail-title a:hover,
.page-index__feature-title a:hover {
  color: #ffffff;
}

.page-index__about-item-text,
.page-index__game-text,
.page-index__promo-text,
.page-index__feature-text,
.page-index__detail-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-index__cta-section {
  background: linear-gradient(90deg, #e94560, #a33043);
  padding: 100px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index__cta-title {
  color: #ffffff;
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

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

.page-index__faq-item {
  background-color: rgba(26, 26, 46, 0.8);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.page-index__faq-answer a {
  color: #e94560;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__faq-answer a:hover {
  color: #ffffff;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title,
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__hero-description,
  .page-index__section-description,
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has header offset */
  }
  .page-index__hero-section {
    padding: 60px 15px 40px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__section-title,
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-index__about-grid,
  .page-index__games-grid,
  .page-index__promo-grid,
  .page-index__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__features-section,
  .page-index__details-section,
  .page-index__faq-section {
    padding: 60px 0;
  }
  .page-index__cta-section {
    padding: 80px 15px;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
  .page-index__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-index__faq-question {
    font-size: 1.2em;
  }
  .page-index__container {
    padding: 0 15px;
  }

  /* Mobile content area image constraints */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title,
  .page-index__cta-title {
    font-size: 1.5em;
  }
  .page-index__hero-description,
  .page-index__section-description,
  .page-index__cta-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__btn--large {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__about-icon {
    width: 100px;
    height: 100px;
  }
  .page-index__about-item-title,
  .page-index__game-title,
  .page-index__promo-title,
  .page-index__feature-title,
  .page-index__detail-title {
    font-size: 1.4em;
  }
}