.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css var(--color-deep-navy) */
}

.page-ban-ca__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #F3F8FF;
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-ban-ca__btn--primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-ban-ca__btn--secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-ban-ca__btn--secondary:hover {
  background: #244D84; /* Border */
  transform: translateY(-2px);
}

.page-ban-ca__btn--inline {
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 20px;
  margin-top: 10px;
}

.page-ban-ca__section {
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__text-block {
  font-size: 1.05em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  text-align: left;
}

.page-ban-ca__figure {
  margin: 30px auto;
  max-width: 680px;
  text-align: center;
}

.page-ban-ca__article-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__figcaption {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
}

.page-ban-ca__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-ban-ca__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__feature-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

.page-ban-ca__dark-bg {
  background-color: #08162B; /* Deep Navy, for sections needing a distinct dark background */
  color: #F3F8FF;
}

.page-ban-ca__how-to-play-section .page-ban-ca__text-block,
.page-ban-ca__how-to-play-section .page-ban-ca__step-description {
  text-align: left;
}

.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__step-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-ban-ca__step-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__step-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

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

.page-ban-ca__tip-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  text-align: left;
}

.page-ban-ca__card-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__card-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
}

.page-ban-ca__faq-section .page-ban-ca__container {
  text-align: left;
}

.page-ban-ca__faq-item {
  background-color: #10233F; /* Card BG */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-ban-ca__faq-question {
  font-size: 1.2em;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  cursor: default; /* FAQ is h3, not interactive */
  margin: 0;
}

.page-ban-ca__faq-answer {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
  padding-left: 10px;
}

.page-ban-ca__promo-section .page-ban-ca__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-ban-ca__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  background-color: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }

  .page-ban-ca__btn {
    padding: 12px 24px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-content {
    padding: 0 15px;
  }

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

  .page-ban-ca__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-ban-ca__btn,
  .page-ban-ca__btn--primary,
  .page-ban-ca__btn--secondary,
  .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__section {
    padding: 40px 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: clamp(1.5em, 6vw, 2em);
    margin-bottom: 25px;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__feature-description,
  .page-ban-ca__step-description,
  .page-ban-ca__card-description,
  .page-ban-ca__faq-answer {
    font-size: 0.95em;
    text-align: left !important; /* Ensure text alignment is consistent */
  }

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

  .page-ban-ca__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__feature-list,
  .page-ban-ca__grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__step-item,
  .page-ban-ca__tip-card,
  .page-ban-ca__faq-item {
    padding: 20px;
    margin-bottom: 15px;
    text-align: left !important;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__step-title,
  .page-ban-ca__card-title,
  .page-ban-ca__faq-question {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-ban-ca__btn--inline {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .page-ban-ca__copyright {
    padding: 20px 15px;
  }
}