.page-index {
  font-family: Arial, sans-serif;
  color: #000000; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

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

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

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

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

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

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

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

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

.page-index__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #FCBC45;
}

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

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

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

.page-index__features-section,
.page-index__games-overview,
.page-index__promotions-section,
.page-index__about-section,
.page-index__detail-pages-section {
  padding: 60px 0;
}

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

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

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

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

.page-index__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #333333;
  line-height: 1.5;
}

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

.page-index__game-card {
  display: block;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__game-title {
  font-size: 1.4em;
  padding: 15px 15px 5px;
  color: #FCBC45;
}

.page-index__game-description {
  font-size: 0.9em;
  padding: 0 15px 15px;
  color: #CCCCCC;
}

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

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

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

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

.page-index__promo-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: #333333;
  line-height: 1.5;
  padding: 0 15px 20px;
}

.page-index__app-download-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index__app-download-section .page-index__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

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

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

.page-index__app-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
}

.page-index__app-image {
  width: 400px;
  height: 400px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-index__about-section .page-index__section-title {
  color: #000000;
}

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

.page-index__call-to-action {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-index__detail-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-index__detail-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-index__detail-description {
  font-size: 1em;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
  .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 {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }

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

  .page-index__app-download-section .page-index__container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-index__app-download-section .page-index__section-title {
    text-align: center;
  }

  .page-index__app-description {
    text-align: center;
  }

  .page-index__app-buttons {
    justify-content: center;
  }

  .page-index__app-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 30px;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-index img {
    max-width: 100%;
    height: auto;
    /* Enforcing minimum display size for content images */
    min-width: 200px; 
    min-height: 200px;
  }

  .page-index__feature-icon,
  .page-index__game-image,
  .page-index__promo-image {
    min-width: 200px;
    min-height: 150px;
    object-fit: cover;
  }
}

@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.8em;
  }

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