.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
}

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

.page-ban-ca__light-bg {
  background-color: #FFFFFF;
}

.page-ban-ca__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-ban-ca__section-title--white {
  color: #ffffff;
}

.page-ban-ca__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

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

.page-ban-ca__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-primary:hover {
  background-color: #1a8cc5;
  border-color: #1a8cc5;
}

.page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc5;
}

/* Hero Section */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  margin-top: -80px; /* Overlap slightly with image for visual effect */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-ban-ca__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-ban-ca__text-block {
  flex: 1;
  font-size: 1.1em;
}

.page-ban-ca__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-ban-ca__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-ban-ca__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-ban-ca__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__feature-description {
  font-size: 1em;
}

/* How-To-Play Section */
.page-ban-ca__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-ban-ca__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-ban-ca__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #EA7C07;
  margin-bottom: 15px;
  background: #fdf2e8;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__step-description {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-ban-ca__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Games Showcase Section */
.page-ban-ca__games-showcase {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-ban-ca__game-tile {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-ban-ca__game-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 15px 10px 10px;
  color: #26A9E0;
}

.page-ban-ca__game-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 0;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__game-btn:hover {
  background-color: #d16e06;
}

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

/* Why Choose Section */
.page-ban-ca__why-choose-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-ban-ca__why-choose-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__why-choose-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-ban-ca__why-choose-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__why-choose-description {
  font-size: 1em;
  color: #555555;
}

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

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

.page-ban-ca__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: #f5fafd; /* Light blue background for summary */
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-ban-ca__faq-question .page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom: none;
}

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

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.1em;
  background-color: #ffffff;
}

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

.page-ban-ca__cta-final-section .page-ban-ca__hero-description {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 20px 30px;
  }

  .page-ban-ca__main-title {
    font-size: 2.5em;
  }

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

  .page-ban-ca__section-title {
    font-size: 2em;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__why-choose-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

  .page-ban-ca__content-wrapper {
    flex-direction: column;
  }
  .page-ban-ca__text-block, .page-ban-ca__image-block {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    margin-bottom: 40px;
  }
  
  .page-ban-ca__hero-image-wrapper {
    max-height: 400px;
  }

  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Mobile hero image should not be cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-ban-ca__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    border-radius: 10px;
  }

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

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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;
    padding-right: 15px;
  }

  /* General Image & Container Adaptations */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__content-wrapper,
  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__why-choose-grid,
  .page-ban-ca__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-ban-ca__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Intro Section */
  .page-ban-ca__intro-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__text-block {
    font-size: 1em;
  }

  /* Features Section */
  .page-ban-ca__features-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__feature-title {
    font-size: 1.3em;
  }

  /* How-To-Play Section */
  .page-ban-ca__how-to-play-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__step-title {
    font-size: 1.2em;
  }

  /* Games Showcase Section */
  .page-ban-ca__games-showcase {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile */
    gap: 15px;
  }
  .page-ban-ca__game-thumbnail {
    height: auto !important;
    aspect-ratio: 1/1 !important; /* Ensure square aspect ratio */
    object-fit: cover;
  }
  .page-ban-ca__game-title {
    font-size: 1.1em;
  }
  .page-ban-ca__game-btn {
    padding: 8px 0;
    font-size: 0.9em;
  }

  /* Why Choose Section */
  .page-ban-ca__why-choose-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__why-choose-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  /* Final CTA Section */
  .page-ban-ca__cta-final-section {
    padding: 50px 0;
  }
  .page-ban-ca__cta-final-section .page-ban-ca__hero-description {
    margin-bottom: 30px;
  }
}