﻿ * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /* 全局禁止横向滚动 */
  html,body{
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .slider-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  /* 轮播容器 占满整个浏览器窗口 */
  .slider-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  /* 图片层 */
  .slider-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .slider-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
  }
  .slider-bg img.active {
    opacity: 1;
    z-index: 1;
  }

  /* 文字层 */
  .slider-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: #fff;
    pointer-events: none;
  }
  .text-item {
    position: absolute;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
  }
  .text-item.active {
    opacity: 1;
    transform: translateY(0);
  }
  .text-num {
    font-size: 32px;
    opacity: 0.7;
    margin-bottom: 12px;
  }
  .text-main {
    font-size: 42px;
    line-height: 1.6;
    font-weight: 600;
  }

  /* 左右箭头 */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    user-select: none;
  }
  .arrow:hover {
    background: rgba(0,0,0,0.6);
  }
  .prev { left: 20px; }
  .next { right: 20px; }

  /* 底部圆点控制条 */
  .dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
  }
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
  }
  .dot.active {
    background: #fff;