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

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text for dark background */
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

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

.page-index__cta-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.2s ease;
  white-space: nowrap;
}

.page-index__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for login button */
  border: 2px solid #FCBC45;
}

.page-index__cta-button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-index__cta-button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Black text for register button */
  border: 2px solid #FFFFFF;
}

.page-index__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index__hero-image-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  z-index: 0;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__features-section,
.page-index__games-showcase-section,
.page-index__promotions-section,
.page-index__apk-guide-section,
.page-index__about-section,
.page-index__contact-cta-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__guide-step,
.page-index__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-index__feature-card-link,
.page-index__game-card-link,
.page-index__promo-card-link {
  display: inline-block;
  color: #FCBC45; /* Login color */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index__feature-card-link:hover,
.page-index__game-card-link:hover,
.page-index__promo-card-link:hover {
  color: #e0a53a;
  border-color: #e0a53a;
}

.page-index__games-cta,
.page-index__promotions-cta,
.page-index__apk-guide-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__guide-step-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__guide-step h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-index__guide-step p {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-index__about-section {
  background-color: #f8f8f8;
  border-radius: 10px;
}

.page-index__about-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-index__about-image {
  width: 600px;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.page-index__about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #444444;
  font-size: 1.05em;
}

.page-index__contact-cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

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

.page-index__contact-cta-section .page-index__section-intro {
  color: #f0f0f0;
}

.page-index__contact-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-image {
    width: 100%;
    height: auto;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 60px 15px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-intro {
    font-size: 0.95em;
  }
  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-index__features-section,
  .page-index__games-showcase-section,
  .page-index__promotions-section,
  .page-index__apk-guide-section,
  .page-index__about-section,
  .page-index__contact-cta-section {
    padding: 60px 15px;
  }
  /* Ensure images do not overflow on mobile */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__hero-image,
  .page-index__feature-card-image,
  .page-index__game-card-image,
  .page-index__promo-card-image,
  .page-index__guide-step-icon,
  .page-index__about-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__cta-button {
    width: 100%;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 0.9em;
  }
  .page-index__about-text p {
    font-size: 0.95em;
  }
}

/* Desktop specific padding-top to avoid header overlap, if shared.css doesn't handle body padding-top */
/* Assuming shared.css handles body padding-top, if not, uncomment below for .page-index */
/* .page-index { padding-top: var(--header-offset, 120px); } */