/* ============================================================
   THEME.CSS — design tokens. Change colors/fonts here once,
   the whole site follows.
   ============================================================ */
:root {
  /* palette — deep Kali blue-black + electric blue + terminal green */
  --bg-0: #04070d;        /* deepest background */
  --bg-1: #0a1220;        /* panels / windows */
  --bg-2: #101c30;        /* raised surfaces */
  --line: #1d3352;        /* borders */
  --accent: #2ea8ff;      /* electric blue (dragon, highlights) */
  --accent-dim: #14568c;
  --term: #37ff8b;        /* terminal green */
  --warn: #ffb020;
  --text: #d7e3f4;
  --muted: #7d8ba1;

  --font-ui: "Rajdhani", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 10px;
  --topbar-h: 34px;
  --dock-h: 56px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line);
  --glow-accent: 0 0 14px rgba(46, 168, 255, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-ui);
  overflow: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection { background: var(--accent-dim); color: #fff; }

/* scrollbars inside windows */
.win-body::-webkit-scrollbar { width: 8px; }
.win-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
