/* style/ban-ca.css */

:root {
  --page-ban-ca-primary-color: #FF8C1A;
  --page-ban-ca-secondary-color: #FFA53A;
  --page-ban-ca-card-bg: #17191F;
  --page-ban-ca-background: #0D0E12;
  --page-ban-ca-text-main: #FFF3E6;
  --page-ban-ca-border-color: #A84F0C;
  --page-ban-ca-glow-color: #FFB04D;
  --page-ban-ca-deep-orange: #D96800;
  --page-ban-ca-btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--page-ban-ca-text-main); /* Light text for dark body background */
  background-color: var(--page-ban-ca-background);
}

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--page-ban-ca-background);
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin: -100px auto 0; /* Pull content up slightly over image for visual flow */
  background-color: rgba(13, 14, 18, 0.8); /* Semi-transparent dark background for text */
  border-radius: 10px;
  padding-bottom: 40px;
  border: 1px solid var(--page-ban-ca-border-color);
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.3);
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size for H1 */
  color: var(--page-ban-ca-secondary-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--page-ban-ca-glow-color);
}

.page-ban-ca__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-ban-ca-text-main);
}

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

.page-ban-ca__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca__btn--primary {
  background: var(--page-ban-ca-btn-gradient);
  color: #ffffff;
  border: 2px solid var(--page-ban-ca-secondary-color);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  filter: brightness(1.1);
}

.page-ban-ca__btn--secondary {
  background-color: transparent;
  color: var(--page-ban-ca-secondary-color);
  border: 2px solid var(--page-ban-ca-secondary-color);
}

.page-ban-ca__btn--secondary:hover {
  background-color: var(--page-ban-ca-secondary-color);
  color: var(--page-ban-ca-background);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-ban-ca__section {
  padding: 60px 0;
  background-color: var(--page-ban-ca-background);
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: var(--page-ban-ca-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.5);
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-ban-ca-text-main);
  text-align: justify;
}

.page-ban-ca__image-figure {
  margin: 40px auto;
  max-width: 680px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-ban-ca-border-color);
}

.page-ban-ca__content-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__image-caption {
  font-size: 0.9em;
  color: var(--page-ban-ca-text-main);
  padding: 10px 15px;
  background-color: rgba(23, 25, 31, 0.8);
  border-top: 1px solid var(--page-ban-ca-border-color);
}

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

.page-ban-ca__game-item,
.page-ban-ca__strategy-item,
.page-ban-ca__promo-item,
.page-ban-ca__benefit-item {
  background-color: var(--page-ban-ca-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-color);
  position: relative;
  overflow: hidden;
}

.page-ban-ca__game-title,
.page-ban-ca__strategy-title,
.page-ban-ca__promo-title,
.page-ban-ca__step-title {
  font-size: 1.5em;
  color: var(--page-ban-ca-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__game-trial-wrapper {
  background-color: var(--page-ban-ca-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-color);
  margin-top: 40px;
}

.page-ban-ca__game-trial-title {
  font-size: 1.8em;
  color: var(--page-ban-ca-primary-color);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 5px rgba(255, 140, 26, 0.3);
}

.page-ban-ca__game-trial-frame {
  border: 2px solid var(--page-ban-ca-secondary-color);
  border-radius: 8px;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 600px;
  overflow: hidden;
}

.page-ban-ca__trial-note {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  color: rgba(255, 243, 230, 0.8);
}

.page-ban-ca__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-ban-ca__step-item {
  background-color: var(--page-ban-ca-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-ban-ca-border-color);
}

.page-ban-ca__step-item p {
  color: var(--page-ban-ca-text-main);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-ban-ca__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: var(--page-ban-ca-background);
}

.page-ban-ca__faq-item {
  background-color: var(--page-ban-ca-card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--page-ban-ca-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__faq-question {
  font-size: 1.3em;
  color: var(--page-ban-ca-secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ban-ca__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-ban-ca__hero-content {
    margin: -60px auto 0; /* Adjust margin for smaller screens */
    padding: 15px;
    padding-bottom: 30px;
  }

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

  .page-ban-ca__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-ban-ca__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-ban-ca__text-block {
    font-size: 1em;
    margin-bottom: 15px;
  }

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

  .page-ban-ca__image-figure {
    margin: 30px auto;
    max-width: 100%;
  }

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

  .page-ban-ca__game-item,
  .page-ban-ca__strategy-item,
  .page-ban-ca__promo-item,
  .page-ban-ca__step-item,
  .page-ban-ca__faq-item {
    padding: 20px;
  }

  .page-ban-ca__game-title,
  .page-ban-ca__strategy-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__step-title,
  .page-ban-ca__faq-question {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-ban-ca__game-trial-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-ban-ca__game-trial-frame {
    height: 400px; /* Adjust iframe height for mobile */
  }

  .page-ban-ca__step-list {
    padding-left: 20px;
    gap: 20px;
  }

  .page-ban-ca__app-benefits {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-left: 0;
    margin-bottom: 30px;
  }

  .page-ban-ca__benefit-item {
    padding: 20px;
    text-align: left;
  }

  .page-ban-ca__promo-cta,
  .page-ban-ca__app-cta,
  .page-ban-ca__final-cta {
    margin-top: 30px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
}