/* ── VIDEO SECTION ── */
.video-bg {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--primary-lt) 100%);
    padding: 80px 24px 100px;
    position: relative;
}

.video-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 8px solid rgba(255,255,255,0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: #000;
}

.video-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(13,71,161,0.2);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── YOUTUBE FACADE ── */
.youtube-facade {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    cursor: pointer;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.video-container:hover .youtube-facade img {
    transform: scale(1.05);
}

@keyframes pulseAlert {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.youtube-facade .play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 56px;
    background: url('https://img.icons8.com/color/96/youtube-play.png') no-repeat center;
    background-size: contain;
    pointer-events: none;
    transition: transform 0.3s;
    z-index: 10;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
}

.youtube-facade .play-button::before {
    content: '';
    position: absolute;
    top: -20px; left: -10px; right: -10px; bottom: -20px;
    border-radius: 20px;
    background: rgba(255,0,0,0.4);
    z-index: -1;
    animation: pulseAlert 2s infinite;
}

/* ── YOUTUBE FALLBACK ── */
.youtube-fallback {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
}

.youtube-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-on-youtube {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.watch-on-youtube:hover { background: rgba(0,0,0,0.92); }

.watch-on-youtube svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
