* { margin: 0; padding: 0; box-sizing: border-box; }

/* 基础容器样式 */
.containershipin {
	width: 100%;
	position: relative;
	overflow: hidden;
	/*border: 1px solid #ccc;*/
}

/* 视频横幅容器 */
.video-banner { 
	position: relative; 
	height: 100%;
	overflow: hidden; 
	background-color: #fff; /* 添加加载背景色 */
}

/* 图片轮播样式 */
.image-banner { 
	position: absolute; 
	width: 100%; 
	height: 100%; 
	z-index: 1; 
}
.image-banner img { 
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.image-banner img.active { opacity: 1; }

/* 加载指示器 */
.loading-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	color: #fff;
	font-size: 16px;
}

/* 视频样式 */
video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s;
	position: relative;
	z-index: 0;
}
video.show { opacity: 1; z-index: 2; }

/* 文字样式 */
.banner-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	text-align: center;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
	z-index: 3;
	width: 90%;
}

/* 移动端16:9适配 */
@media (max-width: 768px) {
	.containershipin {
		height: 0;
		padding-bottom: 56.25%; /* 16:9比例 */
	}
	
	.video-banner {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	.banner-text h1 {
		font-size: 4vw;
		margin-bottom: 0.5rem;
	}
	
	.banner-text p {
		font-size: 3vw;
	}
	
	video {
		-webkit-tap-highlight-color: transparent;
	}
}

/* PC端样式 */
@media (min-width: 769px) {
	.containershipin {
		height: 450px;
	}
	
	.banner-text h1 {
		font-size: 2rem;
	}
	
	.banner-text p {
		font-size: 1.2rem;
	}
}