.page-ban-ca__dark-bg { background-color: #017439; color: #ffffff; }
.page-ban-ca__light-bg { background-color: #ffffff; color: #333333; }
.page-ban-ca__text-link { color: #017439; text-decoration: underline; }

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

.page-ban-ca__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 15px;
  text-align: left;
}

.page-ban-ca__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.page-ban-ca__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Đăng ký */
  color: #FFFF00; /* Đăng ký và Đăng nhập font */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-ban-ca__hero-image {
  flex: 1 1 450px;
  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: 1200px;
  margin: 0 auto;
  padding: 60px 15px;
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-ban-ca__light-bg .page-ban-ca__section-title { color: #017439; }
.page-ban-ca__dark-bg .page-ban-ca__section-title { color: #ffffff; }

.page-ban-ca__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__light-bg .page-ban-ca__section-description { color: #333333; }
.page-ban-ca__dark-bg .page-ban-ca__section-description { color: #f0f0f0; }

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

.page-ban-ca__icon-box {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-ban-ca__icon-box:hover {
  transform: translateY(-5px);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
}

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

.page-ban-ca__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-ban-ca__icon-box-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-ban-ca__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-ban-ca__game-trial-frame {
  border: none;
  border-radius: 8px;
  margin-bottom: 25px;
  background-color: #000;
}

.page-ban-ca__game-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-ban-ca__game-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-ban-ca__why-choose-us {
  padding-bottom: 60px;
}

.page-ban-ca__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__advantage-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #333333;
}

.page-ban-ca__list-icon {
  color: #017439;
  font-size: 1.4rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-ban-ca__image-full-width {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__strategy-guide {
  padding-bottom: 60px;
}

.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__strategy-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
}

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

.page-ban-ca__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-ban-ca__promo-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-ban-ca__promo-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

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

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

.page-ban-ca__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-ban-ca__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  list-style: none;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.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: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0;
}

.page-ban-ca__cta-final {
  padding-top: 60px;
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-ban-ca__hero-description {
    font-size: 1.05rem;
  }
  .page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-ban-ca__icon-box-media {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }
  .page-ban-ca__hero-content {
    max-width: 100%;
    order: 2; /* Content below image */
  }
  .page-ban-ca__hero-image {
    order: 1; /* Image above content */
    margin-bottom: 30px;
  }
  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
  
  .page-ban-ca__content-area {
    padding: 40px 15px;
  }
  .page-ban-ca__section-description {
    font-size: 1rem;
  }
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-ban-ca__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }
  .page-ban-ca__icon-box-title {
    font-size: 1.3rem;
  }
  .page-ban-ca__game-card {
    padding: 20px;
  }
  .page-ban-ca__game-title {
    font-size: 1.5rem;
  }
  .page-ban-ca__game-text {
    font-size: 1rem;
  }
  .page-ban-ca__advantage-list,
  .page-ban-ca__strategy-list {
    padding-left: 0;
    text-align: left;
  }
  .page-ban-ca__advantage-list li,
  .page-ban-ca__strategy-list li {
    font-size: 1rem;
  }
  .page-ban-ca__list-icon {
    font-size: 1.2rem;
  }
  .page-ban-ca__image-full-width,
  .page-ban-ca__promo-image,
  .page-ban-ca__hero-side-image,
  .page-ban-ca__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-ban-ca__promo-title {
    font-size: 1.5rem;
  }
  .page-ban-ca__promo-text {
    font-size: 1rem;
  }
  .page-ban-ca__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
  .page-ban-ca__faq-toggle {
    font-size: 1.5rem;
  }
  .page-ban-ca__final-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-ban-ca__cta-final .page-ban-ca__btn-primary,
  .page-ban-ca__cta-final .page-ban-ca__btn-secondary {
    width: 100%;
    max-width: 100%;
  }

  /* General image and container responsiveness */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-ban-ca__hero-cta-buttons, .page-ban-ca__final-cta-buttons { flex-wrap: wrap !important; }
}