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

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

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

.page-ban-ca__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
}

.page-ban-ca__section-intro {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

.page-ban-ca__card {
  background: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #FFF1E8;
}

.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #140C0C; /* Ensure dark background for text contrast */
}

.page-ban-ca__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px; /* Limit height for desktop */
  overflow: hidden;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin-top: 20px; /* Separates from image */
}

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

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-ban-ca__btn-secondary {
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  border: 2px solid #F3C54D; /* Gold border */
  box-shadow: 0 4px 10px rgba(126, 13, 13, 0.4);
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  background: #C61F1F;
  box-shadow: 0 6px 15px rgba(126, 13, 13, 0.6);
}

.page-ban-ca__features-grid,
.page-ban-ca__game-list-grid,
.page-ban-ca__steps-grid,
.page-ban-ca__tips-grid,
.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #2A1212; /* Card B G */
  padding: 25px;
  border-radius: 10px;
}

.page-ban-ca__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-ban-ca__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
}

.page-ban-ca__feature-description {
  font-size: 16px;
  color: #FFF1E8;
}

.page-ban-ca__game-card,
.page-ban-ca__tip-item,
.page-ban-ca__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #2A1212; /* Card B G */
  padding: 25px;
  border-radius: 10px;
}

.page-ban-ca__game-image,
.page-ban-ca__tip-image,
.page-ban-ca__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ban-ca__game-title,
.page-ban-ca__tip-title,
.page-ban-ca__promo-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-ban-ca__game-title a,
.page-ban-ca__game-title a:visited {
  color: #F3C54D;
  text-decoration: none;
}

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

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

.page-ban-ca__btn-play {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
  width: 100%;
  max-width: 200px;
  margin-top: auto;
}

.page-ban-ca__btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 176, 74, 0.6);
}

.page-ban-ca__step-item {
  background: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E;
  padding: 30px;
  border-radius: 10px;
}

.page-ban-ca__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

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

.page-ban-ca__step-item .page-ban-ca__btn-primary {
  width: 100%;
  max-width: 200px;
  margin: auto;
}

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

.page-ban-ca__faq-section {
  padding-bottom: 80px;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card B G */
  color: #FFF1E8;
}

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;
  font-size: 18px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
}

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: #1f0e0e;
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8;
  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: #1a0e0e;
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: #FFF1E8;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #FFF1E8;
}

.page-ban-ca__light-bg {
  background-color: #1a0e0e; /* Slightly lighter dark background for contrast */
  color: #FFF1E8;
}

.page-ban-ca__dark-bg {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-ban-ca__text-main {
  color: #FFF1E8;
}

/* General image responsiveness */
.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, 4.5vw, 3rem);
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__hero-content {
    padding: 30px 15px;
  }
}

@media (max-width: 849px) {
  .page-ban-ca__hero-image-wrapper {
    max-height: 500px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
    max-height: 500px;
  }
  .page-ban-ca__hero-section {
    min-height: auto;
    padding-bottom: 60px;
  }
  .page-ban-ca__hero-content {
    margin-top: 10px; /* Adjust spacing */
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 0 15px; /* Add horizontal padding to containers */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

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

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

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-ban-ca__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__game-list-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-ban-ca__feature-icon,
  .page-ban-ca__game-image,
  .page-ban-ca__tip-image,
  .page-ban-ca__promo-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }

  .page-ban-ca__feature-title,
  .page-ban-ca__game-title,
  .page-ban-ca__step-title,
  .page-ban-ca__tip-title,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }

  .page-ban-ca__feature-description,
  .page-ban-ca__game-description,
  .page-ban-ca__step-item p {
    font-size: 15px;
  }
  
  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }
  .page-ban-ca__faq-toggle {
    font-size: 20px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
    padding: 0 15px 15px;
  }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer p {
    font-size: 15px;
  }
}