:root {

    --sns-banner-accent: #b8ff5c;

    --sns-banner-white: #ffffff;

    --sns-banner-dark: #08110e;

}


/* =========================================
   RESET
========================================= */

.sns-banner-hero,
.sns-banner-hero * {

    box-sizing: border-box;

}


/* =========================================
   MAIN BANNER - DESKTOP
========================================= */

.sns-banner-hero {

    position: relative;

    isolation: isolate;

    min-height: 680px;

    height: 100vh;

    max-height: 850px;

    overflow: hidden;

    background: #17271f;

    color:
        var(--sns-banner-white);

}


/* =========================================
   CAROUSEL WRAPPER - DESKTOP
========================================= */

.sns-banner-carousel {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: -3;

    overflow: hidden;

}


/* =========================================
   SLIDES
========================================= */

.sns-banner-slide {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    opacity: 0;

    transform: scale(1.08);

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    transition:
        opacity 1s ease,
        transform 7s ease;

}


/* =========================================
   ACTIVE SLIDE
========================================= */

.sns-banner-slide.sns-banner-active {

    opacity: 1;

    transform: scale(1);

}


/* =========================================
   DARK OVERLAY
========================================= */

.sns-banner-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,
            rgba(2, 12, 8, 0.86) 0%,
            rgba(2, 12, 8, 0.62) 35%,
            rgba(2, 12, 8, 0.16) 72%,
            rgba(2, 12, 8, 0.04) 100%
        ),

        linear-gradient(
            0deg,
            rgba(2, 12, 8, 0.65),
            transparent 45%
        );

}


/* =========================================
   GRID OVERLAY
========================================= */

.sns-banner-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:

        linear-gradient(
            to bottom,
            transparent,
            black,
            transparent
        );

}


/* =========================================
   CONTENT CONTAINER
========================================= */

.sns-banner-inner {

    width:
        min(
            1180px,
            calc(100% - 48px)
        );

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    position: relative;

    z-index: 2;

}


/* =========================================
   CONTENT PANEL
========================================= */

.sns-banner-content-panel {

    width:
        min(
            580px,
            100%
        );

    padding: 36px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.2
        );

    border-radius: 28px;

    background:
        rgba(
            8,
            17,
            14,
            0.34
        );

    backdrop-filter:
        blur(-12px);

    -webkit-backdrop-filter:
        blur(-12px);

    box-shadow:
        0 20px 70px
        rgba(
            0,
            0,
            0,
            0.25
        );

    animation:
        snsBannerPanelIn
        0.8s ease both;

}


/* =========================================
   EYEBROW
========================================= */

.sns-banner-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--sns-banner-accent);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 20px;

}


.sns-banner-eyebrow::before {

    content: "";

    width: 28px;

    height: 2px;

    flex-shrink: 0;

    background:
        var(--sns-banner-accent);

}


/* =========================================
   TITLE
========================================= */

.sns-banner-title {

    max-width: 530px;

    font-size:
        clamp(
            42px,
            6vw,
            60px
        );

    line-height: 0.98;

    letter-spacing: -4px;

    margin:
        0 0 24px;

    color: #ffffff;

}


/* =========================================
   DESCRIPTION
========================================= */

.sns-banner-description {

    max-width: 470px;

    color:
        rgba(
            255,
            255,
            255,
            0.76
        );

    font-size: 17px;

    line-height: 1.7;

    margin:
        0 0 30px;

}


/* =========================================
   BUTTONS
========================================= */

.sns-banner-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.sns-banner-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    border: 0;

    border-radius: 999px;

    padding: 15px 22px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;

    transition: 0.3s ease;

}


/* =========================================
   PRIMARY BUTTON
========================================= */

.sns-banner-btn-primary {

    color:
        var(--sns-banner-dark);

    background:
        var(--sns-banner-accent);

}


.sns-banner-btn-primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(
            184,
            255,
            92,
            0.3
        );

}


/* =========================================
   OUTLINE BUTTON
========================================= */

.sns-banner-btn-outline {

    color:
        var(--sns-banner-white);

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.35
        );

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

}


.sns-banner-btn-outline:hover {

    background:
        rgba(
            255,
            255,
            255,
            0.18
        );

}


/* =========================================
   FLOATING LABEL
========================================= */

.sns-banner-floating-label {

    position: absolute;

    right: 7%;

    bottom: 19%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        13px 17px;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.28
        );

    border-radius: 999px;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    backdrop-filter:
        blur(10px);

    animation:
        snsBannerFloat
        4s ease-in-out infinite;

}


.sns-banner-floating-label span {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background:
        var(--sns-banner-accent);

    box-shadow:
        0 0 15px
        var(--sns-banner-accent);

}


/* =========================================
   CAROUSEL CONTROLS - DESKTOP
========================================= */

.sns-banner-carousel-controls {

    position: absolute;

    left: 50%;

    bottom: 42px;

    width:
        min(
            1180px,
            calc(100% - 48px)
        );

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 5;

}


/* =========================================
   ARROWS
========================================= */

.sns-banner-arrow-buttons {

    display: flex;

    gap: 10px;

}


.sns-banner-arrow {

    width: 46px;

    height: 46px;

    display: grid;

    place-items: center;

    color: #ffffff;

    font-size: 22px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.3
        );

    border-radius: 50%;

    background:
        rgba(
            0,
            0,
            0,
            0.2
        );

    cursor: pointer;

    transition: 0.3s ease;

}


.sns-banner-arrow:hover {

    color:
        var(--sns-banner-dark);

    background:
        var(--sns-banner-accent);

    border-color:
        var(--sns-banner-accent);

}


/* =========================================
   DOTS
========================================= */

.sns-banner-dots {

    display: flex;

    align-items: center;

    gap: 9px;

}


.sns-banner-dot {

    width: 32px;

    height: 4px;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background:
        rgba(
            255,
            255,
            255,
            0.35
        );

    cursor: pointer;

    transition: 0.3s ease;

}


.sns-banner-dot.sns-banner-active {

    width: 60px;

    background:
        var(--sns-banner-accent);

}


/* =========================================
   PROGRESS BAR
========================================= */

.sns-banner-progress {

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 4px;

    background:
        var(--sns-banner-accent);

    box-shadow:
        0 0 15px
        var(--sns-banner-accent);

    z-index: 10;

}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes snsBannerPanelIn {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


@keyframes snsBannerFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-12px);

    }

}


/* =========================================
   MOBILE
   CONTENT ABOVE IMAGE
========================================= */

@media (max-width: 700px) {


    /* =====================================
       MAIN HERO
    ===================================== */

    .sns-banner-hero {

        min-height: 0;

        height: auto;

        max-height: none;

        overflow: hidden;

        display: flex;

        flex-direction: column;

        background: #020202;

    }


    /* =====================================
       REMOVE DESKTOP OVERLAYS
    ===================================== */

    .sns-banner-hero::before,
    .sns-banner-hero::after {

        display: none;

    }


    /* =====================================
       CONTENT
    ===================================== */

    .sns-banner-inner {

        order: 1;

        width: 100%;

        height: auto;

        min-height: 0;

        margin: 0;

        padding:
            20px
            15px
            25px;

        display: block;

    }


    /* =====================================
       CONTENT PANEL
    ===================================== */

    .sns-banner-content-panel {

        width: 100%;

        max-width: 100%;

        padding:
            25px
            20px;

        border-radius: 20px;

        border:
            1px solid
            rgba(
                255,
                255,
                255,
                0.15
            );

        background:
            #17271f;

        box-shadow: none;

        backdrop-filter: none;

        -webkit-backdrop-filter: none;

    }


    /* =====================================
       EYEBROW
    ===================================== */

    .sns-banner-eyebrow {

        font-size: 11px;

        letter-spacing: 1.5px;

        margin-bottom: 14px;

    }


    .sns-banner-eyebrow::before {

        width: 22px;

    }


    /* =====================================
       TITLE
    ===================================== */

    .sns-banner-title {

        max-width: 100%;

        font-size:
            clamp(
                34px,
                10vw,
                48px
            );

        line-height: 1.05;

        letter-spacing: -1.5px;

        margin:
            0 0 16px;

    }


    /* =====================================
       DESCRIPTION
    ===================================== */

    .sns-banner-description {

        max-width: 100%;

        font-size: 15px;

        line-height: 1.6;

        margin: 0;

    }


    /* =====================================
       BUTTONS
    ===================================== */

    .sns-banner-buttons {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 10px;

        margin-top: 20px;

    }


    .sns-banner-btn {

        width: 100%;

        justify-content: center;

        padding:
            13px
            18px;

        font-size: 14px;

    }


    /* =====================================
       CAROUSEL IMAGE
       
       THIS IS BELOW CONTENT
    ===================================== */

    .sns-banner-carousel {

        order: 2;

        position: relative;

        inset: auto;

        width: 100%;

        height: 380px;

        z-index: 1;

        overflow: hidden;

        background: #17271f;

    }


    /* =====================================
       MOBILE SLIDES
    ===================================== */

    .sns-banner-carousel
    .sns-banner-slide {

        position: absolute;

        inset: 0;

        width: 100%;

        height: 100%;

        opacity: 0;

        transform: scale(1.08);

        background-position: center;

        background-size: cover;

        background-repeat: no-repeat;

        transition:
            opacity 1s ease,
            transform 7s ease;

    }


    /* =====================================
       ACTIVE MOBILE SLIDE
    ===================================== */

    .sns-banner-carousel
    .sns-banner-slide.sns-banner-active {

        opacity: 1;

        transform: scale(1);

    }


    /* =====================================
       IMAGE OVERLAY
    ===================================== */

    .sns-banner-carousel::after {

        content: "";

        position: absolute;

        inset: 0;

        z-index: 3;

        pointer-events: none;

        background:
            linear-gradient(
                0deg,
                rgba(
                    2,
                    12,
                    8,
                    0.45
                ),
                transparent 55%
            );

    }


    /* =====================================
       CONTROLS
    ===================================== */

    .sns-banner-carousel-controls {

        order: 3;

        position: relative;

        left: auto;

        bottom: auto;

        width: 100%;

        min-height: 65px;

        padding:
            10px
            15px;

        transform: none;

        display: flex;

        align-items: center;

        justify-content: space-between;

        background: #17271f;

        z-index: 5;

    }


    /* =====================================
       MOBILE ARROWS
    ===================================== */

    .sns-banner-arrow-buttons {

        display: flex;

        gap: 8px;

    }


    .sns-banner-arrow {

        width: 40px;

        height: 40px;

        font-size: 18px;

    }


    /* =====================================
       MOBILE DOTS
    ===================================== */

    .sns-banner-dots {

        display: flex;

        align-items: center;

        gap: 6px;

    }


    .sns-banner-dot {

        width: 20px;

        height: 4px;

    }


    .sns-banner-dot.sns-banner-active {

        width: 38px;

    }


    /* =====================================
       PROGRESS
    ===================================== */

    .sns-banner-progress {

        position: relative;

        order: 4;

        left: auto;

        bottom: auto;

        width: 0;

        height: 3px;

    }


    /* =====================================
       HIDE FLOATING LABEL
    ===================================== */

    .sns-banner-floating-label {

        display: none;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {


    .sns-banner-inner {

        padding:
            15px
            12px
            20px;

    }


    .sns-banner-content-panel {

        padding:
            22px
            17px;

        border-radius: 18px;

    }


    .sns-banner-title {

        font-size: 34px;

        line-height: 1.05;

        letter-spacing: -1px;

    }


    .sns-banner-description {

        font-size: 14px;

        line-height: 1.55;

    }


    .sns-banner-carousel {

        height: 300px;

    }


    .sns-banner-carousel-controls {

        min-height: 65px;

        padding:
            10px
            12px;

    }


    .sns-banner-arrow {

        width: 36px;

        height: 36px;

        font-size: 16px;

    }


    .sns-banner-dot {

        width: 15px;

    }


    .sns-banner-dot.sns-banner-active {

        width: 30px;

    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .sns-banner-title {

        font-size: 30px;

    }


    .sns-banner-description {

        font-size: 13px;

    }


    .sns-banner-carousel {

        height: 260px;

    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .sns-banner-hero *,
    .sns-banner-hero *::before,
    .sns-banner-hero *::after {

        animation-duration:
            0.01ms !important;

        transition-duration:
            0.01ms !important;

    }

}