:root {
  --bg: #0b2416;
  --bg-2: #12331f;
  --card: #163d26;
  --line: #24543a;
  --text: #f6f1e4;
  --muted: #b9c7b9;
  --gold: #e8bf5a;
  --gold-2: #f3d78e;
  --red: #c8323c;
  --red-2: #e04b55;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, #1d4a2f 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 110%, #3a1418 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, .display { font-family: Georgia, "Times New Roman", serif; letter-spacing: .01em; }
h1 .accent, .accent { color: var(--gold); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.btn {
  background: var(--red); border: 0; border-radius: 10px;
  padding: 12px 18px; font-weight: 600; color: #fff;
}
.btn:hover { background: var(--red-2); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn.ghost:hover { border-color: var(--gold); color: var(--text); }
.btn.small { padding: 6px 10px; font-size: 14px; }

input[type=text] {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 18px; outline: none;
}
input[type=text]:focus { border-color: var(--gold); }

.card {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.muted { color: var(--muted); }

/* snowfall */
.snow { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.snow i {
  position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; opacity: .5; animation: fall linear infinite;
}
@keyframes fall { to { transform: translate3d(var(--drift, 20px), 110vh, 0); } }
main, header, .layer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }
