/* LGNDRY Banner Slider — pixel-matched to live Revolution Slider (slider 9) */

.lgbs-slider {
    --lgbs-gw: 1240px;
    --lgbs-gh: 900px;
    --lgbs-scale: 1;
    --lgbs-figure-x: 50px;
    --lgbs-figure-y: 50px;
    --lgbs-figure-w: 1377px;
    --lgbs-figure-h: 925px;
    --lgbs-logo-x: 854px;
    --lgbs-logo-y: 287px;
    --lgbs-logo-w: 332px;
    --lgbs-logo-h: 332px;
    --lgbs-text-x: 545px;
    --lgbs-text-y: 299px;
    --lgbs-text-s: 56px;
    --lgbs-text-lh: 41px;
    --lgbs-word-x: 549px;
    --lgbs-word-y: 355px;
    --lgbs-word-w: 459px;
    --lgbs-word-h: 86px;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: calc(var(--lgbs-gh) * var(--lgbs-scale));
    max-height: 100svh;
    overflow: hidden;
    background: #0a0518;
    color: #fff;
    box-sizing: border-box;
    opacity: 0;
}

.lgbs-slider.lgbs-is-ready {
    opacity: 1;
    transition: opacity 0.18s ease;
}

.wpb_wrapper > .lgbs-slider {
    margin-bottom: 0;
}

.page_content_wrap:has(.lgbs-slider),
.page_content_wrap .content_wrap:has(.lgbs-slider),
.page_content_wrap .content:has(.lgbs-slider),
.entry-content:has(.lgbs-slider),
.vc_row:has(.lgbs-slider),
.wpb_column:has(.lgbs-slider),
.vc_column-inner:has(.lgbs-slider),
.wpb_wrapper:has(.lgbs-slider) {
    overflow: visible !important;
}

.vc_row:has(.lgbs-slider),
.vc_column-inner:has(.lgbs-slider),
.wpb_wrapper:has(.lgbs-slider) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:has(.lgbs-slider) {
    overflow-x: hidden;
}

.lgbs-track,
.lgbs-slide {
    position: absolute;
    inset: 0;
}

.lgbs-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
    z-index: 1;
}

.lgbs-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Scaled RS stage — layers use the live slider's pixel positions */
.lgbs-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--lgbs-gw);
    height: var(--lgbs-gh);
    transform: scale(var(--lgbs-scale));
    transform-origin: top left;
}

.lgbs-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lgbs-slider img {
    max-width: none !important;
    max-height: none !important;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.lgbs-bg-img,
.lgbs-video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
}

.lgbs-dim {
    position: absolute;
    inset: 0;
    background: rgba(16, 7, 38, 0.45);
    z-index: 2;
}

.lgbs-figure {
    display: none;
    position: absolute;
    left: var(--lgbs-figure-x);
    top: var(--lgbs-figure-y);
    width: var(--lgbs-figure-w);
    height: var(--lgbs-figure-h, auto);
    z-index: 6;
    pointer-events: none;
}

.lgbs-figure img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
}

.lgbs-slide.is-active .lgbs-figure {
    animation: lgbs-girl-in 1s ease 0.59s both;
}

.lgbs-slide.is-active .lgbs-figure img {
    animation: lgbs-float 2s ease-in-out 1.59s infinite alternate;
}

@keyframes lgbs-girl-in {
    from { transform: translate3d(-100%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@keyframes lgbs-float {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, 40px, 0); }
}

.lgbs-brand {
    display: contents;
}

.lgbs-copy {
    position: absolute;
    left: var(--lgbs-text-x);
    top: var(--lgbs-text-y);
    z-index: 7;
}

.lgbs-headline {
    position: relative;
    left: auto;
    top: auto;
    z-index: 7;
    margin: 0;
    padding: 0;
    font-family: Montserrat, Raleway, sans-serif;
    font-weight: 300;
    font-size: var(--lgbs-text-s);
    line-height: var(--lgbs-text-lh);
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
}

.lgbs-slider.is-center-text .lgbs-copy {
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    text-align: center;
}

.lgbs-slider.is-center-text .lgbs-wordmark,
.lgbs-slider.is-center-text .lgbs-badge {
    left: 50%;
    transform: translateX(-50%);
}

.lgbs-wordmark {
    position: relative;
    left: auto;
    top: auto;
    width: var(--lgbs-word-w);
    height: var(--lgbs-word-h, auto);
    z-index: 10;
    margin-top: 8px;
}

.lgbs-wordmark img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: left center;
}

.lgbs-badge {
    position: absolute;
    left: var(--lgbs-logo-x);
    top: var(--lgbs-logo-y);
    width: var(--lgbs-logo-w);
    height: var(--lgbs-logo-h, auto);
    z-index: 9;
}

.lgbs-badge img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.lgbs-actions {
    position: absolute;
    left: var(--lgbs-text-x);
    top: calc(var(--lgbs-word-y) + 100px);
    z-index: 11;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lgbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 28px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lgbs-btn--primary {
    background: #b803bc;
    color: #fff;
}

.lgbs-btn--primary:hover {
    background: #9a03a0;
    color: #fff;
}

.lgbs-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid currentColor;
}

/* Same bottom fade as theme .rev_slider_wrapper:after */
.lgbs-has-fade::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 236px;
    background: linear-gradient(to top, #100726, rgba(0, 0, 0, 0));
    z-index: 20;
    pointer-events: none;
}

.lgbs-slider .lgbs-arrow,
.lgbs-slider .lgbs-arrow:hover,
.lgbs-slider .lgbs-arrow:focus,
.lgbs-slider .lgbs-arrow:active,
.lgbs-slider .lgbs-arrow[class*="sc_button_hover_"] {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 48px;
    height: 48px;
    min-width: 0;
    min-height: 0;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    overflow: visible !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    transform: translateY(-50%);
}

.lgbs-slider .lgbs-arrow::before,
.lgbs-slider .lgbs-arrow::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.lgbs-prev { left: 16px; }
.lgbs-next { right: 16px; }

.lgbs-arrow span {
    display: block;
    width: 16px;
    height: 16px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.lgbs-prev span { transform: rotate(-135deg); margin-left: 12px; }
.lgbs-next span { transform: rotate(45deg); margin-left: 8px; }

.lgbs-dots,
.lgbs-dot {
    display: none !important;
}

/* Desktop: match the live wide photo banner (girl in photo, stacked copy, no hex logo) */
@media (min-width: 1024px) {
    .lgbs-slider,
    .lgbs-slider.lgbs-desktop-hero {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        aspect-ratio: 1600 / 784;
        max-height: 100svh;
    }

    .lgbs-slider .lgbs-stage,
    .lgbs-slider.lgbs-desktop-hero .lgbs-stage {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .lgbs-slider .lgbs-figure,
    .lgbs-slider .lgbs-badge,
    .lgbs-slider.lgbs-desktop-hero .lgbs-figure,
    .lgbs-slider.lgbs-desktop-hero .lgbs-badge {
        display: none !important;
    }

    .lgbs-slider .lgbs-bg-img,
    .lgbs-slider.lgbs-desktop-hero .lgbs-bg-img {
        object-fit: cover;
        object-position: center center;
    }

    .lgbs-slider .lgbs-copy,
    .lgbs-slider.lgbs-desktop-hero .lgbs-copy {
        left: 42%;
        top: 48%;
        transform: translateY(-50%);
        text-align: left;
        width: auto;
        max-width: 52%;
    }

    .lgbs-slider .lgbs-headline,
    .lgbs-slider.lgbs-desktop-hero .lgbs-headline {
        font-size: clamp(22px, 2.4vw, 42px);
        line-height: 1.15;
        font-weight: 400;
        letter-spacing: 0.14em;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(44px);
    }

    .lgbs-slider .lgbs-wordmark,
    .lgbs-slider.lgbs-desktop-hero .lgbs-wordmark {
        width: min(38vw, 520px);
        height: auto;
        margin: 8px 0 0;
        opacity: 0;
        transform: translateX(50px);
    }

    .lgbs-slider .lgbs-wordmark img,
    .lgbs-slider.lgbs-desktop-hero .lgbs-wordmark img {
        height: auto !important;
        object-position: left center;
    }

    .lgbs-slider .lgbs-bg-img,
    .lgbs-slider.lgbs-desktop-hero .lgbs-bg-img {
        opacity: 0;
    }

    .lgbs-slider.lgbs-is-ready .lgbs-slide.is-active .lgbs-bg-img {
        animation: lgbs-fade-in 1s ease forwards;
    }

    .lgbs-slider.lgbs-is-ready .lgbs-slide.is-active .lgbs-headline {
        animation: lgbs-slide-in 1s ease forwards;
    }

    .lgbs-slider.lgbs-is-ready .lgbs-slide.is-active .lgbs-wordmark {
        animation: lgbs-slide-in 1s ease 0.26s forwards;
    }

    .lgbs-slider .lgbs-actions,
    .lgbs-slider.lgbs-desktop-hero .lgbs-actions {
        left: 42%;
        top: auto;
        bottom: 18%;
        transform: none;
        justify-content: flex-start;
    }
}

@keyframes lgbs-slide-in {
    from {
        opacity: 0;
        transform: translateX(44px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lgbs-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile: live RS layout — girl slides in from the left, then floats */
@media (max-width: 1023px) {
    .lgbs-slider {
        width: 100vw;
        max-width: 100vw;
        height: calc(100vw * 720 / 480);
        max-height: 100svh;
        min-height: 0;
        background: #070312;
    }

    .lgbs-slider .lgbs-stage {
        position: absolute;
        left: 0;
        top: 0;
        width: var(--lgbs-gw);
        height: var(--lgbs-gh);
        transform: scale(var(--lgbs-scale));
        transform-origin: top left;
        overflow: visible;
    }

    .lgbs-slider .lgbs-slide:not(.lgbs-slide--video) .lgbs-bg-img {
        object-fit: cover;
        object-position: center center;
        filter: saturate(1.18) contrast(1.1);
    }

    .lgbs-slider .lgbs-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        pointer-events: none;
        background:
            linear-gradient(155deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 58%),
            linear-gradient(210deg, rgba(255, 255, 255, 0.16) 0%, transparent 36%);
        mix-blend-mode: screen;
    }

    .lgbs-slider .lgbs-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 4;
        pointer-events: none;
        background:
            radial-gradient(ellipse at 70% 30%, rgba(120, 60, 210, 0.2), transparent 50%),
            linear-gradient(to top, #070312 0%, rgba(16, 7, 38, 0.7) 16%, transparent 50%);
    }

    .lgbs-slider .lgbs-figure {
        display: block !important;
        left: var(--lgbs-figure-x);
        top: var(--lgbs-figure-y);
        width: var(--lgbs-figure-w);
        height: var(--lgbs-figure-h);
        overflow: visible;
        z-index: 6;
        pointer-events: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .lgbs-slider .lgbs-figure img {
        position: relative;
        left: auto;
        top: auto;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: fill;
        object-position: center center;
        filter: saturate(1.12) contrast(1.06);
    }

    /* Logo + MAKE YOUR NIGHT + LGNDRY as one stacked group, matching live */
    .lgbs-slider.lgbs-mobile-hero .lgbs-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: var(--lgbs-word-x);
        top: var(--lgbs-logo-y);
        width: var(--lgbs-word-w);
        z-index: 12;
        text-align: center;
    }

    .lgbs-slider.lgbs-mobile-hero .lgbs-badge {
        position: relative;
        left: auto;
        top: auto;
        width: var(--lgbs-logo-w);
        height: var(--lgbs-logo-h);
        margin: 0 auto 8px;
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
    }

    .lgbs-slider.lgbs-mobile-hero .lgbs-copy {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
    }

    .lgbs-slider.lgbs-mobile-hero .lgbs-headline {
        font-size: var(--lgbs-text-s);
        line-height: 1.15;
        font-weight: 300;
        letter-spacing: 0.04em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    }

    .lgbs-slider.lgbs-mobile-hero .lgbs-wordmark {
        width: 100%;
        height: var(--lgbs-word-h);
        margin: 4px auto 0;
        filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
    }

    .lgbs-slider.lgbs-mobile-hero .lgbs-wordmark img {
        object-position: center center;
        height: auto !important;
    }

    .lgbs-slider.lgbs-has-fade::after {
        height: 38%;
        background: linear-gradient(to top, #070312 0%, rgba(7, 3, 18, 0.8) 30%, transparent 100%);
    }

    .lgbs-slider.lgbs-has-fade:has(.lgbs-slide--video.is-active)::after {
        display: none;
    }

    .lgbs-slide--video .lgbs-bg::before,
    .lgbs-slide--video .lgbs-bg::after {
        display: none !important;
    }

    .lgbs-slide--video .lgbs-cover,
    .lgbs-slide--video .lgbs-cover img,
    .lgbs-slide--video .lgbs-cover__img,
    .lgbs-slide--video .lgbs-video {
        object-fit: cover !important;
        object-position: center center !important;
    }

    .lgbs-slide--video .lgbs-cta {
        top: 67%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 32px);
        max-width: 360px;
        gap: 8px;
    }

    .lgbs-slide--video .lgbs-cta__btn {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lgbs-slide,
    .lgbs-slide.is-active .lgbs-figure,
    .lgbs-slide.is-active .lgbs-figure img {
        animation: none;
        transition: none;
    }
}

/* Video event slide */
.lgbs-slide--video .lgbs-figure,
.lgbs-slide--video .lgbs-brand {
    display: none !important;
}

.lgbs-slide--video .lgbs-stage,
.lgbs-slide--video .lgbs-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    overflow: hidden;
}

.lgbs-cover {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.lgbs-cover img,
.lgbs-cover__img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.lgbs-cover--mobile {
    display: none;
}

.lgbs-slider .mejs-container,
.lgbs-slider .mejs-video,
.lgbs-slider .mejs-controls {
    display: none !important;
}

.lgbs-slider video.lgbs-video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 2;
    background: transparent;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: block;
}

.lgbs-slider video.lgbs-video.is-ready {
    opacity: 1;
}

.lgbs-video.is-failed {
    display: none !important;
}

.lgbs-slider .lgbs-video--desktop {
    display: block;
}

.lgbs-slider .lgbs-video--mobile {
    display: none;
}

.lgbs-loader {
    position: absolute;
    inset: 0;
    z-index: 18;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(7, 3, 18, 0.22);
}

.lgbs-slide.is-loading .lgbs-loader {
    display: flex;
}

.lgbs-loader__spin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: 0;
    border: 3px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: lgbs-spin 0.7s linear infinite;
}

@keyframes lgbs-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lgbs-video--mobile {
    display: none;
}

.lgbs-cta {
    position: absolute;
    left: 50%;
    top: 69%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 22px);
    z-index: 25;
    width: min(44vw, 580px);
}

.lgbs-cta__btn {
    flex: 1 1 0;
    max-width: 280px;
    line-height: 0;
}

.lgbs-cta__btn img {
    display: block;
    width: 100%;
    height: auto;
}

.lgbs-slide--video.is-active .lgbs-cta {
    animation: lgbs-fade-in 0.8s ease 0.4s both;
}

@media (max-width: 1023px) {
    .lgbs-cover--desktop {
        display: none;
    }

    .lgbs-cover--mobile {
        display: block;
    }

    .lgbs-slider .lgbs-video--desktop {
        display: none !important;
    }

    .lgbs-slider .lgbs-video--mobile {
        display: block !important;
    }

    .lgbs-cta {
        top: 67%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 32px);
        max-width: 360px;
        gap: 8px;
    }
}

@media (min-width: 1024px) {
    .lgbs-slider .lgbs-video--desktop {
        display: block !important;
    }

    .lgbs-slider .lgbs-video--mobile {
        display: none !important;
    }

    .lgbs-slide--video .lgbs-cta {
        display: flex !important;
    }
}
