/* ==========================================================================
   GASTERUS v3 — DESIGN TOKENS (Blue/Grey Edition)
   Single Source of Truth for Colors, Typography, Spacing, and Elevations
   ========================================================================== */

:root {
  /* Brand Palette (Blue / Grey) */
  --brand-primary: #3b82f6; /* Blue 500 */
  --brand-primary-hover: #2563eb; /* Blue 600 */
  --brand-primary-light: rgba(59, 130, 246, 0.15);
  --brand-gold: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%); /* Re-purposed to Blue Gradient */
  --brand-accent: #0ea5e9; /* Sky 500 */
  --brand-accent-glow: rgba(14, 165, 233, 0.35);

  /* Semantic Status Colors */
  --status-success: #10b981;
  --status-success-bg: rgba(16, 185, 129, 0.15);
  --status-warning: #f59e0b;
  --status-warning-bg: rgba(245, 158, 11, 0.15);
  --status-danger: #ef4444; /* Standard danger red is kept ONLY for error states, not layout */
  --status-danger-bg: rgba(239, 68, 68, 0.15);
  --status-info: #06b6d4;
  --status-info-bg: rgba(6, 182, 212, 0.15);

  /* Dark Theme Surfaces (Slate / Blue-Grey) */
  --bg-app: #0f172a; /* Slate 900 */
  --bg-surface: #1e293b; /* Slate 800 */
  --bg-surface-elevated: #334155; /* Slate 700 */
  --bg-surface-glass: rgba(15, 23, 42, 0.85);
  --bg-overlay: rgba(2, 6, 23, 0.8); /* Slate 950 with opacity */

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-brand: rgba(59, 130, 246, 0.4);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Text Colors */
  --text-primary: #f8fafc; /* Slate 50 */
  --text-secondary: #94a3b8; /* Slate 400 */
  --text-muted: #64748b; /* Slate 500 */
  --text-inverse: #0f172a; /* Slate 900 */
  --text-gold: #93c5fd; /* Re-purposed to light blue */

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 0 20px rgba(59, 130, 246, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
