/* style/ban-ca.css */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
}

.page-ban-ca__article-wrap {
  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, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF1E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-ban-ca__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-ban-ca__btn--secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
  box-shadow: 0 4px 10px rgba(243, 197, 77, 0.2);
}

.page-ban-ca__btn--secondary:hover {
  background-color: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 197, 77, 0.4);
}

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

.page-ban-ca__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__text-block {
  font-size: 1.05rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-ban-ca__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-ban-ca__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-ban-ca__btn--play {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
}

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

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

.page-ban-ca__feature-item {
  background-color: #2A1212;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-ban-ca__feature-icon {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__feature-description {
  font-size: 0.95rem;
  color: #FFF1E8;
}

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

.page-ban-ca__step-item {
  background-color: #2A1212;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__step-figure {
  margin: 0 0 20px 0;
}

.page-ban-ca__step-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.page-ban-ca__step-caption {
  font-size: 0.9rem;
  color: #F3C54D;
  font-style: italic;
}

.page-ban-ca__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-ban-ca__step-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__btn--register,
.page-ban-ca__btn--deposit,
.page-ban-ca__btn--choose,
.page-ban-ca__btn--play-now {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: auto;
}

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

.page-ban-ca__strategy-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #F3C54D; /* Gold */
}

.page-ban-ca__strategy-heading {
  font-size: 1.3rem;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__strategy-description {
  font-size: 1rem;
  color: #FFF1E8;
}

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

.page-ban-ca__promo-card {
  background-color: #2A1212;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-ban-ca__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__promo-description {
  font-size: 0.95rem;
  color: #FFF1E8;
}

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

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

.page-ban-ca__advantage-item {
  background-color: #2A1212;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #C61F1F; /* Main color */
  font-size: 1rem;
  color: #FFF1E8;
}

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

.page-ban-ca__faq-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  background-color: #C61F1F; /* Main color */
  border-radius: 8px;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFF1E8;
  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;
  font-size: 1rem;
  color: #FFF1E8;
  background-color: #2A1212;
  border-top: 1px solid #6A1E1E;
}

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

.page-ban-ca__cta-buttons--bottom {
  margin-top: 40px;
}

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

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

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

  .page-ban-ca__article-wrap {
    padding: 0 15px;
  }

  .page-ban-ca__game-list,
  .page-ban-ca__feature-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

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

  /* Top section (title + CTAs) */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

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

  .page-ban-ca__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .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-left: 15px;
    padding-right: 15px;
  }

  /* Single column long text container */
  .page-ban-ca__article-wrap,
  .page-ban-ca__section,
  .page-ban-ca__introduction,
  .page-ban-ca__games-showcase,
  .page-ban-ca__features,
  .page-ban-ca__how-to-play,
  .page-ban-ca__strategy,
  .page-ban-ca__promotions,
  .page-ban-ca__why-choose,
  .page-ban-ca__faq-section,
  .page-ban-ca__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-ban-ca__text-block {
    font-size: 0.95rem;
  }

  /* Universal images and figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__step-figure {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons and button containers (already covered by .page-ban-ca__btn and .page-ban-ca__cta-buttons) */
  .page-ban-ca__game-list,
  .page-ban-ca__feature-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-ban-ca__game-title,
  .page-ban-ca__feature-title,
  .page-ban-ca__step-title,
  .page-ban-ca__promo-title,
  .page-ban-ca__strategy-heading {
    font-size: 1.2rem;
  }

  .page-ban-ca__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-ban-ca__faq-answer {
    padding: 12px 15px;
  }

  .page-ban-ca__btn--play,
  .page-ban-ca__btn--register,
  .page-ban-ca__btn--deposit,
  .page-ban-ca__btn--choose,
  .page-ban-ca__btn--play-now {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__promo-cta-wrapper .page-ban-ca__btn {
    width: auto !important;
    max-width: 100% !important;
  }
}