/* ===== BANNER SLIDER ===== */
/* 导航栏下方的横向满屏 Banner 图片轮播，图片高度受限 */

.banner {
  width: 100%;
  background: #070707;
  margin-top: 68px !important;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .banner {
    margin-top: 78px !important;
  }
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 72.7vh;
  overflow: hidden;
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 72.7vh;
  position: relative;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* 轮播指示点 */
.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
}

.banner-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.banner-dot.is-active {
  background: var(--color-gold, #c9a96e);
  width: 36px;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.banner-dot.is-active:hover {
  background: var(--color-gold, #c9a96e);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .banner-track {
    transition: none;
  }
}

/* 小屏高度限制 */
@media (max-width: 768px) {
  .banner-slider,
  .banner-slide {
    height: 56.5vh;
  }
}
