@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0c0b;
  --bg-glow: #2b1b0b;
  --ink: #f3e6cf;
  --muted: #b9a47f;
  --amber: #f0a840;
  --line: rgba(240, 168, 64, .38);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 1rem 1.5rem;
  background: radial-gradient(ellipse 70% 50% at 50% 22%, var(--bg-glow), var(--bg) 72%) fixed, var(--bg);
  color: var(--ink);
  font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

.lantern {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
}

h1 {
  margin: 1.25rem 0 .35rem;
  font: 700 clamp(1.7rem, 7.2vw, 2.3rem)/1.15 "Cinzel", Georgia, "Times New Roman", serif;
  letter-spacing: .03em;
  color: var(--ink);
}

.tagline {
  margin: 0 0 2rem;
  font: italic 1.1rem/1.4 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--muted);
  letter-spacing: .04em;
}

.links {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.btn {
  display: block;
  padding: .95rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(240, 168, 64, .07);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: #1a1006;
}

.btn:focus-visible,
footer a:focus-visible {
  outline: 2px solid #fff3c9;
  outline-offset: 3px;
}

footer {
  max-width: 28rem;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

footer p { margin: 0; }

footer .legal { margin-top: .75rem; }

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.text {
  max-width: 34rem;
  text-align: left;
}

.text h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); text-align: center; }

.text p { color: var(--ink); }

.text a { color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
