.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body background */
  line-height: 1.6;
}

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

.page-ban-ca__dark-bg {
  background-color: #08162B; /* Deep Navy */
}

.page-ban-ca__dark-section {
  background-color: #113B7A; /* Main color as section background */
  padding: 60px 0;
}

.page-ban-ca__card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease-in-out;
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
}

.page-ban-ca__text-block {
  font-size: 1rem;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.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: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1; /* Auxiliary color */
}

.page-ban-ca__btn-secondary:hover {
  background: #1D5FD1;
  color: #F3F8FF;
  transform: translateY(-2px);
}

.page-ban-ca__btn-large {
    min-width: 220px;
    padding: 18px 35px;
    font-size: 1.2rem;
}

.page-ban-ca__btn-small {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 0.95rem;
}

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

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

/* About Section - Features Grid */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__feature-card {
  text-align: center;
}

.page-ban-ca__feature-icon {
  width: 100%; /* Ensure max-width:100% is applied */
  height: auto;
  max-width: 200px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 10px;
}

.page-ban-ca__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ban-ca__card-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

/* Games Section - Game Grid */
.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 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: auto;
  max-width: 300px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 20px auto;
  display: block;
}

/* How To Play Section - Steps Grid */
.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-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* Tips Section - Tips Grid */
.page-ban-ca__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__tip-card {
  text-align: left;
}

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

.page-ban-ca__promo-image {
  width: 100%;
  height: auto;
  max-width: 250px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 15px auto;
  display: block;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #113B7A; /* Main color */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F3F8FF; /* Text Main */
  list-style: none; /* For details/summary */
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  background-color: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid #244D84;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 10px;
    text-align: left;
}

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

.page-ban-ca__faq-answer a:hover {
    color: #4FA8FF;
}

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

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

/* Media Queries for Responsiveness */

/* Tablet/Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }

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

  .page-ban-ca__description,
  .page-ban-ca__text-block {
    font-size: 0.95rem;
  }

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

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Mobile main image: contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-content {
    padding-bottom: 40px;
  }

  /* CTA Buttons */
  .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;
    padding-right: 15px;
  }

  .page-ban-ca__btn-large {
      min-width: unset;
      font-size: 1.1rem;
  }

  .page-ban-ca__btn-small {
      min-width: unset;
  }

  /* Features Grid */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-icon {
    max-width: 150px;
  }

  /* Game Grid */
  .page-ban-ca__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 2 columns for games */
    gap: 15px;
  }

  .page-ban-ca__game-image {
    aspect-ratio: 1/1 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* How To Play Steps Grid */
  .page-ban-ca__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__step-icon {
    max-width: 100px;
  }

  /* Tips Grid */
  .page-ban-ca__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotions Grid */
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
  }

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

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

  /* General Image and Container Mobile Adaptations */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-section,
  .page-ban-ca__about-section,
  .page-ban-ca__games-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__tips-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__dark-section, .page-ban-ca__dark-bg {
      padding-left: 0;
      padding-right: 0;
  }
}