.page-index {
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color); /* #FFFFFF */
  padding-top: var(--header-offset, 120px);
}

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.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, color 0.3s ease;
}

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

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

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

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

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

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

.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__about-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-index__about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__about-text {
  flex: 1;
}

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

.page-index__about-image {
  flex: 0 0 500px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-index__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

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

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

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

.page-index__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
}

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

.page-index__game-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

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

.page-index__game-title a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-index__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  color: #666666;
}

.page-index__button--tertiary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 1em;
}

.page-index__button--tertiary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-index__promotions-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  background-color: #000000;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 12px;
}

.page-index__promotions-section .page-index__section-title,
.page-index__promotions-section .page-index__section-intro {
  color: #ffffff;
}

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

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-index__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

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

.page-index__button--promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 25px;
  font-size: 1em;
}

.page-index__button--promo:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-index__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-index__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-index__app-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.page-index__app-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-index__app-text {
  flex: 1;
  min-width: 300px;
}

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

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__app-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

.page-index__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #FCBC45;
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
}

.page-index__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: #000000;
  border-radius: 2px;
}

.page-index__icon--mobile::before { content: '\1F4F1'; font-family: 'Segoe UI Symbol', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji'; font-size: 14px; background: none; color: #000000; }
.page-index__icon--fast::before { content: '\23F1'; font-family: 'Segoe UI Symbol', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji'; font-size: 14px; background: none; color: #000000; }
.page-index__icon--secure::before { content: '\1F512'; font-family: 'Segoe UI Symbol', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji'; font-size: 14px; background: none; color: #000000; }
.page-index__icon--exclusive::before { content: '\1F381'; font-family: 'Segoe UI Symbol', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji'; font-size: 14px; background: none; color: #000000; }

.page-index__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 35px;
  font-size: 1.1em;
  margin-right: 20px;
}

.page-index__button--download:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

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

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

.page-index__advantage-card:hover {
  transform: translateY(-5px);
}

.page-index__advantage-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

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

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

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

.page-index__resource-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index__resource-card:hover {
  transform: translateY(-5px);
}

.page-index__resource-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

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

.page-index__resource-title a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-index__resource-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  color: #666666;
}

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

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

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

.page-index__final-cta .page-index__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-index__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 20px 45px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-index__button--register-large:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }

  .page-index__section-title {
    font-size: 2.2em;
  }

  .page-index__about-grid {
    flex-direction: column;
  }

  .page-index__about-image {
    max-width: 100%;
    flex: none;
  }

  .page-index__app-content {
    flex-direction: column;
  }

  .page-index__app-image {
    max-width: 300px;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__button {
    width: 100%;
    max-width: 300px;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-index__about-section,
  .page-index__games-showcase,
  .page-index__promotions-section,
  .page-index__download-app,
  .page-index__advantages-section,
  .page-index__resources-blog {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-index__game-card,
  .page-index__promo-card,
  .page-index__advantage-card,
  .page-index__resource-card {
    padding-bottom: 15px;
  }

  .page-index__game-image,
  .page-index__promo-image,
  .page-index__resource-image {
    height: 180px;
  }

  .page-index__app-image {
    width: 100%;
    max-width: 250px;
  }

  .page-index__button--download {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-index__app-text .page-index__button--secondary {
    width: 100%;
    max-width: 300px;
  }

  .page-index__final-cta {
    padding: 60px 15px;
  }

  .page-index__button--register-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure all images within .page-index are responsive and don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}