:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-ban-ca__section-title {
  font-size: 36px;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-ban-ca__section-title--white {
  color: var(--card-bg);
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}

.page-ban-ca__section-description--white {
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small padding, body takes --header-offset */
  background-color: var(--primary-color);
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--card-bg);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--card-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: var(--button-gradient);
  color: var(--card-bg);
  border: none;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary {
  background-color: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-ban-ca__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--card-bg);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__introduction-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.page-ban-ca__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-ban-ca__text-block p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__text-block p a:hover {
  text-decoration: underline;
}

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

.page-ban-ca__game-types-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

.page-ban-ca__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

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

.page-ban-ca__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-black);
  margin: 25px 15px 10px;
}

.page-ban-ca__card-text {
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-ban-ca__btn-play {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--card-bg);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.page-ban-ca__guide-step-card {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-ban-ca__guide-step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__guide-step-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
}

.page-ban-ca__guide-step-card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__guide-step-card p a:hover {
  text-decoration: underline;
}

.page-ban-ca__guide-tips {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--secondary-color);
}

.page-ban-ca__guide-tips-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.page-ban-ca__guide-tips ul {
  list-style: disc inside;
  padding-left: 20px;
}

.page-ban-ca__guide-tips li {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-main);
}

.page-ban-ca__strategy-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--card-bg);
}

.page-ban-ca__dark-section {
  background-color: var(--primary-color);
  color: var(--card-bg);
}

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

.page-ban-ca__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__strategy-item-title {
  font-size: 22px;
  color: var(--card-bg);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca__strategy-item p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-ban-ca__cta-bottom {
  text-align: center;
}

.page-ban-ca__promotions-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

.page-ban-ca__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

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

.page-ban-ca__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-ban-ca__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-black);
  margin: 25px 15px 10px;
}

.page-ban-ca__promo-text {
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-ban-ca__btn-view-promo {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--card-bg);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn-view-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__app-download-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--card-bg);
}

.page-ban-ca__dark-bg {
  background-color: var(--primary-color);
  color: var(--card-bg);
}

.page-ban-ca__app-download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__app-text-block {
  padding-right: 20px;
}

.page-ban-ca__app-text-block p {
  font-size: 17px;
  margin-bottom: 25px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-ban-ca__app-features li {
  font-size: 17px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-ban-ca__app-features li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-ban-ca__app-download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__btn-download {
  padding: 15px 30px;
  font-size: 18px;
}

.page-ban-ca__app-image-block {
  text-align: center;
}

.page-ban-ca__app-image-block img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #f5f5f5;
}

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

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-ban-ca__faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
}

.page-ban-ca__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__faq-answer p a:hover {
  text-decoration: underline;
}

.page-ban-ca__conclusion-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  text-align: center;
}

.page-ban-ca__final-cta {
  margin-top: 40px;
}

.page-ban-ca__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* General image responsiveness for content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    padding: 30px 20px 50px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

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

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

  .page-ban-ca__introduction-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__app-download-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Ensure small top padding */
  }

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

  .page-ban-ca__hero-description {
    font-size: 1rem;
  }

  .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__btn-view-promo,
  .page-ban-ca__btn-download,
  .page-ban-ca__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-ban-ca__content-grid,
  .page-ban-ca__app-download-content {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__image-block,
  .page-ban-ca__app-image-block {
    order: -1; /* Image appears above text on mobile */
  }

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

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

  .page-ban-ca__guide-steps-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__app-text-block {
    padding-right: 0;
  }

  .page-ban-ca__app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

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

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__container,
  .page-ban-ca__hero-section,
  .page-ban-ca__introduction-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__strategy-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__app-download-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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