/* Variables CSS*/

:root {
	--card-gradient-border: linear-gradient(92deg, #FF72F2 0.97%, #D0B9FF 50.49%, rgba(184, 212, 255, 0.2) 100%);
	--card-gradient-button: linear-gradient(92deg, #F43AE3 -5%, #6A25F9 135%);
	--card-gradient-glow: linear-gradient(180deg, rgba(255, 58, 180, 0.30) 0%, rgba(149, 0, 255, 0.30) 100%);
	--card-border-radius: 24px;
	--card-spacing: clamp(20px, 5vw, 60px);
}

/* Container principal */

.card-3d-video-border {
	font-family: var(--e-global-typography-text-font-family, sans-serif);
	background: var(--card-gradient-border);
	border-radius: var(--card-border-radius);
	padding: 1px;
	margin-block-start: 80px;
}

/* Container de la card */

.card-3d-video-container {
	position: relative;
	width: 100%;
	padding: 35px var(--card-spacing) 45px;
	background-image: url('/wp-content/uploads/2025/10/bg-event.webp');
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	border-radius: calc(var(--card-border-radius) - 2px);
	overflow: hidden;
	isolation: isolate;
}

/*Element */

.card-3d-video-video__gradient--1 {
	position: absolute;
	bottom: -100px;
	left: -15%;
	width: 326px;
	height: 326px;
	border-radius: 326px;
	background: linear-gradient(180deg, rgba(255, 58, 180, 0.30) 0%, rgba(149, 0, 255, 0.30) 100%);
	filter: blur(125px);
}

/* Layout du contenu */

.card-3d-video-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	max-width: 1200px;
	margin-inline: auto;
}

/* Zone de texte */

.card-3d-video-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
	text-align: left;
	max-width: 50%;
}

/* Titre */

.card-3d-video-container .card-3d-video-title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin: 0;
}

/* Description */

.card-3d-video-desc {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

/* Bouton CTA */

.card-3d-video-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
	padding: 14px 28px;
	background: var(--card-gradient-button);
	color: #fff;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.card-3d-video-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(244, 58, 227, 0.4);
}

.card-3d-video-button:active {
	transform: translateY(0);
}

.card-3d-video-button-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Container visuel 3D */

.card-3d-video-visual {
	position: absolute;
	top: -30px;
	right: 140px;
	width: 200px;
	height: 440px;
	display: flex;
	justify-content: center;
	align-items: center;
	perspective: 1000px;
	rotate: 47deg;
	z-index: 1;
}

/* Image du téléphone */

.card-3d-video-phone {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
}

/* Écran vidéo avec effet 3D */

.card-3d-video-screen {
	position: absolute;
	top: 48%;
	left: 47%;
	width: 90%;
	height: 85%;
	transform: translate(-50%, -50%)
	perspective(1000px)
	rotateY(-9deg)
	skewY(-18deg);
	border-radius: 20px;
	overflow: hidden;
	z-index: 3;
}

/* Vidéo */

.card-3d-video-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Effet de glow décoratif */

.card-3d-video-video__gradient--1 {
	position: absolute;
	bottom: -100px;
	left: -15%;
	width: 326px;
	height: 326px;
	border-radius: 50%;
	background: var(--card-gradient-glow);
	filter: blur(125px);
	pointer-events: none;
	z-index: 0;
}