/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    overflow:hidden;

    font-family:
    Arial,
    Helvetica,
    sans-serif;

    background:#050505;

    color:#ffffff;

}

/* =====================================
   SHELL
===================================== */

#shell{

    width:100%;
    height:100%;

    display:flex;
    flex-direction:column;

    background:
    linear-gradient(
        to bottom,
        #050505,
        #111111
    );

}

/* =====================================
   HEADER
===================================== */

#header{

    width:100%;
    height:75px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 20px;

    background:
    linear-gradient(
        to right,
        #090909,
        #1b1b1b,
        #090909
    );

    border-bottom:
    1px solid rgba(
        255,
        0,
        0,
        .25
    );

    box-shadow:
    0 0 20px rgba(
        255,
        0,
        0,
        .15
    );

    z-index:100;

}

/* =====================================
   BRAND
===================================== */

#brand{

    display:flex;
    align-items:center;

    gap:12px;

}

#logo{

    width:50px;
    height:50px;

    border-radius:12px;

    object-fit:cover;

    border:
    1px solid rgba(
        255,
        255,
        255,
        .08
    );

}

#brand-text h1{

    color:#d7d7d7;

    font-size:20px;

}

#brand-text p{

    color:#9a9a9a;

    font-size:12px;

}

/* =====================================
   DESKTOP NAV
===================================== */

#desktop-nav{

    display:flex;

    align-items:center;

    gap:12px;

}

.nav-btn{

    height:42px;

    padding:0 18px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:
    linear-gradient(
        to bottom,
        #2a2a2a,
        #141414
    );

    color:#d7d7d7;

    transition:.25s;

}

.nav-btn:hover{

    background:
    linear-gradient(
        to bottom,
        #8d0000,
        #380000
    );

    color:#fff;

}

.signin-btn{

    background:
    linear-gradient(
        to bottom,
        #b10000,
        #4b0000
    );

    color:#fff;

}

/* =====================================
   MOBILE MENU BUTTON
===================================== */

#menu-btn{

    display:none;

    width:50px;
    height:50px;

    border:none;

    border-radius:12px;

    background:
    linear-gradient(
        to bottom,
        #2a2a2a,
        #141414
    );

    color:#fff;

    font-size:22px;

    cursor:pointer;

}

/* =====================================
   MOBILE DROPDOWN
===================================== */

#mobile-menu{

    position:fixed;

    top:85px;

    right:15px;

    width:220px;

    display:none;

    flex-direction:column;

    gap:10px;

    padding:12px;

    border-radius:16px;

    background:linear-gradient(
        to bottom,
        #1b1b1b,
        #090909
    );

    border:1px solid rgba(255,0,0,.25);

    z-index:9999;

}

#mobile-menu.show{

    display:flex;

    animation:menuFade .25s ease;

}

@keyframes menuFade{

    from{

        opacity:0;

        transform:translateY(-10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.mobile-btn{

    width:100%;
    height:45px;

    border:none;

    border-radius:12px;

    background:
    linear-gradient(
        to bottom,
        #2a2a2a,
        #141414
    );

    color:#ffffff;

    cursor:pointer;

}

/* =====================================
   APP
===================================== */

#app{

    flex:1;

    overflow:auto;

    padding:20px;

}

.page-container{

    width:100%;

    max-width:1400px;

    margin:auto;

}

/* =====================================
   MOBILE FOOTER NAV
===================================== */

#mobile-footer-nav{

    display:none;

    height:65px;

    flex-shrink:0;

    background:
    linear-gradient(
        to right,
        #090909,
        #1b1b1b,
        #090909
    );

    border-top:
    1px solid rgba(
        255,
        0,
        0,
        .25
    );

}

#mobile-footer-nav button{

    flex:1;

    height:100%;

    border:none;

    background:transparent;

    color:#d7d7d7;

    font-size:12px;

    cursor:pointer;

}

#mobile-footer-nav button:hover{

    background:
    rgba(
        255,
        0,
        0,
        .12
    );

    color:#fff;

}

/* =====================================
   DESKTOP FOOTER
===================================== */

#desktop-footer{

    height:55px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#9a9a9a;

    background:
    linear-gradient(
        to right,
        #090909,
        #1b1b1b,
        #090909
    );

    border-top:
    1px solid rgba(
        255,
        0,
        0,
        .25
    );

}

/* =====================================
   INSTALL POPUP
===================================== */

#install-popup{

    position:fixed;

    inset:0;

    display:none;

    align-items:center;
    justify-content:center;

    background:
    rgba(
        0,
        0,
        0,
        .85
    );

    z-index:99999;

}

#install-card{

    width:90%;
    max-width:400px;

    padding:25px;

    border-radius:20px;

    background:
    linear-gradient(
        to bottom,
        #1b1b1b,
        #101010
    );

    border:
    1px solid rgba(
        255,
        0,
        0,
        .25
    );

    text-align:center;

}

#install-card h2{

    margin-bottom:10px;

}

#install-card p{

    color:#b0b0b0;

    margin-bottom:20px;

}

#install-actions{

    display:flex;

    gap:10px;

}

#install-actions button{

    flex:1;

    height:45px;

    border:none;

    border-radius:12px;

    cursor:pointer;

}

#install-btn{

    background:
    linear-gradient(
        to bottom,
        #b10000,
        #4b0000
    );

    color:#fff;

}

#later-btn{

    background:#2a2a2a;

    color:#fff;

}

/* =====================================
   SCROLLBAR
===================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
        to bottom,
        #5f0000,
        #b10000
    );

}

/* =====================================
   MOBILE
===================================== */

@media(max-width:900px){

    #desktop-nav{

        display:none;

    }

    #menu-btn{

        display:block;

    }

    #desktop-footer{

        display:none;

    }

    #mobile-footer-nav{

        display:flex;

        align-items:center;
        justify-content:space-around;

    }

    #app{

        padding:10px;

    }

}
/* v4.5 non-destructive application notices */
.app-toast{
    position:fixed;
    left:50%;
    bottom:90px;
    z-index:1000000;
    transform:translate(-50%,18px);
    width:min(92vw,440px);
    padding:12px 16px;
    border-radius:12px;
    border:1px solid #777;
    background:#151515;
    color:#f5f5f5;
    box-shadow:0 12px 35px rgba(0,0,0,.55);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease;
    text-align:center;
    font-weight:700;
}
.app-toast.show{opacity:1;transform:translate(-50%,0)}
.app-toast.success{border-color:#a8a8a8;border-bottom:3px solid #b10000}
.app-toast.error{border-color:#d00000}
