.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main); /* Default light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

.page-ban-ca__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-ban-ca__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--Text-Main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: var(--primary-color, #113B7A);
  border: 2px solid var(--primary-color, #113B7A);
}

.page-ban-ca__btn-secondary:hover {
  background: var(--primary-color, #113B7A);
  color: #ffffff;
}

.page-ban-ca__btn-link {
  background: none;
  color: var(--Gold); /* Gold color for link contrast */
  border: 1px solid var(--Gold);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-ban-ca__btn-link:hover {
  background: var(--Gold);
  color: var(--Deep-Navy);
}

.page-ban-ca__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

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

/* Dark sections for contrast */
.page-ban-ca__dark-section {
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(to bottom, var(--primary-color, #113B7A), var(--Deep-Navy));
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--Text-Main);
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--Text-Main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-ban-ca__hero-description {
  font-size: 1.15em;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Intro Section */
.page-ban-ca__intro-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-ban-ca__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-ban-ca__content-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-ban-ca__content-text p {
    color: var(--Text-Secondary);
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-ban-ca__content-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-ban-ca__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: block;
}

/* Features Section */
.page-ban-ca__features-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--Card-BG);
    border-radius: 10px;
    margin-top: -30px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.page-ban-ca__feature-card {
  background-color: var(--Deep-Navy);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%; /* Ensuring circular for feature icons */
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  color: var(--Gold);
  margin-bottom: 10px;
}

.page-ban-ca__feature-description {
  color: var(--Text-Secondary);
  font-size: 0.95em;
}

/* Game Play Section (Iframe) */
.page-ban-ca__game-play-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-ban-ca__game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.page-ban-ca__game-trial-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Guide Section */
.page-ban-ca__guide-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__guide-item {
  background-color: var(--Card-BG);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 70px;
}

.page-ban-ca__guide-number {
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--Gold);
  color: var(--Deep-Navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-ban-ca__guide-title {
  font-size: 1.3em;
  color: var(--Gold);
  margin-bottom: 10px;
}

.page-ban-ca__guide-description {
  color: var(--Text-Secondary);
  font-size: 0.95em;
}

/* Tips Section */
.page-ban-ca__tips-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__tip-card {
  background-color: var(--Card-BG);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-ban-ca__tip-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__tip-title {
  font-size: 1.3em;
  color: var(--Gold);
  margin-bottom: 10px;
}

.page-ban-ca__tip-description {
  color: var(--Text-Secondary);
  font-size: 0.95em;
}

/* Promo Section */
.page-ban-ca__promo-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__promo-card {
  background-color: var(--Card-BG);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-ban-ca__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  color: var(--Gold);
  margin: 20px 15px 10px;
}

.page-ban-ca__promo-text {
  color: var(--Text-Secondary);
  font-size: 0.95em;
  padding: 0 15px 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section .page-ban-ca__container {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-ban-ca__faq-item {
  background-color: var(--Card-BG);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--Text-Main);
  background-color: var(--Card-BG);
  border-bottom: 1px solid var(--Divider);
}

.page-ban-ca__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-ban-ca__faq-qtext {
  color: var(--Text-Main);
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--Gold);
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  color: var(--Text-Secondary);
  font-size: 1em;
  background-color: var(--Card-BG);
  border-top: 1px solid var(--Divider);
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
  background-color: var(--primary-color, #113B7A);
  color: var(--Text-Main);
}

.page-ban-ca__cta-final .page-ban-ca__section-title {
    color: var(--Text-Main);
}

.page-ban-ca__cta-final .page-ban-ca__section-description {
    color: var(--Text-Secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-ban-ca__hero-content,
  .page-ban-ca__hero-image {
    flex: 1 1 100%;
  }
  .page-ban-ca__cta-buttons {
    justify-content: center;
  }
  .page-ban-ca__content-wrapper {
      flex-direction: column;
  }
  .page-ban-ca__content-text, .page-ban-ca__content-image {
      flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ban-ca__main-title {
    font-size: 2em;
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
  }
  .page-ban-ca__section-title {
    font-size: 1.8em;
  }
  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* General image responsiveness */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__feature-icon {
      width: 100px !important; /* Keep circular, but smaller */
      height: 100px !important;
  }

  /* Button responsiveness */
  .page-ban-ca__cta-buttons,
  .page-ban-ca__btn-container {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-link,
  .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;
  }

  /* Container padding for mobile */
  .page-ban-ca__container {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Specific section adjustments */
  .page-ban-ca__features-section .page-ban-ca__container {
      margin-top: -15px;
  }
  .page-ban-ca__guide-item {
      padding-left: 60px;
  }
  .page-ban-ca__guide-number {
      width: 35px;
      height: 35px;
      font-size: 1em;
      left: 15px;
      top: 20px;
  }
  .page-ban-ca__promo-card {
      padding-bottom: 20px;
  }
  .page-ban-ca__faq-item summary {
      padding: 15px 20px;
      font-size: 1em;
  }
  .page-ban-ca__faq-answer {
      padding: 10px 20px 15px;
      font-size: 0.9em;
  }
}