/* 首页轮播大图 · HY舞蹈 */
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
  /* 覆盖全局 section 的 72px 上下内边距，消除轮播上方/下方留白 */
  padding: 0;
  margin: 0;
}
.banner-track {
  display: flex;
  height: clamp(300px, 52vw, 720px);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.banner-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.banner-slide {
  height: 100%;
}
.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  /* 固定高度 + cover：任何视口都铺满，绝不留黑边 */
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* 左右箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(13, 15, 26, 0.45);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.banner-arrow:hover { background: rgba(13, 15, 26, 0.75); transform: translateY(-50%) scale(1.06); }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }

/* 指示点 */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.banner-dots button {
  width: 26px;
  height: 5px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
  padding: 0;
}
.banner-dots button.active {
  background: var(--brand, #7c5cff);
  width: 40px;
}

@media (max-width: 768px) {
  .banner-track { height: clamp(240px, 72vw, 460px); }
  .banner-arrow { display: none; }
  .banner-dots button { width: 20px; }
  .banner-dots button.active { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-track { transition: none; }
}

/* ===== FAQ 区大图覆盖 ===== */
#faq.faq-cover {
  position: relative;
  color: #fff;
  background-image: linear-gradient(rgba(13, 15, 26, 0.74), rgba(13, 15, 26, 0.80)),
    url("assets/img/banner-team.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#faq.faq-cover .section-title { color: #fff; }
#faq.faq-cover .section-sub { color: rgba(255, 255, 255, 0.85); }
#faq.faq-cover .card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}
#faq.faq-cover .card h3 { color: #fff; }
#faq.faq-cover .card p { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 768px) {
  #faq.faq-cover {
    background-position: center top;
  }
}
