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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #003366; /* Main color for hero background */
}

.page-index__hero-container {
  position: relative;
  max-width: 100%; /* Prevents overflow */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.5); /* Darken image for text readability */
  z-index: 1;
}

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

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

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

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

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Royal Blue */
  border: 2px solid #FFD700;
}

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

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

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

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #003366;
  text-decoration: underline;
  padding: 0;
  font-size: 1rem;
}

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

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

.page-index__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

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

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

.page-index__feature-image {
  width: 100%; /* Ensure images are not smaller than 200px */
  min-width: 200px; 
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 15px;
}

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

.page-index__read-more-text {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 40px;
  color: #555555;
}

.page-index__detail-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

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

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

.page-index__game-card {
  background-color: #f0f5f8;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  min-width: 200px; /* Enforce min image size */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__game-card-title {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}

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

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

.page-index__game-card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #777777;
  margin-bottom: 20px;
}

.page-index__more-games {
  text-align: center;
  margin-top: 50px;
}

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

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

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

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

.page-index__promo-image {
  width: 100%;
  min-width: 200px; /* Enforce min image size */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-card-title {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}

.page-index__promo-card-title a {
  color: #003366;
  text-decoration: none;
}

.page-index__promo-card-title a:hover {
  color: #FFD700;
}

.page-index__promo-card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #777777;
  margin-bottom: 20px;
}

.page-index__more-promos {
  text-align: center;
  margin-top: 50px;
}

.page-index__mobile-app-section {
  padding: 80px 0;
  background: linear-gradient(to right, #003366, #004488); /* Gradient background */
  color: #ffffff;
}

.page-index__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

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

.page-index__mobile-app-text .page-index__section-title {
  color: #FFD700;
  text-align: left;
}

.page-index__mobile-app-text .page-index__section-intro {
  color: #e0e0e0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

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

.page-index__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: #FFD700; /* Icon color */
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Example icons - in a real scenario, these would be SVG or font icons */
.page-index__icon--mobile {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 1H7C5.895 1 5 1.895 5 3v18c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2V3c0-1.105-.895-2-2-2zm-2 20H9v-1h6v1zm2-4H7V5h10v12z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 1H7C5.895 1 5 1.895 5 3v18c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2V3c0-1.105-.895-2-2-2zm-2 20H9v-1h6v1zm2-4H7V5h10v12z"/></svg>');
}
.page-index__icon--games {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.93-2.5l-2.6-2.6c.64-.81 1-1.82 1-2.93 0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.1.36 2.11 1 2.93l-2.6 2.6C6.08 14.21 6 13.62 6 13c0-3.86 3.14-7 7-7s7 3.14 7 7c0 .62-.08 1.21-.21 1.79z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.93-2.5l-2.6-2.6c.64-.81 1-1.82 1-2.93 0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.1.36 2.11 1 2.93l-2.6 2.6C6.08 14.21 6 13.62 6 13c0-3.86 3.14-7 7-7s7 3.14 7 7c0 .62-.08 1.21-.21 1.79z"/></svg>');
}
.page-index__icon--secure {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.79z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><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.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.79z"/></svg>');
}
.page-index__icon--support {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

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

.page-index__mobile-app-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  min-height: 200px; /* Enforce min image size */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-index__responsible-gaming-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.page-index__responsible-gaming-list {
  list-style: disc;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 30px;
  max-width: 600px;
  padding-left: 20px;
}

.page-index__payment-faq-section {
  padding: 80px 0;
  background-color: #f0f5f8;
}

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

.page-index__payment-methods, .page-index__faq {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.page-index__payment-methods .page-index__section-title, .page-index__faq .page-index__section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 15px;
}

.page-index__payment-methods .page-index__section-intro, .page-index__faq .page-index__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
  color: #666666;
}

.page-index__payment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__payment-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333333;
}

.page-index__payment-list .page-index__icon {
  background-color: #003366;
  margin-right: 10px;
}

/* Example payment icons */
.page-index__icon--bank {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0L1 5v2h22V5L12 0zm0 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-8 4h16c1.1 0 2-.9 2-2V11c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zm2-10h12v5H6v-5z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0L1 5v2h22V5L12 0zm0 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-8 4h16c1.1 0 2-.9 2-2V11c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zm2-10h12v5H6v-5z"/></svg>');
}
.page-index__icon--ewallet {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-2-6h-2c-1.1 0-2 .9-2 2s.9 2 2 2h2v2h-4v-2h2c-1.1 0-2-.9-2-2s.9-2 2-2h2V8h-4V6h4c1.1 0 2 .9 2 2v4z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-2-6h-2c-1.1 0-2 .9-2 2s.9 2 2 2h2v2h-4v-2h2c-1.1 0-2-.9-2-2s.9-2 2-2h2V8h-4V6h4c1.1 0 2 .9 2 2v4z"/></svg>');
}
.page-index__icon--card {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-4-6h-4v-2h4v2z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-4-6h-4v-2h4v2z"/></svg>');
}
.page-index__icon--crypto {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm.28 15.35c-2.04 0-3.41-.95-3.41-2.61 0-1.07.72-1.93 1.8-2.39l1.17-.48c.85-.35 1.09-.64 1.09-.94 0-.32-.27-.51-.7-.51-.43 0-.69.19-.69.51h-1.63c0-.98.81-1.74 2.1-1.74 1.57 0 2.58.74 2.58 2.3 0 1.08-.75 1.88-1.87 2.33l-1.2.49c-.8.32-1.02.61-1.02.91 0 .34.31.53.76.53.48 0 .76-.2.76-.53h1.63c0 .99-.86 1.76-2.14 1.76z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm.28 15.35c-2.04 0-3.41-.95-3.41-2.61 0-1.07.72-1.93 1.8-2.39l1.17-.48c.85-.35 1.09-.64 1.09-.94 0-.32-.27-.51-.7-.51-.43 0-.69.19-.69.51h-1.63c0-.98.81-1.74 2.1-1.74 1.57 0 2.58.74 2.58 2.3 0 1.08-.75 1.88-1.87 2.33l-1.2.49c-.8.32-1.02.61-1.02.91 0 .34.31.53.76.53.48 0 .76-.2.76-.53h1.63c0 .99-.86 1.76-2.14 1.76z"/></svg>');
}

.page-index__faq-item {
  margin-bottom: 25px;
}

.page-index__faq-question {
  font-size: 1.3rem;
  color: #003366;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

.page-index__cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Gradient background */
  color: #ffffff;
  text-align: center;
}

.page-index__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__cta-title {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3rem;
  }
  .page-index__hero-description {
    font-size: 1.2rem;
  }
  .page-index__section-title {
    font-size: 2.2rem;
  }
  .page-index__cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }
  .page-index__hero-container {
    padding: 40px 15px;
  }
  .page-index__hero-title {
    font-size: 2.5rem;
  }
  .page-index__hero-description {
    font-size: 1.1rem;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 100%;
  }
  .page-index__container {
    padding: 30px 15px;
  }
  .page-index__section-title {
    font-size: 2rem;
  }
  .page-index__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-index__feature-item, .page-index__game-card, .page-index__promo-card {
    padding: 20px;
  }
  .page-index__feature-image, .page-index__game-image, .page-index__promo-image {
    height: 180px;
  }
  .page-index__mobile-app-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .page-index__mobile-app-text .page-index__section-title, .page-index__mobile-app-text .page-index__section-intro {
    text-align: center;
  }
  .page-index__app-features {
    padding-left: 0;
    text-align: left;
    max-width: 300px;
    margin: 30px auto;
  }
  .page-index__payment-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-index__payment-methods .page-index__section-title, .page-index__faq .page-index__section-title {
    text-align: center;
  }
  .page-index__payment-methods .page-index__section-intro, .page-index__faq .page-index__section-intro {
    text-align: center;
  }
  .page-index__payment-list {
    padding-left: 0;
    max-width: 300px;
    margin: 0 auto 30px auto;
  }
  .page-index__payment-list li {
    justify-content: center;
  }
  .page-index__cta-title {
    font-size: 2rem;
  }
  .page-index__cta-description {
    font-size: 1.1rem;
  }

  /* Critical: Ensure all content images in .page-index are responsive and don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__cta-title {
    font-size: 1.8rem;
  }
  .page-index__btn--primary, .page-index__btn--secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-index__btn--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}