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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0d0d0d; /* Dark background for hero content readability */
  color: #ffffff;
  text-align: center;
}

.page-index__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

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

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

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

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

.page-index__hero-actions {
  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.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 180px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-index__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-index__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

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

.page-index__section-title {
  font-size: 2.8rem;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  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: #ffc107;
  border-radius: 2px;
}

.page-index__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #555555;
}

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

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

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

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

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

.page-index__feature-title {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index__feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
}

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

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 1.6rem;
  color: #007bff;
  margin: 20px 20px 10px 20px;
}

.page-index__game-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__button {
  margin: 0 20px 20px 20px;
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

.page-index__game-card .page-index__button:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

.page-index__promo-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index__promo-title {
  font-size: 1.6rem;
  color: #007bff;
  margin: 20px 20px 10px 20px;
}

.page-index__promo-text {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-index__promo-card .page-index__button {
  margin: 0 20px 20px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-index__promo-card .page-index__button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-index__app-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
}

.page-index__app-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

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

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

.page-index__app-section .page-index__section-title {
  color: #ffffff;
}

.page-index__app-section .page-index__section-title::after {
  background-color: #ffc107;
}

.page-index__app-section .page-index__section-intro {
  color: #e0e0e0;
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index__app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-index__icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #ffc107;
  /* Placeholder for actual icons, e.g., using a font icon library */
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.page-index__icon--mobile {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17 1H7C5.89 1 5 1.89 5 3v18c0 1.11.89 2 2 2h10c1.11 0 2-.89 2-2V3c0-1.11-.89-2-2-2zm-2 20H9v-1h6v1zm3-3V4c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1z"/></svg>');
}

.page-index__icon--fast {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.28 20.32 10.53 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.25 2.52.75-1.23-3.5-2.07V8H12z"/></svg>');
}

.page-index__icon--secure {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h-1V10h1v1.99zM13 16h-2v-2h2v2zm1.5-5.5c0-.83-.67-1.5-1.5-1.5H12c-.83 0-1.5.67-1.5 1.5v3h3V10.5z"/></svg>');
}

.page-index__icon--exclusive {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1.72 13.7l-3.21-3.21c-.39-.39-.39-1.02 0-1.41l.71-.71c.39-.39 1.02-.39 1.41 0L11 12.59l4.51-4.51c.39-.39 1.02-.39 1.41 0l.71.71c.39.39.39 1.02 0 1.41l-5.22 5.22c-.38.38-1.02.38-1.4-.01z"/></svg>');
}

.page-index__app-section .page-index__button {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

.page-index__app-section .page-index__button:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

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

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

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

.page-index__testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-index__testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #007bff;
  font-size: 1rem;
}

.page-index__cta-section {
  background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-index__cta-title {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 20px;
}

.page-index__cta-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-index__button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8rem;
  }
  .page-index__hero-description {
    font-size: 1.1rem;
  }
  .page-index__section-title {
    font-size: 2.2rem;
  }
  .page-index__app-container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-image-wrapper {
    order: -1; /* Image above content on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__button {
    width: 100%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__section-intro {
    font-size: 0.95rem;
  }
  .page-index__feature-card, .page-index__game-card, .page-index__promo-card, .page-index__testimonial-card {
    padding: 20px;
  }
  .page-index__game-image, .page-index__promo-image {
    height: 180px;
  }
  .page-index__app-features li {
    font-size: 1rem;
  }
  .page-index__cta-title {
    font-size: 2.2rem;
  }
  .page-index__cta-text {
    font-size: 1rem;
  }
  .page-index__button--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__game-image, .page-index__promo-image, .page-index__app-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8rem;
  }
  .page-index__hero-description {
    font-size: 0.9rem;
  }
  .page-index__button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-index__section-title {
    font-size: 1.6rem;
  }
  .page-index__cta-title {
    font-size: 1.8rem;
  }
}