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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

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

.page-index__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  color: #ffffff;
}

.page-index__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
}

.page-index__btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #8B0000;
  border: none;
}

.page-index__btn--small:hover {
  background-color: #e6c200;
}

.page-index__btn--cta {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 18px 35px;
  font-size: 1.3em;
  border-radius: 10px;
  border: 2px solid #FFD700;
}

.page-index__btn--cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-index__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-index__games-showcase,
.page-index__why-choose-us,
.page-index__latest-news,
.page-index__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.page-index__game-card-image {
  width: 100%;
  height: 200px; /* Ensure images are not small icons */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__game-card-title {
  font-size: 1.6em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-card-title a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-index__game-card-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index__promotions-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(90deg, #8B0000 0%, #a00000 100%); /* Dark Red gradient */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__promo-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: left;
}

.page-index__promo-content .page-index__section-title {
  color: #FFD700; /* Gold */
  text-align: left;
}

.page-index__promo-content .page-index__section-description {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index__promo-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  object-fit: cover;
  height: auto;
  margin-left: 30px;
}

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

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

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

.page-index__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter changes image color */
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
}

.page-index__feature-text {
  color: #666666;
  font-size: 0.95em;
}

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

.page-index__news-article {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__news-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__news-image {
  width: 100%;
  height: 220px; /* Ensure images are not small icons */
  object-fit: cover;
}

.page-index__news-title {
  font-size: 1.3em;
  color: #8B0000; /* Dark Red */
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-index__news-title a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-index__news-excerpt {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-index__read-more {
  display: inline-block;
  color: #FFD700; /* Gold */
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  transition: color 0.3s ease;
}

.page-index__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-index__cta-section {
  text-align: center;
  background-color: #FFD700; /* Gold */
  padding: 80px 20px;
  border-radius: 15px;
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__cta-title {
  font-size: 2.8em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 20px;
}

.page-index__cta-description {
  font-size: 1.2em;
  color: #a00000;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__promo-image {
    margin-top: 30px;
    margin-left: 0;
  }
  .page-index__promotions-section {
    flex-direction: column;
    text-align: center;
  }
  .page-index__promo-content {
    text-align: center;
  }
  .page-index__promo-content .page-index__section-title {
    text-align: center;
  }
  .page-index__promo-content .page-index__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__games-showcase,
  .page-index__why-choose-us,
  .page-index__latest-news,
  .page-index__cta-section {
    padding: 40px 15px;
  }
  /* Mobile images must not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__game-card-image,
  .page-index__news-image {
    height: 180px;
  }
  .page-index__feature-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-content {
    padding: 20px;
  }
  .page-index__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}