/* ===== TVC 模块 ===== */
/* 从 tank500-26 css/index.css 中提取的 TVC 相关样式 */

.tvc {
    width: 100%;
    height: 100vh;
    position: relative;
}

.tvc-bg {
    width: 100%;
    height: 100%;
}

.tvc-t1 {
    display: flex;
    align-items: center;
    font-size: 0.39rem;
    color: #fff;
    line-height: 0.45rem;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

.tvc-log {
    width: 1.57rem;
    height: 0.34rem;
    object-fit: cover;
}

.tvc-t2 {
    display: flex;
    align-items: center;
    font-size: 0.19rem;
    color: #fff;
    line-height: 0.4rem;
    position: absolute;
    top: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    text-align: center;
    width: 7rem;
}

.tvc-btn-box {
    width: 3.14rem;
    height: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #FBC980;
    color: #FBC980;
    font-size: .18rem;
    line-height: 0.5rem;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
    z-index: 6;
    cursor: pointer;
}

.tvc-mask {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    z-index: 4;
    position: absolute;
    left: 0;
    top: 0;
}

/* 完整视频弹窗 */
.video-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: none;
    background: #000;
}

.close-box {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    z-index: 100001;
    background-color: #6b6b6b;
    border-radius: 100%;
    opacity: 0.5;
    transition: all 0.5s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-box img {
    width: 0.15rem;
    z-index: 100010;
}

.video-box video {
    width: 100%;
    height: 100vh;
    object-fit: scale-down;
}

/* 响应式 - 平板/移动端 */
@media (max-width: 768px) {
    .tvc-t1 {
        width: 55%;
        justify-content: center;
    }

    .tvc-t2 {
        top: 2.8rem;
        font-size: 0.24rem;
    }

    .tvc-btn-box {
        width: 5.14rem;
        height: 0.8rem;
        border-radius: 5rem;
        font-size: 0.25rem;
        line-height: 0.75rem;
    }

    .video-box video {
        height: 85vh;
        margin-top: 15vh;
    }
}
