.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
}

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

.page-ban-ca__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 100%);
  border-radius: 15px;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-ban-ca__btn--secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-ban-ca__btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: #1E3A2A; /* Divider */
}

.page-ban-ca__btn--outline {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-ban-ca__btn--outline:hover {
  background: rgba(87, 227, 141, 0.1);
}

.page-ban-ca__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-ban-ca__btn--small:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.page-ban-ca__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-ban-ca__section:last-of-type {
  border-bottom: none;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #57E38D, transparent);
  border-radius: 5px;
}

.page-ban-ca__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-ban-ca__feature-item,
.page-ban-ca__tip-card,
.page-ban-ca__promo-card {
  background: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6;
}

.page-ban-ca__feature-title,
.page-ban-ca__tip-title,
.page-ban-ca__promo-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__list li {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
  position: relative;
  padding-left: 25px;
}

.page-ban-ca__list li::before {
  content: '✓';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-ban-ca__game-card {
  background: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-ban-ca__game-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-ban-ca__step-item {
  background: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__step-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-ban-ca__figure {
  margin: 40px auto;
  max-width: 680px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
}

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

.page-ban-ca__figcaption {
  background: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  padding: 15px;
  font-size: 0.9em;
  text-align: center;
  border-top: 1px solid #1E3A2A;
}

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

.page-ban-ca__faq-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-ban-ca__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-ban-ca__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background-color: #0A4B2C; /* Deep Green */
  color: #A7D9B8; /* Text Secondary */
  padding: 0 25px;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-answer {
  max-height: 2000px; /* Large enough to show content */
  padding: 15px 25px 25px;
}

.page-ban-ca__faq-answer p {
  margin: 0;
  color: #A7D9B8;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 15px;
    line-height: 1.5;
  }

  /* 1. Top section title + CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-ban-ca__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust overlap */
    border-radius: 10px;
  }

  .page-ban-ca__main-title {
    font-size: 2em;
  }

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

  .page-ban-ca__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-ban-ca__btn,
  .page-ban-ca__btn--primary,
  .page-ban-ca__btn--secondary,
  .page-ban-ca__btn--outline,
  .page-ban-ca__btn--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-ban-ca__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 2. Single-column content wrappers */
  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__section {
    padding: 40px 0;
  }

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

  .page-ban-ca__text-block {
    font-size: 0.95em;
  }

  .page-ban-ca__feature-list,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* 3. General images and figures */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__figure {
    margin: 30px auto;
    border-radius: 10px;
  }

  .page-ban-ca__figcaption {
    font-size: 0.85em;
  }

  /* 4. Buttons and button containers (already covered in top section, but re-emphasize for general buttons) */
  .page-ban-ca__cta-center {
    margin-top: 30px;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-ban-ca__step-title {
    font-size: 1.3em;
  }

  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-ban-ca__faq-item.active .page-ban-ca__faq-answer {
    padding: 10px 20px 20px;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-ban-ca__main-title {
    font-size: 3em;
  }

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

  .page-ban-ca__feature-list,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__steps-list {
    gap: 25px;
  }

  .page-ban-ca__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}