/* Digitaal menubord – everything inside .stage is sized in em (1em = 1% of the stage width) */
:root { --brand: #e8590c; --bg: #0f0d0c; --panel: #1a1614; --text: #fbf6f1; --muted: #b5aaa1; --line: rgba(255,255,255,.1); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body { display: grid; place-items: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; cursor: pointer; }
body.idle { cursor: none; }
/* demo: website menu above the board */
body.has-dvn { display: block; place-items: normal; overflow: hidden; }
body.has-dvn .stage { margin: 0 auto; }
:fullscreen body.has-dvn .stage { margin-top: 0 !important; }

.stage { position: relative; overflow: hidden; display: grid; grid-template-rows: 9% 1fr 9%; grid-template-columns: 100%; background:
  radial-gradient(60% 50% at 85% 0%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), var(--bg); }

/* header */
.b-top { display: flex; align-items: center; justify-content: space-between; padding: 0 3em; border-bottom: .1em solid var(--line); }
.b-brand { display: flex; align-items: center; gap: 1.1em; }
.b-logo { width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--brand); display: grid; place-items: center; font-size: 1.6em; }
.b-brand b { display: block; font-size: 2em; letter-spacing: -.02em; line-height: 1.1; }
.b-brand small { display: block; color: var(--muted); font-size: 1em; }
.b-right { display: flex; align-items: center; gap: 1.4em; }
.b-clock { font-size: 2.2em; font-weight: 800; font-variant-numeric: tabular-nums; }
.b-demo { font-size: .8em; font-weight: 800; letter-spacing: .15em; padding: .35em .9em; border-radius: 99em; background: linear-gradient(110deg, #7c5cff, #22d3ee); }

/* slides */
.b-slides { position: relative; min-width: 0; overflow: hidden; }
.b-top, .b-foot { min-width: 0; }
.slide { position: absolute; inset: 0; padding: 2.4em 3em 1.6em; opacity: 0; transform: translateY(1.2em); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.slide.on { opacity: 1; transform: none; }

.slide.menu { column-count: var(--cols, 2); column-gap: 3.2em; column-fill: balance; }
.cat { break-inside: avoid; margin-bottom: 1.8em; }
.cat h3 { margin: 0 0 .7em; font-size: 1.9em; letter-spacing: -.01em; display: flex; align-items: center; gap: .5em; }
.cat h3::after { content: ""; flex: 1; height: .1em; border-radius: 1em; background: linear-gradient(90deg, var(--brand), transparent); }
.item { display: flex; align-items: center; gap: .9em; padding: .55em 0; border-bottom: .06em dashed var(--line); break-inside: avoid; }
.it-emoji { font-size: 1.9em; width: 1.4em; text-align: center; flex: none; }
.it-main { flex: 1; min-width: 0; }
.it-main b { display: block; font-size: 1.35em; line-height: 1.2; }
.it-main small { display: block; color: var(--muted); font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-price { font-size: 1.6em; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.it-price small { font-size: .55em; font-weight: 600; color: var(--muted); }
.tag { font-style: normal; font-size: .62em; font-weight: 800; padding: .2em .6em; border-radius: 99em; background: var(--brand); color: #fff; vertical-align: .2em; margin-left: .3em; }
.item.sold { opacity: .45; }
.item.sold .it-main b, .item.sold .it-price { text-decoration: line-through; text-decoration-thickness: .08em; }
.tag.sold { background: #c92a2a; opacity: 1; }

.slide.promo { display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 3em; padding: 2em 5em; }
.pr-emoji { font-size: 14em; text-align: center; line-height: 1; filter: drop-shadow(0 .05em .1em rgba(0,0,0,.5)); }
.slide.on .pr-emoji { animation: pop 1.1s cubic-bezier(.2,.8,.2,1.2); }
@keyframes pop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } }
.pr-kicker { display: inline-block; font-size: 1.2em; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); filter: brightness(1.3); }
.promo.featured .pr-kicker { color: #9cf; }
.pr-body h2 { font-size: 5.2em; line-height: 1; letter-spacing: -.035em; margin: .2em 0 .25em; }
.pr-body p { font-size: 1.9em; color: var(--muted); margin: 0 0 .7em; max-width: 24em; }
.pr-price { display: flex; align-items: baseline; gap: .8em; }
.pr-price b { font-size: 5em; font-weight: 900; background: var(--brand); padding: .05em .35em; border-radius: .2em; transform: rotate(-2deg); display: inline-block; }
.pr-price s { font-size: 2.2em; color: var(--muted); }

/* footer: ticker + QR */
.b-foot { display: flex; align-items: stretch; border-top: .1em solid var(--line); background: rgba(0,0,0,.35); }
.b-ticker { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.b-ticker-row { display: flex; gap: 1.6em; white-space: nowrap; font-size: 1.7em; font-weight: 700; animation: ticker 40s linear infinite; padding-left: 1em; }
.b-ticker-row i { font-style: normal; color: var(--brand); }
@keyframes ticker { to { transform: translateX(-50%); } }
.b-qr { display: flex; align-items: center; gap: .9em; padding: 0 2em 0 1.4em; background: var(--brand); }
.b-qr-code { width: 5.6em; height: 5.6em; background: #fff; padding: .35em; border-radius: .5em; margin-top: -2.6em; box-shadow: 0 .4em 1em rgba(0,0,0,.4); }
.b-qr-code svg { width: 100%; height: 100%; display: block; }
.b-qr span { font-weight: 800; font-size: 1.25em; line-height: 1.1; }

.b-progress { position: absolute; left: 0; right: 0; top: 9%; height: .25em; }
.b-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.b-closed { position: absolute; top: 12%; right: -6em; transform: rotate(35deg); background: #c92a2a; color: #fff; font-weight: 800; font-size: 1.3em; padding: .5em 8em; box-shadow: 0 .3em 1em rgba(0,0,0,.5); max-width: 40em; text-align: center; }

.b-hint { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: 8px 16px; border-radius: 99px; font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.b-hint.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slide, .b-ticker-row, .slide.on .pr-emoji { transition: none; animation: none; } }
