@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --color-bg: #121110;
  --color-bg-alt: #171513;
  --color-surface: #1c1a17;
  --color-surface-card: #221f1b;
  --color-surface-hover: #292521;
  --color-border: rgba(245, 240, 230, 0.08);
  --color-border-subtle: rgba(245, 240, 230, 0.04);
  --color-border-active: rgba(212, 163, 89, 0.35);

  --color-text: #f5f2ea;
  --color-text-muted: #a69f94;
  --color-text-faint: #736c63;

  --color-accent: #d4a359;
  --color-accent-light: #e8c47f;
  --color-accent-dark: #aa7a33;
  --color-accent-glow: rgba(212, 163, 89, 0.12);

  --color-crimson: #c25450;
  --color-emerald: #4d8363;
  --color-sky: #c48b59;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--color-accent-glow);

  --transition-fast: 150ms ease;
  --transition-normal: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(212, 163, 89, 0.03), transparent 60%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  height: 100%;
  overflow: hidden;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
