/* fkm-video-section — استایل ویجت (بارگذاری فقط هنگام استفاده) */
.yvd-section {
	--_accent: var(--yvd-accent, #0f6b5c);
	--_accent2: var(--yvd-accent-2, #1a8a75);
	--_dark: var(--yvd-sh-dark, #c8c8c8);
	--_light: var(--yvd-sh-light, #ffffff);
	width: 100%;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 70px;
	align-items: center;
	direction: rtl;
}
.yvd-text { text-align: right; }
.yvd-title {
	font-size: 40px;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 40px;
	line-height: 1.3;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}
.yvd-desc {
	font-size: 17px;
	color: #444;
	line-height: 2.2;
	text-align: justify;
}
.yvd-desc p { margin: 0 0 25px; }
.yvd-desc p:last-child { margin-bottom: 0; }
/* ── کارت ویدیو ── */
.yvd-card {
	border-radius: 45px;
	overflow: hidden;
	position: relative;
	box-shadow:
		10px 10px 20px var(--_dark),
		-10px -10px 20px var(--_light);
	cursor: pointer;
	transition: all 0.4s ease;
	aspect-ratio: 16 / 10;
}
.yvd-card:hover {
	transform: translateY(-6px);
	box-shadow:
		15px 15px 30px var(--_dark),
		-15px -15px 30px var(--_light);
}
.yvd-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.85);
	transition: transform 0.5s ease, filter 0.3s ease;
}
.yvd-card:hover .yvd-thumb {
	transform: scale(1.05);
	filter: brightness(1);
}
.yvd-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.1));
	display: flex;
	align-items: center;
	justify-content: center;
}
.yvd-play {
	width: var(--yvd-play-size, 100px);
	height: var(--yvd-play-size, 100px);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--_accent), var(--_accent2));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow:
		0 15px 40px rgba(0,0,0,0.4),
		inset 0 2px 8px rgba(255,255,255,0.3);
	position: relative;
	transition: all 0.3s ease;
}
.yvd-play svg {
	width: calc(var(--yvd-play-size, 100px) * 0.36);
	height: calc(var(--yvd-play-size, 100px) * 0.36);
	margin-right: -5px;
}
.yvd-pulse .yvd-play::before {
	content: '';
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	border: 2px solid var(--_accent);
	opacity: 0.4;
	animation: yvdPulse 2s ease-out infinite;
}
.yvd-card:hover .yvd-play { transform: scale(1.12); }
@keyframes yvdPulse {
	0% { transform: scale(1); opacity: 1; }
	100% { transform: scale(1.6); opacity: 0; }
}
/* ── واترمارک ── */
.yvd-watermark {
	position: absolute;
	bottom: 18px;
	left: 22px;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-family: 'Brush Script MT', cursive;
	font-size: 22px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6);
	z-index: 3;
}
.yvd-logo-circle {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--_accent), var(--_accent2));
	position: relative;
	flex-shrink: 0;
}
.yvd-logo-circle::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 6px;
	width: 14px;
	height: 14px;
	border: 3px solid #fff;
	border-radius: 50%;
	border-right-color: transparent;
	border-bottom-color: transparent;
	transform: rotate(-20deg);
}
.yvd-watermark small {
	font-family: Arial, sans-serif;
	font-size: 8px;
	letter-spacing: 2px;
	background: var(--_accent);
	padding: 2px 6px;
	border-radius: 3px;
	display: block;
	font-weight: 900;
	margin-top: -4px;
}
/* ── مودال ── */
.yvd-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.85);
	backdrop-filter: blur(8px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
.yvd-modal.yvd-active {
	opacity: 1;
	visibility: visible;
}
.yvd-modal-content {
	width: 100%;
	max-width: 960px;
	background: #000;
	border-radius: 25px;
	overflow: visible;
	position: relative;
	box-shadow: 0 25px 60px rgba(0,0,0,0.6);
	transform: scale(0.8);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.yvd-modal.yvd-active .yvd-modal-content {
	transform: scale(1);
}
.yvd-modal-close {
	position: absolute;
	top: -55px;
	left: 0;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #ececec;
	border: none;
	color: #222;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 20px rgba(0,0,0,0.4);
	transition: all 0.3s ease;
	z-index: 10;
}
.yvd-modal-close:hover {
	background: #fff;
	transform: rotate(90deg);
}
.yvd-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	background: #000;
	border-radius: 25px;
	overflow: hidden;
}
.yvd-video-wrapper iframe,
.yvd-video-wrapper video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}
/* ── ریسپانسیو ── */
@media (max-width: 1000px) {
	.yvd-section {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.yvd-title {
		font-size: 30px;
		text-align: center;
		margin-bottom: 25px;
	}
	.yvd-desc { font-size: 16px; }
}
@media (max-width: 600px) {
	.yvd-title { font-size: 24px; }
	.yvd-desc {
		font-size: 15px;
		line-height: 2;
	}
}
