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

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

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

.page-ban-ca__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-ban-ca__light-bg {
  background-color: #17191F; /* Card BG, used for contrast sections */
  color: #FFF3E6;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow color for titles */
  position: relative;
  padding-bottom: 15px;
}

.page-ban-ca__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFA53A, #FF8C1A, #D96800);
  border-radius: 2px;
}

.page-ban-ca__section-description {
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Minimal top padding for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent dark background */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFB04D;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

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

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-3px);
}

.page-ban-ca__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-ban-ca__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  transform: translateY(-3px);
}

/* Introduction Section */
.page-ban-ca__introduction-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-ban-ca__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__text-block {
  flex: 1;
}

.page-ban-ca__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #FFF3E6;
}

.page-ban-ca__text-block h3 {
  font-size: 24px;
  color: #FF8C1A;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-ban-ca__image-block {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  max-width: 100%;
}

.page-ban-ca__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-ban-ca__guide-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-ban-ca__guide-list li strong {
  color: #FFA53A;
}

/* Games Showcase Section */
.page-ban-ca__games-showcase {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-ban-ca__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__game-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-title {
  font-size: 24px;
  color: #FFB04D;
  margin: 20px 15px 15px;
}

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

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

.page-ban-ca__game-trial-frame {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 0 0 10px 10px;
  margin-bottom: 20px;
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-ban-ca__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-ban-ca__promo-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-ban-ca__promo-title {
  font-size: 22px;
  color: #FFB04D;
  margin: 15px 15px 10px;
}

.page-ban-ca__promo-description {
  padding: 0 15px;
  font-size: 1em;
  color: #FFF3E6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ban-ca__cta-full-width {
  text-align: center;
}

/* Advantages Section */
.page-ban-ca__advantages-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-ban-ca__advantage-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
}

.page-ban-ca__advantage-title {
  font-size: 22px;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-ban-ca__advantage-description {
  font-size: 1em;
  color: #FFF3E6;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}

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;
  color: #FFF3E6;
}

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: #2b2e3a; /* Slightly lighter Card BG on hover */
}

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

.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  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: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

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

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

/* Final CTA Section */
.page-ban-ca__cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

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

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

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

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

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

  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    min-height: 400px;
    padding-top: 10px;
  }
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-ban-ca__hero-content {
    padding: 20px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-ban-ca__hero-description {
    font-size: 1em;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-small,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
  }

  /* 通用图片与容器 */
  .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__content-wrapper,
  .page-ban-ca__games-grid,
  .page-ban-ca__promotions-grid,
  .page-ban-ca__advantages-grid,
  .page-ban-ca__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Introduction Section */
  .page-ban-ca__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  /* 产品展示图区域 (Games Grid) */
  .page-ban-ca__games-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }
  .page-ban-ca__game-image {
    height: 200px;
  }
  .page-ban-ca__game-trial-frame {
    height: 250px;
  }

  /* Promotions Grid */
  .page-ban-ca__promotions-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }
  .page-ban-ca__promo-image {
    height: 180px;
  }

  /* Advantages Grid */
  .page-ban-ca__advantages-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ Section */
  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;
  }

  /* Decorate main title + long text SEO area (general content text) */
  .page-ban-ca__text-block p,
  .page-ban-ca__text-block ol,
  .page-ban-ca__text-block li,
  .page-ban-ca__faq-answer p {
    font-size: 1em;
    text-align: left;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-ban-ca__text-block h3 {
    font-size: 20px;
  }
  .page-ban-ca__section-title::after {
    width: 60px;
  }
}

@media (max-width: 849px) {
  .page-ban-ca__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}