/**
 * Design Tokens for 心境 (xinjing)
 *
 * Shared CSS custom properties for colors, typography, spacing,
 * border radius, shadows, and transitions.
 *
 * Usage: reference via var(--token-name) in any stylesheet.
 */

:root {
  /* === Colors === */
  --color-primary: #D4AF37;
  --color-bg: #0A0A0A;
  --color-surface: #1A1A1A;
  --color-charcoal: #2D2D2D;
  --color-surface-elevated: #3D3D3D;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #9CA3AF;
  --color-text-muted: #6B7280;
  --color-text-faint: #4B5563;
  --color-success: #07C160;
  --color-warning: #FA5151;
  --color-info: #D4AF37;
  --color-border: #2A2A2A;

  /* === Typography === */
  --font-family-base: system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 15px;
  --text-md: 18px;
  --text-lg: 24px;
  --text-xl: 32px;
  --text-2xl: 48px;

  /* === Spacing === */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* === Border Radius === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* === Shadows (dark theme elevation) === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);

  /* === Transitions === */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
}
