/* CHIPZ Design System — Locked Palette & Type Stack */
/* Colors: electric cyan + acid lime on deepest black. NO purple, NO gold. */

:root {
  /* Locked Palette */
  --color-header-black: #010208;
  --color-page-black: #0A0D0B;
  --color-cyan-base: #1FE3FF;
  --color-cyan-glow: #8BF4FF;
  --color-lime-base: #A6FF3C;
  --color-lime-glow: #C9FF7A;
  --color-red-base: #FF3B30;
  --color-red-deep: #C81E1E;
  --color-ice: #E6FBFF;

  /* Role-based colors */
  --color-primary: var(--color-cyan-base);
  --color-accent: var(--color-lime-base);
  --color-danger: var(--color-red-base);
  --color-bg-dark: var(--color-page-black);
  --color-text: var(--color-ice);

  /* Type Stack */
  --font-brand: "Exo 2", sans-serif;
  --font-interface: "Rajdhani", sans-serif;
  --font-numbers: "Orbitron", sans-serif;

  /* Type sizing */
  --font-size-3xl: 4rem;
  --font-size-2xl: 3rem;
  --font-size-xl: 2.5rem;
  --font-size-lg: 2rem;
  --font-size-md: 1.25rem;
  --font-size-sm: 1rem;
  --font-size-xs: 0.875rem;

  /* Line height */
  --line-height-display: 1.1;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Glow/shadow effects — multi-layer neon bloom */
  --glow-cyan: 0 0 20px rgba(31, 227, 255, 0.5);
  --glow-cyan-high: 0 0 40px rgba(31, 227, 255, 0.7);
  --glow-cyan-intense: 0 0 60px rgba(31, 227, 255, 0.8), 0 0 30px rgba(31, 227, 255, 0.5);
  --glow-lime: 0 0 20px rgba(166, 255, 60, 0.5);
  --glow-lime-soft: 0 0 14px rgba(166, 255, 60, 0.22);
  --glow-lime-high: 0 0 40px rgba(166, 255, 60, 0.7);
  --glow-lime-intense: 0 0 60px rgba(166, 255, 60, 0.8), 0 0 30px rgba(166, 255, 60, 0.5);
  --glow-red: 0 0 40px rgba(255, 59, 48, 0.6);
  --glow-red-intense: 0 0 80px rgba(255, 59, 48, 0.8), 0 0 40px rgba(255, 59, 48, 0.5);

  /* Elevation shadows — depth for cards */
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(31, 227, 255, 0.1);
  --shadow-card-hover: 0 40px 100px rgba(31, 227, 255, 0.15), inset 0 1px 0 rgba(31, 227, 255, 0.2);

  /* Gradient stops */
  --gradient-cyan-to-black: linear-gradient(135deg, rgba(31, 227, 255, 0.2) 0%, rgba(31, 227, 255, 0) 60%);
  --gradient-lime-to-black: linear-gradient(135deg, rgba(166, 255, 60, 0.15) 0%, rgba(166, 255, 60, 0) 60%);
  --gradient-neon-border: linear-gradient(90deg, rgba(31, 227, 255, 0.3), rgba(166, 255, 60, 0.1), rgba(31, 227, 255, 0.3));

  /* Glass/translucent surfaces */
  --glass-dark: rgba(10, 13, 11, 0.7);
  --glass-darker: rgba(10, 13, 11, 0.85);
  --color-page-black-translucent: rgba(10, 13, 11, 0.8);

  /* Opacity variants for glows and overlays */
  --color-cyan-overlay-light: rgba(31, 227, 255, 0.1);
  --color-cyan-overlay-medium: rgba(31, 227, 255, 0.2);
  --color-cyan-overlay-dark: rgba(31, 227, 255, 0.05);
  --color-lime-overlay-light: rgba(166, 255, 60, 0.1);
  --color-lime-overlay-medium: rgba(166, 255, 60, 0.2);
  --color-red-overlay-medium: rgba(255, 59, 48, 0.2);

  /* Glossy highlights — inner highlights for depth */
  --highlight-white: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --highlight-subtle: inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* ── Premium surface system (added T12a polish pass) ───────────── */
  /* Radii — softer, more modern than the old flat 4–8px */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Layered surfaces — faint lifts off the page-black for card depth */
  --surface-1: rgba(255, 255, 255, 0.018);
  --surface-2: rgba(255, 255, 255, 0.035);
  --surface-raised: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 100%);
  --surface-glass: rgba(13, 18, 16, 0.66);

  /* Hairline borders — the quiet structure that reads as "designed" */
  --border-hairline: rgba(230, 251, 255, 0.08);
  --border-cyan-soft: rgba(31, 227, 255, 0.28);
  --border-lime-soft: rgba(166, 255, 60, 0.28);

  /* Text tiers — full ice is too loud for body/labels */
  --color-text-dim: rgba(230, 251, 255, 0.62);
  --color-text-faint: rgba(230, 251, 255, 0.40);

  /* Premium elevation — deep, soft, believable shadow */
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-deep-cyan: 0 30px 80px -24px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(31, 227, 255, 0.35);

  /* Atmospheric background layers */
  --bg-grid: rgba(31, 227, 255, 0.045);
  --bg-spot-cyan: rgba(31, 227, 255, 0.13);
  --bg-spot-lime: rgba(166, 255, 60, 0.07);

  /* Translucent chrome for glassy sticky surfaces */
  --color-header-translucent: rgba(1, 2, 8, 0.78);
}
