/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

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

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F5F7FA;
  padding-bottom: 40px;
}

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

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #E53935; /* Main Brand Color */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.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: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

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

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Main Brand Color */
  border: 2px solid #E53935;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__about-section,
.page-ban-ca__how-to-play-section,
.page-ban-ca__promo-section,
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Background */
}

.page-ban-ca__dark-bg {
  background-color: #E53935; /* Main Brand Color */
  color: #ffffff;
  padding: 60px 0;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__section-description {
  color: #ffffff;
}

.page-ban-ca__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-ban-ca__feature-card,
.page-ban-ca__step-card,
.page-ban-ca__tip-card,
.page-ban-ca__promo-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #E0E0E0; /* Border */
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ban-ca__card-text {
  font-size: 1em;
  color: #333333;
  flex-grow: 1;
}

.page-ban-ca__step-card a {
  color: #E53935;
  text-decoration: underline;
}

.page-ban-ca__play-now-btn {
  margin-top: 40px;
}

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

.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 10px 25px;
  margin-top: auto; /* Push button to bottom */
  border: 2px solid #E53935;
  border-radius: 8px;
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-ban-ca__btn-outline:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* For <summary> tag */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  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: #555555;
  line-height: 1.8;
}

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

.page-ban-ca__faq-answer a {
  color: #E53935;
  text-decoration: underline;
}

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

.page-ban-ca__final-cta {
  margin-top: 40px;
  font-size: 1.2em;
  padding: 15px 40px;
}

.page-ban-ca__copyright-info {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #555555;
  background-color: #F5F7FA; /* Background */
  border-top: 1px solid #E0E0E0;
}

/* Ensure all images are responsive by default */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all button containers handle responsiveness */
.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

  .page-ban-ca__hero-image-wrapper {
    max-width: 90%;
  }
}

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

  .page-ban-ca__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-ban-ca__hero-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,
  .page-ban-ca__btn-outline,
  .page-ban-ca__play-now-btn,
  .page-ban-ca__final-cta,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="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;
    text-align: center;
  }

  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__steps-grid,
  .page-ban-ca__tips-grid,
  .page-ban-ca__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-ban-ca__promo-image {
    height: 180px;
  }

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

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

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-image-wrapper,
  .page-ban-ca__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Placeholder for home-content, slider, banners, blog-masonry - not used on this page */
  /* Long text / gold frame area - not applicable for this non-homepage */
  /* Game slider - not applicable for this non-homepage */
  /* Co-op brand grid - not applicable for this non-homepage */
  /* Blog card area - not applicable for this non-homepage */
  .page-ban-ca__blog-masonry { /* Included for completeness, though not heavily used on this page */
    grid-template-columns: 1fr;
  }
  .page-ban-ca__blog-slide { /* Included for completeness */
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-ban-ca__slider-track { /* Included for completeness */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  .page-ban-ca__slider-track::-webkit-scrollbar { /* Chrome, Safari, Opera */
    display: none;
  }
  .page-ban-ca__game-slide { /* Included for completeness */
    flex: 0 0 160px;
    max-width: 160px;
  }
  .page-ban-ca__banners-top-wrapper { /* Included for completeness */
    grid-template-columns: repeat(2, 1fr) !important; /* Example for smaller screens */
    gap: 10px;
  }
  .page-ban-ca__banners-top-wrapper .page-ban-ca__banner-item img {
    
    
  }
  .page-ban-ca__blog-slider-track { /* Included for completeness */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
  }
  .page-ban-ca__blog-slider-track::-webkit-scrollbar { /* Chrome, Safari, Opera */
    display: none;
  }
}

/* Placeholder for home-content, slider, banners, blog-masonry - not applicable for this non-homepage */
/* The following classes are typically for homepage, but included for completeness as per instructions if they were to appear */
.page-ban-ca__home-content { /* Long text / gold frame area */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1200px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop { /* Game / Sport / Coop sections */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 100%;
  margin: 0 auto;
}

.page-ban-ca__games-title, .page-ban-ca__sport-title, .page-ban-ca__coop-title {
  color: #fff;
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

.page-ban-ca__slider-wrapper {
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-ban-ca__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
  padding-bottom: 10px;
}

.page-ban-ca__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__game-slide img {
  width: 100%;
  
  object-fit: cover;
}

.page-ban-ca__banners-top-wrapper { /* Co-op brands / Gameshow grid */
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
  align-items: center;
  justify-items: center;
}

.page-ban-ca__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

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

.page-ban-ca__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease;
}

.page-ban-ca__blog-card-link:hover {
  transform: translateY(-5px);
}

.page-ban-ca__blog-card-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-ban-ca__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__blog-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-ban-ca__blog-meta {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.page-ban-ca__blog-excerpt {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ban-ca__blog-slider {
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-ban-ca__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  padding-bottom: 10px;
}

.page-ban-ca__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

.page-ban-ca__slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.page-ban-ca__slider-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
  pointer-events: auto;
  transition: background-color 0.3s ease;
}

.page-ban-ca__slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-ban-ca__slider-prev {
  left: 0;
}

.page-ban-ca__slider-next {
  right: 0;
}

@media (max-width: 768px) {
  .page-ban-ca__home-content {
    padding: 20px;
    margin: 20px auto;
    height: auto;
    overflow-y: visible;
  }
  .page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop {
    padding: 20px 15px;
  }
  .page-ban-ca__games-title, .page-ban-ca__sport-title, .page-ban-ca__coop-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  .page-ban-ca__slider-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 15px;
  }
  .page-ban-ca__slider-track::-webkit-scrollbar {
    display: none;
  }
  .page-ban-ca__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }
  .page-ban-ca__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
    margin-bottom: 30px;
  }
  .page-ban-ca__banner-item img {
    
    
  }
  .page-ban-ca__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-ban-ca__blog-slider-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 15px;
  }
  .page-ban-ca__blog-slider-track::-webkit-scrollbar {
    display: none;
  }
  .page-ban-ca__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-ban-ca__slider-nav {
    padding: 0;
  }
  .page-ban-ca__slider-btn {
    padding: 8px 12px;
    font-size: 1.2em;
  }
}