/*banner背景图片动画*/
@-webkit-keyframes scale-bg{
	from{
		-webkit-transform:scale(1.2);
		transform:scale(1.2);
	}
	to{
		-webkit-transform:scale(1);
		transform:scale(1);
	}
}
@keyframes scale-bg{
	from{
		-webkit-transform:scale(1.2);
		transform:scale(1.2);
	}
	to{
		-webkit-transform:scale(1);
		transform:scale(1);
	}
}

.video-slider-container {
	position: absolute;
	z-index: 10;
	right: 10%;
	top: 50%;
	transform: translateY(-50%);
	width: 580px;
}
	
.video-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(0,0,0,0.9);
}
	
.video-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease;
	cursor: pointer;
}
.video-item.active {
	opacity: 1;
}
	
.video-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
	
.video-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	color: #fff;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.video-overlay h4 {
	margin: 0 0 5px;
	font-size: 16px;
}
.video-overlay p {
	margin: 0;
	font-size: 13px;
	opacity: 0.85;
}

/* -------- 左右箭头样式 -------- */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background: rgba(255,255,255,0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	z-index: 2;
	user-select: none;
	transition: 0.2s;
}
.slider-arrow:hover {
	background: rgba(255,255,255,0.6);
}
.slider-arrow.prev {
	left: 8px;
}
.slider-arrow.next {
	right: 8px;
}

/* -------- 弹窗 -------- */
.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.95);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}
.video-modal.active {
	display: flex;
}
.video-modal video {
	max-width: 100%;
	max-height: 90vh;
	outline: none;
}
.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}

/* -------- 响应式 -------- */


@media all and (min-width: 0) and (max-width: 1024px) {
	.video-slider-container {
	  position: absolute;
	  z-index: 10;
	  right: 10%;
	  top: 60%;
	  transform: translateY(-50%);
	  width: 80%;
	}
}

@media all and (min-width: 0) and (max-width: 874px) {
	.video-slider-container {
	  position: absolute;
	  z-index: 10;
	  right: 10%;
	  top: 85%;
	  transform: translateY(-50%);
	  width: 80%;
	}
}

@media all and (min-width: 1025px) and (max-width: 1364px) {
}

@media only screen and (max-width: 1365px){
}
