/* underlight.slop.kitchen: LAST LIGHT's site's look (site/public/style.css) in KINDLE's warm light. */
@font-face {
  font-family: "Exo 2";
  src: url("/fonts/Exo-2-Bold-Italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #07071a;
  --panel: rgba(28, 24, 74, 0.5);
  --border: rgba(190, 182, 230, 0.16);
  --text: #ece9ff;
  --muted: #aaa3d8;
  --cyan: #5cecff;
  --cyan-deep: #12a8c4;
  --ember: #ffb35c;
  --display: "Exo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 920px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--text);
  background: var(--bg) radial-gradient(900px 560px at 50% -12%, rgba(255, 179, 92, 0.13), transparent 62%) no-repeat;
  min-height: 100vh;
}
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #b6f6ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: 0.88em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
h1, h2, .brand, .btn, .soon { font-family: var(--display); font-style: italic; font-weight: 700; }
h2 { font-size: 1.6rem; margin: 0 0 0.5em; }
main > section { max-width: var(--max); margin: 0 auto; padding: 40px 20px; }
.note { color: var(--muted); font-size: 0.92rem; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 20px; max-width: var(--max); margin: 0 auto; padding: 16px 20px; }
.brand { color: var(--text); text-decoration: none; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.nav nav { margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--text); }
.kindle {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 25%, var(--ember) 45%, rgba(255, 179, 92, 0) 72%);
  box-shadow: 0 0 12px 3px rgba(255, 179, 92, 0.45);
}

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; }
.soon {
  display: inline-block; margin: 0 0 18px; padding: 4px 16px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(255, 179, 92, 0.5); background: rgba(255, 179, 92, 0.1); color: #ffd29a; font-size: 0.95rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 11vw, 6rem); margin: 0; line-height: 1; color: #fff;
  text-shadow: 0 0 30px rgba(255, 179, 92, 0.45);
}
.lead { max-width: 580px; margin: 1em auto 1.4em; color: #d9d4ff; font-size: 1.1rem; }
.get { margin: 0 0 0.6em; }
.hero .note { margin-top: 1.2em; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #8af2ff, var(--cyan) 40%, var(--cyan-deep));
  color: #031018; font-size: 1.1rem; text-decoration: none; line-height: 1.2;
}
.btn:hover { color: #031018; filter: brightness(1.08); }

/* ---------- stills: frames of the game, its pixels kept crisp ---------- */
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stills figure { margin: 0; }
.stills .wide { grid-column: 1 / -1; }
.stills a { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #000; }
.stills a:hover { border-color: var(--ember); }
.stills img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; image-rendering: pixelated; }
.stills figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.stills > .note { grid-column: 1 / -1; margin: 4px 0 0; }

.meanwhile { text-align: center; padding-bottom: 56px; }
.meanwhile p { margin: 0 auto; max-width: 560px; }

/* ---------- footer, 404 ---------- */
.footer { border-top: 1px solid var(--border); text-align: center; padding: 28px 20px 40px; color: var(--muted); font-size: 0.92rem; }
.footer p { margin: 0.3em auto; }
.notfound { text-align: center; padding: 100px 20px; }
.notfound h1 { font-size: 2.4rem; }

@media (max-width: 640px) {
  .stills { grid-template-columns: minmax(0, 1fr); }
  main > section { padding: 32px 16px; }
  .hero { padding-top: 36px; }
}
