.page-ban-ca__hero-section { position: relative; width: 100%; overflow: hidden; color: #ffffff; text-align: center; padding-top: 10px; padding-bottom: 40px; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); }
.page-ban-ca__hero-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.7; }
.page-ban-ca__hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-ban-ca__hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 40px 15px; }
.page-ban-ca__main-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 20px; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
.page-ban-ca__hero-description { font-size: 1.15rem; margin-bottom: 30px; line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto; }
.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, .page-ban-ca__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}
.page-ban-ca__btn-primary { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; border: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.page-ban-ca__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); opacity: 0.9; }
.page-ban-ca__btn-secondary { background: #ffffff; color: #2F6BFF; border: 2px solid #2F6BFF; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.page-ban-ca__btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); opacity: 0.9; }

.page-ban-ca__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.page-ban-ca__section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; text-align: center; margin-bottom: 40px; color: #1F2D3D; position: relative; padding-bottom: 15px; }
.page-ban-ca__section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 80px; height: 4px; background-color: #2F6BFF; border-radius: 2px; }
.page-ban-ca__section-title--light { color: #ffffff; }
.page-ban-ca__section-title--light::after { background-color: #ffffff; }

.page-ban-ca__introduction-section { padding: 60px 0; background-color: #F4F7FB; color: #1F2D3D; }
.page-ban-ca__text-block { font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; color: #1F2D3D; }
.page-ban-ca__text-block--light { color: #ffffff; }

.page-ban-ca__features-section { padding: 80px 0; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); color: #ffffff; }
.page-ban-ca__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; margin-bottom: 50px; }
.page-ban-ca__feature-card { background-color: #FFFFFF; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; color: #1F2D3D; }
.page-ban-ca__feature-card:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.page-ban-ca__feature-icon { width: 100%; height: auto; max-width: 150px; margin: 0 auto 20px; display: block; border-radius: 8px; }
.page-ban-ca__feature-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: #2F6BFF; }
.page-ban-ca__feature-description { font-size: 1rem; line-height: 1.6; color: #1F2D3D; }
.page-ban-ca__cta-buttons--center { margin-top: 40px; }

.page-ban-ca__gameplay-guide-section { padding: 80px 0; background-color: #F4F7FB; color: #1F2D3D; }
.page-ban-ca__guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-ban-ca__guide-step { background-color: #FFFFFF; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); }
.page-ban-ca__guide-image { width: 100%; height: auto; max-width: 300px; margin: 0 auto 25px; display: block; border-radius: 8px; }
.page-ban-ca__guide-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 15px; color: #2F6BFF; }
.page-ban-ca__guide-description { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; color: #1F2D3D; }
.page-ban-ca__btn-link { color: #2F6BFF; text-decoration: none; font-weight: 600; padding: 8px 15px; border: 1px solid #D6E2FF; border-radius: 5px; }
.page-ban-ca__btn-link:hover { background-color: #D6E2FF; }

.page-ban-ca__tips-section { padding: 80px 0; background-color: #FFFFFF; color: #1F2D3D; }
.page-ban-ca__tips-list { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.page-ban-ca__tips-item { background-color: #F4F7FB; border-left: 5px solid #2F6BFF; border-radius: 8px; padding: 25px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.page-ban-ca__tips-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: #1F2D3D; }
.page-ban-ca__tips-description { font-size: 0.95rem; line-height: 1.6; color: #1F2D3D; }

.page-ban-ca__faq-section { padding: 80px 0; background-color: #F4F7FB; color: #1F2D3D; }
.page-ban-ca__faq-list { max-width: 900px; margin: 40px auto 0; }
.page-ban-ca__faq-item { background-color: #FFFFFF; border: 1px solid #D6E2FF; border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.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; cursor: pointer; font-size: 1.15rem; font-weight: 600; color: #1F2D3D; background-color: #FFFFFF; border-bottom: 1px solid #D6E2FF; transition: background-color 0.3s ease; }
.page-ban-ca__faq-question:hover { background-color: #F4F7FB; }
.page-ban-ca__faq-question .page-ban-ca__faq-toggle { font-size: 1.8rem; line-height: 1; transition: transform 0.3s ease; color: #2F6BFF; }
.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle { transform: rotate(45deg); }
.page-ban-ca__faq-answer { padding: 20px 25px; font-size: 1rem; line-height: 1.6; color: #1F2D3D; background-color: #FFFFFF; border-top: 1px solid #D6E2FF; }
.page-ban-ca__faq-answer p { margin-bottom: 0; }

.page-ban-ca__cta-bottom-section { padding: 60px 0; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); color: #ffffff; text-align: center; }
.page-ban-ca__cta-bottom-content { max-width: 900px; margin: 0 auto; padding: 0 15px; }

/* Common styles for images and containers to prevent overflow */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section { padding-top: 10px; padding-bottom: 30px; }
  .page-ban-ca__hero-content { padding: 30px 15px; }
  .page-ban-ca__main-title { font-size: 2rem; margin-bottom: 15px; }
  .page-ban-ca__hero-description { font-size: 1rem; 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__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-ban-ca__section-title { font-size: 1.8rem; margin-bottom: 30px; }
  .page-ban-ca__introduction-section { padding: 40px 0; }
  .page-ban-ca__features-section { padding: 50px 0; }
  .page-ban-ca__features-grid { grid-template-columns: 1fr; margin-top: 30px; margin-bottom: 30px; }
  .page-ban-ca__feature-card { padding: 25px; }
  .page-ban-ca__feature-icon { max-width: 100px; margin-bottom: 15px; }
  .page-ban-ca__feature-title { font-size: 1.3rem; margin-bottom: 10px; }
  .page-ban-ca__feature-description { font-size: 0.95rem; }

  .page-ban-ca__gameplay-guide-section { padding: 50px 0; }
  .page-ban-ca__guide-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .page-ban-ca__guide-step { padding: 25px; }
  .page-ban-ca__guide-image { max-width: 250px; margin-bottom: 20px; }
  .page-ban-ca__guide-title { font-size: 1.4rem; margin-bottom: 10px; }
  .page-ban-ca__guide-description { font-size: 0.95rem; margin-bottom: 15px; }

  .page-ban-ca__tips-section { padding: 50px 0; }
  .page-ban-ca__tips-list { grid-template-columns: 1fr; margin-top: 30px; }
  .page-ban-ca__tips-item { padding: 20px; }
  .page-ban-ca__tips-title { font-size: 1.2rem; margin-bottom: 8px; }
  .page-ban-ca__tips-description { font-size: 0.9rem; }

  .page-ban-ca__faq-section { padding: 50px 0; }
  .page-ban-ca__faq-list { margin-top: 30px; }
  .page-ban-ca__faq-question { padding: 15px 20px; font-size: 1rem; }
  .page-ban-ca__faq-question .page-ban-ca__faq-toggle { font-size: 1.5rem; }
  .page-ban-ca__faq-answer { padding: 15px 20px; font-size: 0.95rem; }

  .page-ban-ca__cta-bottom-section { padding: 40px 0; }
  .page-ban-ca__cta-bottom-content { padding: 0 15px; }

  /* Mobile specific image and container rules */
  .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,
  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}