/* ============================================================
   宠物蛇品种大全 · 设计变量（唯一变量来源）
   三页共用：index.html / category.html / detail.html
   基准稿：03-ui/home-ui-desktop.png（dark-elegant：深底 + 单一金色强调）
   说明：本文件为人工维护的语义 token；05-design-system/design-system.md
        记录了抽取结果与命名理由，内页只允许引用这里的变量，不写字面色值。
   ============================================================ */
:root {
  /* ---- 底色层次：页面 → 栏目 → 面板 → 页脚 ---- */
  --bg: #0a141e;
  --bg-band: #0d1a26;
  --bg-panel: #14202b;
  --bg-panel-soft: #111d28;
  --bg-footer: #08121c;
  --bg-header: rgba(8, 18, 28, 0.92);
  --bg-header-solid: rgba(8, 18, 28, 0.98);

  /* ---- 强调色：全站唯一强调（标题高亮、按钮、图标、细边框） ---- */
  --gold: #d8b36d;
  --gold-strong: #b8863b;
  --gold-light: #e6c483;
  --gold-soft: rgba(216, 179, 109, 0.16);
  --gold-line: rgba(216, 179, 109, 0.28);

  /* ---- 文字 ---- */
  --text: #efe6d4;
  --text-soft: #c9c3b4;
  --text-muted: #9a988f;
  --text-dim: #7d7c74;
  --ink-invert: #14202b;

  /* ---- 线 ---- */
  --line: rgba(216, 179, 109, 0.14);
  --line-soft: rgba(216, 179, 109, 0.08);
  --line-strong: rgba(216, 179, 109, 0.3);

  /* ---- 遮罩（首屏照片渐隐、页头投影） ---- */
  --shade: rgba(10, 20, 30, 0.35);
  --shade-soft: rgba(10, 20, 30, 0.1);
  --shade-strong: rgba(10, 20, 30, 0.86);
  --shadow-header: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* ---- 字体：标题粗衬线、正文黑体，全部走系统栈，离线可用 ---- */
  --font-display: 'Songti SC',SimSun,'Noto Serif SC',Georgia,serif;
  --font-body: "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* ---- 字号阶 ---- */
  --fs-hero: 64px;
  --fs-h1: 40px;
  --fs-h2: 28px;
  --fs-h3: 19px;
  --fs-lg: 17px;
  --fs-base: 15px;
  --fs-sm: 13.5px;
  --fs-xs: 12.5px;
  --fs-nav: 15px;

  /* ---- 尺寸与圆角 ---- */
  --container: 1280px;
  --gutter: 24px;
  --radius-card: 12px;
  --radius-thumb: 10px;
  --radius-btn: 6px;
  --radius-pill: 999px;

  /* ---- 节奏与动效 ---- */
  --space-section: 30px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
