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

:root {
  --bg: #0a0a0a;
  --fg: #e8e4df;
  --muted: #666;
  --accent: #888;
}

html {
  font-size: 18px;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18vh 10vw 10vh 10vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 1.5s ease, color 1.5s ease;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

h1 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.word {
  font-size: 3.25rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

footer {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  display: flex;
  gap: 1rem;
  align-items: center;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--fg);
}

footer span {
  color: rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  body {
    padding: 14vh 8vw 8vh 8vw;
  }
  
  main {
    gap: 2.5rem;
  }
  
  .word {
    font-size: 2.5rem;
  }
}

/* Time-based themes */
body.morning {
  --bg: #f5f0e8;
  --fg: #2a2520;
  --muted: #8a8580;
  --accent: #5a5550;
}

body.afternoon {
  --bg: #faf6f0;
  --fg: #1a1815;
  --muted: #9a9590;
  --accent: #6a6560;
}

body.evening {
  --bg: #1a1512;
  --fg: #e8e0d8;
  --muted: #786860;
  --accent: #a89888;
}

body.night {
  --bg: #0a0a0a;
  --fg: #e8e4df;
  --muted: #666;
  --accent: #888;
}
