:root {
  --font-base: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --bg: #0a0a0f;
  --bg-soft: #0f0f16;
  --surface: #111118;
  --surface-2: #16161f;
  --border: #1e1e2e;
  --text: #e0e0f0;
  --muted: #74748f;
  --accent: #00ff88;
  --accent-strong: #00ff88;
  --accent-2: #0088ff;
  --accent-soft: rgba(0, 255, 136, 0.10);
  --danger: #ff4455;
  --warning: #ffaa00;
  --shadow: none;
  --map-filter: invert(1) hue-rotate(180deg) brightness(0.8) saturate(0.5);
  --grid-opacity: 0.025;
}

body[data-theme="dark"] {
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: #182235;
  --surface-2: #1f2d44;
  --border: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #22c55e;
  --accent-2: #60a5fa;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --danger: #fb7185;
  --warning: #f59e0b;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  --map-filter: invert(1) hue-rotate(180deg) brightness(0.82) saturate(0.6);
  --grid-opacity: 0;
}

body[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-strong: #16a34a;
  --accent-2: #0ea5e9;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --danger: #dc2626;
  --warning: #d97706;
  --shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
  --map-filter: none;
  --grid-opacity: 0;
}

body[data-theme="terminal"] {
  --bg: #0a0a0f;
  --bg-soft: #0f0f16;
  --surface: #111118;
  --surface-2: #16161f;
  --border: #1e1e2e;
  --text: #e0e0f0;
  --muted: #74748f;
  --accent: #00ff88;
  --accent-strong: #00ff88;
  --accent-2: #0088ff;
  --accent-soft: rgba(0, 255, 136, 0.10);
  --danger: #ff4455;
  --warning: #ffaa00;
  --shadow: none;
  --map-filter: invert(1) hue-rotate(180deg) brightness(0.8) saturate(0.5);
  --grid-opacity: 0.025;
}
