.page-ban-ca__dark-bg {
  background: var(--deep-navy);
  color: var(--text-main);
}

.page-ban-ca__light-bg {
  background: #ffffff;
  color: var(--text-secondary);
}

.page-ban-ca__hero-section {
  padding-top: 10px;
  padding-bottom: 60px;
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 40px;
}

.page-ban-ca__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-ban-ca__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
  max-width: 600px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 600px;
}

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

.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;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: var(--main-color);
  border-color: var(--main-color);
}

.page-ban-ca__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  border-color: #ffffff;
}

.page-ban-ca__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 16px;
}

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

.page-ban-ca__intro-section .page-ban-ca__section-title {
  color: var(--main-color);
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-secondary);
}

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

.page-ban-ca__feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
}

.page-ban-ca__intro-section .page-ban-ca__feature-item {
  background: #f8f9fa;
  color: #333333;
}

.page-ban-ca__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.page-ban-ca__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold);
}

.page-ban-ca__intro-section .page-ban-ca__feature-title {
  color: var(--main-color);
}

.page-ban-ca__feature-text {
  font-size: 1em;
  line-height: 1.5;
  color: var(--text-secondary);
}

.page-ban-ca__intro-section .page-ban-ca__feature-text {
  color: #555555;
}

.page-ban-ca__game-showcase {
  padding-bottom: 60px;
}

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

.page-ban-ca__game-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-ban-ca__game-title {
  font-size: 1.5em;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: var(--gold);
}

.page-ban-ca__game-text {
  font-size: 0.95em;
  line-height: 1.5;
  padding: 0 15px 20px;
  flex-grow: 1;
  color: var(--text-secondary);
}

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

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

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__guide-item {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-ban-ca__guide-item:last-child {
  margin-bottom: 0;
}

.page-ban-ca__guide-step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--main-color);
}

.page-ban-ca__guide-item p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #555555;
}

.page-ban-ca__link-text {
  color: var(--auxiliary-color);
  text-decoration: none;
  font-weight: 500;
}

.page-ban-ca__link-text:hover {
  text-decoration: underline;
}

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

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--gold);
  list-style: none;
  user-select: none;
}

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-qtext {
  color: var(--gold);
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold);
}

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

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-ban-ca__faq-answer p {
  margin-bottom: 10px;
}

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

  .page-ban-ca__section-title {
    font-size: 2.2em;
  }

  .page-ban-ca__hero-container {
    padding: 30px 16px;
    gap: 30px;
  }

  .page-ban-ca__icon-box-media {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-ban-ca__hero-content,
  .page-ban-ca__hero-image {
    flex: 1 1 100%;
    width: 100%;
  }

  .page-ban-ca__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    max-width: 100%;
  }

  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
    max-width: 100%;
  }

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

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

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

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

  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    max-width: 100%;
  }

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

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

  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    border: 3px solid var(--gold);
  }

  .page-ban-ca__feature-title {
    font-size: 1.2em;
  }

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

  .page-ban-ca__game-title {
    font-size: 1.3em;
    margin-top: 15px;
  }

  .page-ban-ca__game-text {
    font-size: 0.9em;
    padding-bottom: 15px;
  }

  .page-ban-ca__game-card .page-ban-ca__btn-primary {
    margin-bottom: 15px;
  }

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

  .page-ban-ca__guide-step-title {
    font-size: 1.15em;
  }

  .page-ban-ca__guide-item p {
    font-size: 0.95em;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* General image responsiveness for all content images */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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