/* CSS Reset & Variables */
:root, html[data-time="night"] {
  --bg: #07070a;
  --bg-surface: #0d0d12;
  --bg-elevated: #141419;
  --fg: #e2e0dc;
  --fg-muted: #8a8780;
  --fg-dim: #56534e;
  --accent: #00c896;
  --accent-warm: #e8a44a;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.06);
  --glass-blur: 20px;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html[data-time="dawn"] {
  --bg: #0a0c14;
  --bg-surface: #0f1220;
  --accent: #6b9eff;
  --accent-warm: #ffb366;
}

html[data-time="day"] {
  --bg: #f6f5f1;
  --bg-surface: #ffffff;
  --bg-elevated: #f0efeb;
  --fg: #1a1917;
  --fg-muted: #5a5850;
  --fg-dim: #9a9790;
  --accent: #008f6b;
  --glass-bg: rgba(0,0,0,0.03);
  --glass-border: rgba(0,0,0,0.06);
}

html[data-time="golden"] {
  --bg: #0c0a07;
  --bg-surface: #141008;
  --accent: #e8a44a;
  --accent-warm: #ff7849;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  transition: background-color 0.8s ease, color 0.8s ease;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 0.5em;
  color: var(--fg);
}

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

ul {
  list-style: none;
}

code, pre {
  font-family: var(--font-mono);
}
