.slider-container {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  touch-action: pan-y;
}
.slider-wrapper {
  display: flex;
  height: 100%;
  will-change: transform;
}
.slider-item {
  min-width: 100%;
  height: 100%;
  user-select: none;
}

.dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: none; /* 穿透点击，不干扰滑动 */
  transform: translateY(-100%);
}

.dot {
  width: 8px;
  height: 4px;
  background: #bdbdbd;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 贝塞尔曲线让拉伸更灵动 */
  cursor: pointer;
  pointer-events: auto; /* 恢复点自身的点击 */
}

/* 激活状态：宽度拉伸，颜色加亮 */
.dot.active {
  width: 24px; /* 激活时变长 */
  background: #232323;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
