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

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

.page-ban-ca__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #F5F7FA;
}

.page-ban-ca__hero-section .page-ban-ca__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-ban-ca__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  order: 2; /* Content after image on desktop */
}

.page-ban-ca__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
  order: 1; /* Image before content on desktop */
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

.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);
}

/* CTA Buttons */
.page-ban-ca__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  min-width: 180px;
}

.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 {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

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

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

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

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

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

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-ban-ca__card-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-ban-ca__card-button {
  width: auto;
  padding: 10px 20px;
  font-size: 1em;
}

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

.page-ban-ca__benefits-section .page-ban-ca__section-title {
  color: #ffffff;
}

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

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

.page-ban-ca__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-ban-ca__benefits-item {
  font-size: 1.15em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-ban-ca__benefits-item::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-ban-ca__side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-ban-ca__guide-step {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  position: relative;
  color: #333333;
}

.page-ban-ca__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FF5A4F;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-ban-ca__step-description {
  font-size: 1em;
  color: #555555;
}

.page-ban-ca__guide-image {
  margin-top: 60px;
  text-align: center;
}

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

.page-ban-ca__tips-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-ban-ca__tips-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-ban-ca__tips-item strong {
  color: #E53935;
}

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

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  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 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-ban-ca__cta-final-section .page-ban-ca__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.page-ban-ca__cta-final-section .page-ban-ca__cta-buttons {
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-ban-ca__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* Hero Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-section .page-ban-ca__container {
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-ban-ca__hero-content {
    order: 2;
    text-align: center;
  }

  .page-ban-ca__hero-image {
    order: 1;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

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

  /* General Sections */
  .page-ban-ca__intro-section,
  .page-ban-ca__game-types-section,
  .page-ban-ca__benefits-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__tips-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 40px 0;
  }

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

  .page-ban-ca__text-block {
    font-size: 1em;
  }

  /* Game Types Section */
  .page-ban-ca__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__card-title {
    font-size: 1.4em;
  }

  /* Benefits Section */
  .page-ban-ca__benefits-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__benefits-text {
    order: 2;
  }

  .page-ban-ca__benefits-image {
    order: 1;
  }

  .page-ban-ca__benefits-item {
    font-size: 1em;
    margin-bottom: 10px;
  }

  /* Guide Section */
  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ban-ca__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

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

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

  /* Tips Section */
  .page-ban-ca__tips-list {
    font-size: 1em;
    margin-top: 30px;
  }

  .page-ban-ca__tips-item {
    margin-bottom: 10px;
  }

  /* FAQ Section */
  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* Images */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__benefits-image, .page-ban-ca__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__cta-final-section .page-ban-ca__cta-buttons {
    flex-direction: column;
  }
}