.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  background: #F4F7FB;
}

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

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

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.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;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

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

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Adjusted for fixed header offset */
  padding-bottom: 60px;
  background-color: #F4F7FB;
}

.page-ban-ca__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 15px;
}

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

.page-ban-ca__intro-text {
  font-size: 20px;
  color: #1F2D3D;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-ban-ca__why-choose .page-ban-ca__section-description {
  margin-bottom: 50px;
}

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

.page-ban-ca__feature-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #D6E2FF;
}

.page-ban-ca__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-ban-ca__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__section-description {
  color: #FFFFFF;
}

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

.page-ban-ca__step-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-ban-ca__step-number {
  font-size: 60px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  z-index: 0;
}

.page-ban-ca__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-ban-ca__step-text {
  font-size: 16px;
  color: #F0F0F0;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.page-ban-ca__step-btn {
  margin-top: auto;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: #FFFFFF;
  color: #2F6BFF;
}

.page-ban-ca__step-btn:hover {
  background: #F0F0F0;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-ban-ca__strategies .page-ban-ca__section-description {
  margin-bottom: 50px;
}

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

.page-ban-ca__strategy-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-ban-ca__strategy-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

.page-ban-ca__promo-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #D6E2FF;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin: 0 auto 20px;
  object-fit: cover;
}

.page-ban-ca__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-ban-ca__promo-btn {
  margin-top: 25px;
}

.page-ban-ca__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-ban-ca__app-content {
  flex: 1;
}

.page-ban-ca__app-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
}

.page-ban-ca__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 18px;
  color: #F0F0F0;
}

.page-ban-ca__app-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-ban-ca__app-benefits li::before {
  content: '✔';
  color: #6FA3FF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #F4F7FB;
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 25px;
  background: #F9FBFD;
  border-top: 1px solid #D6E2FF;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.7;
}

.page-ban-ca__conclusion .page-ban-ca__section-description {
  color: #F0F0F0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-ban-ca__section-title {
    font-size: 32px;
  }

  .page-ban-ca__section-description {
    font-size: 17px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    font-size: 16px;
    padding: 12px 24px;
  }

  .page-ban-ca__hero-content {
    margin-top: 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(28px, 4vw, 40px);
  }

  .page-ban-ca__intro-text {
    font-size: 18px;
  }

  .page-ban-ca__app-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__app-image-wrapper {
    order: -1;
  }

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

@media (max-width: 768px) {
  .page-ban-ca__section-spacing {
    padding: 40px 0;
  }

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

  .page-ban-ca__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
  }

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

  .page-ban-ca__hero-section {
    padding-top: 10px; /* Ensure 10px top padding for first block */
    padding-bottom: 40px;
  }

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

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

  .page-ban-ca__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__strategy-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__step-item,
  .page-ban-ca__strategy-item,
  .page-ban-ca__promo-card {
    padding: 20px;
  }

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

  .page-ban-ca__feature-text,
  .page-ban-ca__step-text,
  .page-ban-ca__strategy-text,
  .page-ban-ca__promo-text,
  .page-ban-ca__app-benefits li {
    font-size: 15px;
  }

  .page-ban-ca__step-number {
    font-size: 48px;
    top: 5px;
    left: 15px;
  }

  .page-ban-ca__app-flex {
    gap: 20px;
  }

  .page-ban-ca__app-benefits {
    margin: 20px 0;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }

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

  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 20px 20px;
  }

  /* Mobile image specific rules */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__hero-image-container,
  .page-ban-ca__feature-item,
  .page-ban-ca__promo-card,
  .page-ban-ca__app-image-wrapper,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure general content sections also have padding */
  .page-ban-ca__why-choose,
  .page-ban-ca__how-to-play,
  .page-ban-ca__strategies,
  .page-ban-ca__promotions,
  .page-ban-ca__download-app,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}