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

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

.page-index__hero-container {
  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;
  color: #FCBC45; /* Login button color for emphasis */
}

.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;
  flex-wrap: wrap;
}

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-index__button--register {
  background-color: #FFFFFF; /* Register button color */
  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; /* Login button color */
  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%;
  overflow: hidden;
  z-index: 1;
}

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

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__mobile-section,
.page-index__trust-section,
.page-index__contact-cta-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

.page-index__about-container,
.page-index__games-container,
.page-index__promo-container,
.page-index__mobile-container,
.page-index__trust-container,
.page-index__contact-cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__about-title,
.page-index__games-title,
.page-index__promo-title,
.page-index__mobile-title,
.page-index__trust-title,
.page-index__contact-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index__about-description,
.page-index__games-description,
.page-index__promo-description,
.page-index__mobile-description,
.page-index__trust-description,
.page-index__contact-cta-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

.page-index__about-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-index__about-item-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

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

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

.page-index__game-card {
  background-color: #000000;
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
}

.page-index__game-card-title {
  font-size: 1.7em;
  margin: 20px 20px 10px;
  color: #FCBC45;
}

.page-index__game-card-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0 20px 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-index__games-cta {
  margin-top: 50px;
}

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

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

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

.page-index__promo-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-index__promo-card-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-index__promo-card-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000000;
}

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

.page-index__promo-card-title a:hover {
  text-decoration: underline;
}

.page-index__promo-card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-index__promo-cta {
  margin-top: 50px;
}

.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__mobile-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
}

.page-index__mobile-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-index__mobile-content {
  flex: 1;
}

.page-index__mobile-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-index__mobile-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

.page-index__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.page-index__trust-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-index__trust-item-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000000;
}

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

.page-index__trust-item-title a:hover {
  text-decoration: underline;
}

.page-index__trust-item-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-index__contact-cta-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 80px 20px;
}

.page-index__contact-cta-title {
  color: #000000;
}

.page-index__contact-cta-description {
  color: #333333;
}

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

.page-index__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-index__button--contact-us {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__about-title,
  .page-index__games-title,
  .page-index__promo-title,
  .page-index__mobile-title,
  .page-index__trust-title,
  .page-index__contact-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    max-width: 300px;
  }
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__mobile-section,
  .page-index__trust-section,
  .page-index__contact-cta-section {
    padding: 60px 15px;
  }
  .page-index__about-title,
  .page-index__games-title,
  .page-index__promo-title,
  .page-index__mobile-title,
  .page-index__trust-title,
  .page-index__contact-cta-title {
    font-size: 1.8em;
  }
  .page-index__about-description,
  .page-index__games-description,
  .page-index__promo-description,
  .page-index__mobile-description,
  .page-index__trust-description,
  .page-index__contact-cta-description {
    font-size: 0.95em;
  }
  .page-index__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__mobile-image-wrapper {
    margin-top: 40px;
  }
  .page-index__button--register-large,
  .page-index__button--contact-us {
    width: 100%;
    max-width: 300px;
  }

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

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__about-title,
  .page-index__games-title,
  .page-index__promo-title,
  .page-index__mobile-title,
  .page-index__trust-title,
  .page-index__contact-cta-title {
    font-size: 1.5em;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__button--register-large,
  .page-index__button--contact-us {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-index__game-card-image {
    height: 180px;
  }
  .page-index__game-card-title {
    font-size: 1.5em;
  }
  .page-index__promo-card-image {
    width: 200px;
    height: 150px;
  }
  .page-index__about-icon,
  .page-index__trust-icon {
    width: 150px;
    height: 120px;
  }
}