.page-ban-ca__hero-section {
  padding-top: 10px;
  padding-bottom: 40px;
  background-color: var(--background-color, #F5F7FA);
  color: var(--text-main, #333333);
}

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

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

.page-ban-ca__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E53935; /* Using brand primary color for H1 */
  margin-bottom: 16px;
  max-width: 600px;
}

.page-ban-ca__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-main, #333333);
}

.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: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 220px; /* Default max-width for desktop */
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-ban-ca__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

.page-ban-ca__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  color: var(--text-main, #333333);
}

.page-ban-ca__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935;
}

.page-ban-ca__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: var(--text-main, #333333);
}

/* Features Section */
.page-ban-ca__features-section {
  background-color: #f5f7fa;
  padding: 60px 0;
}

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

.page-ban-ca__feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
}

.page-ban-ca__feature-image {
  width: 100%;
  height: auto;
  max-width: 300px; /* Recommended for content images */
  margin: 0 auto 20px;
  border-radius: 8px;
  display: block;
}

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

.page-ban-ca__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main, #333333);
}

/* Game List Section */
.page-ban-ca__game-list-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-ban-ca__game-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
}

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

.page-ban-ca__game-card-content {
  padding: 20px;
}

.page-ban-ca__game-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-ban-ca__game-card-title a {
  color: #E53935;
  text-decoration: none;
}

.page-ban-ca__game-card-title a:hover {
  text-decoration: underline;
}

.page-ban-ca__game-card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main, #333333);
  margin-bottom: 20px;
}

.page-ban-ca__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  max-width: none; /* Allow smaller buttons to scale */
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.page-ban-ca__guide-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

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

.page-ban-ca__guide-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-ban-ca__step-number {
  background: #E53935;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.page-ban-ca__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #E53935;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-ban-ca__guide-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main, #333333);
}

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

.page-ban-ca__guide-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Promotion Section */
.page-ban-ca__promo-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-ban-ca__promo-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-ban-ca__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main, #333333);
  margin-bottom: 20px;
}

.page-ban-ca__text-center {
  text-align: center;
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

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

.page-ban-ca__faq-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #E0E0E0;
  user-select: none;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  color: #E53935;
  border-bottom: 1px solid #E53935;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E53935;
  line-height: 1;
  margin-left: 15px;
}

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

.page-ban-ca__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main, #333333);
  background-color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Specific override for non-homepage */
    padding-bottom: 30px;
  }

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

  .page-ban-ca__hero-content {
    flex: 1 1 100%;
    min-width: unset;
    text-align: center;
    padding-right: 0;
  }

  .page-ban-ca__main-title {
    font-size: 2rem;
    max-width: 100%;
  }

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-ban-ca__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  /* General content container and images */
  .page-ban-ca__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  /* Features Section */
  .page-ban-ca__features-section {
    padding: 40px 0;
  }

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

  .page-ban-ca__feature-item {
    padding: 25px;
  }

  .page-ban-ca__feature-image {
    max-width: 250px;
    margin-bottom: 15px;
  }

  .page-ban-ca__feature-title {
    font-size: 1.3rem;
  }

  /* Game List Section */
  .page-ban-ca__game-list-section {
    padding: 40px 0;
  }

  .page-ban-ca__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

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

  .page-ban-ca__game-card-content {
    padding: 15px;
  }

  .page-ban-ca__game-card-title {
    font-size: 1.2rem;
  }

  /* Guide Section */
  .page-ban-ca__guide-section {
    padding: 40px 0;
  }

  .page-ban-ca__guide-content {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }

  .page-ban-ca__guide-steps {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-ban-ca__guide-image-wrapper {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-ban-ca__step-title {
    font-size: 1.2rem;
  }

  /* Promotion Section */
  .page-ban-ca__promo-section {
    padding: 40px 0;
  }

  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-ban-ca__promo-card {
    padding: 25px;
  }

  .page-ban-ca__promo-title {
    font-size: 1.3rem;
  }

  .page-ban-ca__mt-40 {
    margin-top: 30px;
  }

  /* FAQ Section */
  .page-ban-ca__faq-section {
    padding: 40px 0;
  }

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

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

  .page-ban-ca__faq-toggle {
    font-size: 1.3rem;
  }

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