/* ============================================
   Perlart 手作理想国 — 设计系统变量
   治愈系日式极简 + 新中式国潮
   ============================================ */

:root {
  /* === 主色调 === */
  --color-gold: #C9A96E;
  --color-gold-light: #DDBF8A;
  --color-gold-dark: #A8873F;
  --color-cream: #FDF8F0;
  --color-cream-dark: #F5EDE0;
  --color-ink: #2C2C2C;
  --color-ink-light: #4A4A4A;

  /* === 辅助色 === */
  --color-sakura: #E8B4B8;
  --color-celadon: #8FB8A0;
  --color-mist-blue: #A3B5C7;
  --color-warm-gray: #9E9589;
  --color-light-gray: #E8E4DE;
  --color-off-white: #FAF7F2;

  /* === 功能色 === */
  --color-success: #7BAE7F;
  --color-error: #D4756B;
  --color-link: #8B7355;
  --color-link-hover: #C9A96E;

  /* === 渐变 === */
  --gradient-gold: linear-gradient(135deg, #C9A96E 0%, #DDBF8A 50%, #C9A96E 100%);
  --gradient-hero: linear-gradient(180deg, rgba(44,44,44,0.3) 0%, rgba(44,44,44,0.6) 100%);
  --gradient-card: linear-gradient(180deg, rgba(253,248,240,0) 0%, rgba(253,248,240,0.95) 100%);
  --gradient-section: linear-gradient(180deg, #FDF8F0 0%, #FAF7F2 100%);

  /* === 字体 === */
  --font-heading: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Playfair Display', serif;

  /* === 字号 === */
  --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-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* === 行高 === */
  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
  --leading-loose: 2;

  /* === 字重 === */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* === 间距 === */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* === 圆角 === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* === 阴影 === */
  --shadow-sm: 0 1px 3px rgba(44,44,44,0.06);
  --shadow-md: 0 4px 12px rgba(44,44,44,0.08);
  --shadow-lg: 0 8px 30px rgba(44,44,44,0.1);
  --shadow-xl: 0 16px 50px rgba(44,44,44,0.12);
  --shadow-gold: 0 4px 20px rgba(201,169,110,0.2);
  --shadow-hover: 0 12px 40px rgba(44,44,44,0.15);

  /* === 过渡 === */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === 布局 === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  /* === 导航高度 === */
  --nav-height: 80px;
  --nav-height-mobile: 64px;

  /* === Z-index === */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}
