.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color, #B71C1C); /* Fallback to Background color if var not defined */
}

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #B71C1C;
  text-align: center;
  padding-bottom: 40px;
}

.page-ban-ca__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
  letter-spacing: 1px;
}

.page-ban-ca__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: #C91F17; /* Main color */
}

.page-ban-ca__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: fit-content;
  margin-top: 30px;
}

.page-ban-ca__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  color: #FFF5E1; /* Text Main */
}

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

.page-ban-ca__text-main {
  color: #FFF5E1; /* Text Main */
}

.page-ban-ca__intro-section,
.page-ban-ca__popular-games-section,
.page-ban-ca__tips-section,
.page-ban-ca__why-choose-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

.page-ban-ca__features-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__promotions-section,
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-ban-ca__feature-card,
.page-ban-ca__game-card,
.page-ban-ca__why-choose-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.page-ban-ca__feature-card:hover,
.page-ban-ca__game-card:hover,
.page-ban-ca__why-choose-item:hover {
  transform: translateY(-5px);
}

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

.page-ban-ca__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-ban-ca__card-description {
  font-size: 0.95em;
  color: #FFF5E1;
  flex-grow: 1;
}

.page-ban-ca__card-btn {
  margin-top: 20px;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__step-list {
  list-style: decimal;
  padding-left: 30px;
  margin-top: 20px;
  color: #FFF5E1;
}

.page-ban-ca__step-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-ban-ca__tip-list,
.page-ban-ca__promotion-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 20px;
  color: #FFF5E1;
}

.page-ban-ca__tip-list li,
.page-ban-ca__promotion-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-ban-ca__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #FFF5E1;
}

.page-ban-ca__faq-item[open] {
  background-color: #C91F17; /* Main color when open */
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFF5E1;
  list-style: none; /* Remove default marker */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit */
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  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: 0 25px 20px;
  font-size: 1em;
  color: #FFF5E1;
}

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

.page-ban-ca__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #C91F17; /* Main color */
}

.page-ban-ca__cta-final-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__cta-final-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

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

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

  .page-ban-ca__hero-content {
    padding: 0 15px;
  }

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

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

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-ban-ca__btn-center {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-top: 30px;
  }

  .page-ban-ca__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__features-section,
  .page-ban-ca__popular-games-section,
  .page-ban-ca__how-to-play-section,
  .page-ban-ca__tips-section,
  .page-ban-ca__promotions-section,
  .page-ban-ca__why-choose-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 30px 0;
  }

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

  .page-ban-ca__features-grid,
  .page-ban-ca__game-list,
  .page-ban-ca__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-ban-ca__feature-card,
  .page-ban-ca__game-card,
  .page-ban-ca__why-choose-item {
    padding: 20px;
  }

  .page-ban-ca__feature-image,
  .page-ban-ca__game-image,
  .page-ban-ca__cta-final-image,
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__card-description {
    font-size: 0.9em;
  }

  .page-ban-ca__step-list,
  .page-ban-ca__tip-list,
  .page-ban-ca__promotion-list {
    padding-left: 20px;
  }

  .page-ban-ca__step-list li,
  .page-ban-ca__tip-list li,
  .page-ban-ca__promotion-list li {
    font-size: 0.95em;
  }

  .page-ban-ca__faq-item {
    margin-bottom: 10px;
  }

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

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

  .page-ban-ca__cta-final-section {
    padding: 40px 0;
  }

  .page-ban-ca__cta-final-image {
    margin-bottom: 20px;
  }

  /* Specific overrides for required mobile sections */
  /* HERO section handled by .page-ban-ca__hero-section */
  /* No long text gold frame section on this page */
  /* No game carousel section on this page */
  /* No partner grid section on this page */
  /* No blog cards section on this page */
  /* General images handled by .page-ban-ca img */
  /* Buttons handled by .page-ban-ca__btn-primary, .page-ban-ca__btn-secondary, .page-ban-ca__cta-buttons */
}

/* No long text gold frame, game carousel, partner grid, or blog cards on this page (non-homepage) */
/* The following are placeholder styles for consistency with the prompt's checklist, 
   but are not actively used by the current 'Bắn Cá' page HTML structure. */
.page-ban-ca__home-content { /* Placeholder for long text gold frame */
  border: 1px solid #F2B544;
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1000px;
  background-color: #D32F2F;
  color: #FFF5E1;
  box-shadow: 0 0 20px #FFCC66;
}

.page-ban-ca__home-content h2 {
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 20px;
}

.page-ban-ca__slider-wrapper { /* Placeholder for game carousel */
  overflow: hidden;
  margin-top: 40px;
}

.page-ban-ca__slider-track { /* Placeholder for game carousel */
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__game-slide { /* Placeholder for game carousel */
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #D32F2F;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__banners-top-wrapper { /* Placeholder for partner grid */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
  align-items: center;
}

.page-ban-ca__banner-item img { /* Placeholder for partner grid */
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-ban-ca__blog-masonry { /* Placeholder for blog cards */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.page-ban-ca__blog-card-link { /* Placeholder for blog cards */
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #D32F2F;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF5E1;
}

.page-ban-ca__blog-slider-track { /* Placeholder for blog carousel */
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__blog-slide { /* Placeholder for blog carousel */
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  background-color: #D32F2F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .page-ban-ca__home-content { /* Placeholder for long text gold frame mobile */
    padding: 20px;
    margin: 20px auto;
    height: auto;
    overflow-y: visible;
  }

  .page-ban-ca__slider-track { /* Placeholder for game carousel mobile */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px; /* To prevent scrollbar from hiding content */
  }

  .page-ban-ca__game-slide { /* Placeholder for game carousel mobile */
    flex: 0 0 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }

  .page-ban-ca__banners-top-wrapper { /* Placeholder for partner grid mobile */
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .page-ban-ca__banner-item img { /* Placeholder for partner grid mobile */
    
    
  }

  .page-ban-ca__blog-masonry { /* Placeholder for blog cards mobile */
    grid-template-columns: 1fr;
  }

  .page-ban-ca__blog-slider-track { /* Placeholder for blog carousel mobile */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .page-ban-ca__blog-slide { /* Placeholder for blog carousel mobile */
    flex: 0 0 80%; /* Adjust for better visibility on small screens */
    max-width: 80%;
    scroll-snap-align: start;
  }
}