/* Lantern Wilds — one committed look: night forest, one warm lantern, cyan
   motes. No script, no webfont: system-ui carries the wordmark everywhere. */
:root {
  color-scheme: dark;
  --bg: #07130f;
  --bg-2: #10261d;
  --fg: #f3efe3;
  --muted: #9cb3a8;
  --lantern: #f3b04d;
  --lantern-2: #ffd58a;
  --mote: #8ef0ff;
  --rule: rgba(243, 239, 227, .1);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(52rem 30rem at 50% -6rem, rgba(243, 176, 77, .22), transparent 62%),
    radial-gradient(36rem 24rem at 8% 100%, rgba(142, 240, 255, .08), transparent 60%),
    radial-gradient(36rem 24rem at 95% 90%, rgba(142, 240, 255, .06), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 42rem);
  color: var(--fg);
  font: 18px/1.6 var(--sans);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* motes: a fixed layer of small cyan points, drifting slowly upward */
body::before {
  content: "";
  position: fixed;
  inset: -10% 0 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 18%, var(--mote) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 78% 12%, var(--mote) 50%, transparent 52%),
    radial-gradient(2.5px 2.5px at 88% 46%, var(--mote) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 22% 62%, var(--mote) 50%, transparent 52%),
    radial-gradient(2px 2px at 64% 74%, var(--mote) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 40% 88%, var(--mote) 50%, transparent 52%),
    radial-gradient(2px 2px at 8% 84%, var(--mote) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 52% 30%, var(--mote) 50%, transparent 52%);
  opacity: .55;
}
.hero {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 14vh 1.5rem 4rem;
  text-align: center;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
/* the waystone ring: an open circle around the lantern, like the pulse in the game */
.ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 9rem;
  height: 9rem;
}
.ring::before,
.ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--mote);
  border-right-color: var(--mote);
  opacity: .8;
}
.ring::after {
  inset: .6rem;
  border-width: 1.5px;
  border-top-color: transparent;
  border-left-color: var(--mote);
  opacity: .45;
}
.mark {
  display: block;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 12px 36px rgba(243, 176, 77, .35));
}
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin: 0;
  line-height: 1;
}
.kicker {
  font-size: clamp(.75rem, 1.5vw, .95rem);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--mote);
  padding-left: .32em; /* balance the trailing tracking */
}
.name {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8ea, var(--lantern-2) 70%, var(--lantern));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  margin-top: .3rem;
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: .18em;
}
.lede {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--fg);
}
.body {
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .55rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(243, 239, 227, .04);
  color: var(--fg);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--lantern);
  box-shadow: 0 0 0 .3rem rgba(243, 176, 77, .2);
}
footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--rule);
}
a { color: var(--lantern-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--mote); }
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .7s ease-out both; }
  .lede { animation-delay: .08s; }
  .body { animation-delay: .16s; }
  .soon { animation-delay: .24s; }
  .ring::before { animation: turn 14s linear infinite; }
  .ring::after { animation: turn 22s linear infinite reverse; }
  body::before { animation: drift 40s linear infinite; }
  .dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes rise { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
  @keyframes turn { to { transform: rotate(360deg); } }
  @keyframes drift { to { transform: translateY(-10vh); } }
  @keyframes pulse { 50% { box-shadow: 0 0 0 .55rem rgba(243, 176, 77, .08); } }
}
