.wmc-video-player {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.wmc-video-player__swiper {
	width: 100%;
	height: 100%;
}

.wmc-video-player__swiper .swiper-wrapper {
	height: 100%;
}

.wmc-video-player__slide {
	position: relative;
	width: 100%;
	height: 100%;
}

.wmc-video-player__cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 1;
	transition: opacity 0.5s ease;
}

.wmc-video-player__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 2;
	transition: opacity 0.5s ease;
}

.wmc-video-player__play-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wmc-video-player__play-btn {
	position: relative;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #e31837;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.wmc-video-player__play-btn:hover {
	transform: scale(1.1);
}

.wmc-video-player__play-btn svg {
	width: 30px;
	height: 30px;
	fill: #ffffff;
	margin-left: 5px;
}

.wmc-video-player__play-btn img.wmc-video-player__play-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	margin-left: 5px;
}

.wmc-video-player__wave {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(227, 24, 55, 0.6) 0%, rgba(227, 24, 55, 0.3) 50%, rgba(227, 24, 55, 0) 70%);
	animation: wave-pulse 2s ease-out infinite;
	z-index: 1;
}

@keyframes wave-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

.wmc-video-player__content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 40px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.wmc-video-player__content-inner {
	width: 100%;
	text-align: left;
}

.wmc-video-player__badge {
	display: inline-block;
	padding: 8px 16px;
	background-color: #e31837;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 20px;
	margin-bottom: 15px;
}

.wmc-video-player__title {
	font-size: 32px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 15px 0;
	line-height: 1.3;
}

.wmc-video-player__description {
	font-size: 16px;
	color: #ffffff;
	margin: 0 0 25px 0;
	line-height: 1.6;
	opacity: 0.9;
}

.wmc-video-player__buttons {
	display: flex;
	justify-content: flex-start;
	gap: 15px;
	flex-wrap: wrap;
}

.wmc-video-player__btn {
	display: inline-block;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 25px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	cursor: pointer;
}

.wmc-video-player__btn--primary {
	background-color: #e31837;
	color: #ffffff;
	border-color: #e31837;
}

.wmc-video-player__btn--primary:hover {
	background-color: transparent;
	color: #e31837;
}

.wmc-video-player__btn--secondary {
	background-color: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.wmc-video-player__btn--secondary:hover {
	background-color: #ffffff;
	color: #e31837;
}

.wmc-video-player__video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Modal */
.wmc-video-player__modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
}

.wmc-video-player__modal.active {
	display: flex;
}

.wmc-video-player__modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
}

.wmc-video-player__modal-content {
	position: relative;
	width: 80vw;
	height: 70vh;
	z-index: 1;
}

.wmc-video-player__modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #ffffff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	transition: opacity 0.3s ease;
}

.wmc-video-player__modal-close:hover {
	opacity: 0.7;
}

.wmc-video-player__modal-video {
	width: 100%;
	height: 100%;
	background: #000;
}

/* Pagination */
.wmc-video-player__pagination {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
	z-index: 20;
}

.wmc-video-player__pagination-dot {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: transparent;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 分页图标 */
.wmc-video-player__pagination-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.wmc-video-player__pagination-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
}

.wmc-video-player__pagination-icon img.wmc-video-player__pagination-icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* 选中时图标变透明 */
.wmc-video-player__pagination-dot.active .wmc-video-player__pagination-icon {
	opacity: 0;
}

/* 进度圆环 - 旋转流动效果 */
.wmc-video-player__pagination-progress {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.wmc-video-player__pagination-dot.active .wmc-video-player__pagination-progress {
	opacity: 1;
	animation: pagination-rotate 1.5s linear infinite;
}

@keyframes pagination-rotate {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* 隐藏SVG，用伪元素替代 */
.wmc-video-player__pagination-progress {
	display: none;
}

/* 彗星效果 */
.wmc-video-player__pagination-dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: conic-gradient(
		from 0deg,
		transparent 0deg,
		transparent 90deg,
		rgba(227, 24, 55, 0.05) 120deg,
		rgba(227, 24, 55, 0.15) 180deg,
		rgba(227, 24, 55, 0.35) 240deg,
		rgba(227, 24, 55, 0.6) 300deg,
		rgba(227, 24, 55, 0.85) 340deg,
		#e31837 360deg
	);
	-webkit-mask: radial-gradient(transparent 35%, #000 37%, #000 88%, transparent 90%);
	mask: radial-gradient(transparent 35%, #000 37%, #000 88%, transparent 90%);
	opacity: 0;
	z-index: 3;
}

.wmc-video-player__pagination-dot.active::after {
	opacity: 1;
	animation: pagination-rotate 1.5s linear infinite;
}

@media (max-width: 768px) {
	.wmc-video-player__title {
		font-size: 24px;
	}

	.wmc-video-player__description {
		font-size: 14px;
	}

	.wmc-video-player__content {
		padding: 20px;
	}

	/* 手机端隐藏播放按钮 */
	.wmc-video-player__play-wrapper {
		display: none !important;
	}

	/* 手机端按钮一排显示 - 居左 */
	.wmc-video-player__buttons {
		flex-direction: row;
		justify-content: flex-start;
		gap: 10px;
	}

	/* 手机端按钮样式 - 不覆盖Elementor响应式padding设置 */
	.wmc-video-player__btn {
		width: auto;
		text-align: center;
	}

	/* 手机端彗星加粗 */
	.wmc-video-player__pagination-dot {
		width: 28px;
		height: 28px;
	}

	/* 手机端彗星线条加粗 */
	.wmc-video-player__pagination-dot::after {
		-webkit-mask: radial-gradient(transparent 28%, #000 30%, #000 85%, transparent 87%);
		mask: radial-gradient(transparent 28%, #000 30%, #000 85%, transparent 87%);
	}

	.wmc-video-player__pagination-progress path {
		transform: scale(1.15);
		transform-origin: center;
	}
}
