/* ==========================================================================
   HOLYSTOCK - Design Tokens & CSS Custom Properties
   ==========================================================================
   All colors, fonts, spacing, shadows, and animation values live here.
   Import this file first so every other stylesheet can reference these vars.
   ========================================================================== */

/* --- Color Palette --- */
:root {
  /* Backgrounds */
  --color-bg: #000000;
  --color-bg-elevated: #0a0a0a;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-surface-active: rgba(255, 255, 255, 0.12);
  --color-border: rgba(255, 255, 255, 0.08);

  /* Accent */
  --color-accent: #f0ff3d;
  --color-accent-dim: rgba(240, 255, 61, 0.15);
  --color-accent-glow: rgba(240, 255, 61, 0.4);

  /* Text */
  --color-text-primary: #ffffff;
  --color-text-secondary: #888888;
  --color-text-muted: #555555;

  /* Semantic */
  --color-success: #00ff88;
  --color-warning: #ffaa00;
  --color-danger: #ff3366;
  --color-info: #3d9fff;

  --color-success-dim: rgba(0, 255, 136, 0.12);
  --color-warning-dim: rgba(255, 170, 0, 0.12);
  --color-danger-dim: rgba(255, 51, 102, 0.12);

  /* --- Typography --- */
  --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Manrope', var(--font-primary);
  --font-script: 'Manrope', cursive;

  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 2.5rem;    /* 40px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* --- Spacing --- */
  --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 */
  --space-16: 4rem;      /* 64px */

  /* --- Border Radius --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows & Glows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px var(--color-accent-glow);
  --shadow-glow-sm: 0 0 10px var(--color-accent-glow);

  /* --- Glassmorphism --- */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(24px);
  --glass-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);

  /* --- Grid Background --- */
  --grid-line-color: rgba(255, 255, 255, 0.07);
  --grid-size: 40px;

  /* --- Layout --- */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --header-height: 64px;
  --content-max-width: 1400px;

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* --- Z-Index Scale --- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;
}
