.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

.page-ban-ca__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ban-ca__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-ban-ca__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-ban-ca__btn-play {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: none;
  margin-top: auto; /* Push button to bottom of card */
}

.page-ban-ca__btn-play:hover {
  background-color: #c46606;
}

.page-ban-ca__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: normal;
  padding: 0;
  border: none;
  background: none;
}

.page-ban-ca__text-link:hover {
  color: #1a8cc2;
}

/* Hero Section */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent background for text clarity */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555555;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Why Choose Section */
.page-ban-ca__why-choose {
  background-color: #f8fcfd;
}

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

.page-ban-ca__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.page-ban-ca__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-ban-ca__feature-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.page-ban-ca__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

/* Popular Games Section */
.page-ban-ca__popular-games {
  background-color: #FFFFFF;
}

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

.page-ban-ca__game-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__game-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  flex-grow: 1;
}

/* Tips Section */
.page-ban-ca__tips {
  background-color: #f8fcfd;
}

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

.page-ban-ca__tip-item {
  padding: 30px;
}

.page-ban-ca__tip-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-ban-ca__tip-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.page-ban-ca__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

.page-ban-ca__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-ban-ca__promotions {
  background-color: #FFFFFF;
}

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

.page-ban-ca__promo-card {
  padding: 25px;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.page-ban-ca__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-ban-ca__how-to-play {
  background-color: #f8fcfd;
}

.page-ban-ca__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__step-item {
  counter-increment: step-counter;
  position: relative;
  padding: 30px;
  text-align: left;
}

.page-ban-ca__step-item::before {
  content: "0" counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 3em;
  font-weight: bold;
  color: #26A9E0;
  opacity: 0.1;
  z-index: 0;
}

.page-ban-ca__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: bold;
  line-height: 1.4;
}

.page-ban-ca__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-ban-ca__faq {
  background-color: #FFFFFF;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  list-style: none;
}

.page-ban-ca__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-ban-ca__faq-item summary::-webkit-details-marker {
  display: none; /* Hide for Webkit browsers */
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f0faff;
  color: #26A9E0;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid #e0f0ff;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-question:hover {
  background-color: #e0f4ff;
}

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #FFFFFF;
}

/* Final CTA Section */
.page-ban-ca__final-cta {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
}

.page-ban-ca__final-cta .page-ban-ca__section-title,
.page-ban-ca__final-cta .page-ban-ca__section-intro {
  color: #FFFFFF;
}

.page-ban-ca__final-cta .page-ban-ca__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-ban-ca__final-cta .page-ban-ca__btn-primary:hover {
  background-color: #c46606;
  border-color: #c46606;
}

.page-ban-ca__final-cta .page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-ban-ca__final-cta .page-ban-ca__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a8cc2;
  border-color: #e0f4ff;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__section-title {
    font-size: 2.2em;
  }

  .page-ban-ca__hero-content {
    margin-top: -80px;
    padding: 25px 20px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-ban-ca__hero-description {
    font-size: 1.1em;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__game-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__step-title {
    font-size: 1.4em;
  }

  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 30px 0;
  }

  .page-ban-ca__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-ban-ca__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
  }

  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-content {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 20px 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
  }

  /* Buttons - Mobile specific */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Images - Mobile specific */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__card,
  .page-ban-ca__section-content,
  .page-ban-ca__promo-card,
  .page-ban-ca__tip-item,
  .page-ban-ca__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Game Grid - Mobile specific */
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-ban-ca__game-thumbnail {
    aspect-ratio: 1/1 !important;
  }

  /* Winner List - Not present in this page, but if it were: */
  /* .page-ban-ca__winner-list { grid-template-columns: 1fr; } */

  /* FAQ Section - Mobile specific */
  .page-ban-ca__faq-question {
    font-size: 1em;
    padding: 15px 18px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.3em;
  }

  .page-ban-ca__faq-answer {
    font-size: 0.95em;
    padding: 15px 18px;
  }

  /* Other content modules (e.g., blog, news) would have similar mobile adjustments */
  .page-ban-ca__features-grid,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__game-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__step-title {
    font-size: 1.3em;
  }

  .page-ban-ca__step-item::before {
    font-size: 2.5em;
    top: -10px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__section-title {
    font-size: 1.8em;
  }
  .page-ban-ca__hero-content {
    margin-top: -30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.4em, 8vw, 2.2em);
  }
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr; /* Single column for very small screens */
  }
}