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

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

.page-ban-ca__top-section {
  padding-top: 10px; /* Fixed header spacing, small top padding for this section */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Auxiliary to Primary */
  color: #FFFFFF;
}

.page-ban-ca__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-ban-ca__description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

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

.page-ban-ca__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Primary */
  border: 2px solid #2F6BFF;
}

.page-ban-ca__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

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

.page-ban-ca__section:nth-of-type(even) {
  background-color: #EBF2FF; /* Light blue tint for alternating sections */
}

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

.page-ban-ca__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #2F6BFF; /* Primary */
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure image behaves as a block element */
  margin: 0 auto;
}

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

.page-ban-ca__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-ban-ca__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-ban-ca__list-item {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.5;
}

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

.page-ban-ca__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-ban-ca__card-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-ban-ca__promo-section {
  background: #2F6BFF; /* Primary */
  color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
  border-radius: 12px;
  margin: 50px auto;
  max-width: 1150px;
}

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

.page-ban-ca__promo-section .page-ban-ca__list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__promo-section .page-ban-ca__list-item {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-ban-ca__promo-section .page-ban-ca__list-item::before {
  content: '✓';
  color: #A5C4FF; /* Glow */
  font-size: 22px;
  position: absolute;
  left: 0;
  top: -2px;
}

.page-ban-ca__promo-section .page-ban-ca__cta-buttons {
  margin-top: 40px;
}

.page-ban-ca__dark-bg {
  background: #2F6BFF;
  color: #ffffff;
}

.page-ban-ca__faq-section {
  padding-bottom: 60px;
}

.page-ban-ca__faq-list {
  margin-top: 30px;
}

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

.page-ban-ca__faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  cursor: pointer; /* Indicate it's clickable, even if not an accordion */
}

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

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

  .page-ban-ca__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .page-ban-ca__description {
    font-size: 16px;
  }

  .page-ban-ca__section-title {
    font-size: clamp(22px, 4vw, 34px);
  }

  .page-ban-ca__sub-title {
    font-size: clamp(18px, 3vw, 24px);
  }

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

  .page-ban-ca__promo-section {
    margin: 40px 15px;
    padding: 50px 20px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__top-section {
    padding-top: 10px !important; /* Specific top padding for mobile */
    padding-bottom: 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
  }

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

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

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

  .page-ban-ca__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 20px;
  }

  .page-ban-ca__sub-title {
    font-size: clamp(18px, 5vw, 22px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-ban-ca p,
  .page-ban-ca li {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-ban-ca__figure {
    margin: 20px auto;
  }

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

  .page-ban-ca__figcaption {
    font-size: 14px;
  }

  .page-ban-ca__game-cards {
    grid-template-columns: 1fr; /* Single column for game cards */
    gap: 20px;
  }

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

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

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

  .page-ban-ca__promo-section {
    margin: 30px 0;
    padding: 40px 15px;
    border-radius: 0; /* Remove border-radius on mobile for full width */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__promo-section .page-ban-ca__list-item {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-ban-ca__promo-section .page-ban-ca__list-item::before {
    font-size: 20px;
  }

  .page-ban-ca__promo-section .page-ban-ca__cta-buttons {
    margin-top: 30px;
  }

  .page-ban-ca__faq-item {
    padding: 15px;
  }

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

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