.nixia-video-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.nixia-video-item {
	text-decoration: none;
	color: inherit;
	width: 100%;
	display: block;
}

.nixia-video-gallery.has-multiple .nixia-video-item {
	width: calc(50% - 7.5px);
}

.nixia-video-thumb {
	position: relative;
	background-size: cover;
	background-position: center;
	height: 260px;
	border-radius: 8px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 50%, transparent 85%);
}

.nixia-video-gallery.has-multiple .nixia-video-thumb {
	height: 180px;
}

.nixia-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--e-global-color-text);
	width: 90px;
	height: 90px;
	background: radial-gradient(circle at center, #ff0080 0%, #5e0347 100%);
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 20px rgba(255, 0, 128, 0.4), 0 0 40px rgba(94, 3, 71, 0.4), 0 0 0 10px rgba(94, 3, 71, 0.4);
	z-index: 1;
}

.nixia-video-play::before,
.nixia-video-play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(255, 0, 128, 0.4);
	z-index: -1;
	animation-timing-function: ease-out;
}

.nixia-video-play::before {
	animation: pulseSmall 1.5s infinite;
}

.nixia-video-play::after {
	animation: pulseLarge 2.5s infinite;
}

.nixia-video-play:hover {
	transform: translate(-50%, -50%) scale(1.08);
	box-shadow: 0 0 30px rgba(255, 0, 128, 0.7), 0 0 60px rgba(94, 3, 71, 0.6), 0 0 0 5px rgba(255, 0, 128, 0.5);
}

.nixia-video-play svg {
	width: 30px;
	height: 30px;
}

.nixia-video-title {
	margin-top: -45px;
	text-align: center;
	font-weight: 600;
	font-size: 15px;
}

@keyframes glowPulse {
	0% {
		box-shadow: 0 0 20px rgba(255, 0, 128, 0.4),
		            0 0 40px rgba(94, 3, 71, 0.4),
		            0 0 0 0 rgba(94, 3, 71, 0.4);
	}
	25% {
		box-shadow: 0 0 30px rgba(255, 0, 128, 0.7),
		            0 0 60px rgba(94, 3, 71, 0.6),
		            0 0 0 5px rgba(94, 3, 71, 0.6);
	}
	50% {
		box-shadow: 0 0 30px rgba(255, 0, 128, 0.7),
		            0 0 60px rgba(94, 3, 71, 0.6),
		            0 0 0 15px rgba(94, 3, 71, 0.6);
	}
	75% {
		box-shadow: 0 0 20px rgba(255, 0, 128, 0.4),
		            0 0 40px rgba(94, 3, 71, 0.4),
		            0 0 0 20px rgba(94, 3, 71, 0.4);
	}
	100% {
		box-shadow: 0 0 20px rgba(255, 0, 128, 0.4),
		            0 0 40px rgba(94, 3, 71, 0.4),
		            0 0 0 20px rgba(94, 3, 71, 0);
	}
}

@keyframes pulseSmall {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.7;
	}
	100% {
		transform: translate(-50%, -50%) scale(1.6);
		opacity: 0;
	}
}

/* Segundo halo (más lento y más grande) */
@keyframes pulseLarge {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.5;
	}
	100% {
		transform: translate(-50%, -50%) scale(2.4);
		opacity: 0;
	}
}
