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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding for hero section */
  margin-bottom: 40px;
  background-color: #0A0A0A;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-ban-ca__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  transform: translateY(-50%);
  margin-top: -100px; /* Adjust to pull content up */
  position: relative;
  z-index: 1;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  color: #FFF6D6;
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-ban-ca__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-ban-ca__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Card BG */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-ban-ca__btn-center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

.page-ban-ca__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #0A0A0A;
}

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

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-ban-ca__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-ban-ca__text-link {
  color: #FFD36B; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__text-link:hover {
  text-decoration: underline;
  color: #F2C14E; /* Main color */
}

.page-ban-ca__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

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

.page-ban-ca__feature-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-ban-ca__feature-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__guide-list,
.page-ban-ca__tips-list,
.page-ban-ca__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__guide-item,
.page-ban-ca__tips-item,
.page-ban-ca__promotion-item {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
}

.page-ban-ca__guide-step-title,
.page-ban-ca__tips-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-ban-ca__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFF6D6;
  cursor: pointer;
  background-color: #1A1A1A; /* Slightly darker for contrast */
  position: relative;
  user-select: none;
}

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

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

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

.page-ban-ca__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

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

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

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

  .page-ban-ca__main-title {
    font-size: 2.8rem;
  }

  .page-ban-ca__hero-description {
    font-size: 1.1rem;
  }

  .page-ban-ca__cta-buttons {
    gap: 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

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

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

  .page-ban-ca__feature-item,
  .page-ban-ca__guide-item,
  .page-ban-ca__tips-item,
  .page-ban-ca__promotion-item {
    padding: 20px;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__guide-step-title,
  .page-ban-ca__tips-title {
    font-size: 1.3rem;
  }

  .page-ban-ca__text-block {
    font-size: 1rem;
  }

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

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

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-content {
    padding: 25px 15px;
    margin-top: -60px; /* Adjust for smaller screens */
    transform: translateY(-30%);
  }

  .page-ban-ca__main-title {
    font-size: 2rem !important;
    margin-bottom: 10px;
  }

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

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

  .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-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-ban-ca__btn-center {
    width: 100%;
    margin: 20px auto 0 auto;
  }

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

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

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

  .page-ban-ca__text-block {
    font-size: 0.9rem;
  }

  .page-ban-ca__feature-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__guide-item,
  .page-ban-ca__tips-item,
  .page-ban-ca__promotion-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__guide-step-title,
  .page-ban-ca__tips-title {
    font-size: 1.2rem;
  }

  .page-ban-ca__faq-question {
    padding: 12px 18px;
    font-size: 1rem;
  }

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

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Placeholder for other mandatory mobile CSS blocks (even if not explicitly used on this page, general rules apply) */
  .page-ban-ca__home-content { /* Long Text Gold Frame */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }
  
  .page-ban-ca__home-content h2 { /* Long Text Gold Frame H2 */
    font-size: 1.5rem !important;
  }

  .page-ban-ca__slider-track { /* Game Carousel (if present) */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .page-ban-ca__game-slide { /* Game Carousel single slide */
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  .page-ban-ca__banners-top-wrapper { /* Partner Grid (if present) */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  
  .page-ban-ca__banner-item img { /* Partner Grid image */
    
    
  }

  .page-ban-ca__blog-masonry { /* Blog Cards Masonry */
    grid-template-columns: 1fr !important;
  }

  .page-ban-ca__blog-slider-track { /* Blog Slider (if present) */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .page-ban-ca__blog-slide { /* Blog Slider single slide */
    flex: 0 0 calc(100% - 30px) !important; /* Account for padding/gap */
    max-width: calc(100% - 30px) !important;
  }
}