
/* =========================================
   NEO PS - MODERN NAVBAR
   Sky Blue / Royal Blue
========================================= */

:root {
    --neo-primary: #1685ed;
    --neo-secondary: #42baff;
    --neo-dark: #07172d;
    --neo-dark-2: #0b2140;
    --neo-text: #ffffff;
    --neo-muted: #91a9c5;
    --neo-border: rgba(125, 184, 255, 0.14);
    --neo-navbar-height: 76px;
}

/* NAVBAR */

.neo-navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(7, 23, 45, 0.94);
    border-bottom: 1px solid var(--neo-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--neo-text);
}

.neo-nav-container {
    max-width: 1450px;
    height: var(--neo-navbar-height);
    padding: 0 35px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* BRAND */

.neo-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.neo-brand-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: linear-gradient(
        145deg,
        #45c1ff,
        #1474e9
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(22, 133, 237, 0.35);
}

.neo-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.neo-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 5px;
}

.neo-brand-name {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1px;
    color: white;
}

.neo-brand-name span {
    color: var(--neo-secondary);
}

.neo-brand-text small {
    font-size: 8px;
    letter-spacing: 1.3px;
    font-weight: 800;
    color: var(--neo-muted);
}

/* DESKTOP LINKS */

.neo-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
}

.neo-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border-radius: 10px;

    color: #a9bdd5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.neo-nav-link:hover {
    color: white;
    background: rgba(49, 148, 255, 0.12);
    transform: translateY(-1px);
}

.neo-nav-link.active {
    color: #65c5ff;
    background: rgba(22, 133, 237, 0.15);
}

.neo-nav-link.active::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 20px;
    border-radius: 5px;
    background: var(--neo-secondary);
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.neo-link-icon {
    font-size: 15px;
}

/* RIGHT ACTIONS */

.neo-nav-actions {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.neo-server-status {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(64, 220, 154, .18);
    background: rgba(40, 205, 135, .07);
    border-radius: 30px;

    font-size: 11px;
    font-weight: 800;
    color: #80e9b8;
}

.neo-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: #38d995;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(56, 217, 149, .7);
}

.neo-login-button,
.neo-register-button,
.neo-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 17px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.neo-login-button {
    color: white;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--neo-border);
}

.neo-login-button:hover {
    background: rgba(255,255,255,.12);
}

.neo-register-button {
    color: white;
    background: linear-gradient(
        120deg,
        #1685ed,
        #36b7ff
    );
    box-shadow: 0 5px 17px rgba(22, 133, 237, .25);
}

.neo-register-button:hover,
.neo-account-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.neo-account-button {
    background: linear-gradient(120deg, #1475d5, #32aaff);
    color: white;
}

/* MOBILE BUTTON */

.neo-mobile-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid var(--neo-border);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.neo-mobile-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 5px;
    background: white;
    transition: .25s ease;
}

.neo-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.neo-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.neo-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */

.neo-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: #091b34;
    border-bottom: 1px solid var(--neo-border);
    box-shadow: 0 18px 35px rgba(0,0,0,.3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}

.neo-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.neo-mobile-menu-inner {
    max-width: 650px;
    padding: 20px;
    margin: auto;
}

.neo-mobile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;

    color: #8ea9c9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.neo-mobile-online {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7de8b4;
}

.neo-mobile-link {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px;
    margin-bottom: 5px;

    border-radius: 11px;
    background: rgba(255,255,255,.025);

    color: #d4e3f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.neo-mobile-link:hover,
.neo-mobile-link.active {
    color: white;
    background: rgba(27, 137, 241, .16);
}

.neo-mobile-link.active {
    border-left: 3px solid #42baff;
}

.neo-mobile-link-icon {
    width: 25px;
    text-align: center;
    font-size: 18px;
}

.neo-mobile-arrow {
    margin-left: auto;
    color: #5baef5;
}

.neo-mobile-divider {
    height: 1px;
    margin: 16px 0;
    background: var(--neo-border);
}

.neo-mobile-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.neo-mobile-auth a {
    width: 100%;
    box-sizing: border-box;
}

.neo-mobile-account {
    display: block;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(120deg, #1475d5, #32aaff);
    text-align: center;
    color: white;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .neo-nav-container {
        padding: 0 20px;
        gap: 12px;
    }

    .neo-nav-link {
        padding: 10px 9px;
        font-size: 12px;
    }

    .neo-server-status {
        display: none;
    }
}

@media (max-width: 820px) {
    .neo-nav-container {
        height: 68px;
    }

    .neo-nav-links,
    .neo-nav-actions {
        display: none;
    }

    .neo-mobile-toggle {
        display: flex;
        margin-left: auto;
    }

    .neo-mobile-menu {
        display: block;
    }
}

@media (max-width: 420px) {
    .neo-nav-container {
        padding: 0 15px;
    }

    .neo-brand-icon {
        width: 39px;
        height: 39px;
    }

    .neo-brand-name {
        font-size: 21px;
    }

    .neo-brand-text small {
        font-size: 7px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .neo-navbar *,
    .neo-navbar *::before,
    .neo-navbar *::after {
        transition-duration: .01ms !important;
    }
}
