/* ============================================
   SUMEI DAO — Design System Variables
   苏梅岛国际艺术家驻地创作平台
   ============================================ */

:root {
  /* ── Primary Colors ── */
  --color-bg-primary: #0A0A0A;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1A1A1A;
  --color-bg-card: #151515;
  --color-bg-card-hover: #1E1E1E;
  --color-bg-overlay: rgba(10, 10, 10, 0.85);

  /* ── Text Colors ── */
  --color-text-primary: #FAFAF8;
  --color-text-secondary: #A0A0A0;
  --color-text-tertiary: #6B6B6B;
  --color-text-inverse: #0A0A0A;

  /* ── Accent Colors ── */
  --color-accent-gold: #C9A96E;
  --color-accent-gold-light: #D4BA85;
  --color-accent-gold-dark: #A88B4A;
  --color-accent-rose: #B76E79;
  --color-accent-rose-light: #C9909A;

  /* ── Nature Colors ── */
  --color-nature-green: #4A7C59;
  --color-nature-green-light: #5E9B70;
  --color-nature-blue: #2D5F7C;
  --color-nature-sand: #E8DCC8;
  --color-nature-ocean: #1A3A4A;

  /* ── Neutral Colors ── */
  --color-neutral-100: #F5F5F5;
  --color-neutral-200: #E5E5E5;
  --color-neutral-300: #D4D4D4;
  --color-neutral-400: #A3A3A3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;

  /* ── Gradients ── */
  --gradient-gold: linear-gradient(135deg, #C9A96E 0%, #D4BA85 50%, #A88B4A 100%);
  --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #151515 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
  --gradient-card: linear-gradient(145deg, rgba(201,169,110,0.08) 0%, rgba(10,10,10,0) 50%);

  /* ── Typography ── */
  --font-display: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Font Sizes (fluid) ── */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);
  --text-hero: clamp(3.5rem, 2.5rem + 6vw, 7rem);

  /* ── Font Weights ── */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ── Line Heights ── */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* ── Letter Spacing ── */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

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

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 24px rgba(201,169,110,0.15);
  --shadow-glow: 0 0 40px rgba(201,169,110,0.1);

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* ── Z-Index Scale ── */
  --z-behind: -1;
  --z-default: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* ── Container ── */
  --container-max: 1400px;
  --container-narrow: 900px;
  --container-padding: clamp(1.5rem, 1rem + 2vw, 4rem);

  /* ── Header ── */
  --header-height: 80px;
}
