/* 图片轮播样式 - 替代 Flash */
.banner-slider {
  position: relative;
  width: 1024px;
  height: 215px;
  overflow: hidden;
  margin: 0 auto;
}

.banner-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.banner-slider .slide.active {
  opacity: 1;
  visibility: visible;
}

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

/* 指示器 */
.banner-slider .indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-slider .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-slider .indicator:hover {
  background: rgba(255, 255, 255, 0.9);
}

.banner-slider .indicator.active {
  background: #fff;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .banner-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 215;
  }
}

@media (max-width: 768px) {
  .banner-slider .indicators {
    bottom: 10px;
    gap: 8px;
  }

  .banner-slider .indicator {
    width: 10px;
    height: 10px;
  }
}
