/**
 * 视频Banner样式 - 简化版本
 * 只保留视频背景功能，移除遮罩、文案和模态框
 */

/* 全局样式重置 */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* 主容器 */
.video-banner-block {
    position: relative;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

.video-banner-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 800px; /* 固定高度 */
    overflow: hidden;
    box-sizing: border-box;
}

/* 背景图片 */
.video-banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 视频背景容器 */
.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

/* 视频背景 */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-banner-block,
    .video-banner-container {
        width: 100%;
        max-width: 100vw;
        height: 800px; /* 保持800px高度 */
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .video-banner-block,
    .video-banner-container {
        width: 100%;
        max-width: 100vw;
        height: 800px; /* 保持800px高度 */
        overflow-x: hidden;
    }
}

/* 高对比度支持 */
@media (prefers-contrast: high) {
    .video-banner-container {
        border: 2px solid #000;
    }
}

/* 减少动画支持 */
@media (prefers-reduced-motion: reduce) {
    .video-background {
        animation: none;
    }
}