/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Subnautica 2 Community — Shared Design System
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --bg:        #05101e;
  --surface:   #091828;
  --panel:     #0d2035;
  --border:    #152d45;
  --border-hi: #1e4060;
  --text:      #aec8e0;
  --text-hi:   #cce0f4;
  --muted:     #3d6280;
  --accent:    #2ca8dc;
  --accent-d:  #1d85b0;
  --accent-hi: #50c8f0;
  --glow:      rgba(44,168,220,0.12);
  --hover:     rgba(44,168,220,0.07);
  --shadow:    0 4px 32px rgba(0,0,0,0.6);
  --nav-h:     48px;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:      'Consolas', 'Cascadia Code', 'Courier New', monospace;
  --radius:    6px;
  --radius-lg: 10px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5,16,30,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 4px;
  z-index: 9000;
  user-select: none;
}

.nav-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 10px;
  margin-right: 8px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--accent-hi); background: var(--hover); }

.nav-links { display: flex; gap: 2px; flex: 1; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--hover); }
.nav-link.active { color: var(--accent); background: var(--glow); }
.nav-icon { font-size: 15px; line-height: 1; }

/* ── SCROLLBAR ───────────────────────────────────────── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* ── BADGE / TAG ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.6;
}
.badge-live   { background: rgba(44,168,220,0.15); color: var(--accent); border: 1px solid rgba(44,168,220,0.3); }
.badge-soon   { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }
.badge-new    { background: rgba(100,220,120,0.12); color: #68d391; border: 1px solid rgba(100,220,120,0.3); }

/* ── UTILITY ─────────────────────────────────────────── */
.mono { font-family: var(--mono); }
