

  h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .gallery-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
  }

  /* 隐藏滚动条的容器 */
  .gallery-container {
    overflow: hidden;          /* 关键：隐藏溢出和滚动条 */
    width: 100%;
    position: relative;
  }

  .gallery-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
  }

  .gallery-track img {
    width: auto;
    max-height: 410px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
    
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

  .gallery-track img:hover {
    transform: scale(1.05);
 
  }

  /* 左右导航按钮 */
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }

  .nav-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
  }

  .nav-btn.prev { left: -25px; }
  .nav-btn.next { right: -25px; }

  /* 指示器圆点 */
  .dots {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: center;
  }

  .dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
  }

  .dots .dot.active {
    background: #e94560;
    transform: scale(1.3);
  }

  /* 暂停/播放按钮 */
  .play-pause {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    z-index: 10;
  }

  .play-pause:hover {
    background: rgba(255,255,255,0.25);
  }

  /* 大图 Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
  }

  .lightbox.active { display: flex; }

  .lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
  }

  .lightbox .close-btn {
    position: absolute;
    top: 24px; right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
  }

  @keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  /* 占位图样式（替换为真实图片后删除） */
  .placeholder { background: #16213e; display: flex; align-items: center; justify-content: center; color: #555; font-size: 14px; }