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

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-ban-ca__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
  transform: translateY(-2px);
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-ban-ca__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  text-align: center;
}

.page-ban-ca__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-ban-ca__light-bg {
  background-color: #1A1D24;
  color: #FFF3E6;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 40px;
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: -100px auto 0 auto; /* Pull content up over image slightly for effect */
  padding: 20px;
  background: rgba(13, 14, 18, 0.85); /* Slightly transparent background */
  border-radius: 12px;
  border: 1px solid #A84F0C;
}

.page-ban-ca__main-title {
  font-size: 52px;
  font-weight: 800;
  color: #FFB04D;
  margin-bottom: 25px;
  line-height: 1.1;
}

.page-ban-ca__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 40px;
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 80px 0;
}

.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 {
  text-align: center;
}

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

/* Games Showcase */
.page-ban-ca__games-showcase {
  padding: 80px 0;
}

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

.page-ban-ca__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__game-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #A84F0C;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin-top: auto;
}

/* How To Play */
.page-ban-ca__how-to-play {
  padding: 80px 0;
}

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

.page-ban-ca__step-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 5px rgba(255, 165, 58, 0.3);
}

.page-ban-ca__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFB04D;
  margin-bottom: 15px;
}

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

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 80px 0;
}

.page-ban-ca__strategy-list {
  max-width: 900px;
  margin: 50px auto 0;
  list-style: none;
  padding: 0;
}

.page-ban-ca__strategy-list li {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__strategy-list li::before {
  content: '✓';
  color: #FFA53A;
  font-size: 20px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-ban-ca__strategy-list strong {
  color: #FFB04D;
}

.page-ban-ca__strategy-conclusion {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
  font-style: italic;
  color: #FFF3E6;
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding: 80px 0;
}

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

.page-ban-ca__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__promo-card .page-ban-ca__btn-primary {
  margin-top: auto;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 80px 0;
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(255, 165, 58, 0.05);
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D;
}

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 165, 58, 0.02);
  border-radius: 0 0 12px 12px;
  color: #FFF3E6;
  font-size: 16px;
}

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

/* Final CTA */
.page-ban-ca__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-ban-ca__cta-final .page-ban-ca__card {
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__cta-final .page-ban-ca__section-title {
  color: #FFB04D;
}

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


/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 15px;
  }

  .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: 28px;
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-image-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed */
  }

  .page-ban-ca__hero-content {
    margin-top: -60px; /* Adjust pull-up for mobile */
    padding: 15px;
  }

  .page-ban-ca__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* General Section Padding */
  .page-ban-ca__intro-section,
  .page-ban-ca__games-showcase,
  .page-ban-ca__how-to-play,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final {
    padding: 40px 0;
  }

  /* Grids */
  .page-ban-ca__features-grid,
  .page-ban-ca__game-cards-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__feature-image,
  .page-ban-ca__game-image {
    height: 200px;
  }

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__step-item {
    padding: 20px;
  }

  .page-ban-ca__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .page-ban-ca__step-title {
    font-size: 20px;
  }

  .page-ban-ca__cta-bottom {
    margin-top: 40px;
  }

  .page-ban-ca__strategy-list li {
    font-size: 15px;
    padding: 15px 20px;
  }

  .page-ban-ca__strategy-list li::before {
    font-size: 18px;
    margin-right: 10px;
  }

  /* FAQ */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 28px;
  }

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

  .page-ban-ca__cta-final .page-ban-ca__card {
    padding: 30px 20px;
  }

  /* Ensure all images are responsive */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-image-wrapper,
  .page-ban-ca__feature-image,
  .page-ban-ca__game-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__hero-image-wrapper {
    height: auto;
  }
}