/* ══════════════════════════════════════════════════════════════
   HERO SHOWCASE — STUDIO DECK (Higgsfield-vibe)
   ══════════════════════════════════════════════════════════════
   3 video card-uri stacked în 3D: side-urile tilted spre fundal,
   center-ul în față cu mint glow ring + 10× floating badge.
   Comunicare instant: AUTOMATIZARE + CREARE AI VIDEO + POZE.
*/

/* ── WRAPPER + DECK ────────────────────────────────────────── */
.vhs-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 32px auto 0;
    padding: 36px 16px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1600px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.vhs-wrapper::before {
    content: '';
    position: absolute;
    inset: 10% 8% 18%;
    background: radial-gradient(ellipse at center, rgba(101,214,158,0.18) 0%, transparent 65%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: vhsAmbient 6s ease-in-out infinite;
}
@keyframes vhsAmbient {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50%      { opacity: 1;   transform: scale(1.05); }
}

.vhs-deck {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    z-index: 1;
}

/* ── CARD BASE ─────────────────────────────────────────────── */
.vhs-card {
    position: absolute;
    width: 320px;
    height: 380px;
    border-radius: 26px;
    transform-style: preserve-3d;
    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        filter   0.45s ease,
        opacity  0.45s ease;
    cursor: pointer;
    will-change: transform, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.vhs-card-inner {
    position: relative;
    width: 100%; height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: linear-gradient(180deg, #0f1117 0%, #08080d 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 24px 60px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Film grain + scanline overlay subtil pe video — feeling cinematic */
.vhs-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, transparent 58%, rgba(0, 0, 0, 0.5) 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.006) 0px, rgba(255, 255, 255, 0.006) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
    z-index: 3;
}

.vhs-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vhs-card:hover .vhs-video { transform: scale(1.06); }

/* ── LEFT CARD ─────────────────────────────────────────────── */
.vhs-card--left {
    transform: translateX(-190px) translateZ(-30px) rotateY(12deg) rotateZ(-2deg) scale(0.88);
    filter: brightness(0.5) saturate(0.65) blur(2px);
    opacity: 1;
    z-index: 3;
}

.vhs-card--left:hover {
    transform: translateX(-190px) translateZ(10px) rotateY(12deg) rotateZ(-2deg) scale(0.92);
    filter: brightness(0.9) saturate(0.9) blur(0px);
    z-index: 5;
}

/* ── RIGHT CARD ────────────────────────────────────────────── */
.vhs-card--right {
    transform: translateX(190px) translateZ(-30px) rotateY(-12deg) rotateZ(2deg) scale(0.88);
    filter: brightness(0.5) saturate(0.65) blur(2px);
    opacity: 1;
    z-index: 3;
}

.vhs-card--right:hover {
    transform: translateX(190px) translateZ(10px) rotateY(-12deg) rotateZ(2deg) scale(0.92);
    filter: brightness(0.9) saturate(0.9) blur(0px);
    z-index: 5;
}

/* Când dai hover pe stânga — centrul și dreapta se domolesc subtil */
.vhs-deck:has(.vhs-card--left:hover) .vhs-card--center {
    filter: brightness(0.85) saturate(0.85) blur(0px);
    transition: filter 0.35s ease;
}
.vhs-deck:has(.vhs-card--left:hover) .vhs-card--right {
    filter: brightness(0.4) saturate(0.55) blur(2px);
    transition: filter 0.35s ease;
}
/* Când dai hover pe dreapta — centrul și stânga se domolesc subtil */
.vhs-deck:has(.vhs-card--right:hover) .vhs-card--center {
    filter: brightness(0.85) saturate(0.85) blur(0px);
    transition: filter 0.35s ease;
}
.vhs-deck:has(.vhs-card--right:hover) .vhs-card--left {
    filter: brightness(0.4) saturate(0.55) blur(2px);
    transition: filter 0.35s ease;
}

/* ── CENTER CARD — scale mai mic ca să nu acopere side cards ── */
.vhs-card--center {
    transform: translateZ(40px) scale(1.02);
    filter: brightness(1) saturate(1) blur(0px);
    opacity: 1;
    z-index: 4;
}

.vhs-card--center:hover {
    transform: translateZ(55px) scale(1.04);
}

.vhs-card--center .vhs-card-inner {
    border: 1px solid rgba(101, 214, 158, 0.28);
    box-shadow:
        0 32px 80px -20px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(101, 214, 158, 0.08),
        0 0 80px -20px rgba(101, 214, 158, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── MINT RING ROTITOR — pe card-ul center ─────────────────── */
.vhs-ring {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    pointer-events: none;
    z-index: 0;
    background: conic-gradient(from 0deg,
        rgba(101, 214, 158, 0) 0deg,
        rgba(101, 214, 158, 0.85) 60deg,
        rgba(125, 224, 168, 0.4) 130deg,
        rgba(101, 214, 158, 0) 200deg,
        rgba(101, 214, 158, 0) 360deg);
    animation: vhsRingSpin 4.5s linear infinite;
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
            mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 2px;
    filter: drop-shadow(0 0 12px rgba(101, 214, 158, 0.5));
}
@keyframes vhsRingSpin { to { transform: rotate(360deg); } }

/* ── BADGE TOP (No Watermark / Auto-Cut / Traducere) ───────── */
.vhs-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-body, system-ui);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(8, 8, 13, 0.85);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.vhs-badge i { font-size: 0.65rem; }

.vhs-badge--amber {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.32);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(251, 191, 36, 0.18);
}
.vhs-badge--green {
    color: #65d69e;
    border-color: rgba(101, 214, 158, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 24px rgba(101, 214, 158, 0.3);
}
.vhs-badge--indigo {
    color: #a5b4fc;
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(129, 140, 248, 0.18);
}

/* ── SPEED PILL — doar pe center, before→after ──────────────── */
.vhs-speed-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 100px;
    font-family: var(--font-body, system-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(8, 8, 13, 0.82);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(101, 214, 158, 0.3);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 32px rgba(101, 214, 158, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: vhsSpeedFloat 4s ease-in-out infinite;
}
@keyframes vhsSpeedFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-4px); }
}
.vhs-speed-before {
    color: #64748b;
    text-decoration: line-through;
    text-decoration-color: rgba(100, 116, 139, 0.6);
}
.vhs-speed-after { color: #65d69e; }
.vhs-speed-pill i {
    animation: vhsBoltPulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(101, 214, 158, 0.7));
}
@keyframes vhsBoltPulse {
    0%, 100% { transform: scale(1);   opacity: 0.8; }
    50%      { transform: scale(1.2); opacity: 1; }
}

/* ── FOOTER bottom (label + time) ──────────────────────────── */
.vhs-card-footer {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 56px 18px 18px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        transparent 100%);
}
.vhs-card-label {
    font-family: var(--font-display, var(--font-body, system-ui));
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #ffffff;
    line-height: 1.2;
}
.vhs-card-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body, system-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #65d69e;
}
.vhs-card-time s {
    color: #64748b;
    text-decoration: line-through;
    text-decoration-color: rgba(100, 116, 139, 0.55);
    font-weight: 600;
}

/* ── 10× FLOATING BADGE — pe card-ul center, top-right ─────── */
.vhs-tenx {
    position: absolute;
    top: -24px;
    right: -32px;
    z-index: 10;
    width: 92px; height: 92px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0a0a0c;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #7de0a8 0%, #65d69e 45%, #34d399 100%);
    box-shadow:
        0 14px 40px rgba(101, 214, 158, 0.5),
        0 0 0 5px rgba(10, 10, 15, 0.95),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18);
    animation: vhsTenxBob 3.5s ease-in-out infinite;
    transform-origin: center;
    font-family: var(--font-display, var(--font-body, system-ui));
}
.vhs-tenx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.vhs-tenx-icon i {
    animation: vhsWandTwinkle 2.4s ease-in-out infinite;
    transform-origin: center;
}
@keyframes vhsWandTwinkle {
    0%, 100% { transform: rotate(-4deg) scale(1);    filter: brightness(1); }
    50%      { transform: rotate(6deg)  scale(1.1);  filter: brightness(1.15); }
}
.vhs-tenx small {
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 3px;
    opacity: 0.92;
}
@keyframes vhsTenxBob {
    0%, 100% { transform: translateY(0)    rotate(-7deg); }
    50%      { transform: translateY(-8px) rotate(-3deg); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .vhs-wrapper { padding: 24px 12px 32px; }
    .vhs-deck { height: 340px; }
    .vhs-card { width: 280px; height: 320px; border-radius: 22px; }
    .vhs-card--left  { transform: translateX(-170px) translateZ(-40px) rotateY(14deg) rotateZ(-2deg) scale(0.88); }
    .vhs-card--right { transform: translateX( 170px) translateZ(-40px) rotateY(-14deg) rotateZ(2deg) scale(0.88); }
    .vhs-card--left:hover  { transform: translateX(-160px) translateZ(20px) rotateY(8deg)  rotateZ(-1deg) scale(0.94); }
    .vhs-card--right:hover { transform: translateX( 160px) translateZ(20px) rotateY(-8deg) rotateZ(1deg)  scale(0.94); }
    .vhs-tenx { width: 76px; height: 76px; top: -18px; right: -14px; }
    .vhs-tenx-icon { font-size: 1.45rem; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE (≤640px) — switch din 3D-deck în HORIZONTAL SCROLL-SNAP
   Toate 3 card-urile devin flex-items, vizibile prin swipe.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .vhs-wrapper {
        padding: 16px 0 28px;
        perspective: none;
        overflow: visible;
        max-width: 100%;
    }
    .vhs-wrapper::before { display: none; }

    .vhs-deck {
        position: relative;
        width: 100%;
        height: auto;
        transform-style: flat;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 22px calc(50% - 122px) 26px;
    }
    .vhs-deck::-webkit-scrollbar { display: none; }

    .vhs-card,
    .vhs-card--left,
    .vhs-card--right,
    .vhs-card--center {
        position: relative !important;
        flex: 0 0 auto;
        width: 244px !important;
        height: 296px !important;
        scroll-snap-align: center;
        border-radius: 20px;
        transform: none !important;
        filter: none !important;
        z-index: 1;
    }
    .vhs-card--left:hover,
    .vhs-card--right:hover { transform: translateY(-4px) !important; }

    /* Inner glow uniform pe mobile — fără identitate de "center" specială */
    .vhs-card-inner { border: 1px solid rgba(255,255,255,0.08); }
    .vhs-card--center .vhs-card-inner {
        border-color: rgba(101,214,158,0.32);
        box-shadow:
            0 20px 50px -14px rgba(0,0,0,0.7),
            0 0 60px -22px rgba(101,214,158,0.4),
            inset 0 1px 0 rgba(255,255,255,0.08);
    }

    /* Floating tenx — reposition inside card */
    .vhs-tenx {
        width: 58px; height: 58px;
        top: -10px; right: -10px;
    }
    .vhs-tenx-icon { font-size: 1.1rem; }
    .vhs-tenx small { font-size: 0.46rem; letter-spacing: 0.08em; }

    /* Speed pill smaller */
    .vhs-speed-pill { font-size: 0.7rem; padding: 7px 13px; gap: 7px; }
    .vhs-card-label { font-size: 0.92rem; }

    /* Pipeline tighter */
    .vhs-pipeline { gap: 8px; padding: 52px 10px 78px; }
    .vhs-pipe-stage { gap: 7px; max-width: 200px; }
    .vhs-pipe-icon { width: 28px; height: 28px; font-size: 0.75rem; border-radius: 8px; }
    .vhs-pipe-bubble { padding: 6px 9px; font-size: 0.66rem; }
    .vhs-pipe-url { font-size: 0.62rem; }
    .vhs-pipe-core { width: 44px; height: 44px; font-size: 1rem; }
    .vhs-pipe-line { height: 22px; }
    .vhs-pipe-label { font-size: 0.55rem; letter-spacing: 0.1em; }

    .vhs-photo-counter { font-size: 0.62rem; padding: 4px 9px 4px 7px; top: 12px; right: 12px; }
    .vhs-photo-counter-num { font-size: 0.7rem; }
}

@media (max-width: 420px) {
    .vhs-deck { padding: 20px calc(50% - 110px) 24px; gap: 12px; }
    .vhs-card,
    .vhs-card--left,
    .vhs-card--right,
    .vhs-card--center {
        width: 220px !important;
        height: 270px !important;
    }
    .vhs-badge { font-size: 0.62rem; padding: 5px 11px; }
}

/* ═══════════════════════════════════════════════════════════════
   LEFT CARD — AI POZE SLIDESHOW (10 photos cycling rapid)
   ═══════════════════════════════════════════════════════════════ */
.vhs-photo-stack {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}
.vhs-photo {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: vhsPhotoCycle 10s infinite;
    will-change: opacity, transform;
    pointer-events: none;
}
.vhs-photo:nth-child(1)  { animation-delay: 0s;  }
.vhs-photo:nth-child(2)  { animation-delay: 1s;  }
.vhs-photo:nth-child(3)  { animation-delay: 2s;  }
.vhs-photo:nth-child(4)  { animation-delay: 3s;  }
.vhs-photo:nth-child(5)  { animation-delay: 4s;  }
.vhs-photo:nth-child(6)  { animation-delay: 5s;  }
.vhs-photo:nth-child(7)  { animation-delay: 6s;  }
.vhs-photo:nth-child(8)  { animation-delay: 7s;  }
.vhs-photo:nth-child(9)  { animation-delay: 8s;  }
.vhs-photo:nth-child(10) { animation-delay: 9s;  }
@keyframes vhsPhotoCycle {
    0%   { opacity: 0; transform: scale(1.06); filter: blur(4px); }
    6%   { opacity: 1; transform: scale(1.03); filter: blur(0);   }
    14%  { opacity: 1; transform: scale(1.01); filter: blur(0);   }
    20%  { opacity: 0; transform: scale(1);    filter: blur(0);   }
    100% { opacity: 0; transform: scale(1);    filter: blur(0);   }
}

/* Counter top-right — "● 10 poze ai" */
.vhs-photo-counter {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 8px;
    background: rgba(8, 8, 13, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 100px;
    font-family: var(--font-body, system-ui);
    font-size: 0.68rem;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 18px rgba(251, 191, 36, 0.18);
}
.vhs-photo-counter-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px 2px rgba(251, 191, 36, 0.65);
    animation: vhsCounterPulse 0.9s ease-in-out infinite;
}
@keyframes vhsCounterPulse {
    0%, 100% { opacity: 0.45; transform: scale(0.75); }
    50%      { opacity: 1;    transform: scale(1.15); }
}
.vhs-photo-counter-num {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.vhs-photo-counter-label {
    font-weight: 700;
    text-transform: lowercase;
    opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════
   RIGHT CARD — PIPELINE AI (Link → AI → Clip)
   ═══════════════════════════════════════════════════════════════ */
.vhs-pipeline {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 56px 14px 86px;
    background:
        radial-gradient(circle at 50% 35%, rgba(101, 214, 158, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #0e1018 0%, #07070d 60%, #0a0a13 100%);
}

.vhs-pipe-stage {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    max-width: 240px;
}
.vhs-pipe-stage--ai {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

/* Mini icons (TikTok / Check) */
.vhs-pipe-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}
.vhs-pipe-icon--tt {
    background: linear-gradient(135deg, #ff0050 0%, #25f4ee 100%);
    box-shadow: 0 4px 14px rgba(255, 0, 80, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.vhs-pipe-icon--check {
    background: linear-gradient(135deg, #7de0a8, #34d399);
    color: #052e1a;
    box-shadow: 0 4px 14px rgba(101, 214, 158, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    animation: vhsCheckBloom 4.8s ease-in-out infinite;
}
@keyframes vhsCheckBloom {
    0%, 60%, 100% { transform: scale(1);    box-shadow: 0 4px 14px rgba(101,214,158,0.45); }
    72%           { transform: scale(1.18); box-shadow: 0 4px 28px rgba(101,214,158,0.85); }
}

/* Bubble — URL & output */
.vhs-pipe-bubble {
    flex: 1;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 7px 11px;
    font-family: var(--font-body, system-ui);
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.vhs-pipe-bubble--out {
    background: rgba(101, 214, 158, 0.08);
    border-color: rgba(101, 214, 158, 0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 20px rgba(101,214,158,0.12);
}
.vhs-pipe-url {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: -0.01em;
}
.vhs-pipe-caret {
    display: inline-block;
    width: 1.5px; height: 0.85em;
    background: #65d69e;
    vertical-align: middle;
    margin-left: 3px;
    animation: vhsCaretBlink 0.7s steps(2) infinite;
}
@keyframes vhsCaretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.vhs-pipe-out-text {
    color: #65d69e;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}

/* Connector pipe with traveling dots */
.vhs-pipe-line {
    position: relative;
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg,
        rgba(101, 214, 158, 0.04) 0%,
        rgba(101, 214, 158, 0.3) 50%,
        rgba(101, 214, 158, 0.04) 100%);
    border-radius: 100px;
    overflow: visible;
}
.vhs-pipe-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #65d69e;
    box-shadow: 0 0 10px 2px rgba(101, 214, 158, 0.65);
    top: -8px;
    opacity: 0;
    animation: vhsPipeFlow 2.4s ease-in-out infinite;
}
.vhs-pipe-dot:nth-child(2) { animation-delay: 0.4s; }
.vhs-pipe-dot:nth-child(3) { animation-delay: 0.8s; }
.vhs-pipe-line--delay .vhs-pipe-dot:nth-child(1) { animation-delay: 1.2s; }
.vhs-pipe-line--delay .vhs-pipe-dot:nth-child(2) { animation-delay: 1.6s; }
.vhs-pipe-line--delay .vhs-pipe-dot:nth-child(3) { animation-delay: 2.0s; }
@keyframes vhsPipeFlow {
    0%   { top: -8px;          opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: calc(100% + 4px); opacity: 0; }
}

/* AI Core — center stage chip */
.vhs-pipe-core {
    position: relative;
    width: 52px; height: 52px;
    border-radius: 13px;
    background:
        radial-gradient(circle at 30% 25%, rgba(101, 214, 158, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(101, 214, 158, 0.15), rgba(101, 214, 158, 0.04));
    border: 1px solid rgba(101, 214, 158, 0.38);
    display: flex; align-items: center; justify-content: center;
    color: #7de0a8;
    font-size: 1.15rem;
    box-shadow:
        0 0 28px rgba(101, 214, 158, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.vhs-pipe-core i {
    position: relative; z-index: 2;
    animation: vhsCorePulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(101, 214, 158, 0.7));
}
@keyframes vhsCorePulse {
    0%, 100% { transform: scale(1);    opacity: 0.85; }
    50%      { transform: scale(1.18); opacity: 1; }
}
.vhs-pipe-orbit {
    position: absolute;
    inset: -5px;
    border-radius: 16px;
    border: 1px dashed rgba(101, 214, 158, 0.5);
    animation: vhsOrbitSpin 5s linear infinite;
    pointer-events: none;
}
@keyframes vhsOrbitSpin { to { transform: rotate(360deg); } }

.vhs-pipe-label {
    font-family: var(--font-body, system-ui);
    font-size: 0.6rem;
    font-weight: 900;
    color: #65d69e;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-shadow: 0 0 12px rgba(101, 214, 158, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   CLICK INTERACTIONS — side cards
   ═══════════════════════════════════════════════════════════════ */
.vhs-card--left,
.vhs-card--right { cursor: pointer; }
.vhs-card--center { cursor: default; }

.vhs-card[role="button"]:focus-visible {
    outline: 2px solid #65d69e;
    outline-offset: 4px;
    border-radius: inherit;
}

/* Hide tenx + speed-pill + ring când video card iese din center */
.vhs-card:not(.vhs-card--center) .vhs-tenx,
.vhs-card:not(.vhs-card--center) .vhs-ring,
.vhs-card:not(.vhs-card--center) .vhs-speed-pill {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
.vhs-card .vhs-tenx,
.vhs-card .vhs-ring,
.vhs-card .vhs-speed-pill {
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    .vhs-ring,
    .vhs-tenx,
    .vhs-speed-pill,
    .vhs-speed-pill i,
    .vhs-photo,
    .vhs-photo-counter-dot,
    .vhs-pipe-dot,
    .vhs-pipe-core i,
    .vhs-pipe-orbit,
    .vhs-pipe-icon--check,
    .vhs-pipe-caret,
    .vhs-wrapper::before { animation: none; }
    .vhs-photo:nth-child(1) { opacity: 1; }
    .vhs-card,
    .vhs-video { transition: none; }
}
/* ── POINTER EVENTS FIX — toate elementele decorative din interior
   nu interceptează click-urile, doar .vhs-card le primește ────── */
.vhs-card--left .vhs-card-inner,
.vhs-card--right .vhs-card-inner,
.vhs-card--left .vhs-badge,
.vhs-card--right .vhs-badge,
.vhs-card--left .vhs-card-footer,
.vhs-card--right .vhs-card-footer,
.vhs-card--left .vhs-photo-counter,
.vhs-card--right .vhs-photo-counter,
.vhs-pipeline,
.vhs-pipe-stage,
.vhs-pipe-line,
.vhs-pipe-bubble,
.vhs-pipe-core,
.vhs-pipe-orbit,
.vhs-pipe-dot,
.vhs-pipe-label,
.vhs-pipe-icon,
.vhs-pipe-url,
.vhs-pipe-caret,
.vhs-pipe-out-text {
    pointer-events: none;
}