/* style/ban-ca.css */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff; /* Body background is light */
}

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

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

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

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from section background */
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-image-container {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-ban-ca__hero-content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align content to top of wrapper */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-ban-ca__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-ban-ca__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

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

.page-ban-ca__feature-card {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

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

.page-ban-ca__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

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

/* Game List Grid */
.page-ban-ca__game-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.page-ban-ca__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-ban-ca__game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

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

/* Guide List */
.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__guide-list li {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #333333;
}

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

/* Tips List */
.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__tips-list li {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #333333;
}

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

/* Promo List */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__promo-list li {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #333333;
}

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

/* CTA Center */
.page-ban-ca__cta-center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* App Download Section */
.page-ban-ca__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #333333;
}

.page-ban-ca__qr-code {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.page-ban-ca__download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none;
}

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

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

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

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

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

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

/* Universal Image & Button Responsive */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__cta-buttons,
.page-ban-ca__download-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__container {
    padding: 15px;
  }

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

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-ban-ca__hero-image-container {
    max-height: 250px;
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-content {
    padding: 20px;
    margin: 0 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

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

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

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-ban-ca__feature-card {
    padding: 20px;
  }

  /* Game List Grid Mobile */
  .page-ban-ca__game-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-ban-ca__game-image {
    height: 180px;
  }

  .page-ban-ca__game-info {
    padding: 15px;
  }

  .page-ban-ca__game-title {
    font-size: 1.4em;
  }

  /* Guide/Tips/Promo List Mobile */
  .page-ban-ca__guide-list li,
  .page-ban-ca__tips-list li,
  .page-ban-ca__promo-list li {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-ban-ca__guide-step-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__promo-title {
    font-size: 1.2em;
  }

  /* App Download Section Mobile */
  .page-ban-ca__app-download-section {
    padding: 20px;
    gap: 20px;
  }

  .page-ban-ca__qr-code {
    width: 150px;
    height: 150px;
  }

  .page-ban-ca__download-buttons {
    max-width: 250px;
  }

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

  .page-ban-ca__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Universal Image & Button Responsive for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__hero-image-container,
  .page-ban-ca__features-grid,
  .page-ban-ca__game-list-grid,
  .page-ban-ca__app-download-section,
  .page-ban-ca__cta-buttons,
  .page-ban-ca__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No specific carousel or home_content_box (700px height) or blog grid for this page type */
  /* The general responsive rules for images and buttons cover the requirements */
}

/* Desktop specific guide box style (not used on this non-homepage) */
/* .page-ban-ca__guide-box { padding: 16px 20px 24px; background: #f5e6d3; border-radius: 4px; } */
/* .page-ban-ca__guide-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } */
/* .page-ban-ca__guide-card { flex: 0 0 20%; max-width: 20%; } */
/* .page-ban-ca__guide-card img { aspect-ratio: 250/350; object-fit: contain; width: 100%; height: auto; } */
/* .page-ban-ca__guide-card--pos-1, .page-ban-ca__guide-card--pos-5 { padding-top: 50px; } */
/* .page-ban-ca__guide-card--pos-2, .page-ban-ca__guide-card--pos-4 { padding-top: 25px; } */
/* .page-ban-ca__home-content-box { max-width: 91%; margin: 0 auto; padding: 10px 16px; border: 5px solid #3477c9; border-radius: 15px; box-shadow: 0 0 20px #3477c9; height: 700px; } */
/* .page-ban-ca__home-content-inner { height: 100%; overflow-y: auto; } */
/* .page-ban-ca__blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } */