@font-face { font-family: "Unbounded"; src: url(assets/Unbounded.woff) format("woff"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(assets/Manrope.woff) format("woff"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #0A0812; --panel: #141024; --line: rgba(244, 234, 208, 0.14);
  --text: #F1EEF7; --muted: #B4AEC4; --gold: #FFD23F; --moon: #F4EAD0;
  --ember: #FF6A3D; --root: #4FD18B; --mist: #B58CFF; --iron: #7FB8FF;
  --display: "Unbounded", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(34px, 6vw, 68px); }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: 18px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 700 12px var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); margin: 0 0 12px; }
.intro { max-width: 720px; color: var(--muted); font-size: 18px; margin: 16px 0 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 10px; border: 0; background: var(--gold); color: #120E1E; font: 800 15px var(--body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--mist); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(244, 234, 208, 0.45); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 12px 20px; background: rgba(10, 8, 18, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .brand { font: 800 18px var(--display); color: var(--moon); text-decoration: none; letter-spacing: 0.02em; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(10,8,18,0.15) 0%, rgba(10,8,18,0.35) 45%, var(--bg) 100%), url(assets/hero.webp) center 30% / cover no-repeat; }
.hero-in { max-width: 1120px; margin: 0 auto; padding: 120px 20px 72px; width: 100%; }
.hero h1 { color: #FFF6DE; text-shadow: 0 2px 30px rgba(0,0,0,0.5); max-width: 820px; }
.lede { max-width: 640px; font-size: 19px; color: #E6E0F2; margin: 20px 0 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* book */
section { padding: 96px 0; }
.book { background: radial-gradient(1200px 600px at 20% 0%, rgba(181, 140, 255, 0.10), transparent 60%); }
.two { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 56px; align-items: start; }
.cover img { border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06); }
.cover { margin: 0; position: sticky; top: 90px; }
.by { color: var(--muted); font-weight: 600; margin: 8px 0 22px; letter-spacing: 0.04em; }
.hook { font: 700 20px/1.4 var(--display); color: var(--moon); }
.meta { color: var(--muted); font-size: 15px; }
.notify { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.notify > label { display: block; font-weight: 800; margin-bottom: 10px; }
.notify .row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify input { flex: 1 1 240px; height: 50px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(244, 234, 208, 0.25); background: #0D0A18; color: var(--text); font: 500 16px var(--body); }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.status { min-height: 1.4em; margin: 10px 0 0; font-weight: 700; }
.status.ok { color: var(--root); } .status.err { color: #FF8A80; }
.hp { position: absolute; left: -9999px; }
.wide { max-width: 1120px; margin: 72px auto 0; padding: 0 20px; }
.wide img { border-radius: 12px; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* game */
.game { border-top: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shots figure { margin: 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }
.features { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.features li { padding-left: 18px; position: relative; color: var(--muted); }
.features li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.features b { color: var(--text); }

/* world */
.world { border-top: 1px solid var(--line); background: radial-gradient(1000px 500px at 80% 10%, rgba(127, 184, 255, 0.07), transparent 60%); }
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kind { padding: 20px; border-radius: 12px; background: var(--panel); border-top: 3px solid var(--c); }
.kind h3 { color: var(--c); margin-bottom: 8px; }
.kind p { margin: 0; color: var(--muted); font-size: 15px; }
.ember { --c: var(--ember); } .root { --c: var(--root); } .mist { --c: var(--mist); } .iron { --c: var(--iron); }
.gallery { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 36px; }
.gallery img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.more { color: var(--muted); font-style: italic; margin-top: 18px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); }
.foot .brand { font: 800 18px var(--display); color: var(--moon); margin: 0 0 8px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: #DDD6EA; }

@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; gap: 32px; }
  .cover { position: static; max-width: 320px; }
  .kinds { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav { gap: 12px; padding: 10px 16px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .wrap, .hero-in, .wide { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: 78vh; }
  .shots, .features { grid-template-columns: 1fr; }
  .kinds { grid-template-columns: 1fr; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
