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

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

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red */
  min-height: 450px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to place content over the bottom part of the image */
  background: linear-gradient(0deg, #B71C1C 0%, rgba(183, 28, 28, 0.7) 70%, rgba(183, 28, 28, 0) 100%);
  border-radius: 10px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD86A; /* Gold-like for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__description {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  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-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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, #FFD86A 0%, #E6B800 100%); /* Button Gold Gradient */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border Gold */
  box-shadow: 0 4px 15px rgba(244, 211, 77, 0.4);
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 211, 77, 0.6);
}

.page-ban-ca__btn--secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border Gold */
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.page-ban-ca__btn--secondary:hover {
  transform: translateY(-2px);
  background: #C91F17;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.page-ban-ca__section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  border-bottom: 1px solid rgba(242, 181, 68, 0.2); /* Border Gold subtle */
}

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

.page-ban-ca__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__content-wrapper p,
.page-ban-ca__content-wrapper li {
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-ban-ca__content-wrapper a {
  color: #FFCC66; /* Glow for links */
  text-decoration: none;
  font-weight: 600;
}

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

.page-ban-ca__figure {
  margin: 30px 0;
  text-align: center;
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border Gold */
}

.page-ban-ca__figcaption {
  color: #FFD86A; /* Gold */
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-ban-ca__list {
  list-style: none;
  padding-left: 0;
}

.page-ban-ca__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFF5E1; /* Text Main */
}

.page-ban-ca__list-item::before {
  content: '★';
  color: #FFD86A; /* Gold */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-ban-ca__guide-list {
  list-style: none;
  padding-left: 0;
}

.page-ban-ca__guide-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border Gold */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__guide-title {
  font-size: 1.5rem;
  color: #FFD86A; /* Gold */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-ban-ca__game-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border Gold */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-ban-ca__card-title {
  font-size: 1.3rem;
  color: #FFD86A; /* Gold */
  margin: 15px 10px 10px;
  font-weight: 600;
}

.page-ban-ca__card-title a {
  color: #FFD86A; /* Gold */
  text-decoration: none;
}

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

.page-ban-ca__card-description {
  font-size: 0.95rem;
  color: #FFF5E1; /* Text Main */
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__btn--play-now {
  display: block;
  margin: 0 15px 15px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gold Gradient */
  color: #7A0E0E; /* Deep Red */
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-ban-ca__btn--play-now:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

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

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  background-color: #C91F17; /* Primary */
  border-bottom: 1px solid transparent; /* To be overridden by JS if needed */
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-question .page-ban-ca__faq-toggle {
  font-size: 1.5rem;
  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 25px 20px;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 0;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    min-height: auto;
  }

  .page-ban-ca__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 25px 15px;
  }

  .page-ban-ca__main-title {
    font-size: 2.2rem;
  }

  .page-ban-ca__description {
    font-size: 1rem;
  }
}