/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color */
  background-color: #140C0C; /* Overall background color */
}

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

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  color: #F3C54D; /* Gold color for main titles */
  margin-bottom: 40px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #FFB04A; /* Orange-gold for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-ban-ca__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF1E8;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-ban-ca__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-ban-ca__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap slightly for visual effect */
  background: rgba(42, 18, 18, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-ban-ca__intro-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  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;
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-ban-ca__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D;
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: #6A1E1E; /* Border color */
}

.page-ban-ca__btn-play {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

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

.page-ban-ca__btn-inline {
    margin-top: 20px;
}

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

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

/* Sections Backgrounds */
.page-ban-ca__bg-primary {
  background-color: #140C0C;
  padding: 60px 0;
}

.page-ban-ca__bg-secondary {
  background-color: #2A1212; /* Card BG */
  padding: 60px 0;
}

/* Intro Section */
.page-ban-ca__intro-section .page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-ban-ca__intro-section .page-ban-ca__text-block {
  flex: 2;
}

.page-ban-ca__intro-section .page-ban-ca__image-block {
  flex: 1;
  text-align: center;
}

.page-ban-ca__intro-section .page-ban-ca__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-ban-ca__game-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__game-title {
  font-size: 24px;
  color: #F3C54D;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

/* Guide Section */
.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__step-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.page-ban-ca__step-item p {
  margin-bottom: 20px;
}

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

.page-ban-ca__tip-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Promo Section */
.page-ban-ca__promo-banner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ban-ca__promo-details p {
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-ban-ca__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__reason-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-ban-ca__reason-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__reason-title {
  font-size: 24px;
  color: #F3C54D;
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
}
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: #3A1A1A;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #140C0C;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* General image styling for content areas */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-ban-ca__intro-text {
    font-size: clamp(16px, 2vw, 20px);
  }

  .page-ban-ca__btn-primary, .page-ban-ca__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-ban-ca__intro-section .page-ban-ca__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-ban-ca__intro-section .page-ban-ca__image-block {
    margin-top: 30px;
  }

  .page-ban-ca__guide-steps, .page-ban-ca__tips-grid, .page-ban-ca__why-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
  }

  .page-ban-ca__hero-image img {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__hero-content {
    margin-top: 0; /* Remove overlap for mobile */
    padding: 20px;
    max-width: 100%;
    border-radius: 0;
    background: rgba(42, 18, 18, 0.9); /* Slightly less transparent */
  }

  .page-ban-ca__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-ban-ca__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column; /* 垂直排列按钮 */
    gap: 15px;
  }

  /* 产品展示图区域 (Games Grid) */
  .page-ban-ca__games-grid {
    grid-template-columns: 1fr; /* Single column for game cards */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ban-ca__games-section .page-ban-ca__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }

  .page-ban-ca__sub-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-ban-ca__intro-section .page-ban-ca__content-wrapper,
  .page-ban-ca__text-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__text-block p {
    font-size: 15px;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__container,
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__step-item,
  .page-ban-ca__tip-card,
  .page-ban-ca__reason-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .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;
  }
  
  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container,
  .page-ban-ca__cta-buttons-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-ban-ca__bg-primary, .page-ban-ca__bg-secondary {
    padding: 40px 0;
  }

  .page-ban-ca__intro-section .page-ban-ca__image-block img {
    max-width: 80%; /* Smaller image for mobile */
  }

  .page-ban-ca__guide-steps, .page-ban-ca__tips-grid, .page-ban-ca__why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__game-card img {
    
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question { padding: 15px; }
  .page-ban-ca__faq-qtext { font-size: 16px; }
  details.page-ban-ca__faq-item .page-ban-ca__faq-answer { padding: 0 15px 15px; }
}