/* ============================================
   3. NAVBAR
   ============================================ */
.navbar {
    background: rgba(19, 19, 31, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(176, 38, 255, 0.15);
}

.navbar-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px var(--neon-purple-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--neon-purple-glow);
    }

    50% {
        box-shadow: 0 0 30px var(--neon-purple-glow), 0 0 50px var(--neon-purple-deep);
    }
}

/* .navbar-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--neon-purple-glow);
} */
.navbar-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    /* color: #ffffff; */
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(4, 4, 4, 0.3);
}

.navbar-brand .subtitle {
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    min-width: 130px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 20px;
    font-size: 0.85rem;
    justify-content: center;
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
    background: rgba(0, 255, 136, 0.15);
    animation: pulse-act-green 2s infinite;
}

.nav-link.active {
    background: linear-gradient(135deg, #00cc6665, var(--neon-green), #00cc6665);
    color: var(--bg-primary);
    /* animation: pulse-act-green 4s infinite; */
}

.nav-link.active:hover {
    transform: translateY(0px);
}


@keyframes pulse-act-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.402);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(0, 255, 136, 0);
    }

    80% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.navbar-action {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.navbar-action .hide {
    display: none;
}

.nav-link.active .status-dot {
    background-color: var(--neon-pink);
    box-shadow: 0 0 14px var(--bg-primary);
}

/* ============================================
    NAVBAR STATUS
   ============================================ */
.navbar-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink), white);
    border-radius: 50%;
    border: 1px solid rgb(105, 98, 98);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.20rem;
    color: white;
    box-shadow: 0 0 15px var(--neon-purple-glow);
    animation: pulse-pink 5s infinite;
}

/* ============================================
    DOT STATUS
   ============================================ */

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--neon-green);
    animation: pulse-green 2.3s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

@keyframes pulse-pink {
    0% {
        box-shadow: 0 0 0 0 rgba(125, 32, 108, 0.787);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(255, 0, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(32, 1, 21, 0.105);
    }
}