/*
  tokens.css
  ---------------------------------------------------------------------------
  Design tokens for the Permanent Way Games redesign prototype.
  Source of truth: /docs/03-design-system.md
  DO NOT hardcode colors/fonts/spacing anywhere else — always reference these
  custom properties. If a token is missing, add it here AND update the doc.
  ---------------------------------------------------------------------------
*/

:root {
  /* Color -- backgrounds */
  --bg-void: #07070a;
  --bg-surface: #12121a;
  --bg-elevated: #1b1b26;
  --bg-elevated-hover: #242433;

  /* Color -- borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Color -- text */
  --text-primary: #f3efe6;
  --text-secondary: #b9b4ac;
  --text-muted: #7d7a82;

  /* Color -- accents */
  --accent-crimson: #e8291f;
  --accent-crimson-hover: #ff3b2f;
  --accent-gold: #caa159;
  --accent-gold-soft: #e8cd9a;

  /* Color -- status badges */
  --status-released: #4caf6b;
  --status-coming: #caa159;
  --status-dev: #5b8fd6;

  /* Overlay */
  --overlay-scrim: linear-gradient(
    180deg,
    rgba(7, 7, 10, 0) 0%,
    rgba(7, 7, 10, 0.85) 75%,
    rgba(7, 7, 10, 1) 100%
  );
  --overlay-scrim-side: linear-gradient(
    90deg,
    rgba(7, 7, 10, 0.95) 0%,
    rgba(7, 7, 10, 0.55) 45%,
    rgba(7, 7, 10, 0.15) 100%
  );

  /* Typography */
  --font-display: "Cinzel", serif;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 20px;
  --fs-lg: 28px;
  --fs-xl: 38px;
  --fs-2xl: 56px;
  --fs-3xl: 84px;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* Motion */
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur-medium: 500ms;

  /* Z-index scale */
  --z-nav: 100;
  --z-overlay: 200;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-medium: 0ms;
  }
}
