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

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

/* Hero Section */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, relying on body for header offset */
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%);
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow */
}

.page-ban-ca__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__description {
  font-size: 1.15em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.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: #1B3357; /* Divider */
  border-color: #4FA8FF; /* Glow */
}

/* General Section Styles */
.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  line-height: 1.3;
}

.page-ban-ca__description-text {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-ban-ca__dark-section {
  background-color: #113B7A; /* Main Color */
  padding: 80px 0;
}

/* About Game Section */
.page-ban-ca__about-game .page-ban-ca__content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__about-game .page-ban-ca__text-block p {
  margin-bottom: 15px;
  color: #F3F8FF;
  font-size: 1.05em;
}

.page-ban-ca__about-game .page-ban-ca__image-block {
  text-align: center;
}

.page-ban-ca__about-game .page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

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

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

.page-ban-ca__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* How to Play Section */
.page-ban-ca__how-to-play {
  padding: 80px 0;
}

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

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

.page-ban-ca__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E; /* Gold */
  color: #113B7A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__step-card .page-ban-ca__card-title {
  margin-top: 30px;
  color: #F3F8FF;
}

.page-ban-ca__step-card p {
  color: #AFC4E8;
  margin-bottom: 20px;
}

.page-ban-ca__btn-text {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-ban-ca__btn-text:hover {
  color: #F2C14E; /* Gold */
}

/* Tips & Strategies Section */
.page-ban-ca__tips-strategies {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.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: #10233F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
}

.page-ban-ca__tip-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__tip-card .page-ban-ca__card-title {
  padding: 20px 20px 0;
  text-align: left;
  color: #F3F8FF;
}

.page-ban-ca__tip-card p {
  padding: 0 20px 20px;
  color: #AFC4E8;
  text-align: left;
}

/* Why Choose Section */
.page-ban-ca__why-choose {
  padding: 80px 0;
}

.page-ban-ca__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 900px;
}

.page-ban-ca__advantage-list li {
  background: #10233F; /* Card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #F2C14E; /* Gold */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F3F8FF;
  font-size: 1.1em;
}

.page-ban-ca__advantage-list li strong {
  color: #F2C14E; /* Gold */
}

.page-ban-ca__cta-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Promotions Section */
.page-ban-ca__promotions {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-ban-ca__promo-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  text-align: center;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  padding: 20px 20px 0;
  color: #F3F8FF;
}

.page-ban-ca__promo-card p {
  padding: 0 20px 20px;
  color: #AFC4E8;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 80px 0;
  background-color: #113B7A; /* Main Color */
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #1B3357; /* Divider */
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding: 80px 0;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  text-align: center;
}

.page-ban-ca__cta-final .page-ban-ca__description-text {
  margin-bottom: 40px;
}


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

  .page-ban-ca__section-title {
    font-size: 2.2em;
  }

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

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding: 10px 0 40px; /* Small top padding, relying on body for header offset */
  }

  .page-ban-ca__hero-image-wrapper {
    max-height: 400px;
  }

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

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

  .page-ban-ca__main-title {
    font-size: 2.2em;
    max-width: 100%;
  }

  .page-ban-ca__description {
    font-size: 1em;
    max-width: 100%;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

  .page-ban-ca__description-text {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-ban-ca__dark-section,
  .page-ban-ca__features-section,
  .page-ban-ca__how-to-play,
  .page-ban-ca__tips-strategies,
  .page-ban-ca__why-choose,
  .page-ban-ca__promotions,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding: 40px 0;
  }

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

  /* About Game Section */
  .page-ban-ca__about-game .page-ban-ca__content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-ban-ca__about-game .page-ban-ca__text-block p {
    font-size: 1em;
  }

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

  /* Features Section */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
  }

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

  .page-ban-ca__feature-icon {
    min-width: 200px;
    min-height: 200px;
  }

  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__feature-card p {
    font-size: 0.95em;
  }

  /* How to Play Section */
  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__step-card .page-ban-ca__card-title {
    margin-top: 25px;
  }

  /* Tips & Strategies Section */
  .page-ban-ca__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__tip-image {
    height: 180px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-ban-ca__tip-card .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__tip-card p {
    font-size: 0.95em;
  }

  /* Why Choose Section */
  .page-ban-ca__advantage-list li {
    font-size: 1em;
    padding: 15px;
  }

  .page-ban-ca__cta-bottom {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* Promotions Section */
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__promo-image {
    height: 160px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-ban-ca__promo-card .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__promo-card p {
    font-size: 0.95em;
  }

  /* FAQ Section */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 1em;
  }

  .page-ban-ca__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all images within .page-ban-ca are responsive */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}