

.hideBlock {
	display: none;
}

.toVideo {
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	height: 100%;
}

.toVideo .contentBox {
	width: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 1200px;
}

.toVideo .contentBox .close {
	border: 2px solid #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 100%;
	left: 100%;
	cursor: pointer;
}

.toVideo .contentBox .close::after {
	content: "";
	position: absolute;
	width: 2px;
	height: 85%;
	left: 50%;
	top: 50%;
	background: #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.toVideo .contentBox .close::before {
	content: "";
	position: absolute;
	width: 2px;
	height: 85%;
	left: 50%;
	top: 50%;
	background: #fff;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.toVideo .contentBox video {
	width: 100%;
	height: auto;
	max-height: 85vh;
}

/* 简单的图片弹窗样式 */
.image-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 999;
}

.popup-image {
	max-width: 90%;
	max-height: 90%;
	margin: auto;
	transition: transform 0.3s ease;
}

.close-btn {
	position: absolute;
	top: 70px;
	right: 70px;
	color: white;
	font-size: 40px;
	cursor: pointer;
	z-index: 1000;
}

@media (max-width: 768px) {
	.toVideo .contentBox video {
		max-height: 70vh;
	}
	.toVideo .contentBox .close {
		width: 24px;
		height: 24px;
		left: 50%;
		top: 100%;
		transform: translate(-50%, 100%);
	}
}