.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, assuming shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-ban-ca__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 20px #FFD36B; /* Glow */
}

.page-ban-ca__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 15px;
}

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

.page-ban-ca__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for contrast on light gradient */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-ban-ca__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #0A0A0A;
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-ban-ca__features-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section,
.page-ban-ca__contact-section {
  padding: 0 20px;
  margin-bottom: 60px;
}

.page-ban-ca__features-grid,
.page-ban-ca__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__feature-image,
.page-ban-ca__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit height for uniform cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__feature-title,
.page-ban-ca__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-ban-ca__feature-description,
.page-ban-ca__promo-description {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-ban-ca__how-to-play-section .page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

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

.page-ban-ca__image-block {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B; /* Accent color */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-ban-ca__step-list,
.page-ban-ca__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__step-list li,
.page-ban-ca__tip-list li {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  color: #FFF6D6;
  position: relative;
  padding-left: 40px;
}

.page-ban-ca__step-list li:last-child,
.page-ban-ca__tip-list li:last-child {
  margin-bottom: 0;
}

.page-ban-ca__step-list li strong {
  color: #F2C14E; /* Main color */
}

.page-ban-ca__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD36B; /* Glow */
  color: #0A0A0A;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.page-ban-ca__tip-list li::before {
  content: '💡';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.page-ban-ca__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-ban-ca__btn-small {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 15px;
  background: #F2C14E;
  color: #0A0A0A;
  transition: background-color 0.3s ease;
}

.page-ban-ca__btn-small:hover {
  background: #FFD36B;
}

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

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__faq-item {
  margin-bottom: 20px;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #F2C14E; /* Main color for summary */
  color: #0A0A0A; /* Dark text for contrast */
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-question:hover {
  background-color: #FFD36B;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '-';
}

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-ban-ca__faq-answer {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 20px;
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-ban-ca__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-ban-ca__contact-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-ban-ca__contact-section .page-ban-ca__description {
  max-width: 800px;
  margin: 0 auto 30px;
}

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

/* Links within text */
.page-ban-ca p a,
.page-ban-ca li a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-ban-ca p a:hover,
.page-ban-ca li a:hover {
  color: #F2C14E;
}

/* ========================================================================== */
/* Mobile Responsive Styles (max-width: 768px) - MUST INCLUDE ALL SECTIONS */
/* ========================================================================== */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small padding, not header-offset */
    margin-bottom: 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust for smaller screens */
    margin-bottom: 10px;
  }

  .page-ban-ca__description {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

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

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

  /* Section Titles */
  .page-ban-ca__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin: 40px 0 30px;
    padding: 0 10px 15px;
  }

  /* Features Section */
  .page-ban-ca__features-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__contact-section {
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }

  .page-ban-ca__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__promo-title {
    font-size: 1.3rem;
  }

  /* How to Play Section */
  .page-ban-ca__how-to-play-section .page-ban-ca__content-wrapper {
    flex-direction: column; /* Stack text and image vertically */
    gap: 30px;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__image-block {
    flex: none;
    width: 100%;
    min-width: unset;
  }

  .page-ban-ca__sub-title {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-ban-ca__step-list li,
  .page-ban-ca__tip-list li {
    padding: 12px 15px 12px 40px;
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

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

  .page-ban-ca__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }

  /* Contact Section */
  .page-ban-ca__contact-section {
    padding-bottom: 60px;
  }

  /* General Image & Container Adaptations */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__hero-image-container,
  .page-ban-ca__features-grid,
  .page-ban-ca__promotions-grid,
  .page-ban-ca__how-to-play-section .page-ban-ca__content-wrapper,
  .page-ban-ca__faq-list,
  .page-ban-ca__cta-buttons,
  .page-ban-ca__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* No specific carousel or guide cards for this non-homepage */
  /* No home_content box for this non-homepage */
  /* No blog-grid for this non-homepage */
}

/* Media query for tablets (optional, but good practice) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-ban-ca__hero-content {
    max-width: 768px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2.8rem, 5vw, 3.2rem);
  }

  .page-ban-ca__description {
    font-size: 1.05rem;
  }

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

  .page-ban-ca__section-title {
    font-size: clamp(2.2rem, 4vw, 2.6rem);
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__promotions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

  .page-ban-ca__image-block {
    order: -1; /* Image above text on tablets */
  }

  .page-ban-ca__sub-title {
    font-size: 1.6rem;
  }

  .page-ban-ca__faq-list {
    max-width: 768px;
  }
}