.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-ban-ca__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

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

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

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border: none;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 216, 106, 0.4);
}

.page-ban-ca__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-ban-ca__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

/* General Section Styling */
.page-ban-ca__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

.page-ban-ca__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #FFF6D6;
}

.page-ban-ca__dark-bg {
  background-color: #0A0A0A;
  padding: 80px 0;
}

.page-ban-ca__light-bg {
  background-color: #111111; /* Card BG */
  padding: 80px 0;
  color: #FFF6D6;
}

/* Card Styling */
.page-ban-ca__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure uniform height in grid */
  box-sizing: border-box;
}

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

/* About Game Section */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-ban-ca__feature-item p {
  color: #FFF6D6;
}

/* Game List Section */
.page-ban-ca__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-ban-ca__game-title {
  font-size: 1.6rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-ban-ca__game-card p {
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__play-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(255, 216, 106, 0.3);
}

.page-ban-ca__view-all-games {
  text-align: center;
  margin-top: 50px;
}

/* Advantages Section */
.page-ban-ca__advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  list-style: none;
  padding: 0;
}

.page-ban-ca__advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__advantage-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-ban-ca__advantage-item p {
  color: #FFF6D6;
}

/* How to Play Section */
.page-ban-ca__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__step-number {
  background-color: #FFD36B; /* Glow */
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-ban-ca__step-item p {
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__step-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__step-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(255, 216, 106, 0.3);
}

/* Tips Section */
.page-ban-ca__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  list-style: none;
  padding: 0;
}

.page-ban-ca__tip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ban-ca__tip-image {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__tip-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-ban-ca__tip-item p {
  color: #FFF6D6;
  flex-grow: 1;
}

.page-ban-ca__more-tips-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: rgba(255, 216, 106, 0.1);
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Glow */
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Final CTA Section */
.page-ban-ca__final-cta-section {
  text-align: center;
}

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

/* Responsive Design */
@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__hero-content {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    min-height: 500px;
  }
  .page-ban-ca__hero-content {
    padding: 40px 15px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  .page-ban-ca__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General sections */
  .page-ban-ca__dark-bg,
  .page-ban-ca__light-bg {
    padding: 50px 0;
  }
  .page-ban-ca__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-ban-ca__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* Grids to single column */
  .page-ban-ca__features-grid,
  .page-ban-ca__game-grid,
  .page-ban-ca__advantages-list,
  .page-ban-ca__steps-grid,
  .page-ban-ca__tips-list {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__game-image,
  .page-ban-ca__tip-image {
    height: 150px; /* Adjust height for mobile */
  }

  .page-ban-ca__play-button,
  .page-ban-ca__step-button {
    font-size: 0.9rem;
    padding: 8px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images within content areas */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__container,
  .page-ban-ca__card,
  .page-ban-ca__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific */
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px; }
  .page-ban-ca__faq-qtext { font-size: 1rem; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }
}