/* ===== CSS Custom Properties ===== */

:root {
  /* ---- Accent ---- */
  --accent: #6366f1;
  --accent-90: rgba(99, 102, 241, 0.90);
  --accent-60: rgba(99, 102, 241, 0.60);
  --accent-30: rgba(99, 102, 241, 0.30);
  --accent-15: rgba(99, 102, 241, 0.15);
  --accent-08: rgba(99, 102, 241, 0.08);

  /* ---- Surface layers (light) ---- */
  --surface-1: #efeff3;
  --surface-2: #f6f6f9;
  --surface-3: #fdfdfd;
  --surface-glass: rgba(255, 255, 255, 0.55);
  --surface-glass-strong: rgba(255, 255, 255, 0.78);

  /* ---- Text opacity cascade ---- */
  --text-95: rgba(0, 0, 0, 0.95);
  --text-85: rgba(0, 0, 0, 0.85);
  --text-70: rgba(0, 0, 0, 0.70);
  --text-55: rgba(0, 0, 0, 0.55);
  --text-40: rgba(0, 0, 0, 0.40);
  --text-25: rgba(0, 0, 0, 0.25);
  --text-10: rgba(0, 0, 0, 0.10);
  --text-05: rgba(0, 0, 0, 0.05);

  /* ---- Borders ---- */
  --border-light: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.10);

  /* ---- Shadows (light) ---- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 6px 28px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 0 32px rgba(99, 102, 241, 0.12);

  /* ---- Radius ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* ---- Typography ---- */
  --font-body: 'LXGW WenKai Screen', '霞鹜文楷 Screen', 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'Songti SC', 'SimSun', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', 'Monaco', monospace;

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

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.25s;
  --duration-slow: 0.4s;

  /* ---- Layout ---- */
  --content-max: 1100px;
  --navbar-height: 60px;

  /* ---- Category colors ---- */
  --cat-dev: #6366f1;
  --cat-debug: #f59e0b;
  --cat-deploy: #10b981;
  --cat-docs: #3b82f6;
  --cat-ai: #ec4899;
  --cat-other: #8b5cf6;
}
