/* Shared navbar styles used by every page via <link rel="stylesheet" href="/nav.css"> */
.navbar { background: #151821; border-bottom: 1px solid #2a2f4a; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; height: 56px; }
.nav-logo { font-weight: 800; font-size: 18px; color: #fff; text-decoration: none; white-space: nowrap; }
.nav-logo span { color: #7c5cfc; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: #8b8fa3; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; transition: color 0.1s, background 0.1s; }
.nav-links a:hover { color: #fff; background: rgba(124,92,252,0.1); }
.nav-links a.active { color: #fff; background: rgba(124,92,252,0.18); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; background: #1a1d28; border-radius: 8px; padding: 2px; border: 1px solid #2a2f4a; }
.lang-opt { background: none; border: none; color: #8b8fa3; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.lang-opt.active { background: #7c5cfc; color: #fff; }
.hamburger { display: none; background: none; border: none; color: #e1e2e8; cursor: pointer; padding: 6px; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(15,17,23,0.98); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 60px 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #e1e2e8; text-decoration: none; font-size: 20px; font-weight: 700; padding: 14px 24px; border-radius: 10px; text-align: center; min-width: 260px; }
.mobile-menu a:hover { background: rgba(124,92,252,0.15); }
.mobile-close { position: fixed; top: 14px; right: 16px; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; padding: 8px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .lang-switch { margin-right: 4px; }
}
