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

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

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

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

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #FFFFFF;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-index__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-index__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

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

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

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

.page-index__features-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__app-section,
.page-index__about-section,
.page-index__cta-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

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

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

.page-index__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.page-index__category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__category-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__category-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__category-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

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

.page-index__promo-card {
  background-color: #000000; /* Dark background for promo cards */
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-index__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__promo-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__promo-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__promo-title a:hover {
  color: #FFFFFF;
}

.page-index__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
  flex-grow: 1;
}

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

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

.page-index__view-all-button {
  text-align: center;
}

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

.page-index__button--view-all:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-index__app-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  background-color: #F8F8F8;
  padding: 80px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.page-index__app-content {
  flex: 1;
  text-align: left;
}

.page-index__app-section .page-index__section-title {
  text-align: left;
  color: #000000;
}

.page-index__app-section .page-index__section-description {
  text-align: left;
  margin: 0 0 40px 0;
  color: #555555;
}

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

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

.page-index__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-index__about-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.page-index__about-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__about-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__about-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__about-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

.page-index__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

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

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

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

.page-index__cta-section .page-index__section-description {
  color: #E0E0E0;
  margin-bottom: 50px;
}

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

.page-index__button--join:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__app-section {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-section .page-index__section-title,
  .page-index__app-section .page-index__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header if applicable */
  }
  .page-index__hero-section {
    padding-bottom: 60px;
  }
  .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;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index__features-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__app-section,
  .page-index__about-section,
  .page-index__cta-section {
    padding: 60px 15px;
  }
  .page-index__feature-card,
  .page-index__category-card,
  .page-index__promo-card,
  .page-index__about-card {
    padding: 25px;
    min-height: auto;
  }
  .page-index__hero-image,
  .page-index__feature-icon,
  .page-index__category-image,
  .page-index__promo-image,
  .page-index__app-image,
  .page-index__about-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}