
.elurne-section.elurne-video-exact {
    position: relative;
    width: 100%;
    min-height: var(--elurne-height, 760px);
    height: var(--elurne-height, 760px);
    overflow: hidden;
    isolation: isolate;
    background: var(--elurne-bg, #130f0b);
    color: var(--elurne-text, #fff);
}

.elurne-video-exact,
.elurne-video-exact * {
    box-sizing: border-box;
}

.elurne-exact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--elurne-hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    opacity: 0;
    animation: elurneExactBgIn 1.35s cubic-bezier(.22,.9,.24,1) forwards;
    will-change: transform, opacity, filter;
}

.elurne-exact-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.44) 24%, rgba(0,0,0,.20) 54%, rgba(0,0,0,.58) 100%),
        linear-gradient(0deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.14) 36%, rgba(0,0,0,.22) 100%),
        radial-gradient(circle at 34% 50%, rgba(0,0,0,.08), rgba(0,0,0,.56) 82%);
}

.elurne-exact-content {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 72px));
    height: 100%;
    margin: 0 auto;
}

.elurne-exact-copy {
    position: absolute;
    left: clamp(20px, 3vw, 56px);
    top: 48%;
    transform: translateY(-44%) translateX(-32px);
    width: min(690px, 54vw);
    opacity: 0;
    filter: blur(8px);
    animation: elurneExactCopyIn 1.05s cubic-bezier(.22,.9,.24,1) .18s forwards;
}

.elurne-exact-copy h2 {
    margin: 0;
    color: var(--elurne-text, #fff);
    font-family: var(--lumana-header-font);
    font-size: clamp(58px, 7vw, var(--elurne-title-size, 86px));
    line-height: .98;
    font-weight: 300;
    /*letter-spacing: -.055em;*/
    text-shadow: 0 24px 52px rgba(0,0,0,.32);
}

.elurne-exact-copy h2 em {
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.065em;
}

.elurne-exact-copy p {
    margin: 24px 0 0;
    color: var(--elurne-muted, rgba(255,255,255,.82));
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(17px, 1.45vw, 25px);
    line-height: 1.42;
    font-weight: 500;
    max-width: 570px;
    text-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.elurne-exact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    min-width: 178px;
    justify-content: center;
    padding: 19px 31px;
    border-radius: 999px;
    color: #151515;
    background: rgba(255,255,255,.94);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 22px 52px rgba(0,0,0,.28);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.elurne-exact-btn:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 28px 62px rgba(0,0,0,.34);
}

.elurne-exact-btn span {
    font-size: 24px;
    line-height: 1;
}

/* The stat line and thumbnails are now inside the same preview block */
.elurne-exact-preview-panel {
    position: absolute;
    z-index: 6;
    right: clamp(28px, 5vw, 92px);
    bottom: clamp(36px, 7vh, 70px);
    width: min(449px, 30vw);
    max-width: calc(100% - 520px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(36px);
    animation: elurneExactSoftIn .9s cubic-bezier(.22,.9,.24,1) .72s forwards;
}

.elurne-exact-stat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--elurne-text, #fff);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.elurne-exact-stat span {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}

.elurne-exact-stat strong {
    font-size: clamp(0px, 2.3vw, 20px);
    line-height: 1.05;
    font-weight: 300;
    /*letter-spacing: -.035em;*/
    text-shadow: 0 15px 35px rgba(0,0,0,.4);
    white-space: nowrap;
}

.elurne-exact-gallery {
    width: 100%;
    overflow: hidden;
}

.elurne-exact-track {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    transform: translateX(var(--elurne-track-x, 0px));
    transition: transform .8s cubic-bezier(.22,.9,.24,1);
    will-change: transform;
    
}

.elurne-exact-thumb {
    flex: 0 0 clamp(100px, 14vw, 115px);
    width: clamp(155px, 14vw, 215px);
    height: clamp(118px, 11vw, 140px);
    padding: 0;
    border: 0;
    border-radius: var(--elurne-radius, 12px);
    overflow: hidden;
    background: rgba(255,255,255,.08);
    cursor: pointer;
    opacity: .82;
    transform: translateY(0) scale(.98);
    box-shadow: 0 18px 42px rgba(0,0,0,.32);
    transition:
        transform .55s cubic-bezier(.22,.9,.24,1),
        opacity .35s ease,
        box-shadow .35s ease;
}

.elurne-exact-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.22,.9,.24,1), filter .35s ease;
}

.elurne-exact-thumb.is-active {
    opacity: 1;
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 26px 58px rgba(0,0,0,.42);
}

.elurne-exact-thumb.is-active img {
    transform: scale(1.08);
}

.elurne-section.is-motion .elurne-exact-bg {
    animation: elurneExactBgIn 1.35s cubic-bezier(.22,.9,.24,1) forwards, elurneExactBgFloat 10s ease-in-out 1.4s infinite;
}

@keyframes elurneExactBgIn {
    from {
        opacity: 0;
        transform: scale(1.12);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: scale(1.04);
        filter: blur(0);
    }
}

@keyframes elurneExactBgFloat {
    0%, 100% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.065) translate3d(-10px, -5px, 0);
    }
}

@keyframes elurneExactCopyIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(-44%) translateX(0);
    }
}

@keyframes elurneExactSoftIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .elurne-exact-preview-panel {
        width: min(620px, 54vw);
        max-width: calc(100% - 430px);
    }

    .elurne-exact-thumb {
        flex-basis: 170px;
        width: 170px;
        height: 128px;
    }

    .elurne-exact-stat strong {
        font-size: 25px;
    }
}

@media (max-width: 980px) {
    .elurne-section.elurne-video-exact {
        min-height: max(700px, var(--elurne-height, 760px));
        height: max(700px, var(--elurne-height, 760px));
    }

    .elurne-exact-content {
        width: calc(100% - 40px);
    }

    .elurne-exact-copy {
        width: min(620px, 66vw);
        left: 18px;
    }

    .elurne-exact-copy h2 {
        font-size: clamp(54px, 9vw, 82px);
    }

    .elurne-exact-preview-panel {
        right: 20px;
        width: min(520px, 52vw);
        max-width: calc(100% - 360px);
    }

    .elurne-exact-thumb {
        flex-basis: 150px;
        width: 150px;
        height: 112px;
    }

    .elurne-exact-stat strong {
        font-size: 22px;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .elurne-section.elurne-video-exact {
        min-height: 760px;
        height: 760px;
    }

    .elurne-exact-content {
        width: calc(100% - 28px);
    }

    .elurne-exact-vignette {
        background:
            linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 52%, rgba(0,0,0,.62) 100%),
            linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.12) 44%, rgba(0,0,0,.22) 100%);
    }

    .elurne-exact-copy {
        left: 0;
        top: 36%;
        width: calc(100% - 18px);
    }

    .elurne-exact-copy h2 {
        font-size: clamp(45px, 13.5vw, 66px);
        line-height: .98;
    }

    .elurne-exact-copy p {
        margin-top: 18px;
        font-size: 16px;
        max-width: 330px;
    }

    .elurne-exact-btn {
        margin-top: 24px;
        min-width: 150px;
        padding: 15px 24px;
        font-size: 18px;
    }

    .elurne-exact-preview-panel {
        left: 0;
        right: auto;
        bottom: 34px;
        width: calc(100% + 86px);
        max-width: none;
    }

    .elurne-exact-stat {
        margin-bottom: 14px;
        gap: 9px;
    }

    .elurne-exact-stat span {
        font-size: 20px;
    }

    .elurne-exact-stat strong {
        font-size: 18px;
        line-height: 1.15;
        white-space: normal;
        max-width: 330px;
    }

    .elurne-exact-track {
        gap: 12px;
    }

    .elurne-exact-thumb {
        flex-basis: 126px;
        width: 126px;
        height: 94px;
        border-radius: 12px;
    }
}


/* Infinite visible loop reset: no animation during invisible reset from cloned first item to real first item */
.elurne-exact-track.is-resetting {
    transition: none !important;
}
