/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

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

.page-ban-ca__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-ban-ca__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-ban-ca__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 900px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__hero-actions {
  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-card,
.page-ban-ca__btn-large {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-ban-ca__btn-primary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-ban-ca__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-ban-ca__btn-card {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 16px;
}

.page-ban-ca__btn-card:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

.page-ban-ca__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Intro Section */
.page-ban-ca__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

.page-ban-ca__text-block h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Games Grid 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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-ban-ca__game-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__game-card .page-ban-ca__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-ban-ca__guide-steps .page-ban-ca__text-block {
  text-align: left;
}

.page-ban-ca__guide-steps .page-ban-ca__text-block h3 {
  color: #26A9E0;
  font-size: 22px;
  margin-top: 25px;
}

.page-ban-ca__guide-steps .page-ban-ca__text-block h3:first-of-type {
  margin-top: 0;
}

.page-ban-ca__app-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-ban-ca__app-features li {
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #ffffff;
}

.page-ban-ca__app-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #ffffff; /* Checkmark color */
}

/* Strategy Section */
.page-ban-ca__strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-ban-ca__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  color: #ffffff;
}

.page-ban-ca__strategy-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-ban-ca__strategy-item p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-ban-ca__action-center {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-ban-ca__action-center img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-ban-ca__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-ban-ca__promo-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__promo-card .page-ban-ca__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-ban-ca__promo-actions {
  margin-top: 40px;
}

/* Download Section */
.page-ban-ca__section-download .page-ban-ca__text-block {
  text-align: left;
}

.page-ban-ca__section-download .page-ban-ca__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__section-download .page-ban-ca__image-block img {
  max-width: 80%;
  height: auto;
}

/* FAQ Section */
details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  text-align: left;
}
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: #f5f5f5;
}
.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-ban-ca__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

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

/* Conclusion Section */
.page-ban-ca__text-center {
  text-align: center;
}

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

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

  .page-ban-ca__section-title {
    font-size: 32px;
  }

  .page-ban-ca__hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-ban-ca__hero-description {
    font-size: 18px;
  }

  .page-ban-ca__games-grid,
  .page-ban-ca__promo-grid,
  .page-ban-ca__strategy-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-ban-ca__game-card img,
  .page-ban-ca__promo-card img {
    
  }
}

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

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

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

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

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

  .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 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* 按钮与按钮容器 */
  .page-ban-ca__hero-actions {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-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-card,
  .page-ban-ca__btn-large,
  .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 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__image-block,
  .page-ban-ca__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 & Grid */
  .page-ban-ca__section-intro .page-ban-ca__grid-two-cols,
  .page-ban-ca__guide-steps.page-ban-ca__grid-two-cols,
  .page-ban-ca__section-download .page-ban-ca__grid-two-cols {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 30px;
    text-align: center;
  }

  .page-ban-ca__section-intro .page-ban-ca__image-block,
  .page-ban-ca__guide-steps .page-ban-ca__image-block,
  .page-ban-ca__section-download .page-ban-ca__image-block {
    order: -1; /* Image above text on mobile */
  }

  .page-ban-ca__games-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 25px;
  }

  .page-ban-ca__game-card img,
  .page-ban-ca__promo-card img {
    height: auto; /* Allow height to adjust */
    max-height: 250px; /* Max height for better visual */
    object-fit: cover;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title-wrap,
  .page-ban-ca__article-body,
  .page-ban-ca__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center; /* Center text/figure */
  }

  .page-ban-ca__text-block h3 {
    text-align: center; /* Center align headings */
  }

  .page-ban-ca__app-features {
    text-align: center;
  }

  .page-ban-ca__app-features li {
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .page-ban-ca__app-features li::before {
    position: static;
    margin-right: 5px;
  }

  .page-ban-ca__strategy-list {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__strategy-item {
    padding: 25px;
    text-align: center;
  }

  .page-ban-ca__action-center img {
    max-width: 100%;
  }

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