:root{
    --np-bg:#020814;
    --np-orange:#ff7900;
    --np-green:#42d34a;
    --np-white:#f7f9fc;
    --np-muted:rgba(247,249,252,.68);
}

*{
    box-sizing:border-box;
}

html,
body{
    background:#020814 !important;
}

.np-onboarding{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    color:var(--np-white);
    background:
        radial-gradient(
            circle at 50% 33%,
            rgba(255,112,0,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 25% 72%,
            rgba(0,174,255,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 78% 72%,
            rgba(42,211,74,.13),
            transparent 30%
        ),
        linear-gradient(
            160deg,
            #061426 0%,
            #020814 55%,
            #00050b 100%
        );
}

/* =========================================
   BACKGROUND NOISE
========================================= */

.np-onboarding__noise{
    position:absolute;
    inset:-20%;
    opacity:.10;
    background-image:
        radial-gradient(
            rgba(255,255,255,.5) .5px,
            transparent .7px
        );
    background-size:4px 4px;
    pointer-events:none;
    animation:npNoise 8s linear infinite;
}

/* =========================================
   GLOW ORBS
========================================= */

.np-orb{
    position:absolute;
    width:42vw;
    height:42vw;
    max-width:280px;
    max-height:280px;
    border-radius:50%;
    filter:blur(55px);
    opacity:.18;
    pointer-events:none;
}

.np-orb--orange{
    left:-18%;
    top:13%;
    background:#ff6b00;
    animation:npFloat1 7s ease-in-out infinite;
}

.np-orb--green{
    right:-20%;
    bottom:16%;
    background:#28e83d;
    animation:npFloat2 8s ease-in-out infinite;
}

/* =========================================
   LIGHT SWEEP
========================================= */

.np-light{
    position:absolute;
    width:145%;
    height:2px;
    border-radius:999px;
    filter:blur(.2px);
    opacity:.72;
    transform:rotate(-24deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            #ff7100,
            #ffd000,
            transparent
        );
    box-shadow:
        0 0 18px rgba(255,112,0,.75);
    animation:npSweep 5.5s ease-in-out infinite;
}

.np-light--green{
    transform:rotate(24deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            #20b94a,
            #8aff9a,
            transparent
        );
    box-shadow:
        0 0 18px rgba(40,230,80,.65);
    animation-delay:-2.7s;
}

/* =========================================
   MAIN CONTENT
========================================= */

.np-onboarding__content{
    position:relative;
    z-index:5;
    width:100%;
    height:100%;
    max-width:520px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:6vh 24px 4vh;
    text-align:center;
}

/* =========================================
   LOGO
========================================= */

.np-logo-wrap{
    width:min(76vw,330px);
    margin-top:-3vh;

    opacity:0;
    transform:translateY(28px) scale(.78) rotate(-2deg);

    animation:
        npLogoIn
        1.15s
        cubic-bezier(.16,1,.3,1)
        .10s
        forwards;

    filter:
        drop-shadow(
            0 18px 38px rgba(0,0,0,.5)
        );
}

.np-logo{
    width:100%;
    height:auto;
    display:block;
    border-radius:28px;
    position:relative;

    filter:
        drop-shadow(
            0 18px 38px rgba(0,0,0,.55)
        )
        drop-shadow(
            0 0 22px rgba(255,121,0,.16)
        )
        drop-shadow(
            0 0 28px rgba(66,211,74,.10)
        );

    animation:
        npLogoGlow
        4s
        ease-in-out
        1.4s
        infinite;
}

/* =========================================
   TITLE
========================================= */

.np-title{
    margin:8px 0 0;

    font-size:
        clamp(
            32px,
            9.8vw,
            58px
        );

    line-height:.95;
    letter-spacing:-2px;
    font-weight:950;
    text-transform:uppercase;

    opacity:0;
    transform:translateY(20px);

    animation:
        npUp
        .8s
        cubic-bezier(.16,1,.3,1)
        .55s
        forwards;
}

.np-title .white{
    color:#fff;
}

.np-title .orange{
    color:var(--np-orange);
}

/* =========================================
   DIVIDER LINE
========================================= */

.np-line{
    width:110px;
    height:2px;
    margin:16px auto 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--np-orange),
            #fff,
            var(--np-green),
            transparent
        );

    box-shadow:
        0 0 14px rgba(255,120,0,.45);

    opacity:0;
    transform:scaleX(.3);

    animation:
        npLine
        .8s
        ease
        .85s
        forwards;
}

/* =========================================
   TAGLINE
========================================= */

.np-tagline{
    margin:15px 0 0;

    color:rgba(255,255,255,.72);

    font-size:10px;
    font-weight:700;

    letter-spacing:2.8px;
    text-transform:uppercase;

    opacity:0;
    transform:translateY(12px);

    text-shadow:
        0 2px 12px rgba(0,0,0,.45);

    animation:
        npUp
        .8s
        cubic-bezier(.16,1,.3,1)
        1s
        forwards;
}

.np-tagline span{
    color:var(--np-orange);
    margin:0 4px;
}

/* =========================================
   ACTION AREA
========================================= */

.np-actions{
    width:min(100%,390px);

    margin-top:
        clamp(
            28px,
            7vh,
            58px
        );

    opacity:0;
    transform:translateY(24px);

    animation:
        npUp
        .8s
        cubic-bezier(.16,1,.3,1)
        1.2s
        forwards;
}

/* =========================================
   GET STARTED BUTTON
========================================= */

.np-start{
    position:relative;

    width:100%;
    min-height:58px;

    border:
        1px solid
        rgba(255,190,80,.9);

    border-radius:999px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #ff5d00,
            #ff8700 48%,
            #ffb000
        );

    box-shadow:
        0 12px 38px rgba(255,105,0,.28),
        inset 0 1px 0 rgba(255,255,255,.4);

    font-size:16px;
    font-weight:850;
    letter-spacing:1.7px;

    cursor:pointer;
    overflow:hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.np-start::before{
    content:"";

    position:absolute;
    inset:0;

    transform:
        translateX(-120%)
        skewX(-18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.42),
            transparent
        );

    animation:
        npShine
        3.2s
        ease-in-out
        2.1s
        infinite;
}

.np-start:active{
    transform:scale(.975);
}

/* =========================================
   SKIP
========================================= */

.np-skip{
    margin-top:18px;
    padding:8px 16px;

    border:0;
    background:transparent;

    color:rgba(255,255,255,.66);

    font-size:13px;
    cursor:pointer;
}

.np-skip span{
    display:block;

    width:34px;
    height:2px;

    margin:7px auto 0;

    border-radius:9px;

    background:
        rgba(255,255,255,.72);
}

/* =========================================
   BOTTOM PROGRESS
========================================= */

.np-progress{
    position:absolute;

    bottom:14px;
    left:50%;

    transform:translateX(-50%);

    width:64px;
    height:3px;

    border-radius:99px;

    background:
        rgba(255,255,255,.10);

    overflow:hidden;
}

.np-progress::after{
    content:"";

    display:block;

    width:34%;
    height:100%;

    border-radius:inherit;

    background:
        linear-gradient(
            90deg,
            var(--np-orange),
            var(--np-green)
        );

    animation:
        npProgress
        4s
        linear
        1.5s
        infinite;
}

/* =========================================
   HIDE STATE
========================================= */

.np-hide{
    animation:
        npOut
        .45s
        ease
        forwards !important;

    pointer-events:none;
}

/* =========================================
   DESKTOP
========================================= */

@media(min-width:768px){

    .np-onboarding{
        display:none !important;
    }

}

/* =========================================
   SMALL MOBILE / SHORT SCREEN
========================================= */

@media(max-height:700px) and (max-width:767px){

    .np-onboarding__content{
        padding-top:2vh;
    }

    .np-logo-wrap{
        width:min(63vw,280px);
        margin-top:-1vh;
    }

    .np-title{
        font-size:31px;
    }

    .np-tagline{
        font-size:10px;
        margin-top:10px;
    }

    .np-actions{
        margin-top:22px;
    }

    .np-start{
        min-height:52px;
    }

}

/* =========================================
   REDUCED MOTION
========================================= */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
    }

}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes npLogoGlow{

    0%,100%{
        filter:
            drop-shadow(
                0 18px 38px rgba(0,0,0,.55)
            )
            drop-shadow(
                0 0 18px rgba(255,121,0,.12)
            )
            drop-shadow(
                0 0 22px rgba(66,211,74,.08)
            );
    }

    50%{
        filter:
            drop-shadow(
                0 20px 42px rgba(0,0,0,.60)
            )
            drop-shadow(
                0 0 30px rgba(255,121,0,.24)
            )
            drop-shadow(
                0 0 34px rgba(66,211,74,.16)
            );
    }

}

@keyframes npLogoIn{

    0%{
        opacity:0;
        transform:
            translateY(28px)
            scale(.78)
            rotate(-2deg);
    }

    65%{
        opacity:1;
        transform:
            translateY(-4px)
            scale(1.02)
            rotate(.5deg);
    }

    100%{
        opacity:1;
        transform:
            translateY(0)
            scale(1)
            rotate(0);
    }

}

@keyframes npUp{

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes npLine{

    to{
        opacity:1;
        transform:scaleX(1);
    }

}

@keyframes npSweep{

    0%,100%{
        opacity:.15;
        transform:
            translateX(-30%)
            rotate(-24deg);
    }

    50%{
        opacity:.75;
        transform:
            translateX(30%)
            rotate(-24deg);
    }

}

@keyframes npFloat1{

    0%,100%{
        transform:
            translate(0,0)
            scale(1);
    }

    50%{
        transform:
            translate(22px,30px)
            scale(1.15);
    }

}

@keyframes npFloat2{

    0%,100%{
        transform:
            translate(0,0)
            scale(1);
    }

    50%{
        transform:
            translate(-24px,-24px)
            scale(1.18);
    }

}

@keyframes npNoise{

    from{
        transform:translate(0,0);
    }

    to{
        transform:translate(40px,30px);
    }

}

@keyframes npShine{

    0%{
        transform:
            translateX(-120%)
            skewX(-18deg);
    }

    35%,100%{
        transform:
            translateX(120%)
            skewX(-18deg);
    }

}

@keyframes npProgress{

    0%{
        width:0;
    }

    100%{
        width:100%;
    }

}

@keyframes npOut{

    to{
        opacity:0;
        visibility:hidden;
        transform:scale(1.025);
    }

}