.site-navbar {
    position: fixed;
    top: var(--nav-top);
    left: var(--side-margin);
    right: 0;
    width: var(--main-width);
    height: var(--nav-height);
    background: rgba(0,0,0,0.85);
    border: 1px solid #333;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 6fr 3fr;
    align-items: center;
}

.nav-col-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-logo {
    height: 11.5vh;
    width: 16vh;
    object-fit: contain;
}

.nav-col-menu {
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.nav-item {
    color: #BE4BDB;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(192,192,192,0.5);
    transition: 0.3s;
}

.nav-item:hover {
    color: #82C91E;
    transform: scale(1.02);
}

/* --- USER COLUMN (Right) --- */
.nav-col-user {
    display: grid;
    grid-template-rows: 1fr 1fr; 
    height: 100%;
    width: 100%;
    justify-items: center;
    align-items: center;
    position: relative;
}

/* Row 1: System Controls */
.nav-system-controls {
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center; 
    padding-right: 20px;
    box-sizing: border-box;
}

.nav-clock {
    font-family: 'Audiowide Regular', monospace;
    color: var(--text-silver);
    font-size: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0,255,255,0.5);
}

.theme-toggle-btn {
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-silver);
}

.theme-toggle-btn:hover {
    transform: rotate(20deg) scale(1.2);
}

/* Row 2: Ninja/Military Icon Container */
.nav-account-controls {
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-icon-ninja {
    font-size: 1.8rem;
    color: var(--text-silver);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 101; 
    display: inline-block; 
}

/* Hover Effect for Military/Ninja Icons */
.nav-icon-ninja:hover {
    color: var(--text-gold);
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--text-gold);
}

/* Dropdown */
.user-dropdown {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    border: 1px solid var(--text-silver);
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Toggled by JS */
.user-dropdown.show { 
    display: flex !important; 
}

.dropdown-item {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
    color: var(--text-silver);
    cursor: pointer;
    font-family: 'Starcraft Regular', sans-serif;
    transition: 0.2s;
}

.dropdown-item:hover {
    color: var(--text-gold);
    background: #222;
}