.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text color for light body background */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for overall page */
}

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

/* HERO 主图区域 */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header-offset */
  margin-bottom: 40px;
  background: #26A9E0; /* Main brand color for hero background */
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop to fill space */
  display: block;
}

.page-ban-ca__hero-content {
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
}

.page-ban-ca__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Main brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87bb;
  border-color: #1e87bb;
}

/* General Section Styles */
.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0; /* Main brand color for section titles */
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-ban-ca__light-bg {
  background-color: #ffffff;
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-ban-ca__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-ban-ca__dark-section .page-ban-ca__section-title,
.page-ban-ca__dark-section .page-ban-ca__section-description {
  color: #ffffff;
}

.page-ban-ca__content-wrapper {
  font-size: 17px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

.page-ban-ca__content-wrapper p {
  margin-bottom: 15px;
}

/* 通用图片与容器 */
.page-ban-ca__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 产品展示图区域 (Features Grid) */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}

.page-ban-ca__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.page-ban-ca__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px; /* Added for consistency */
}

.page-ban-ca__feature-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-ban-ca__feature-card p {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Hướng Dẫn Chơi / Mẹo Chơi (Numbered/Bullet Lists) */
.page-ban-ca__numbered-list,
.page-ban-ca__bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: list-counter;
}

.page-ban-ca__numbered-list li {
  counter-increment: list-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-ban-ca__numbered-list li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.page-ban-ca__bullet-list li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.page-ban-ca__bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #26A9E0;
  font-size: 30px;
  line-height: 1;
}

.page-ban-ca__list-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-ban-ca__bullet-list .page-ban-ca__list-title {
  color: #333333;
}

.page-ban-ca__small-btn {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

/* Game Trial Section */
.page-ban-ca__game-iframe-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.page-ban-ca__game-trial-frame {
  border: none;
  display: block;
}

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

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast for FAQ questions */
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  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;
  color: #555555; /* Ensure contrast for FAQ answers */
}
.page-ban-ca__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* 全局图片响应式样式 */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 40px;
  }
  .page-ban-ca__hero-description {
    font-size: 18px;
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 0 15px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 30px;
  }
  .page-ban-ca__hero-image-wrapper {
    height: 300px; /* Adjust height for mobile */
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
  }
  .page-ban-ca__hero-content {
    padding: 30px 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Clamp for H1 font size */
    margin-bottom: 15px;
  }
  .page-ban-ca__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
}
}