/**
 * DESIGN TOKENS
 * Centralized design system variables for the browser gaming portal.
 */

:root {
  /* Colors - Base & Surfaces */
  --bg-primary: #070709;
  --bg-secondary: #0d0e13;
  --bg-tertiary: #13151d;
  --bg-surface: #181b26;
  --bg-surface-hover: #212534;
  --bg-glass: rgba(14, 16, 23, 0.75);
  --bg-glass-strong: rgba(10, 11, 16, 0.92);

  /* Colors - Accents (Crimson-red palette) */
  --accent-primary: #ff2a4b;
  --accent-primary-hover: #ff4765;
  --accent-primary-active: #d91b39;
  --accent-glow: rgba(255, 42, 75, 0.35);
  --accent-glow-subtle: rgba(255, 42, 75, 0.15);
  --accent-crimson-dark: #660e1b;

  /* Colors - Secondary & Functional */
  --accent-secondary: #00d2ff;
  --accent-amber: #ffaa00;
  --accent-emerald: #00e676;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Text Colors */
  --text-primary: #f5f6fa;
  --text-secondary: #9ea3b5;
  --text-muted: #64687d;
  --text-inverse: #070709;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(255, 42, 75, 0.45);
  --border-focus: rgba(255, 42, 75, 0.85);

  /* Typography Scales */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.844rem;    /* 13.5px */
  --text-base: 0.938rem;  /* 15px */
  --text-md: 1.063rem;    /* 17px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 1.875rem;   /* 30px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* 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 */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Atmospheric Glows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 10px 28px -6px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-subtle);
  --shadow-card-hover: 0 18px 40px -10px rgba(0, 0, 0, 0.85), 0 0 24px var(--accent-glow-subtle), 0 0 0 1px var(--border-accent);
  --shadow-glow: 0 0 25px var(--accent-glow);

  /* Animation Durations & Easings */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout Breakpoints (reference values) */
  --container-max-w: 1380px;
  --header-height: 72px;
}
