/* style/ban-ca.css */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
}

.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.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #4A4AFB);
  color: #ffffff;
}

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

.page-ban-ca__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-ban-ca__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

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

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

.page-ban-ca__hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.page-ban-ca__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__intro-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.page-ban-ca__feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-ban-ca__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

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

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Game Tabs Section */
.page-ban-ca__game-tabs-section {
  padding: 60px 0;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-ban-ca__tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.page-ban-ca__tab-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-ban-ca__tab-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.page-ban-ca__tab-button.is-active {
  background: #ffffff;
  color: #26A9E0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__tab-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__game-panel {
  display: none;
}

.page-ban-ca__game-panel.is-active {
  display: block;
}

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

.page-ban-ca__game-card {
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-ban-ca__game-card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-card-desc {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

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

.page-ban-ca__guide-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.page-ban-ca__guide-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-ban-ca__guide-item p {
  font-size: 1em;
  color: #555555;
}

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

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

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

.page-ban-ca__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-ban-ca__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #ffffff;
}

.page-ban-ca__tips-list li strong {
  color: #f0f0f0;
}

.page-ban-ca__tips-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-ban-ca__promo-list li {
  background: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #555555;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-ban-ca__promo-list li strong {
  color: #26A9E0;
}

.page-ban-ca__promo-cta {
  text-align: center;
  margin-top: 40px;
}

.page-ban-ca__promo-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background: #eaf6fc;
  border-bottom: 1px solid #d0e7f4;
  list-style: none;
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  background: #26A9E0;
  color: #ffffff;
  border-bottom-color: #1e8fcb;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  color: #ffffff;
}

.page-ban-ca__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  color: #555555;
  background: #ffffff;
}

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0, #4A4AFB);
  color: #ffffff;
  text-align: center;
}

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

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

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

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

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

  .page-ban-ca__hero-content {
    text-align: center;
    max-width: 100%;
  }

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

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-ban-ca__hero-image {
    max-width: 100%;
  }

  .page-ban-ca__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Module 1 (Features Section) */
  .page-ban-ca__features-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__feature-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-ban-ca__feature-item {
    max-width: 100%;
  }

  .page-ban-ca__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    margin-bottom: 15px;
  }

  /* Seven Tab Game Area */
  .page-ban-ca__game-tabs-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__tab-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .page-ban-ca__tab-button {
    width: 100% !important;
    font-size: 1em !important;
    padding: 10px 15px !important;
  }

  .page-ban-ca__tab-content {
    padding: 20px !important;
  }

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

  .page-ban-ca__game-card-img {
    
  }

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

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

  .page-ban-ca__guide-item {
    padding: 20px !important;
  }

  .page-ban-ca__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
  }

  /* Tips Section */
  .page-ban-ca__tips-section {
    padding: 40px 0 !important;
  }

  .page-ban-ca__tips-list {
    margin-top: 30px !important;
  }

  .page-ban-ca__tips-list li {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-ban-ca__tips-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
  }

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

  .page-ban-ca__promo-list {
    margin-top: 30px !important;
  }

  .page-ban-ca__promo-list li {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-ban-ca__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
  }

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

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

  .page-ban-ca__faq-question {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-ban-ca__faq-toggle {
    font-size: 1.2em !important;
  }

  .page-ban-ca__faq-answer {
    padding: 10px 15px !important;
    font-size: 0.95em !important;
  }

  /* Conclusion Section */
  .page-ban-ca__conclusion-section {
    padding: 40px 0 !important;
  }

  /* General Image & Container Adaptations */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__game-list,
  .page-ban-ca__guide-steps,
  .page-ban-ca__feature-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Buttons & Button Containers */
  .page-ban-ca__cta-button,
  .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__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}