/* =====================================================
   NAVIGATION ROOT
===================================================== */

:root{

    --primary:#ff385c;
    --primary-dark:#e31c5f;

    --bg:#ffffff;
    --card:#ffffff;

    --text:#111111;
    --soft:#717171;

    --border:#ebebeb;

    --navbar:
    rgba(255,255,255,.92);

    --shadow:
    0 10px 30px rgba(0,0,0,.08);
}

/* =====================================================
   DARK MODE
===================================================== */

html.dark{

    --bg:#0f0f10;

    --card:#18181b;

    --text:#ffffff;

    --soft:#a1a1aa;

    --border:#2a2a2e;

    --navbar:
    rgba(24,24,27,.92);

    --shadow:
    0 10px 30px rgba(0,0,0,.35);
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{

    position:sticky;

    top:0;

    z-index:999;

    background:var(--navbar);

    backdrop-filter:blur(14px);

    border-bottom:1px solid var(--border);

    transition:
    background .25s ease,
    border-color .25s ease;
}

/* =====================================================
   CONTAINER
===================================================== */

.nav-container{

    max-width:1400px;

    margin:auto;

    height:78px;

    padding:0 24px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}

/* =====================================================
   LOGO
===================================================== */

.logo{

    display:flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    font-size:22px;

    font-weight:900;

    color:var(--primary);

    letter-spacing:-1px;
}

.logo-icon{

    font-size:24px;
}

/* =====================================================
   NAV LINKS
===================================================== */

.nav-links{

    display:flex;

    align-items:center;

    gap:10px;
}

.nav-links a{

    text-decoration:none;

    color:var(--text);

    font-size:14px;

    font-weight:600;

    padding:12px 18px;

    border-radius:999px;

    transition:
    background .25s ease,
    color .25s ease;
}

.nav-links a:hover{

    background:rgba(0,0,0,.05);
}

html.dark .nav-links a:hover{

    background:rgba(255,255,255,.06);
}

.nav-links a.active{

    background:#fff0f3;

    color:var(--primary);
}

html.dark .nav-links a.active{

    background:rgba(255,56,92,.15);
}

/* =====================================================
   ACTIONS
===================================================== */

.nav-actions{

    display:flex;

    align-items:center;

    gap:10px;
}

/* =====================================================
   ICON BUTTONS
===================================================== */

.icon-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:var(--card);

    color:var(--text);

    cursor:pointer;

    font-size:18px;

    border:1px solid var(--border);

    transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .2s ease;
}

.icon-btn:hover{

    transform:translateY(-1px);

    box-shadow:var(--shadow);
}

/* =====================================================
   MOBILE BUTTON
===================================================== */

.mobile-btn{

    display:none;
}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:900px){

    .mobile-btn{

        display:flex;

        align-items:center;

        justify-content:center;
    }

    .nav-links{

        position:absolute;

        top:78px;

        left:0;

        width:100%;

        background:var(--card);

        border-bottom:1px solid var(--border);

        display:none;

        flex-direction:column;

        align-items:flex-start;

        padding:20px;
    }

    .nav-links.show{

        display:flex;
    }

    .nav-links a{

        width:100%;
    }
}