/* ==========================================================================
   SPREAD (spread.haking.tr) — Design Tokens
   Aesthetic: Tactical CS2 Quant Desk (Carbon Foundry Dark + Blueprint Light)
   ========================================================================== */

:root {
  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Dark Palette (Default — Carbon Foundry) */
  --bg-void: #08090c;
  --bg-surface: #0f1218;
  --bg-elevated: #151922;
  --bg-inset: #0a0c10;
  --bg-glass: rgba(15, 18, 24, 0.88);
  --grid-line: rgba(255, 255, 255, 0.025);

  --border-hair: rgba(255, 255, 255, 0.075);
  --border-med: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.22);

  --text-primary: #f2efe9;
  --text-secondary: #9ba3b4;
  --text-muted: #636c7e;
  --text-inverse: #090a0c;

  /* Signal Accents */
  --gold: #f0b90b;
  --gold-bright: #fcd535;
  --gold-soft: rgba(240, 185, 11, 0.13);
  --gold-border: rgba(240, 185, 11, 0.34);

  --mint: #10d981;
  --mint-soft: rgba(16, 217, 129, 0.13);
  --mint-border: rgba(16, 217, 129, 0.32);

  --crimson: #f43f5e;
  --crimson-soft: rgba(244, 63, 94, 0.13);
  --crimson-border: rgba(244, 63, 94, 0.34);

  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.13);
  --amber-border: rgba(245, 158, 11, 0.34);

  --ice: #38bdf8;
  --ice-soft: rgba(56, 189, 248, 0.12);
  --ice-border: rgba(56, 189, 248, 0.32);

  /* Radii & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);

  /* Layout */
  --container-max: 1380px;
  --transition-fast: 140ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --transition-med: 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

[data-theme='light'] {
  --bg-void: #f2f0ea;
  --bg-surface: #fbfaf7;
  --bg-elevated: #ffffff;
  --bg-inset: #eae6dc;
  --bg-glass: rgba(251, 250, 247, 0.92);
  --grid-line: rgba(17, 19, 24, 0.035);

  --border-hair: rgba(17, 19, 24, 0.09);
  --border-med: rgba(17, 19, 24, 0.16);
  --border-strong: rgba(17, 19, 24, 0.28);

  --text-primary: #111318;
  --text-secondary: #495162;
  --text-muted: #767f91;
  --text-inverse: #faf9f6;

  --gold: #b57c00;
  --gold-bright: #d99700;
  --gold-soft: rgba(181, 124, 0, 0.11);
  --gold-border: rgba(181, 124, 0, 0.35);

  --mint: #059669;
  --mint-soft: rgba(5, 150, 105, 0.11);
  --mint-border: rgba(5, 150, 105, 0.3);

  --crimson: #dc2626;
  --crimson-soft: rgba(220, 38, 38, 0.1);
  --crimson-border: rgba(220, 38, 38, 0.3);

  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.11);
  --amber-border: rgba(217, 119, 6, 0.3);

  --ice: #0284c7;
  --ice-soft: rgba(2, 132, 199, 0.1);
  --ice-border: rgba(2, 132, 199, 0.3);

  --shadow-sm: 0 2px 6px rgba(17, 19, 24, 0.06);
  --shadow-md: 0 10px 26px rgba(17, 19, 24, 0.09);
  --shadow-lg: 0 24px 56px rgba(17, 19, 24, 0.16);
}
