/* ========================================================
   CLYVORN — HOME PAGE HERO VIDEO SHOWCASE & STYLES
   ======================================================== */

/* Ensure cards clip the video neatly */
.hero-reel,
.hero-stack-top,
.hero-stack-bottom .ui-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    padding: 0 !important;
}

/* Background looping video element — NO hover zoom, scale, or filter */
.hero-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background-color: var(--panel);
}

/* Subtle dark overlay: keeps card gently dimmed by default, disappears completely on cursor hover */
.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.06) 0%, rgba(5, 7, 11, 0.28) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    opacity: 1;
    transition: opacity 250ms ease;
}

/* On hover: overlay disappears completely, pure video shows with NO other animation */
.ui-card.focus-video-trigger:hover .hero-card-overlay {
    opacity: 0;
}

/* Foreground content: small, simple single line anchored in bottom left */
.hero-card-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    text-align: left;
}

/* Small simple line in the bottom left */
.hero-card-tag {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    text-shadow: none !important;
    display: inline-block;
    line-height: 1.2;
}

/* Modal video player element */
.modal-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #000;
    display: block;
}

.mode-vertical .modal-video-element {
    aspect-ratio: 9 / 16;
}

.mode-widescreen .modal-video-element {
    aspect-ratio: 16 / 9;
}
