.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--card-bg, #10233F); /* Body background is dark, use light text */
}

.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, shared.css handles body padding */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-content-wrapper {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

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

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

.page-ban-ca__btn--secondary {
  background: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
  border: 2px solid #244D84; /* Border Color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn--secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
  transform: translateY(-2px);
}

.page-ban-ca__section {
  padding: 50px 0;
  margin-bottom: 20px;
}

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

.page-ban-ca__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #F2C14E; /* Gold */
  border-radius: 2px;
}

.page-ban-ca__introduction p,
.page-ban-ca__how-to-play p,
.page-ban-ca__tips-strategies p,
.page-ban-ca__promotions p,
.page-ban-ca__conclusion p,
.page-ban-ca__faq-answer p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-ban-ca__introduction strong,
.page-ban-ca__how-to-play strong,
.page-ban-ca__tips-strategies strong,
.page-ban-ca__promotions strong,
.page-ban-ca__conclusion strong,
.page-ban-ca__faq-answer strong {
  color: #F3F8FF; /* Text Main */
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__image--center {
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__feature-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border Color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-ban-ca__lobby-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border Color */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-ban-ca__lobby-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #1B3357; /* Divider */
}

.page-ban-ca__lobby-card .page-ban-ca__card-title {
  font-size: 1.3rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-ban-ca__lobby-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-ban-ca__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Custom Button Color */
  color: #F3F8FF; /* Text Main */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #F2C14E; /* Gold */
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.7); /* Glow */
}

.page-ban-ca__step-card .page-ban-ca__card-title {
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-ban-ca__btn--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 15px;
}

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

.page-ban-ca__tip-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border Color */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__tip-item .page-ban-ca__card-title {
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

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

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

.page-ban-ca__promo-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border Color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
}

.page-ban-ca__promo-item::before {
  content: '⭐';
  margin-right: 15px;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

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

.page-ban-ca__faq-list {
  margin-top: 30px;
}

.page-ban-ca__faq-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border Color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background-color: #1B3357; /* Divider */
}

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold */
}

.page-ban-ca__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-ban-ca__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Conclusion Section specific styles */
.page-ban-ca__conclusion .page-ban-ca__section-title {
  color: #F2C14E; /* Gold */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-ban-ca__feature-grid, .page-ban-ca__lobby-grid, .page-ban-ca__steps-grid, .page-ban-ca__tip-list {
    gap: 20px;
  }

  .page-ban-ca__feature-card, .page-ban-ca__lobby-card, .page-ban-ca__step-card, .page-ban-ca__tip-item {
    padding: 25px;
  }

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

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

@media (max-width: 768px) {
  /* Top Section - H1 and CTAs */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 30px;
  }

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

  .page-ban-ca__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column !important; /* Buttons stack vertically */
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  /* General content sections */
  .page-ban-ca__section {
    padding: 30px 0;
  }

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

  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-ban-ca__introduction p,
  .page-ban-ca__how-to-play p,
  .page-ban-ca__tips-strategies p,
  .page-ban-ca__promotions p,
  .page-ban-ca__conclusion p,
  .page-ban-ca__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Images and figures */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 20px;
  }

  /* Card layouts */
  .page-ban-ca__feature-grid, .page-ban-ca__lobby-grid, .page-ban-ca__steps-grid, .page-ban-ca__tip-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-card, .page-ban-ca__lobby-card, .page-ban-ca__step-card, .page-ban-ca__tip-item {
    padding: 20px;
  }

  .page-ban-ca__card-title {
    font-size: 1.2rem;
  }

  .page-ban-ca__step-card {
    padding-top: 60px;
  }

  .page-ban-ca__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    top: -20px;
  }

  /* Promotions list */
  .page-ban-ca__promo-item {
    padding: 15px;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .page-ban-ca__promo-item::before {
    font-size: 1.2rem;
    margin-right: 10px;
  }

  /* FAQ section */
  .page-ban-ca__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.5rem;
  }

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