:root {
  --bg: #0a0f14; --panel: #0f171f; --panel2: #131e28; --line: #1e2d3a;
  --fg: #d8e3ea; --muted: #8b9cab; --amber: #ffb01f; --red: #ff3d33; --green: #3fd68c; --blue: #4d8dff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--amber); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; color: var(--fg); text-decoration: none; }
.brand .x { width: 26px; height: 26px; border-radius: 5px; background: #111; display: grid; place-items: center; color: var(--red); font-weight: 900; box-shadow: 0 0 10px rgba(255,61,51,.45); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 14px; }
nav a:hover { color: var(--fg); }
.hero { padding-top: 72px; padding-bottom: 48px; }
.eyebrow { color: var(--amber); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; margin: 12px 0 18px; letter-spacing: -.01em; }
h2 { font-size: 28px; margin: 0 0 14px; }
h3 { margin: 0 0 6px; font-size: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; background: var(--amber); color: #111; font-weight: 800; padding: 14px 26px; border-radius: 8px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.price { font-size: 15px; color: var(--muted); }
.price b { color: var(--fg); font-size: 22px; }
.gantry { margin-top: 44px; display: flex; gap: 10px; justify-content: center; padding: 22px; background: #070b0f; border: 1px solid var(--line); border-radius: 12px; }
.aspect { width: 78px; height: 78px; background: #050505; border-radius: 8px; display: grid; place-items: center; font: 900 30px/1 "Segoe UI", sans-serif; }
.aspect.red { color: var(--red); text-shadow: 0 0 14px rgba(255,61,51,.8); font-size: 46px; }
.aspect.ring { color: #fff; border: 6px solid var(--red); border-radius: 50%; width: 78px; height: 78px; text-shadow: 0 0 8px rgba(255,255,255,.4); }
.aspect.arrow { color: #fff; font-size: 40px; }
section { padding: 52px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.shot { margin: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.shot figcaption { padding: 8px 12px; color: var(--muted); font-size: 14px; }
ul.specs { padding-left: 20px; color: var(--muted); }
.legal { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p, .legal li { color: #c3cfd8; }
footer { border-top: 1px solid var(--line); background: var(--panel); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--muted); }
footer .rights { flex-basis: 100%; margin: 6px 0 0; font-size: 13px; }
@media (max-width: 560px) { nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; } nav a { margin-left: 0; } .aspect { width: 56px; height: 56px; font-size: 22px; } .aspect.ring { width: 56px; height: 56px; } .aspect.red { font-size: 34px; } }

.shot a.zoom { display: block; cursor: zoom-in; }
.shot a.zoom:hover img { opacity: .9; }
#viewer { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
#viewer[hidden] { display: none; }
#viewer img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
#viewer button { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.shot.wide { grid-column: 1 / -1; }
ul.credits { list-style: none; padding: 0; display: grid; gap: 12px; }
ul.credits li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
ul.credits b { color: var(--fg); }
.soon { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.thanks { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.keybox { margin: 22px 0; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.keybox .label { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.keybox .key { font: 700 26px/1.3 Consolas, "Courier New", monospace; color: var(--amber); letter-spacing: .06em; word-break: break-all; margin: 6px 0 14px; }
.keybox .email { font-weight: 700; color: var(--fg); word-break: break-all; }
.keybox button { background: var(--panel2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.keybox button:hover { border-color: var(--amber); }
.notice { color: var(--muted); }
.notice.error { color: var(--red); }

/* multiplayer */
.mp-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 16px; border: 1px solid rgba(63,214,140,.45); border-radius: 999px; background: rgba(63,214,140,.08); color: var(--fg); font-size: 15px; font-weight: 600; text-decoration: none; }
.mp-pill:hover { border-color: var(--green); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; display: inline-block; }
section.mp { background: linear-gradient(180deg, #0c1a17 0%, var(--bg) 100%); }
.mp-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.mp .eyebrow { color: var(--green); }
.mp h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin-top: 8px; }
section[id] { scroll-margin-top: 64px; }
.mp-lead { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.mp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mp-list li { padding-left: 26px; position: relative; color: var(--muted); font-size: 15px; }
.mp-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.mp-list b { color: var(--fg); }
.mp-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.lobby { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lobby-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--muted); padding: 2px 4px 12px; }
.lobby-head .live { color: var(--green); display: flex; align-items: center; gap: 6px; }
.room { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); margin-top: 8px; }
.room > div { flex: 1; min-width: 0; }
.room b { display: block; font-size: 15px; }
.room small { color: var(--muted); font-size: 13px; }
.room .seats { color: var(--muted); font: 600 14px/1 Consolas, monospace; }
.room .join { background: var(--green); color: #07130e; font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 6px 10px; border-radius: 6px; }
.room .join.lock { background: var(--amber); color: #111; }
.room.host { border-style: dashed; background: transparent; }
.room.host .join { background: transparent; color: var(--green); border: 1px solid var(--green); }
@media (max-width: 820px) { .mp-grid { grid-template-columns: 1fr; } }
