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

.page-ban-ca__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

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

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

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

.page-ban-ca__inline-link {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 600;
}

.page-ban-ca__inline-link:hover {
  color: #6FA3FF;
}

.page-ban-ca__figure {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.page-ban-ca__figcaption {
  font-size: 15px;
  color: #666;
  margin-top: 15px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure content is visible */
  background-color: #F4F7FB;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-ban-ca__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px #A5C4FF; /* Glow */
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px #A5C4FF;
  opacity: 0.9;
}

.page-ban-ca__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #F4F7FB; /* Background */
}

/* Advantages Section */
.page-ban-ca__advantages-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

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

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

.page-ban-ca__card {
  background: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-ban-ca__card-text {
  font-size: 16px;
  line-height: 1.7;
}

/* Games Section */
.page-ban-ca__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ban-ca__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

.page-ban-ca__game-card .page-ban-ca__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin: 20px 20px 10px;
}

.page-ban-ca__game-card .page-ban-ca__game-description {
  font-size: 15px;
  color: #1F2D3D;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-ban-ca__btn-play {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 20px;
  text-align: center;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-play:hover {
  opacity: 0.9;
}

/* Guide Section */
.page-ban-ca__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

.page-ban-ca__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #2F6BFF;
  color: #ffffff;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-ban-ca__step-description {
  font-size: 16px;
  color: #1F2D3D;
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  background-color: #F4F7FB; /* Background */
}

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

.page-ban-ca__strategy-card {
  background: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__strategy-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-ban-ca__strategy-text {
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
}

/* Promo Section */
.page-ban-ca__promo-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

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

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-ban-ca__promo-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #A5C4FF; /* Glow */
  margin-bottom: 10px;
}

.page-ban-ca__promo-description {
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
}

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

.page-ban-ca__faq-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF;
  list-style: none;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom: 1px solid #D6E2FF;
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
}

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

.page-ban-ca__conclusion-section .page-ban-ca__text-block {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-ban-ca__copyright-info {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
    background-color: #F4F7FB;
    border-top: 1px solid #e0e0e0;
}

/* --- Responsive Styles --- */

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

  .page-ban-ca__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-ban-ca__text-block {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .page-ban-ca__image,
  .page-ban-ca__hero-image,
  .page-ban-ca__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__figure {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section Mobile */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Specific small top padding */
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-ban-ca__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-content {
    padding: 0 15px;
  }

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

  .page-ban-ca__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .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__hero-cta-buttons,
  .page-ban-ca__cta-bottom,
  .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;
    flex-wrap: wrap !important;
    gap: 15px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Advantages Section Mobile */
  .page-ban-ca__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__card {
    padding: 25px;
  }

  .page-ban-ca__card-title {
    font-size: 20px;
  }

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

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

  .page-ban-ca__game-card .page-ban-ca__game-title {
    font-size: 20px;
    margin: 15px 15px 8px;
  }

  .page-ban-ca__game-card .page-ban-ca__game-description {
    font-size: 14px;
    padding: 0 15px 15px;
  }

  .page-ban-ca__btn-play {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }

  /* Guide Section Mobile */
  .page-ban-ca__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__step-item {
    padding: 25px;
  }

  .page-ban-ca__step-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-ban-ca__step-title {
    font-size: 20px;
  }

  /* Strategy Section Mobile */
  .page-ban-ca__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__strategy-card {
    padding: 25px;
  }

  .page-ban-ca__strategy-title {
    font-size: 20px;
  }

  /* Promo Section Mobile */
  .page-ban-ca__promo-list {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-ban-ca__promo-item {
    padding: 20px;
  }

  .page-ban-ca__promo-title {
    font-size: 20px;
  }

  /* FAQ Section Mobile */
  .page-ban-ca__faq-list {
    max-width: 100%;
  }

  .page-ban-ca__faq-question {
    padding: 15px;
    font-size: 16px;
  }

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

  /* Conclusion Section Mobile */
  .page-ban-ca__conclusion-section .page-ban-ca__text-block {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }

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

/* Tablet (max-width: 1024px) - Adjustments for larger screens than mobile */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-ban-ca__container {
    padding: 0 30px;
  }

  .page-ban-ca__section-title {
    font-size: 34px;
  }

  .page-ban-ca__hero-content {
    padding: 0 30px;
  }

  .page-ban-ca__main-title {
    font-size: 48px;
  }

  .page-ban-ca__subtitle {
    font-size: 20px;
  }

  .page-ban-ca__grid,
  .page-ban-ca__game-list,
  .page-ban-ca__step-list,
  .page-ban-ca__strategy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-ban-ca__card-title,
  .page-ban-ca__game-card .page-ban-ca__game-title,
  .page-ban-ca__step-title,
  .page-ban-ca__strategy-title,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }

  .page-ban-ca__faq-question {
    font-size: 17px;
  }
}