/* ============================================
   DESIGN TOKENS — Alauddin Khilji
   Dark Cinematic Museum Theme
   ============================================ */

:root {
  /* ---- Color Palette ---- */
  --color-bg-primary: #0e0e0e;
  --color-bg-secondary: #141414;
  --color-bg-tertiary: #1a1a1a;
  --color-bg-card: #1c1c1c;
  --color-bg-card-hover: #242424;
  --color-bg-elevated: #202020;
  --color-bg-overlay: rgba(10, 10, 10, 0.92);
  --color-bg-hero-overlay: rgba(10, 10, 10, 0.7);

  /* Gold spectrum */
  --color-gold: #c9a84c;
  --color-gold-bright: #e2c36b;
  --color-gold-dim: #9e7e30;
  --color-gold-muted: rgba(201, 168, 76, 0.15);
  --color-gold-glow: rgba(201, 168, 76, 0.08);

  /* Crimson spectrum */
  --color-crimson: #8b2500;
  --color-crimson-bright: #b33000;
  --color-crimson-dim: #5c1800;
  --color-crimson-muted: rgba(139, 37, 0, 0.2);

  /* Text colors */
  --color-text-primary: #e8e0d0;
  --color-text-secondary: #b0a890;
  --color-text-muted: #7a7060;
  --color-text-inverse: #0e0e0e;
  --color-text-gold: var(--color-gold);
  --color-text-crimson: #d44020;

  /* Borders */
  --color-border: rgba(201, 168, 76, 0.12);
  --color-border-strong: rgba(201, 168, 76, 0.3);
  --color-border-subtle: rgba(255, 255, 255, 0.05);

  /* Link colors */
  --color-link: var(--color-gold);
  --color-link-hover: var(--color-gold-bright);

  /* ---- Typography ---- */
  --font-heading: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --font-subheading: 'Cinzel', Georgia, serif;
  --font-body: 'Cormorant Garamond', 'Georgia', serif;
  --font-ui: 'Outfit', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-hindi-heading: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  --font-hindi-body: 'Noto Sans Devanagari', sans-serif;

  /* Type scale — fluid clamp */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 3.8rem);
  --text-4xl: clamp(2.8rem, 2rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 6.5rem);

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.65;
  --leading-relaxed: 1.85;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;
  --tracking-widest: 0.2em;

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

  /* ---- Spacing ---- */
  --space-3xs: 0.15rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* ---- Layout ---- */
  --container-max: 1320px;
  --container-narrow: 780px;
  --container-wide: 1440px;
  --container-padding: clamp(1.25rem, 1rem + 2vw, 3rem);
  --header-height: 72px;
  --header-height-scrolled: 56px;

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;
  --transition-fast: var(--duration-fast) var(--ease-out);
  --transition-base: var(--duration-base) var(--ease-out);
  --transition-slow: var(--duration-slow) var(--ease-out);

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.1);
  --shadow-crimson: 0 0 30px rgba(139, 37, 0, 0.15);
  --shadow-inner: inset 0 2px 8px rgba(0, 0, 0, 0.3);

  /* ---- Border Radius ---- */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ---- Z-index layers ---- */
  --z-behind: -1;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;
}
