:root {
  --dw-bg: #0b0820; --dw-fg: #ece8ff; --dw-accent: #3ef0ff; --dw-panel: rgba(16, 12, 40, .95);
  --dw-font-body: 'Space Grotesk', system-ui, sans-serif; --display: 'Unbounded', 'Arial Black', sans-serif; --mono: 'VT323', ui-monospace, monospace;
  --mag: #ff3fb4; --sun: #ff9a3c; --line: rgba(236, 232, 255, .15);
}
body { overflow-x: hidden; background: radial-gradient(120% 60% at 50% 0%, #1a1046, var(--dw-bg) 60%) fixed, var(--dw-bg); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.6vw, 3.1rem); }
h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 2rem; color: var(--sun); }
section { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 64px); }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 12px clamp(16px, 4vw, 40px); background: #0b0820c4; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; color: var(--dw-accent); text-decoration: none; }
.brand span { color: var(--mag); }
.topbar nav { display: flex; align-items: center; gap: 18px; font-size: .9rem; }
.topbar nav a { color: var(--dw-fg); text-decoration: none; opacity: .8; }
.topbar nav a:hover { opacity: 1; color: var(--dw-accent); }
@media (max-width: 640px) { .topbar nav a { display: none; } }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 0; overflow: hidden; }
.hero-art { position: absolute; inset: -4% 0 auto; width: 100%; height: 108%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0820f0 0%, #0b082099 38%, transparent 70%), linear-gradient(transparent 55%, var(--dw-bg) 98%); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; padding: 0 clamp(16px, 5vw, 64px) clamp(48px, 10vh, 120px); }
.kicker { font-family: var(--mono); font-size: 1.25rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dw-accent); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); text-shadow: 0 6px 40px #000; }
.hero h1 em { font-style: normal; color: var(--mag); text-shadow: 0 0 28px #ff3fb488; }
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 54ch; opacity: .92; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn { font-family: var(--display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--dw-fg);
  border: 2px solid var(--dw-fg); padding: 1em 1.4em; border-radius: 999px; transition: background .2s, color .2s; }
.btn:hover { background: var(--dw-fg); color: var(--dw-bg); }
.btn-hot { background: var(--dw-accent); border-color: var(--dw-accent); color: #05121a; }
.btn-hot:hover { background: #a6faff; border-color: #a6faff; }

.hs { position: absolute; width: 8%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed transparent; background: transparent; transition: border-color .3s, background .3s; z-index: 3; }
.hs:hover, .hs:focus-visible { border-color: var(--dw-accent); background: #3ef0ff22; }
.hs.is-found { border-color: #ff9a3c88; }
.hs-hero-trail { right: 16%; top: 38%; width: 6%; min-width: 44px; animation: blink 3.4s ease-in-out infinite; background: radial-gradient(#3ef0ff40, transparent 70%); }
@keyframes blink { 50% { opacity: .35; transform: scale(1.2); } }

.brief { display: grid; place-items: center; }
.brief-panel { max-width: 720px; border: 1px solid #3ef0ff55; border-radius: 18px; padding: clamp(22px, 4vw, 40px); background: linear-gradient(160deg, #150f3a, #0d0a26);
  box-shadow: 0 0 0 6px #3ef0ff0d, 0 30px 80px #000a; }
.stamp { font-family: var(--mono); font-size: 1.2rem; color: var(--sun); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.orders-list { margin: 0; padding-left: 1.3em; display: grid; gap: .8em; }
.orders-list b { color: var(--dw-accent); }

.game { text-align: center; }
.game-head { max-width: 820px; margin: 0 auto 1.4rem; }
.game-head p { opacity: .85; }
.cy { color: var(--dw-accent); font-weight: 700; }
kbd { font-family: var(--mono); font-size: 1.05rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; }
.game-frame { position: relative; max-width: 900px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid #3ef0ff44;
  box-shadow: 0 0 60px #3ef0ff22, 0 40px 120px #000c; }
#rink { width: 100%; height: auto; aspect-ratio: 3 / 2; background: #07051a; touch-action: none; cursor: crosshair; }
#rink.is-square { aspect-ratio: 1; }
.hud { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 1.25rem; color: #c9c2ff; pointer-events: none; }
.hud b { color: var(--dw-accent); }
.hud span:last-child b { color: var(--mag); }
.hud-msg { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px; font-family: var(--mono); font-size: 1.3rem; background: linear-gradient(transparent, #000d); pointer-events: none; }
.pads { margin-top: 16px; }
.pads button { font: inherit; padding: .7em 1.4em; border-radius: 999px; border: 1px solid var(--line); background: #150f3a; color: var(--dw-fg); cursor: pointer; }
.pads button:hover { border-color: var(--dw-accent); }

.warroom { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.warroom .reward, .warroom .journal { grid-column: 1 / -1; }
@media (max-width: 860px) { .warroom { grid-template-columns: 1fr; } }
.art { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px #000b; }
.art img { width: 100%; height: auto; }
.hs-mug { left: 9%; top: 56%; width: 11%; } .hs-calipers { left: 15%; top: 76%; } .hs-cat { left: 72%; top: 17%; width: 14%; }
.features { padding-left: 1.1em; }
.features li { margin: .45em 0; }
.features b { color: var(--dw-accent); }
.found { font-family: var(--mono); font-size: 1.3rem; opacity: .9; }
.reward { max-width: 720px; margin: 1rem auto 0; padding: 1rem 1.2rem; border: 1px solid var(--sun); border-radius: 12px; background: #ff9a3c14; }
.journal { max-width: 760px; margin: 1rem auto 0; opacity: .92; }
.journal li { margin: .5em 0; }

.vote { text-align: center; max-width: 980px; margin: 0 auto; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 1rem auto 0; }
.offer { font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--dw-fg); background: #150f3a; border: 1px solid var(--line); border-radius: 16px; padding: 1.1em; cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.offer small { font-weight: 400; font-size: .85rem; opacity: .75; }
.offer:hover, .offer:focus-visible { border-color: var(--mag); transform: translateY(-2px); box-shadow: 0 0 24px #ff3fb433; }

.enlist { display: grid; justify-items: center; text-align: center; background: linear-gradient(transparent, #1c0b2e); }
.enlist .dw-optin { text-align: left; width: 100%; }
.offer-note { margin: 0; color: var(--sun); font-family: var(--mono); font-size: 1.2rem; }

.foot { padding: 30px 16px 10px; text-align: center; border-top: 1px solid var(--line); }
.more { font-size: .92rem; }
.glyph { font: inherit; background: none; border: 0; color: inherit; padding: 0 .3em; opacity: .6; }
.glyph:hover, .glyph:focus-visible { opacity: 1; color: var(--dw-accent); }

@media (max-width: 640px) { .hud-msg { position: static; background: #000; font-size: 1.15rem; } }
