@charset "UTF-8";



.index-banner {
    height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden; /* 防止视频溢出 */
}
.index-banner .video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.index-banner .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-banner .video img.poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 关键：铺满裁切 */
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 2;          /* 在视频上层 */
    display: block;      /* 不要用 display:none，否则无法渐变 */
}

 .video img.poster {
    opacity: 0;
    transition: opacity 1s ease;
}

.video img.poster.show {
    opacity: 1;
}


 
.banner-txt-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 40%
    );
   
    z-index: 23333;
}

.banner-txt {
    position: relative;
    z-index: 23334;
   
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.banner-txt .title{
     font-size: 8rem;
     font-weight: bold;
     color:#fff;
     margin-bottom: 3rem; 
     text-transform: uppercase;
}
.banner-txt .subtitle{
     font-size: 5rem;
     color:#fff;
     box-shadow: 0 .02rem 0 rgba(23,33,41,.77)
}

/* 弹性缓冲关键帧 */
@keyframes slideUpBounce {
    0% {
        transform: translateY(80px);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px);
        opacity: 1;
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1; /* 保持可见，不消失 */
    }
}

/* 统一基础样式 */
.banner-txt .title,
.banner-txt .subtitle,
.banner-txt .btn-yellow {
    opacity: 0;
    transform: translateY(80px);
    animation: slideUpBounce 1.2s ease-out forwards;
    animation-delay: 1s; /* 延迟 3 秒 */
}


.banner-txt .title {
    animation-delay: 1s;
}

.banner-txt .subtitle {
    animation-delay: 2s; /* 比标题晚 0.3 秒 */
}
.banner-txt .btn-yellow{
      animation-delay: 3s; /* 比标题晚 0.3 秒 */
}



.index-banner .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: all 0.6s;
}
.index-banner .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: #fdd100;
}

@media(max-width: 1920px){
      
}
@media(max-width: 1680px){
     
}

@media(max-width: 768px){
     
}