/* L(+) Lift — плавающее видео-попап (как stories) */

.llift-promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    pointer-events: none;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.llift-promo-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.llift-promo-modal {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 10051;
    width: min(280px, calc(100vw - 32px));
    pointer-events: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.3s ease, width 0.3s ease, max-height 0.3s ease;
}

.llift-promo-overlay.is-visible .llift-promo-modal {
    transform: translateY(0) scale(1);
}

.llift-promo-modal.is-expanded {
    width: min(360px, calc(100vw - 32px));
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
}

.llift-promo-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: min(78vh, 520px);
    background: #111;
    cursor: pointer;
}

.llift-promo-modal.is-expanded .llift-promo-video-wrap {
    max-height: min(82vh, 640px);
}

.llift-promo-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.llift-promo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    background: #9765ED;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.2s;
}

.llift-promo-cta:hover {
    background: #7d4fc7;
    color: #fff !important;
}

@media (max-width: 520px) {
    .llift-promo-modal {
        left: 12px;
        bottom: 12px;
        width: min(200px, calc(100vw - 24px));
    }

    .llift-promo-modal.is-expanded {
        width: min(280px, calc(100vw - 24px));
    }

    .llift-promo-video-wrap {
        max-height: min(60vh, 420px);
    }

    .llift-promo-cta {
        min-height: 42px;
        font-size: 13px;
    }
}
