/* VPLAY GAME ZONE website. Direction "dark room" (tasteskill redraw, quiet
   tone, phone first): one black field, lit things in it, the brand's red only
   on the action and the closing footer. One face, Bricolage Grotesque,
   self-hosted. Written for the phone first; wider screens are the addition. */

@font-face {
    font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('/site/fonts/bricolage-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('/site/fonts/bricolage-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}

:root {
    color-scheme: dark;
    --bg: #110809;                /* a red-black, warmer than pure black */
    --band: #1b0d0f;              /* the stations band, one step lighter and redder */
    --surface: #221214;
    --paper: #f3f3f4;             /* the one white section, a neutral white */
    --paper-ink: #120809;
    --ink: #ffffff;
    --muted: #a9a9b1;
    --accent: #e3262f;
    --accent-hover: #ff3a43;
    --margin: 20px;
    --small: 0.9375rem;                                    /* 15px */
    --body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);    /* 17–19px */
    --lead: clamp(1.375rem, 1.2rem + 0.8vw, 2rem);         /* 22–32px */
    --display: clamp(2.25rem, 1.4rem + 4vw, 4.75rem);      /* 36–76px */
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (min-width: 900px) { :root { --margin: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--body)/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: var(--margin); z-index: 50; background: var(--accent); color: #fff; padding: 10px 14px; }

/* ---------- controls: one button shape, square, one red */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
    font: 600 var(--body)/1 var(--font); text-decoration: none; border: 0; cursor: pointer; border-radius: 0;
    background: var(--accent); color: #fff; transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--paper-ink); }
.btn.dark:hover { background: #1b1b1d; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; outline: 2px solid #fff; outline-offset: -2px; }
.btn.ghost:hover { background: #fff; color: #000; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; min-height: 44px; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- top bar: the logo small, two words */
.bar { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--margin); }
.bar-mark img { width: 76px; mix-blend-mode: screen; }
.bar-links { display: flex; gap: 22px; font-size: var(--body); font-weight: 500; }
.bar-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.bar-links a:hover { color: var(--accent); }

/* ---------- hero: the object on the counter */
/* A soft red light behind the object, as if it sat under a spotlight (the owner asked for a red tint). */
.hero { background: radial-gradient(ellipse 60% 42% at 50% 34%, rgba(227, 38, 47, .34), rgba(227, 38, 47, .08) 55%, transparent 75%), var(--bg); }
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 15svh var(--margin) 12svh; text-align: center; }
.object { position: relative; width: min(78vw, 420px); aspect-ratio: 4 / 5; }
.object img, .object canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.object canvas { touch-action: pan-y; cursor: grab; }
.object canvas:active { cursor: grabbing; }
.object.is-live img { opacity: 0; transition: opacity .8s var(--ease); }
.wordmark { margin-top: 26px; width: 100%; font: 600 clamp(1.25rem, 5.4vw, 2.75rem)/1 var(--font); letter-spacing: 0.32em; margin-right: -0.32em; white-space: nowrap; }
.hero-line { margin-top: 14px; font-size: var(--lead); line-height: 1.2; letter-spacing: -0.01em; max-width: 20ch; }
.hero-row { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; font-size: var(--small); color: var(--muted); }
.hero-row .btn { width: 100%; max-width: 420px; }
.live-spec { color: var(--ink); }
.live-spec::before, .live::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2fd07a; margin-right: 9px; vertical-align: 1px; }
.live-spec.closed::before, .live.busy::before { background: var(--accent); }
.live:empty::before { display: none; }
@media (min-width: 900px) {
    /* The whole hero fits one screen: the object takes the height left after the text and the button. */
    .hero { height: 100svh; min-height: 560px; padding: 9svh var(--margin) 7svh; justify-content: center; }
    .object { width: min(62vw, 1000px, calc((84svh - 240px) * 16 / 9)); aspect-ratio: 16 / 9; flex: none; }
    .wordmark { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: 0.6em; margin-right: -0.6em; }
    .hero-line { max-width: none; }
    .hero-row { flex-direction: row; justify-content: center; gap: 48px; }
    .hero-row .btn { width: auto; }
}

/* ---------- stations: a lit picture and the list beside it */
.stations { padding: 0 0 18svh; background: var(--band); }
.st-photo { position: relative; height: 34svh; background: var(--band); overflow: hidden; }
.st-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0; transition: opacity .3s var(--ease); }
.st-photo img.on { opacity: 1; }
.st-body { padding: 36px var(--margin) 0; }
.st-body h2 { font: 600 var(--display)/1 var(--font); letter-spacing: -0.035em; margin-bottom: 20px; }
.st-row { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 64px; padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--muted); transition: color .25s var(--ease); }
.st-name { font-size: var(--lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.st-price { font-size: var(--body); font-variant-numeric: tabular-nums; }
.st.on .st-row, .st-row:hover { color: var(--ink); }
.st.on .st-name { font-weight: 600; }
.st.on .st-price { color: #ff5a61; font-weight: 600; }   /* the brand red, lifted for contrast on the dark band */
.st-more { padding-bottom: 18px; }
.st-more p:first-child { max-width: 34ch; }
.st-more .live { margin-top: 8px; font-size: var(--small); }
.st-more .link-arrow { margin-top: 4px; color: var(--ink); }
.st-more .link-arrow:hover { color: var(--accent); }
.js .st-more { max-height: 0; overflow: hidden; padding-bottom: 0; visibility: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease), visibility 0s .4s; }
.js .st.on .st-more { max-height: 260px; padding-bottom: 18px; visibility: visible; transition-delay: 0s; }
.st-note { margin-top: 24px; color: var(--muted); font-size: var(--small); }
@media (min-width: 900px) {
    .stations { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 14svh var(--margin) 20svh; align-items: start; }
    .st-photo { position: sticky; grid-column: 1 / 6; top: 12vh; height: auto; aspect-ratio: 4 / 5; }
    .st-photo img { object-position: center; }
    .st-body { grid-column: 7 / 12; padding: 0; }
    .st-row { min-height: 72px; }
}

/* ---------- how booking works: lines that step across */
.steps { padding: 14svh var(--margin) 16svh; display: grid; gap: 40px; background: var(--paper); color: var(--paper-ink); }
.lines { display: flex; flex-direction: column; gap: 6px; font: 600 clamp(1.75rem, 7.6vw, 4.75rem)/1.05 var(--font); letter-spacing: -0.035em; }
.lines li:nth-child(4) { color: var(--accent); }
.steps-foot { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.rule { max-width: 34ch; color: inherit; }
.rule::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.steps-foot .btn { width: 100%; }
.spin video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; }
.steps .btn:hover { background: var(--paper-ink); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding: 16svh var(--margin) 18svh; }
    .lines { grid-column: 1 / 10; }
    .lines li:nth-child(2) { padding-left: 5vw; }
    .lines li:nth-child(3) { padding-left: 10vw; }
    .lines li:nth-child(4) { padding-left: 15vw; white-space: nowrap; }
    .steps-foot { grid-column: 1 / 8; flex-direction: row; align-items: center; gap: 32px; }
    .steps-foot .btn { width: auto; flex: none; }
    .spin { grid-column: 10 / 13; grid-row: 1 / 3; align-self: center; }
}

/* ---------- footer: the red close, then the sign */
.footer { color: #fff; }
.close { background: var(--accent); min-height: 92svh; padding: 28px var(--margin) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.close-top { display: grid; gap: 18px; font-size: var(--small); line-height: 1.5; }
.close-top address { font-style: normal; }
.to-top { text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.to-top::after { content: ' ↑'; white-space: pre; }
.close-main { display: flex; flex-direction: column; gap: 22px; }
.close-lead { font-size: var(--lead); line-height: 1.2; max-width: 22ch; }
.close-lead { position: relative; z-index: 1; }
.phone { display: flex; flex-direction: column; padding-top: 0.04em; font: 600 30vw/0.92 var(--font); letter-spacing: -0.055em; text-decoration: none; font-variant-numeric: tabular-nums; margin-left: -0.04em; transition: color .25s var(--ease); }
.phone:hover { color: #000; }
.close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.close-actions .btn { width: 100%; margin-bottom: 10px; }
.close-actions .link-arrow { font-size: var(--body); }
.sign { background: var(--bg); padding: 56px var(--margin) 34px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.sign-logo { width: min(68vw, 340px); mix-blend-mode: screen; }
.sign-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: var(--body); }
.sign-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sign-links a:hover { color: var(--accent); }
.legal { color: var(--muted); font-size: var(--small); }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--ink); }
@media (min-width: 900px) {
    .close { padding: 40px var(--margin) 48px; }
    .close-top { grid-template-columns: 1fr 1fr auto; align-items: start; }
    .phone { flex-direction: row; gap: 0.25em; font-size: 15.5vw; }
    .close-actions { flex-direction: row; align-items: center; gap: 32px; }
    .close-actions .btn { width: auto; margin: 0; }
    .sign { flex-direction: row; justify-content: space-between; text-align: left; padding: 40px var(--margin); }
    .sign-logo { width: 220px; }
    .legal { text-align: right; }
}

/* ---------- entrances (they leave content visible without script) */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.hero > * { animation: up .9s var(--ease) both; }
.hero > *:nth-child(2) { animation-delay: .15s; } .hero > *:nth-child(3) { animation-delay: .25s; } .hero > *:nth-child(4) { animation-delay: .35s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
    .js [data-rise] { opacity: 1; transform: none; transition: none; }
    .hero > * { animation: none; }
    .st-photo img, .js .st-more { transition: none; }
}

/* ---------- booking pages */
.book-body { background: radial-gradient(ellipse 70% 38% at 50% 0%, rgba(227, 38, 47, .22), transparent 70%) no-repeat, var(--bg); }
.page-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--margin); }
.page-bar img { width: 76px; mix-blend-mode: screen; }
.page-bar .link-arrow { font-size: var(--body); }
.book { display: flex; flex-direction: column; gap: 32px; padding: 12px var(--margin) 0; }
.book-form { display: flex; flex-direction: column; gap: 52px; }
.book-title { font: 600 var(--display)/1 var(--font); letter-spacing: -0.035em; }
.book-lead { font-size: var(--body); color: var(--muted); max-width: 40ch; margin-top: -36px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.step legend { padding: 0; margin-bottom: 14px; }
.step h2 { font: 600 var(--lead)/1.15 var(--font); letter-spacing: -0.015em; }
.exp-list { display: flex; flex-direction: column; }
.exp { position: relative; display: grid; grid-template-columns: 112px 1fr; grid-template-areas: 'pic name' 'pic note' 'pic rate'; column-gap: 16px; row-gap: 4px; align-content: center; align-items: baseline; padding: 10px 0; cursor: pointer; }
.exp input { position: absolute; opacity: 0; pointer-events: none; }
.exp img { grid-area: pic; align-self: center; width: 112px; aspect-ratio: 1; object-fit: cover; transition: transform .3s var(--ease); }
.exp:hover img { transform: scale(1.04); }
.exp-name { grid-area: name; align-self: end; font-size: var(--body); font-weight: 600; line-height: 1.2; color: var(--muted); }
.exp-note { grid-area: note; align-self: start; font-size: var(--body); color: var(--muted); line-height: 1.35; }
.exp-rate { grid-area: rate; font-variant-numeric: tabular-nums; color: var(--muted); }
.exp.on .exp-name { color: var(--ink); font-weight: 600; }
.exp.on .exp-rate { color: #ff5a61; font-weight: 600; }
.exp.on img { outline: 3px solid var(--accent); outline-offset: -3px; }
.exp:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--margin)); padding: 0 var(--margin); scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip, .time { flex: none; scroll-snap-align: start; font: 500 var(--body)/1 var(--font); min-height: 52px; padding: 0 20px; background: var(--surface); color: var(--ink); border: 0; cursor: pointer; transition: background .15s var(--ease); font-variant-numeric: tabular-nums; }
.chip small { color: var(--muted); font-size: var(--small); margin-left: 6px; }
.chip:hover, .time:hover:not(:disabled) { background: #1d1d20; }
.chip.on, .time.on { background: var(--accent); color: #fff; }
.chip.on small { color: #fff; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time { padding: 0; }
.time:disabled { color: #55555c; text-decoration: line-through; cursor: not-allowed; background: #08080a; }
.js .time { animation: up .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 20ms); }
.hint { color: var(--muted); font-size: var(--body); max-width: 50ch; }
.fields { display: grid; gap: 18px; }
.fields label { display: flex; flex-direction: column; gap: 8px; font-size: var(--body); color: var(--muted); }
.fields input, .fields select { font: 500 var(--body)/1.2 var(--font); color: var(--ink); background: var(--surface); border: 0; border-bottom: 2px solid #34343a; padding: 14px; border-radius: 0; min-height: 56px; }
.fields input:focus, .fields select:focus { border-bottom-color: var(--accent); outline: none; }
.trap { position: absolute !important; left: -9999px; }
.form-error { color: #ff6b72; min-height: 1.5em; }
.summary { display: none; position: sticky; bottom: 0; z-index: 5; margin: 0 calc(-1 * var(--margin)); padding: 12px var(--margin) calc(14px + env(safe-area-inset-bottom)); background: var(--bg); }
.has-pick .summary { display: block; }
.summary-inner { display: flex; flex-direction: column; gap: 10px; }
.summary img, .summary dl div:nth-child(-n+2), .summary dt, .summary .rule { display: none; }
.summary dd { margin: 0; font-weight: 500; }
.sent { padding: 6vh var(--margin) 12vh; display: flex; flex-direction: column; gap: 22px; outline: none; max-width: 720px; }
.sent h2 { font: 600 var(--display)/1 var(--font); letter-spacing: -0.035em; }
.sent-lead { font-size: var(--lead); line-height: 1.25; }
.sent-ref { color: var(--muted); }
.sent-ref strong { color: var(--ink); }
.rule.big { font-size: var(--body); }
.rule a { color: #fff; font-weight: 600; }
.confirm { display: flex; flex-direction: column; gap: 28px; padding: 12px var(--margin) 10vh; }
.confirm-copy { display: flex; flex-direction: column; gap: 26px; }
.confirm h1 { font: 600 var(--display)/1 var(--font); letter-spacing: -0.035em; }
.confirm-lead { font-size: var(--lead); line-height: 1.25; max-width: 30ch; }
.confirm-details { display: grid; gap: 16px; background: var(--surface); padding: 22px; }
.confirm-details dt { color: var(--muted); font-size: var(--small); }
.confirm-details dd { margin: 2px 0 0; font-size: var(--lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.confirm-actions .btn { flex: 1 1 auto; }
.rule-block { background: var(--accent); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: var(--lead); line-height: 1.25; }
.rule-block a { color: #fff; }
.confirm-pic { display: none; }
.foot { display: flex; flex-direction: column; gap: 6px; padding: 18svh var(--margin) 28px; color: var(--muted); font-size: var(--small); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) {
    .book { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-top: 24px; align-items: start; }
    .book-form { grid-column: 1 / 8; }
    .summary { display: block; grid-column: 9 / 13; top: 24px; bottom: auto; margin: 0; padding: 0; background: none; }
    .exp { grid-template-columns: 168px 1fr auto; grid-template-areas: 'pic name rate' 'pic note note'; }
    .exp img { width: 168px; aspect-ratio: 4 / 3; }
    .summary-inner { gap: 20px; }
    .summary img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
    .summary dl { display: flex; flex-direction: column; gap: 12px; }
    .summary dl div, .summary dl div:nth-child(-n+2) { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
    .summary dt { display: block; color: var(--muted); }
    .summary .rule { display: block; }
    .times { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
    .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
    .fields { grid-template-columns: 1fr 1fr; }
    .fields label.wide { grid-column: 1 / -1; }
    .confirm { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
    .confirm-copy { grid-column: 1 / 8; }
    .confirm-details { grid-template-columns: 1fr 1fr; }
    .confirm-pic { display: block; grid-column: 9 / 13; }
    .confirm-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
    .foot { flex-direction: row; justify-content: space-between; align-items: center; }
}
