/* ============================================================
   Design Tokens — PortfolioKimiK3
   风格基准：深色极客风（参考 radnaabazar.com 基调）
   用法：所有组件只引用变量，禁止散落魔法值
   ============================================================ */

:root {
  /* ---- 色板 Color ---- */
  --bg-base: #0f0e1a;          /* 页面主背景：深藏青紫 */
  --bg-elevated: #17162b;      /* 卡片/浮层背景 */
  --bg-glass: rgba(255, 255, 255, 0.04); /* 玻璃态卡片 */
  --accent: #cbacf9;           /* 主强调色：淡紫 */
  --accent-dim: rgba(203, 172, 249, 0.12); /* 强调色淡底 */
  --accent-green: #00ff99;     /* 次强调色：荧光绿（少量点缀） */
  --accent-green-deep: #069f66; /* 暗绿：教育卡片悬停光束（取自参考站 secondary） */
  --accent-green-beam: rgba(6, 159, 102, 0.42); /* 半透明光束：透出底色，保持文字可读 */
  --text-primary: #ffffff;
  --text-secondary: #bec1dd;
  --text-muted: #7c7f9a;
  --border-subtle: rgba(190, 193, 221, 0.12);
  --border-strong: #3f3e48;

  /* ---- 字体 Typography ---- */
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  /* 字号体系对标参考站 radnaabazar.com：
     正文克制（14-16px），层级靠大标题（36→48→72→80px）拉开对比 */
  --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-4xl: 2.25rem;   /* 36px 板块标题（移动端） */
  --text-5xl: 3rem;      /* 48px 板块标题（桌面端）/ 时间线大数字 */
  --text-7xl: 4.5rem;    /* 72px Hero 名字（桌面端） */
  --text-giant: 5rem;    /* 80px 结尾大标题（桌面端） */
  --leading-tight: 1.2;
  --leading-body: 1.75;

  /* ---- 间距 Spacing（4px 基网） ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --section-gap: clamp(4rem, 10vw, 8rem); /* 板块间距 */
  --container: min(75%, 110rem);          /* 内容占屏宽 75%，超宽屏封顶 1760px */

  /* ---- 圆角 Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;  /* 胶囊按钮 */

  /* ---- 阴影 Shadow ---- */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(203, 172, 249, 0.15);
  --shadow-green-glow: 0 0 24px rgba(0, 255, 153, 0.2);

  /* ---- 动效 Motion ---- */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tailwind CSS v4 迁移映射：将下方块复制到项目入口 CSS 即可
@theme {
  --color-bg-base: #0f0e1a;
  --color-bg-elevated: #17162b;
  --color-accent: #cbacf9;
  --color-accent-green: #00ff99;
  --color-text-primary: #ffffff;
  --color-text-secondary: #bec1dd;
  --font-mono: "JetBrains Mono", ui-monospace, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*/
