/**
 * Black Lantern Gaming - Design Tokens
 *
 * This file contains all design system variables.
 * Import this FIRST before any other stylesheets.
 *
 * Do not add selectors to this file - only :root variables.
 */

:root {
  /* ========================================
     COLORS
     ======================================== */

  /* Core Palette */
  --color-bg: #050508;
  --color-fg: #f0f0f5;
  --color-accent: #8a7bff;
  --color-accent-deep: #594bf5;
  --color-muted: rgba(240, 240, 245, 0.65);
  --color-border: rgba(255, 255, 255, 0.12);

  /* Semantic Colors */
  --color-success: #2ed573;
  --color-error: #ff4757;
  --color-warning: #ffa502;
  --color-info: #7bd1ff;

  /* ========================================
     SPACING (8px scale)
     ======================================== */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--glow-color, rgba(138, 123, 255, 0.5));

  /* ========================================
     TRANSITIONS
     ======================================== */
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-display: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'SF Mono', 'Consolas', monospace;

  /* Font Sizes */
  --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: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */

  /* ========================================
     GLOW COLORS (standardized at 0.5 opacity)
     ======================================== */
  --glow-parchment: rgba(255, 214, 163, 0.5);
  --glow-storm: rgba(123, 209, 255, 0.5);
  --glow-starmap: rgba(168, 148, 255, 0.5);
  --glow-ward: rgba(120, 255, 229, 0.5);
  --glow-aurora: rgba(255, 156, 227, 0.5);
  --glow-ember: rgba(255, 120, 82, 0.5);
  --glow-ink: rgba(138, 123, 255, 0.5);
  --glow-starlight: rgba(255, 236, 179, 0.5);

  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-tooltip: 500;
  --z-toast: 600;

  /* ========================================
     INTERACTION TRANSFORMS
     ======================================== */
  --hover-lift-primary: translateY(-6px);
  --hover-lift-secondary: translateY(-3px);
  --hover-lift-button: translateY(-2px);
  --active-scale: scale(0.98);
}
