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

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px;
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.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;
}

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

.page-index__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #0A2463; /* Main brand color */
  text-align: center;
  margin-bottom: 25px;
}

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

.page-index__paragraph {
  font-size: 1.05em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.page-index__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__game-card-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index__game-card-link {
  text-decoration: none;
  color: inherit;
}

.page-index__game-card-link:hover {
  color: #FFD700;
}

.page-index__game-card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-index__promotions-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
}

.page-index__promotions-section .page-index__section-title {
  color: #FFD700;
}

.page-index__promotions-section .page-index__section-description {
  color: #f0f0f0;
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index__promo-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-index__promo-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 25px 20px 10px;
}

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

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

.page-index__promo-card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  margin: 0 20px 25px;
}

.page-index__why-choose-section {
  padding: 80px 0;
  background-color: #f2f7fc;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-index__feature-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #666;
}

.page-index__responsible-gaming-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index__cta-section {
  padding: 100px 0;
  background-color: #FFD700; /* Auxiliary color for CTA background */
  color: #0A2463;
  text-align: center;
}

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

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

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

/* Buttons */
.page-index__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index__btn--text {
  background-color: transparent;
  color: #0A2463;
  font-weight: 600;
  text-decoration: underline;
  padding: 10px 0;
  font-size: 1.05em;
}

.page-index__btn--text:hover {
  color: #FFD700;
}

.page-index__btn--small {
  padding: 10px 25px;
  font-size: 0.95em;
  border-radius: 6px;
  background-color: #0A2463;
  color: #FFD700;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__game-card-image,
  .page-index__promo-card-image {
    height: 200px;
  }
  .page-index__promotions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .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: 100%;
    padding: 12px 25px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-index__game-categories,
  .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-card-image,
  .page-index__promo-card-image {
    height: 220px;
  }
  .page-index__container {
    padding: 30px 15px;
  }
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__why-choose-section,
  .page-index__responsible-gaming-section,
  .page-index__cta-section {
    padding: 50px 0;
  }

  /* Ensure content images do not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.6em;
  }
  .page-index__btn--primary,
  .page-index__btn--secondary {
    font-size: 1em;
  }
  .page-index__game-card-title,
  .page-index__promo-card-title {
    font-size: 1.5em;
  }
  .page-index__game-card-image,
  .page-index__promo-card-image {
    height: 180px;
  }
}