/* style/ban-ca.css */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 40px;
}

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

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  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;
  color: #F2FFF6; /* Text Main */
}

.page-ban-ca__hero-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, shared.css handles body padding */
}

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

.page-ban-ca__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(8, 22, 15, 0.8);
  border-radius: 10px;
  transform: translateY(-50px);
  position: relative;
  z-index: 1;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-ban-ca__btn--secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* From Button gradient */
  border: 2px solid #2E7A4E; /* Border */
}

.page-ban-ca__btn--secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

.page-ban-ca__btn--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-ban-ca__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__figcaption {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 10px;
}

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

.page-ban-ca__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__game-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn {
  margin-top: auto;
}

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

.page-ban-ca__guide-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #2AD16F; /* From Button gradient */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__guide-step-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__promo-list,
.page-ban-ca__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-ban-ca__promo-item,
.page-ban-ca__reason-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-ban-ca__promo-title,
.page-ban-ca__reason-title {
  font-size: 1.5em;
  color: #2AD16F; /* From Button gradient */
  margin-bottom: 10px;
}

.page-ban-ca__promo-item .page-ban-ca__text-block,
.page-ban-ca__reason-item .page-ban-ca__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
  flex-grow: 1;
}

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

.page-ban-ca__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.2em;
  list-style: none;
}

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

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 15px 20px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-ban-ca__faq-answer .page-ban-ca__text-block {
  margin-bottom: 0;
  font-size: 1em;
  text-align: left;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 0 15px;
  }

  .page-ban-ca__hero-content {
    padding: 30px 15px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-ban-ca__hero-description {
    font-size: 1.1em;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
  }

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

  .page-ban-ca__promo-list,
  .page-ban-ca__reason-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@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;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Top padding for hero section */
  }

  .page-ban-ca__hero-content {
    padding: 25px 15px !important;
    transform: translateY(-30px) !important;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 10px !important;
  }

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

  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__center-cta {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__btn {
    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__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }

  /* General image and figure rules for mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ban-ca__figure {
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-ban-ca__game-title {
    font-size: 1.3em !important;
  }

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

  .page-ban-ca__guide-step-title {
    font-size: 1.4em !important;
  }

  .page-ban-ca__promo-list,
  .page-ban-ca__reason-list {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-ban-ca__promo-item,
  .page-ban-ca__reason-item {
    padding: 20px !important;
  }

  .page-ban-ca__promo-title,
  .page-ban-ca__reason-title {
    font-size: 1.3em !important;
  }

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

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