:root {
  --dw-bg: #0a0506; --dw-fg: #f6eadb; --dw-accent: #f3c568; --dw-panel: rgba(18, 8, 10, .95);
  --dw-font-body: 'Josefin Sans', system-ui, sans-serif; --display: 'Limelight', Georgia, serif; --mono: 'Overpass Mono', ui-monospace, monospace;
  --velvet: #7a0f17; --line: rgba(246, 234, 219, .15); --x: 30%; --y: 40%;
}
body { overflow-x: hidden; font-size: 1.08rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--dw-accent); }
section { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 64px); }
button { font: inherit; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 14px clamp(16px, 4vw, 40px); background: #0a0506c4; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #f3c56822; }
.brand { font-family: var(--display); font-size: 1.4rem; color: var(--dw-fg); text-decoration: none; }
.brand span { color: var(--dw-accent); }
.topbar nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.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: 0; margin: 0; }
.hero-art img { width: 100%; height: 108%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 35%, #0a0506e6 78%, #0a0506 100%); }
.hero-copy { position: relative; z-index: 3; max-width: 820px; margin: 0 auto; text-align: center; padding: 0 clamp(16px, 5vw, 64px) clamp(44px, 9vh, 100px); }
.kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dw-accent); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.6rem); text-shadow: 0 4px 40px #000; }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 58ch; margin: 0 auto; opacity: .93; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.5rem; }
.btn { text-decoration: none; color: var(--dw-fg); border: 1px solid var(--dw-accent); padding: .85em 1.4em; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.btn:hover { background: #f3c56822; }
.btn-gold { background: var(--dw-accent); color: #2a1300; }
.btn-gold:hover { background: #ffd98f; }
.hs { position: absolute; z-index: 2; width: 7%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed transparent; background: transparent; padding: 0; transition: border-color .3s, background .3s; }
.hs:hover, .hs:focus-visible { border-color: var(--dw-accent); background: #f3c56822; }
.hs.is-found { border-color: #9be7a588; }
.hs-screens { left: 56%; top: 42%; width: 9%; } .hs-gap { left: 46%; top: 22%; } .hs-mark { left: 30%; top: 82%; width: 9%; }

.peek { max-width: 1180px; margin: 0 auto; }
.peek-head { max-width: 760px; margin: 0 auto 1.4rem; text-align: center; }
.link { background: none; border: 0; padding: 0; color: var(--dw-accent); text-decoration: underline; cursor: pointer; }
.board-wrap { border-radius: 14px; padding: 10px; background: linear-gradient(90deg, var(--velvet), #4a070c 8%, #2a0407 50%, #4a070c 92%, var(--velvet)); box-shadow: 0 40px 100px #000c; }
.board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: clamp(14px, 2.4vw, 26px); border-radius: 10px; background: #130a0b; overflow: hidden; cursor: crosshair; touch-action: manipulation; }
.board:focus-visible { outline: 2px solid var(--dw-accent); }
@media (max-width: 820px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .board { grid-template-columns: 1fr; } }
.app { position: relative; background: linear-gradient(160deg, #2a1416, #1a0c0e); border: 1px solid #f3c56833; border-radius: 10px; padding: 18px 18px 16px; min-height: 190px; transition: border-color .4s, box-shadow .4s; }
.app.is-spotted { border-color: var(--dw-accent); box-shadow: 0 0 0 1px var(--dw-accent), 0 0 30px #f3c56833; }
.app h3 { font-size: 1.6rem; color: var(--dw-fg); }
.app p { margin: 0 0 .6em; font-size: .98rem; }
.app a { font-family: var(--mono); font-size: .82rem; }
.status { display: inline-block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: .25em .6em; border-radius: 999px; border: 1px solid currentColor; color: #d9c6b3; }
.status.live { color: #8fe3a0; } .status.proto { color: var(--dw-accent); } .status.early { color: #e79b8c; }
.mystery { display: grid; align-content: center; justify-items: center; text-align: center; background: repeating-linear-gradient(45deg, #1d0e10 0 12px, #241214 12px 24px); }
.mystery h3 { letter-spacing: .3em; }
.mystery-btn { background: transparent; color: var(--dw-accent); border: 1px dashed var(--dw-accent); border-radius: 999px; padding: .4em 1em; cursor: pointer; }
.mystery-btn.is-found { border-style: solid; }
.dark { position: absolute; inset: 0; pointer-events: none; background: #070304f2; transition: opacity .8s;
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent 0 88px, #000 120px);
  mask-image: radial-gradient(circle at var(--x) var(--y), transparent 0 88px, #000 120px); }
.board.lights-up { cursor: auto; }
.board.lights-up .dark { opacity: 0; }
.peek-count { text-align: center; font-family: var(--mono); font-size: .9rem; margin-top: 1rem; }
.now { text-align: center; opacity: .85; }

.vote { text-align: center; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 900px; margin: 1.6rem auto 0; }
.offer { font-size: 1.15rem; font-weight: 700; color: var(--dw-fg); background: #1a0c0e; border: 1px solid var(--line); border-radius: 12px; padding: 1.2em; cursor: pointer; transition: border-color .2s, transform .2s; }
.offer small { font-weight: 400; font-size: .88rem; opacity: .75; }
.offer:hover, .offer:focus-visible { border-color: var(--dw-accent); transform: translateY(-2px); }
.found { font-family: var(--mono); font-size: .88rem; margin-top: 2.4rem; opacity: .85; }
.reward { max-width: 640px; margin: 1rem auto; padding: 1rem 1.2rem; border: 1px solid var(--dw-accent); border-radius: 10px; background: #f3c56814; }
.journal { max-width: 720px; margin: 1rem auto 0; text-align: left; }
.journal li { margin: .5em 0; }

.testers { display: grid; justify-items: center; text-align: center; background: radial-gradient(80% 60% at 50% 100%, #3a0a10, transparent); }
.testers > p { max-width: 56ch; }
.testers .dw-optin { text-align: left; width: 100%; }
.pick { display: grid; gap: 4px; font-size: .9rem; }
.pick select { font: inherit; padding: .7em .9em; border-radius: 10px; border: 1px solid #f6eadb4d; background: #160a0c; color: var(--dw-fg); }
.offer-note { margin: 0; color: var(--dw-accent); font-family: var(--mono); font-size: .85rem; }
.foot { padding: 30px 16px 10px; text-align: center; border-top: 1px solid var(--line); }
.more { font-size: .95rem; }
.glyph { background: none; border: 0; color: inherit; cursor: pointer; padding: 0 .3em; }
.glyph.is-found { color: var(--dw-accent); }
