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

.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Max height for desktop hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers area, might crop */
  display: block;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF; /* Card BG */
  border: none;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3);
}

.page-ban-ca__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Primary color */
}

.page-ban-ca__btn-secondary:hover {
  background: #E8F0FF; /* Lighter shade of primary */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.1);
}

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

.page-ban-ca__introduction {
  background-color: #F4F7FB; /* Background */
}

.page-ban-ca__why-choose {
  background-color: #FFFFFF; /* Card BG */
}

.page-ban-ca__featured-games {
  background-color: #F4F7FB; /* Background */
}

.page-ban-ca__how-to-play {
  background-color: #FFFFFF; /* Card BG */
}

.page-ban-ca__strategies {
  background-color: #F4F7FB; /* Background */
}

.page-ban-ca__promotions {
  background-color: #FFFFFF; /* Card BG */
}

.page-ban-ca__mobile-app {
  background-color: #F4F7FB; /* Background */
}

.page-ban-ca__faq-section {
  background-color: #FFFFFF; /* Card BG */
}

.page-ban-ca__conclusion {
  background-color: #2F6BFF; /* Primary color for dark background */
  color: #FFFFFF; /* White text for dark background */
}

.page-ban-ca__conclusion .page-ban-ca__section-title,
.page-ban-ca__conclusion .page-ban-ca__text-block {
  color: #FFFFFF; /* White text for dark background */
}

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

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title {
  color: #FFFFFF; /* White text for dark background */
}

.page-ban-ca__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

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

.page-ban-ca__feature-card,
.page-ban-ca__game-card,
.page-ban-ca__promo-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
}

.page-ban-ca__feature-card:hover,
.page-ban-ca__game-card:hover,
.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.2);
}

.page-ban-ca__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

.page-ban-ca__game-thumbnail,
.page-ban-ca__promo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary,
.page-ban-ca__promo-card .page-ban-ca__btn-primary {
  margin-top: auto;
  width: 100%;
}

.page-ban-ca__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-ban-ca__card-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-ban-ca__ordered-list li,
.page-ban-ca__unordered-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__ordered-list li strong,
.page-ban-ca__unordered-list li strong {
  color: #2F6BFF; /* Primary color */
}

.page-ban-ca__app-feature-item {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.08);
  padding: 25px;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__app-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-ban-ca__app-download-buttons {
  margin-top: 40px;
}

/* FAQ Section Styles */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(47, 107, 255, 0.05);
}
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: #F4F7FB; /* Background */
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 12px 12px;
  color: #1F2D3D; /* Text Main */
}
.page-ban-ca__faq-answer p {
  margin-bottom: 0;
}


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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-section {
    padding-bottom: 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-ban-ca__hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }

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

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

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

  .page-ban-ca__card-title {
    font-size: 1.3rem;
  }

  .page-ban-ca__card-description {
    font-size: 0.9rem;
  }

  .page-ban-ca__faq-qtext {
    font-size: 1rem;
  }

  .page-ban-ca__faq-toggle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

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

  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-ban-ca__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 20px;
    padding: 0 15px;
  }

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

  .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: 12px 15px;
    font-size: 0.9rem;
  }
  
  .page-ban-ca__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-ban-ca__text-block,
  .page-ban-ca__ordered-list li,
  .page-ban-ca__unordered-list li {
    font-size: 0.95rem;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__promo-grid,
  .page-ban-ca__app-features {
    grid-template-columns: 1fr; /* Single column for cards on mobile */
    gap: 20px;
  }

  .page-ban-ca__game-list,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Allow two columns if space permits */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-ban-ca__feature-card,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-card,
  .page-ban-ca__app-feature-item {
    padding: 20px;
  }

  .page-ban-ca__card-title {
    font-size: 1.2rem;
  }

  .page-ban-ca__card-description {
    font-size: 0.85rem;
  }

  .page-ban-ca__game-thumbnail,
  .page-ban-ca__promo-img {
    
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 1rem;
  }
  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }

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

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