/* General styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

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

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background */
}

.page-ban-ca__hero-image {
  width: 100%;
  max-height: 675px; /* Adjust as needed */
  object-fit: cover;
  display: block;
  margin-bottom: 20px; /* Image above text */
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 */
  color: #FFF3E6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: none;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

.page-ban-ca__btn-secondary:hover {
  background-color: #FF8C1A; /* Main color */
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-ban-ca__btn-outline {
  background-color: transparent;
  color: #FFB04D; /* Glow */
  border: 1px solid #A84F0C; /* Border */
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: auto;
}

.page-ban-ca__btn-outline:hover {
  background-color: #A84F0C; /* Border */
  color: #FFF3E6; /* Text Main */
}

.page-ban-ca__btn-centered {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

/* Image styles */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__image-content {
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Feature Grid */
.page-ban-ca__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ban-ca__feature-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.page-ban-ca__feature-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__feature-description {
  color: #FFF3E6; /* Text Main */
}

/* How to Play */
.page-ban-ca__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__step-item {
  background-color: #17191F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FF8C1A; /* Main color */
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-ban-ca__step-description {
  color: #FFF3E6; /* Text Main */
}

.page-ban-ca__step-description a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
}

.page-ban-ca__step-description a:hover {
  text-decoration: underline;
}

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

.page-ban-ca__tip-card {
  background-color: #17191F; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-ban-ca__tip-title {
  font-size: 1.3em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ban-ca__tip-description {
  color: #FFF3E6; /* Text Main */
}

/* Promotions Section */
.page-ban-ca__promo-section {
  background-color: #FF8C1A; /* Main color as background */
  color: #FFF3E6; /* Text Main */
  padding: 60px 0;
}

.page-ban-ca__promo-section .page-ban-ca__section-title {
  color: #FFF3E6; /* Text Main */
}

.page-ban-ca__promo-section .page-ban-ca__text-block {
  color: #FFF3E6; /* Text Main */
}

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

.page-ban-ca__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__promo-description {
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
}

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

.page-ban-ca__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #FFB04D; /* Glow */
  font-weight: bold;
  list-style: none; /* For details/summary */
}

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

.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 25px;
  color: #FFF3E6; /* Text Main */
  font-size: 1.1em;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  background-color: #D96800; /* Deep Orange */
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
  color: #FFF3E6; /* Text Main */
}

.page-ban-ca__cta-final-section .page-ban-ca__text-block {
  color: #FFF3E6; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 15px;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

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

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

  .page-ban-ca__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-outline,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__hero-buttons,
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Default to column for multiple buttons */
  }


  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__promo-card,
  .page-ban-ca__feature-card,
  .page-ban-ca__tip-card,
  .page-ban-ca__step-item,
  .page-ban-ca__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-ban-ca__tip-image {
    height: auto !important; /* Override fixed height for responsiveness */
  }

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

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

  /* Placeholder for "首页模块3-6必出CSS模板" selectors, minimal styling for non-homepage context */
  .page-ban-ca__home-content {
    padding: 15px;
    border-radius: 10px;
    overflow-y: visible; 
    height: auto;
  }
  .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.8em;
  }
  .page-ban-ca__slider-wrapper {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }
  .page-ban-ca__slider-track,
  .page-ban-ca__blog-slider-track {
    display: flex;
    flex-wrap: nowrap; 
    gap: 10px;
  }
  .page-ban-ca__game-slide {
    flex: 0 0 160px; 
    max-width: 160px;
  }
  .page-ban-ca__banners-top-wrapper {
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
  }
  .page-ban-ca__banner-item img {
     
    
  }
  .page-ban-ca__blog-masonry {
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  .page-ban-ca__blog-card-link {
    height: auto; 
  }
  .page-ban-ca__blog-slide {
    flex: 0 0 100%; 
    max-width: 100%;
  }
}