/* ═══ Navigation ═══ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; transition: all .35s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5,5,5,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(0,0,0,.3); }
.nav-left { display: flex; align-items: center; gap: 8px; }
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.025em; transition: opacity .15s ease; }
.nav-brand:hover { opacity: .8; }
.nav-brand svg { width: 24px; height: 24px; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 7px 14px; border-radius: var(--radius-full); font-size: .8125rem; font-weight: 500; color: var(--text-secondary); transition: all .15s ease; position: relative; }
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--text-primary); background: rgba(255,255,255,.08); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 2px; background: var(--accent); border-radius: 1px; }
.nav-btn-primary { padding: 7px 16px; border-radius: var(--radius-full); background: var(--text-primary); color: var(--bg); font-size: .8125rem; font-weight: 600; transition: all .2s var(--ease); }
.nav-btn-primary:hover { opacity: .85; transform: translateY(-1px); box-shadow: 0 2px 12px rgba(255,255,255,.1); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-muted); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .75rem; cursor: pointer; transition: all .2s var(--ease); position: relative; }
.nav-avatar:hover { background: var(--accent); color: var(--bg); transform: scale(1.08); }
.user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-elevated); border: 1px solid var(--border-light); border-radius: var(--radius-m); padding: 6px; min-width: 200px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-4px) scale(.97); transition: all var(--normal) var(--ease); pointer-events: none; z-index: 200; }
.user-dropdown.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-s); font-size: .8125rem; color: var(--text-secondary); transition: all .15s ease; width: 100%; }
.dropdown-item:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }
.dropdown-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.dropdown-sep { height: 1px; background: var(--border); margin: 4px 8px; }
.dropdown-item.danger { color: var(--red); }
.dropdown-item.danger:hover { background: rgba(239,68,68,.08); }
