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

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

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

.page-ban-ca__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main color */
  line-height: 1.2;
}

.page-ban-ca__text-block {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__highlight-text {
  color: #FFD36B; /* Glow color */
  font-weight: 600;
}

.page-ban-ca__inline-link {
  color: #FFD36B;
  text-decoration: underline;
}

.page-ban-ca__inline-link:hover {
  color: #F2C14E;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-ban-ca__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit height of the image container */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 17, 17, 0.9); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border color */
}

.page-ban-ca__main-title {
  font-size: 50px;
  font-weight: 800;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-ban-ca__description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-ban-ca__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Intro Section */
.page-ban-ca__intro-section {
  background-color: #0A0A0A;
}

/* Features Section */
.page-ban-ca__features-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-ban-ca__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(242, 193, 78, 0.2);
}

.page-ban-ca__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-ban-ca__feature-description {
  font-size: 16px;
  line-height: 1.6;
}

/* Game Showcase Section */
.page-ban-ca__game-showcase {
  background-color: #0A0A0A;
}

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

.page-ban-ca__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-ban-ca__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  aspect-ratio: 1 / 1; /* Enforce square aspect ratio */
}

.page-ban-ca__game-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 5px;
  padding: 0 10px;
}

.page-ban-ca__game-provider {
  font-size: 14px;
  color: rgba(255, 246, 214, 0.7);
  margin-bottom: 15px;
  padding: 0 10px;
}

.page-ban-ca__btn-play {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-play:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-ban-ca__view-all-games {
  text-align: center;
  margin-top: 40px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

.page-ban-ca__guide-step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.page-ban-ca__step-number {
  width: 50px;
  height: 50px;
  background: #F2C14E;
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

.page-ban-ca__step-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-ban-ca__btn-guide {
  display: inline-block;
  background: #FFD36B;
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-guide:hover {
  background: #F2C14E;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-ban-ca__promotion-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-ban-ca__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-ban-ca__promotion-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__promotion-description {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 246, 214, 0.8);
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-ban-ca__btn-promo {
  display: inline-block;
  background: #F2C14E;
  color: #111111;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-ban-ca__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

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

.page-ban-ca__faq-item summary {
  list-style: none;
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #FFD36B;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-ban-ca__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

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

.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #F2C14E;
}

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

/* CTA Final Section */
.page-ban-ca__cta-final {
  background-color: #0A0A0A;
  text-align: center;
}

.page-ban-ca__cta-final-content {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 15px;
  padding: 50px 30px;
}

/* Copyright */
.page-ban-ca__copyright {
  text-align: center;
  padding: 20px 15px;
  font-size: 14px;
  color: rgba(255, 246, 214, 0.6);
  background-color: #0A0A0A;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 42px;
  }

  .page-ban-ca__section-title {
    font-size: 32px;
  }

  .page-ban-ca__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-ban-ca__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section-spacing {
    padding: 40px 0;
  }

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

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__hero-section {
    flex-direction: column;
    padding-top: 10px !important;
    min-height: auto;
  }

  .page-ban-ca__hero-image-container {
    max-height: 400px;
  }

  .page-ban-ca__hero-image {
    object-fit: contain; /* Use contain for mobile hero image */
    aspect-ratio: unset; /* Remove fixed aspect ratio */
    max-height: none; /* Allow natural height */
  }

  .page-ban-ca__hero-content {
    margin-top: 0; /* Remove negative margin on mobile */
    padding: 30px 15px;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

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

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

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    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__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__feature-description {
    font-size: 15px;
  }

  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-ban-ca__game-image {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .page-ban-ca__game-title {
    font-size: 18px;
  }

  .page-ban-ca__game-provider {
    font-size: 13px;
  }

  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__step-description {
    font-size: 15px;
  }

  .page-ban-ca__promotions-section {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-ban-ca__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__promotion-image {
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }

  .page-ban-ca__promotion-title {
    font-size: 18px;
  }

  .page-ban-ca__promotion-description {
    font-size: 15px;
  }

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

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

  .page-ban-ca__cta-final-content {
    padding: 40px 20px;
  }

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

  .page-ban-ca__text-block {
    font-size: 16px;
  }

  .page-ban-ca__copyright {
    padding: 15px 10px;
    font-size: 13px;
  }
}