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

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

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

.page-ban-ca__light-bg {
  background-color: #08162B; /* Deep Navy, slightly lighter than shared's default to ensure contrast with text */
  color: #F3F8FF; /* Text Main */
}

.page-ban-ca__dark-bg {
  background-color: #08162B; /* Deep Navy, ensuring consistent dark background for text */
  color: #F3F8FF; /* Text Main */
}

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 5vw, 50px);
  color: #F2C14E; /* Gold */
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  background: #08162B; /* Fallback for image load */
}

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

.page-ban-ca__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/9;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow */
  background: linear-gradient(0deg, rgba(8,22,43,1) 0%, rgba(8,22,43,0.8) 50%, rgba(8,22,43,0) 100%);
}

.page-ban-ca__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(17,67,166,0.4);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17,67,166,0.6);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-ban-ca__btn-secondary:hover {
  background: #F2C14E;
  color: #113B7A; /* Main color */
  transform: translateY(-3px);
}

.page-ban-ca__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-ban-ca__text-block {
  flex: 1;
}

.page-ban-ca__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
}

.page-ban-ca__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-ban-ca__card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-ban-ca__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

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

.page-ban-ca__card-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__card-button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
  max-width: 200px;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: rgba(43, 115, 246, 0.1);
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}

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

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  text-align: left;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-ban-ca__faq-answer a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-ban-ca__faq-answer a:hover {
  color: #2B73F6;
}

.page-ban-ca__strategy-image {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

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

/* General image and container responsive styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__cta-buttons,
.page-ban-ca__game-grid,
.page-ban-ca__steps-grid,
.page-ban-ca__strategy-grid,
.page-ban-ca__advantages-grid,
.page-ban-ca__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }

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

  .page-ban-ca__hero-section {
    min-height: auto;
    padding-top: 10px; /* Small top padding */
  }

  .page-ban-ca__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
  }

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

  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 40px); /* Adjust for smaller screens */
  }

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

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

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

  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-ban-ca__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__text-block p {
    font-size: 15px;
  }

  .page-ban-ca__game-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__card {
    padding: 20px;
  }

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

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__card-text {
    font-size: 15px;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

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

  .page-ban-ca__faq-answer p {
    font-size: 15px;
  }

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

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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: 15px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
  }
}