/* 开场视频容器 */
.intro-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: auto;
    cursor: pointer; /* 提示可点击 */
}

.intro-video-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GIF背景 */
.video-gif-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* 视频元素在上层 */
.intro-video-overlay video {
    position: relative;
    z-index: 2;
}

/* 视频加载提示 */
.video-loading {
    position: absolute;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    font-family: sans-serif;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
    pointer-events: none;
}

/* 提示点击跳过 */
.intro-video-overlay::after {
    /*content: '点击任意位置跳过';*/
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-family: sans-serif;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 3;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 16px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.intro-video-overlay:hover::after {
    opacity: 1;
}