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

.page-index__hero-section {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-content {
  max-width: 900px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

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

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

.page-index__cta-group {
  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: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-index__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-index__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-index__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

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

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

.page-index__about-section {
  background-color: #FFFFFF;
}

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

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

.page-index__feature-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__card-image {
  width: 100%;
  max-width: 400px; /* Min 200px, set to fit card */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-index__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-index__games-section {
  background-color: #F0F0F0;
}

.page-index__games-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-index__game-category {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-category .page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-index__category-title {
  font-size: 1.4em;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: #000000;
}

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

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

.page-index__category-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #555555;
}

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

.page-index__promotions-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-index__promo-card {
  background-color: #000000; /* Dark background for promos */
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
}

.page-index__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promo-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FCBC45;
  padding: 0 20px;
}

.page-index__promo-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 0 20px;
  color: #F0F0F0;
}

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

.page-index__promo-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-index__guide-section {
  background-color: #F8F8F8;
}

.page-index__guide-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-index__guide-step {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 60px;
}

.page-index__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: 700;
  border: 2px solid #000000;
}

.page-index__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-index__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-index__mobile-section {
  background-color: #000000;
  color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-index__mobile-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-index__mobile-section .page-index__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-index__mobile-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-index__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.page-index__support-section {
  background-color: #FFFFFF;
}

.page-index__support-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-index__support-channel {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index__support-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__channel-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
}

.page-index__channel-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-index__contact-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__why-choose-section {
  background-color: #F0F0F0;
}

.page-index__why-choose-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

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

.page-index__advantage-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__advantage-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
}

.page-index__advantage-text {
  font-size: 0.9em;
  line-height: 1.6;
  color: #555555;
}

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

.page-index__final-cta-section .page-index__section-title {
  color: #FCBC45;
}

.page-index__final-cta-text {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__hero-image,
  .page-index__mobile-image {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header on mobile */
    padding-bottom: 40px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-index__content-area {
    padding: 40px 15px;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__about-text,
  .page-index__games-intro,
  .page-index__promotions-intro,
  .page-index__guide-intro,
  .page-index__mobile-text,
  .page-index__support-intro,
  .page-index__why-choose-intro,
  .page-index__final-cta-text {
    font-size: 0.95em;
  }
  .page-index__mobile-section {
    flex-direction: column;
    text-align: center;
  }
  .page-index__mobile-section .page-index__section-title {
    text-align: center;
  }
  .page-index__mobile-image {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  .page-index__contact-buttons {
    flex-direction: column;
  }
  /* Mobile content area image overflow prevention */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-card .page-index__card-image,
  .page-index__game-category .page-index__game-image,
  .page-index__promo-card .page-index__promo-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  .page-index__support-icon,
  .page-index__advantage-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.6em;
  }
  .page-index__features-grid,
  .page-index__game-categories-grid,
  .page-index__promo-grid,
  .page-index__guide-steps-grid,
  .page-index__support-channels-grid,
  .page-index__advantages-grid {
    grid-template-columns: 1fr;
  }
}