/* Hero VSL karaoke captions (beta-landing; loaded beside /backend/css) */

/* Portrait on mobile — do not use position:absolute (collapses the player) */
video.hero-vsl__video {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 480 / 608;
    object-fit: cover;
    display: block;
}

.hero-vsl.has-vsl-captions .hero-vsl__captions {
    position: absolute;
    left: 0;
    right: 0;
    top: 66.666%;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0.75rem 1.1rem;
    pointer-events: none;
}
.hero-vsl__caption-line {
    margin: 0;
    max-width: 94%;
    padding: 0.7rem 1rem 0.75rem;
    border-radius: 14px;
    text-align: center;
    line-height: 1.38;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.05rem, 4.2vw, 1.42rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, rgba(8, 12, 8, 0.15), rgba(8, 12, 8, 0.72));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.hero-vsl__caption-word {
    display: inline;
    color: rgba(255, 255, 255, 0.52);
    font-weight: 800;
    transition: color 0.12s ease, text-shadow 0.12s ease;
}
.hero-vsl__caption-word.is-past {
    color: rgba(255, 255, 255, 0.88);
}
.hero-vsl__caption-word.is-active {
    color: #ffe566;
    text-shadow:
        0 0 18px rgba(255, 229, 102, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.65);
}
.hero-vsl__caption-word.is-next {
    color: rgba(255, 255, 255, 0.42);
}
.hero-vsl.is-playing .hero-vsl__captions {
    padding-bottom: 0.65rem;
}
.hero-vsl__overlay {
    z-index: 3;
}
