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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* For desktop */
}

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

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

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

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

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

.page-index__cta-button--primary {
  background-color: #FFD700;
  color: #000080; /* Dark blue text for gold button */
  border: 2px solid #FFD700;
}

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

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

.page-index__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

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

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

.page-index__about-section, .page-index__games-section, .page-index__promotions-section, 
.page-index__banking-section, .page-index__mobile-section, .page-index__responsible-gaming-section, 
.page-index__detail-pages-section, .page-index__cta-final-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index__about-section {
  background-color: #f9f9f9;
}

.page-index__section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #000080; /* Midnight blue for section titles */
  text-align: center;
  margin-bottom: 25px;
}

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

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

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

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

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

.page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__detail-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000080;
  margin-bottom: 15px;
  padding: 0 15px;
}

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

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

.page-index__feature-text, .page-index__game-text, .page-index__promo-text, .page-index__detail-text {
  font-size: 1rem;
  color: #666666;
  line-height: 1.5;
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.page-index__banking-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.page-index__banking-info, .page-index__support-info {
  flex: 1;
  min-width: 300px;
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__banking-subtitle, .page-index__support-subtitle {
  font-size: 2rem;
  color: #000080;
  margin-bottom: 20px;
}

.page-index__banking-text, .page-index__support-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-index__payment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-index__payment-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333333;
  background-color: #e9e9e9;
  padding: 10px 15px;
  border-radius: 5px;
}

.page-index__payment-list li img {
  
  
  object-fit: contain;
  margin-right: 10px;
  border-radius: 0; /* Override any global border-radius */
}

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

.page-index__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__mobile-features {
  flex: 1.5;
  min-width: 300px;
}

.page-index__mobile-subtitle {
  font-size: 2.2rem;
  color: #000080;
  margin-bottom: 20px;
}

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

.page-index__mobile-list li {
  font-size: 1.1rem;
  color: #444444;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-index__mobile-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-index__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-index__responsible-list li {
  background-color: #fffaf0;
  border-left: 5px solid #FFD700;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #444444;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__responsible-list li strong {
  color: #000080;
}

.page-index__cta-final-section {
  background-color: #000080;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-index__cta-final-section .page-index__section-title {
  color: #FFD700;
  font-size: 3rem;
}

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

.page-index__cta-final-section .page-index__cta-button {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-index__cta-final-section .page-index__cta-button:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-index__hero-title {
    font-size: 2.5rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 2rem;
  }
  .page-index__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-index__features-grid, .page-index__game-categories, .page-index__promotions-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__banking-content, .page-index__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-index__payment-list {
    justify-content: flex-start;
  }
  .page-index__payment-list li {
    padding: 8px 12px;
  }
  .page-index__mobile-image {
    max-width: 100%;
  }
  .page-index__responsible-list {
    grid-template-columns: 1fr;
  }
  .page-index__cta-final-section .page-index__section-title {
    font-size: 2.5rem;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__payment-list li img {
     /* Adjust icon size for mobile */
    
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2rem;
  }
  .page-index__hero-description {
    font-size: 0.9rem;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-index__cta-final-section .page-index__section-title {
    font-size: 2rem;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__detail-title {
    font-size: 1.5rem;
  }
}