/* ============================================================
   ShadowCore — Design tokens (thème « Nébuleuse »)
   Source de vérité unique : aucune couleur en dur ailleurs.
   ============================================================ */

:root {
  /* --- Fonds spatiaux (jamais de #000 pur) --- */
  --bg-space: #07050d;
  --bg-deep: #0d0a17;
  --bg-raised: #14101f;

  /* --- Surfaces verre (glassmorphism sombre) --- */
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-glass-strong: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);

  /* --- Accents --- */
  --accent-red: #f43f5e;
  --accent-red-hover: #fb5d75;
  --accent-red-soft: rgba(244, 63, 94, 0.14);
  --accent-mauve: #a78bfa;
  --accent-mauve-deep: #8b5cf6;
  --accent-mauve-soft: rgba(167, 139, 250, 0.14);

  /* --- Texte --- */
  --text-primary: #f4f2fa;
  --text-secondary: #c9c4dd;
  --text-muted: #9a93b5;

  /* --- Statuts --- */
  --status-wait: #fbbf24;
  --status-ok: #34d399;
  --status-error: #f43f5e;
  --status-info: #a78bfa;

  /* --- Nébuleuses (halos de fond) --- */
  --nebula-red: rgba(139, 30, 63, 0.35);
  --nebula-mauve: rgba(76, 29, 149, 0.32);

  /* --- Lueurs (glow maîtrisé) --- */
  --glow-red: 0 0 24px rgba(244, 63, 94, 0.35);
  --glow-mauve: 0 0 20px rgba(139, 92, 246, 0.35);

  /* --- Typographie --- */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Échelles --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 280ms cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1160px;
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);
}
