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

.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #26A9E0;
}

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

.page-ban-ca__hero-content-wrap {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  color: #FFFFFF;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

.page-ban-ca__section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-ban-ca__overview-section {
  background-color: #f8f8f8;
}

.page-ban-ca__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

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

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

.page-ban-ca__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  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-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-ban-ca__image-figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  margin: 0 auto;
}

.page-ban-ca__image-caption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

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

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

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

.page-ban-ca__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 20px 15px 10px;
}

.page-ban-ca__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ban-ca__card-title a:hover {
  color: #1e87b9;
  text-decoration: underline;
}

.page-ban-ca__card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-ban-ca__step-by-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

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

.page-ban-ca__step-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

.page-ban-ca__tip-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-ban-ca__promo-item {
  background-color: #f0f8ff;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #EA7C07;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  color: #EA7C07;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-ban-ca__faq-question {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
}

.page-ban-ca__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e0e0e0;
}

.page-ban-ca__conclusion-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-ban-ca__conclusion-section .page-ban-ca__section-title {
  color: #FFFFFF;
}

.page-ban-ca__conclusion-section .page-ban-ca__text-block {
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-ban-ca__conclusion-cta {
  margin-top: 30px;
}

.page-ban-ca__conclusion-cta .page-ban-ca__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-ban-ca__conclusion-cta .page-ban-ca__btn-primary:hover {
  background-color: #d46b00;
  border-color: #d46b00;
}

.page-ban-ca a {
  color: #26A9E0;
  text-decoration: none;
}

.page-ban-ca a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-ban-ca__step-by-step {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .page-ban-ca__step-by-step {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* 1. Top Section Title + Dual CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* 2. Single Column Long Text Container */
  .page-ban-ca__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-ban-ca__text-block {
    font-size: 0.95em !important;
    line-height: 1.5 !important;
  }

  .page-ban-ca__feature-list,
  .page-ban-ca__game-cards,
  .page-ban-ca__step-by-step {
    grid-template-columns: 1fr !important; /* Single column layout */
    gap: 20px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__step-item,
  .page-ban-ca__tip-item,
  .page-ban-ca__promo-item,
  .page-ban-ca__faq-item {
    padding: 20px !important;
    margin-bottom: 15px !important;
  }

  /* 3. General Images and Figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ban-ca__image-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 5px;
  }

  .page-ban-ca__card-image {
    height: 180px !important; /* Adjust card image height for mobile */
  }

  /* 4. Buttons and Button Containers */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-ban-ca__conclusion-cta .page-ban-ca__btn-primary {
    width: 100%;
  }

  /* 5. Registration Tutorial and FAQ Blocks */
  .page-ban-ca__step-title {
    font-size: 1.3em !important;
  }

  .page-ban-ca__step-description {
    font-size: 0.9em !important;
  }

  .page-ban-ca__tip-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__faq-question {
    font-size: 1.2em !important;
  }

  .page-ban-ca__tip-description,
  .page-ban-ca__promo-description,
  .page-ban-ca__faq-answer {
    font-size: 0.9em !important;
  }

  .page-ban-ca__section {
    padding: 40px 0;
  }

  .page-ban-ca__conclusion-section {
    padding: 50px 0;
  }

  .page-ban-ca__conclusion-section .page-ban-ca__text-block {
    padding: 0 15px;
  }
}