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

.page-ban-ca__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

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

.page-ban-ca__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-ban-ca__hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  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: 20px;
  flex-wrap: wrap;
}

/* General Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.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.5);
}

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

.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; /* Slightly darker */
  border-color: #1D5FD1;
  transform: translateY(-3px);
}

.page-ban-ca__btn-tertiary {
  background: none;
  border: 1px solid #1D5FD1;
  color: #1D5FD1;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.page-ban-ca__btn-tertiary:hover {
  background: rgba(29, 95, 209, 0.1);
}

/* Section Titles */
.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-ban-ca__dark-section {
  background-color: #113B7A; /* Primary color */
  color: #F3F8FF;
}

.page-ban-ca__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__feature-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px #4FA8FF; /* Glow */
}

.page-ban-ca__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-ban-ca__feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
}

/* Games Grid */
.page-ban-ca__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__game-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px #4FA8FF;
}

.page-ban-ca__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__game-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Steps List */
.page-ban-ca__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-ban-ca__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}

.page-ban-ca__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.page-ban-ca__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 10px;
}

.page-ban-ca__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 15px;
}

/* Tips List */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-ban-ca__tip-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
}

.page-ban-ca__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 10px;
}

.page-ban-ca__tip-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
}

/* Promotions Section */
.page-ban-ca__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__promotion-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__promotion-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
  flex-grow: 1;
}

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

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  text-align: left;
}
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: #1B3357; /* Divider - slightly darker */
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  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 20px 20px;
  background: #08162B; /* Deep Navy - slightly darker than card BG */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.6;
}

/* CTA Section */
.page-ban-ca__cta-container {
  padding: 50px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #113B7A 0%, #1D5FD1 100%); /* Primary to Auxiliary gradient */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__cta-container .page-ban-ca__section-title {
  color: #F2C14E;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-ban-ca__cta-container .page-ban-ca__text-block {
  color: #F3F8FF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    padding: 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-ban-ca__hero-description {
    font-size: 1.1rem;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-ban-ca__text-block {
    font-size: 1rem;
  }
  .page-ban-ca__feature-card,
  .page-ban-ca__game-card,
  .page-ban-ca__promotion-card {
    padding: 20px;
  }
  .page-ban-ca__card-title {
    font-size: 1.3rem;
  }
  .page-ban-ca__step-item,
  .page-ban-ca__tip-item {
    padding: 20px;
    padding-left: 70px;
  }
  .page-ban-ca__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    left: 20px;
    top: 20px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
    padding-top: 10px; /* Ensure small top padding */
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
    filter: brightness(0.5); /* Slightly darker for better text contrast */
  }
  .page-ban-ca__hero-content {
    padding: 10px;
    max-width: 100%;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__section {
    padding: 40px 10px;
  }
  .page-ban-ca__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-ban-ca__text-block {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__games-grid,
  .page-ban-ca__promotion-cards {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
    margin-top: 30px;
  }
  .page-ban-ca__feature-image,
  .page-ban-ca__game-image,
  .page-ban-ca__promotion-image,
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover; /* Revert to cover for content images */
  }
  .page-ban-ca__card-title {
    font-size: 1.2rem;
  }
  .page-ban-ca__feature-card p,
  .page-ban-ca__game-card p,
  .page-ban-ca__promotion-card p {
    font-size: 0.9rem;
  }

  .page-ban-ca__steps-list,
  .page-ban-ca__tips-list {
    margin-top: 30px;
  }
  .page-ban-ca__step-item {
    padding: 20px;
    padding-left: 65px;
  }
  .page-ban-ca__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    left: 20px;
    top: 20px;
  }
  .page-ban-ca__tip-title {
    font-size: 1.2rem;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px; }
  .page-ban-ca__faq-qtext { font-size: 0.95rem; }
  .page-ban-ca__faq-toggle { font-size: 20px; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }

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