/* ==========================================================================
   CHƠ RO: THEO DẤU HẠT LÚA — DESIGN SYSTEM & TOKENS
   Art Direction: Editorial, Museum, Documentary, Organic, Dignified
   ========================================================================== */

:root {
  /* Core Color Palette */
  --color-forest-charcoal: #171A16; /* Than rừng - Primary dark background */
  --color-deep-night: #0F120E;     /* Nền sâu lắng hơn */
  --color-natural-fiber: #E9DFC9;   /* Kem sợi tự nhiên - Text & Light background */
  --color-warm-ivory: #F5EFE6;      /* Kem sáng ấm áp */
  --color-earth-red: #99452E;       /* Đỏ đất bazan - Primary accent */
  --color-earth-dark: #5A1C0E;      /* Đỏ đất trầm sâu cho Sayangva */
  --color-rice-gold: #C99A3D;       /* Vàng hạt lúa - Limited highlight */
  --color-rice-gold-glow: rgba(201, 154, 61, 0.25);
  --color-dark-leaf: #31483A;       /* Xanh lá sẫm rừng già - Secondary layer */
  --color-muted-stone: #8E8A7E;     /* Chữ phụ / nhãn thời gian */
  --color-border-subtle: rgba(233, 223, 201, 0.14);
  --color-border-warm: rgba(153, 69, 46, 0.35);

  /* Status and Metadata Colors */
  --color-badge-pending-bg: rgba(201, 154, 61, 0.12);
  --color-badge-pending-text: #E5B358;
  --color-badge-verified-bg: rgba(49, 72, 58, 0.35);
  --color-badge-verified-text: #A3C7AF;
  --color-badge-field-bg: rgba(153, 69, 46, 0.2);
  --color-badge-field-text: #E0856E;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2.5rem;   /* 40px */
  --space-xl: 4rem;     /* 64px */
  --space-2xl: 6.5rem;  /* 104px */
  --space-3xl: 10rem;   /* 160px */

  /* Layout Containers */
  --container-max: 1380px;
  --container-wide: 1600px;
  --container-reading: 780px;
  --gutter: 2rem;

  /* Transitions */
  --transition-slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 450ms cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 250ms ease-out;

  /* Elevation & Shadows */
  --shadow-editorial: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
  }
}
