.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: var(--header-offset, 120px) 20px 60px; /* Ensure space below header, PC default */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.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, transform 0.2s ease;
  white-space: nowrap;
}

.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(-2px);
}

.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(-2px);
}

.page-index__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-index__features-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__mobile-app-section,
.page-index__responsible-gaming-section,
.page-index__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__promo-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;
  border: 1px solid #e0e0e0;
}

.page-index__feature-card:hover,
.page-index__game-card:hover,
.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.page-index__feature-icon {
  max-width: 250px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-image,
.page-index__promo-image {
  min-height: 200px; /* Ensure content images are not too small */
}

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

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

.page-index__game-title a:hover,
.page-index__promo-title a:hover {
  color: #FCBC45;
}

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

.page-index__button--small {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

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

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

.page-index__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease;
}

.page-index__button--primary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__mobile-app-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: #f8f8f8;
  padding: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

.page-index__button--download {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-index__mobile-app-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.page-index__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 250px; /* Ensure content image is not too small */
  min-height: 250px;
}

.page-index__responsible-gaming-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-index__button--secondary {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-index__cta-section .page-index__section-title::after {
  background-color: #FFFFFF;
}

.page-index__cta-description {
  font-size: 1.3em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-index__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__mobile-app-section {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space below header, mobile */
    padding-left: 15px;
    padding-right: 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;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index__mobile-app-section {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .page-index__mobile-app-content {
    order: 2;
  }
  .page-index__mobile-app-image-container {
    order: 1;
    margin-bottom: 30px;
  }
  .page-index__cta-section {
    padding: 50px 15px;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
  .page-index__button--register-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Content area images must be responsive and not cause overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

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