body {
    margin: 0;
    background: url('../img/bj.jpg') no-repeat center center fixed;
    background-size: 100vw 100vh;
    overflow-x: hidden;
}

.publicity {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

.close_icon {
    float: right;
    position: fixed;
    right: 25px;
    top: 25px;
    z-index: 999;
}

.head {
    width: 100%;
    height: auto;
    margin-top: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}

.videos {
    margin-top: 5vh;
    width: 100%;
    text-align: center;
    padding: 0 5%;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    height: 22vh;
    margin: 5vh 0;
    cursor: pointer;
}

/* 视频容器加载状态 */
.video-container.loading {
    background-color: #000;
}
.video-container.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/map.jpg') center no-repeat;
    background-size: 50px;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: none; /* 初始隐藏视频元素 */
}

/* 新增封面图片样式 */
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #000; /* 初始黑色背景 */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 视频加载完成后显示 */
.video-container.loaded video {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid white;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    margin-left: 5px;
}

.video-container:hover .play-button {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 全屏样式 */
.fullscreen-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: black;
    display: none;
}

.fullscreen-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-button {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.notification {
	display: none;
	position: fixed;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 36px;
	border-radius: 10px;
	text-align: center;
	z-index: 1000;
}