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

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background-color: #f0f0f0;
  text-align: center;
}

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

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

.page-ban-ca__hero-content-wrapper {
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly opaque white background for text */
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-ban-ca__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-ban-ca__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline,
.page-ban-ca__btn-inline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 10px;
}

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

.page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 10px;
}

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

.page-ban-ca__btn-outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 15px;
}

.page-ban-ca__btn-outline:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-ban-ca__btn-inline {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 5px 0;
  margin-top: 10px;
  text-decoration: underline;
}

.page-ban-ca__btn-inline:hover {
  color: #1a8ccb;
}

.page-ban-ca__introduction-section,
.page-ban-ca__guide-section,
.page-ban-ca__advantages-section,
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-ban-ca__game-halls-section,
.page-ban-ca__tips-section,
.page-ban-ca__promotions-section,
.page-ban-ca__conclusion-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-ban-ca__game-halls-section .page-ban-ca__section-title,
.page-ban-ca__tips-section .page-ban-ca__section-title,
.page-ban-ca__promotions-section .page-ban-ca__section-title,
.page-ban-ca__conclusion-section .page-ban-ca__section-title {
  color: #FFFFFF;
}

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

.page-ban-ca__game-card,
.page-ban-ca__tip-card,
.page-ban-ca__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__game-card-image,
.page-ban-ca__tip-card-image,
.page-ban-ca__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-ban-ca__game-card-title,
.page-ban-ca__tip-card-title,
.page-ban-ca__promo-card-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-card-description,
.page-ban-ca__tip-card-description,
.page-ban-ca__promo-card-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

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

.page-ban-ca__guide-step {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-ban-ca__guide-step-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

.page-ban-ca__advantage-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-ban-ca__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ban-ca__advantage-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-ban-ca__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eeeeee;
  font-weight: bold;
  color: #333333;
  font-size: 1.1rem;
  list-style: none; /* For details/summary */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-left: 15px;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '-'; /* Change to minus when open */
}

.page-ban-ca__faq-answer {
  padding: 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eeeeee;
  color: #555555;
  font-size: 0.95rem;
}

.page-ban-ca__copyright-info {
  text-align: center;
  padding: 30px 20px;
  background-color: #1a1a1a;
  color: #aaaaaa;
  font-size: 0.9rem;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }

  .page-ban-ca__hero-content-wrapper {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-ban-ca__main-title {
    font-size: 2rem;
  }

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

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

  .page-ban-ca__game-halls-grid,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promotion-cards,
  .page-ban-ca__guide-steps,
  .page-ban-ca__advantages-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card-image,
  .page-ban-ca__tip-card-image,
  .page-ban-ca__promo-card-image {
    height: 180px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline,
  .page-ban-ca__btn-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Ensure buttons stack vertically */
  }

  .page-ban-ca__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No game carousel or six-grid on this page, so no specific mobile rules needed for them */
  /* No blog masonry or slider on this page, so no specific mobile rules needed for them */
  /* HERO main image area - top padding already handled by the 10px initial value */
  .page-ban-ca__hero-section {
    padding-top: 10px;
  }
}