/* Respawn Lounge — page sections */

/* ============================================================ BOOT */
.boot { display: none; }
html.will-boot .boot { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--indigo); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
html.will-boot .boot.is-done { clip-path: inset(0 0 100% 0); }
/* safety net: never let the intro block the page if scripts fail */
html.will-boot .boot { animation: boot-fallback 0s 4s forwards; }
@keyframes boot-fallback { to { visibility: hidden; } }
.boot__inner { display: grid; gap: 18px; justify-items: center; }
.boot__logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: .38em; padding-left: .38em; text-shadow: -3px 0 var(--coral), 3px 0 var(--cyan); animation: rgb-split .9s steps(6) both; }
.boot__bar { width: 220px; height: 4px; background: rgb(238 234 251 / .12); overflow: hidden; }
.boot__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--coral), var(--cyan)); transform-origin: left; animation: boot-load .9s cubic-bezier(.6, .1, .3, 1) both; }
.boot__hint { font-family: var(--font-display); font-size: .9rem; letter-spacing: .3em; color: var(--muted); animation: blink .45s steps(2) infinite; }
@keyframes boot-load { from { transform: scaleX(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rgb-split { 0% { text-shadow: -14px 0 var(--coral), 14px 0 var(--cyan); opacity: .4; } 100% { text-shadow: -3px 0 var(--coral), 3px 0 var(--cyan); } }

/* ============================================================== HERO */
.hero { padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 60% at 85% 30%, rgb(59 224 255 / .16), transparent 70%),
  radial-gradient(40% 45% at 8% 55%, rgb(255 77 122 / .14), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }

.live-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgb(61 220 132 / .35); background: rgb(61 220 132 / .08); font-size: .9rem; font-weight: 500; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }

.hero__title { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: .95; letter-spacing: -.02em; }
.hero__t2 { color: var(--coral); text-shadow: 3px 0 rgb(59 224 255 / .55); }
html.is-hi .hero__title { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.2; }
.hero__lede { font-size: 1.125rem; color: rgb(238 234 251 / .8); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__kit { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 8px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.hero__kit li { display: inline-flex; align-items: center; gap: 8px; }
.hero__kit svg { width: 20px; height: 20px; color: var(--cyan); }
.hero__kit strong { color: var(--fg); font-family: var(--font-display); font-size: 1.15rem; }

.hero__shot { position: relative; padding: 2px; background: linear-gradient(135deg, var(--cyan), transparent 40%, transparent 60%, var(--coral)); clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
.hero__shot img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; clip-path: polygon(27px 0, 100% 0, 100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 27px); }
.hud-tag { position: absolute; display: grid; padding: 10px 14px; background: rgb(20 12 46 / .82); backdrop-filter: blur(8px); border-left: 2px solid var(--cyan); font-size: .8rem; color: var(--muted); }
.hud-tag strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--fg); line-height: 1.1; }
.hud-tag--a { left: 18px; bottom: 22px; }
.hud-tag--b { right: 18px; top: 22px; border-left-color: var(--coral); }

html.js-ready .hero__copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
html.js-ready .hero__copy > :nth-child(2) { animation-delay: .06s; }
html.js-ready .hero__copy > :nth-child(3) { animation-delay: .12s; }
html.js-ready .hero__copy > :nth-child(n+4) { animation-delay: .18s; }
html.will-boot.js-ready .hero__copy > * { animation-play-state: paused; }
html.will-boot.booted .hero__copy > * { animation-play-state: running; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__shot { order: -1; }
  .hero__shot img { aspect-ratio: 16 / 10; }
}

/* ========================================================= STATIONS */
.lounge { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.floor { padding: clamp(16px, 2.5vw, 28px); background: var(--indigo-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.floor__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; font-size: .875rem; color: var(--muted); }
.floor__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.sd { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid; display: inline-block; }
.sd--free { border-color: rgb(59 224 255 / .7); }
.sd--busy { border-color: var(--line); background: repeating-linear-gradient(-45deg, rgb(238 234 251 / .18) 0 2px, transparent 2px 5px); }
.sd--pick { border-color: var(--coral); background: var(--coral); }

.floor__plan { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-areas: "pc ps" "vr sim"; gap: 14px; }
.zone { grid-area: var(--area); position: relative; padding: 14px; border: 1px dashed rgb(238 234 251 / .2); border-radius: 10px; }
.zone__h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.zone__h svg { width: 18px; height: 18px; color: var(--cyan); }
.zone__h small { margin-left: auto; font-family: var(--font-body); font-size: .8125rem; color: var(--muted); font-weight: 400; }
.zone__seats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 8px; }

.seat { position: relative; display: grid; place-items: center; aspect-ratio: 1; min-height: 44px; border-radius: 8px; border: 1.5px solid rgb(59 224 255 / .45); background: rgb(59 224 255 / .05); font-family: var(--font-display); font-weight: 600; font-size: .95rem; transition: background .15s, border-color .15s, box-shadow .2s, transform .15s; }
.seat:hover { background: rgb(59 224 255 / .14); border-color: var(--cyan); }
.seat--busy { border-color: var(--line); color: var(--muted); background: repeating-linear-gradient(-45deg, rgb(238 234 251 / .07) 0 2px, transparent 2px 7px); }
.seat--busy:hover { background: repeating-linear-gradient(-45deg, rgb(238 234 251 / .12) 0 2px, transparent 2px 7px); border-color: var(--muted); }
.seat[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--accent-ink); box-shadow: 0 0 18px rgb(255 77 122 / .55); animation: seat-pop .22s ease; }
.zone--ps .seat { aspect-ratio: 1.6; border-radius: 14px 14px 6px 6px; }
.zone--sim .seat, .zone--vr .seat { aspect-ratio: 1.4; }
@keyframes seat-pop { 50% { transform: scale(1.08); } }

.session { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; padding: clamp(18px, 2.5vw, 26px); background: var(--panel); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.session__type { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.session__type img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.session__type h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.15rem; }
.session__type ul { margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.session__type .rate { color: var(--cyan); font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.session__h { font-size: 1.1rem; }
.session__picked { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; }
.session__picked p { color: var(--muted); font-size: .9375rem; }
.pchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; border: 1px solid rgb(255 77 122 / .5); background: rgb(255 77 122 / .12); font-size: .85rem; font-weight: 500; }
.pchip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgb(238 234 251 / .12); font-size: .75rem; line-height: 1; }
.pchip button:hover { background: var(--coral); color: var(--accent-ink); }
.session__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.session__row .field { margin: 0; }
.session select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.session option { background: var(--panel); }

.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper__label { font-size: .875rem; font-weight: 600; }
.stepper__ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.stepper__ctrl button { width: 46px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; }
.stepper__ctrl button:hover { color: var(--cyan); }
.stepper__ctrl output { min-width: 40px; text-align: center; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.bill { display: grid; gap: 8px; margin: 0; padding: 16px 0 4px; border-top: 1px solid var(--line); font-size: .9375rem; }
.bill div { display: flex; justify-content: space-between; gap: 10px; }
.bill dt { color: var(--muted); }
.bill .is-off dd { color: #3DDC84; }
.bill .bill__total { align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--line); }
.bill .bill__total dt { color: var(--fg); font-weight: 600; }
.bill .bill__total dd { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--fg); }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.perks li { display: grid; gap: 2px; padding: 4px 0 4px 16px; border-left: 2px solid var(--cyan); color: var(--muted); font-size: .9375rem; }
.perks strong { color: var(--fg); font-family: var(--font-display); font-size: 1.05rem; }

@media (max-width: 980px) {
  .lounge { grid-template-columns: 1fr; }
  .session { position: static; }
}
@media (max-width: 620px) {
  .floor__plan { grid-template-columns: 1fr 1fr; grid-template-areas: "pc pc" "ps ps" "vr sim"; }
  .zone--pc { --cols: 4 !important; }
  .zone--ps { --cols: 3 !important; }
  .perks { grid-template-columns: 1fr; }
}

/* mobile session bar */
.minibar { display: none; }
@media (max-width: 980px) {
  .minibar:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border: 0; background: var(--coral); color: var(--accent-ink); font-weight: 500; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); animation: bar-up .3s cubic-bezier(.2, .8, .2, 1); }
  .minibar strong { font-family: var(--font-display); }
}
@keyframes bar-up { from { transform: translateY(120%); } }

/* ============================================================ GAMES */
.games { background: linear-gradient(180deg, transparent, rgb(0 0 0 / .18)); }
.games__count { font-family: var(--font-display); color: var(--muted); }
.filters > *, .lounge > *, .hero__inner > *, .events__inner > * { min-width: 0; }
.filters { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 12px 20px; align-items: center; margin-bottom: 24px; }
.chips--genre { grid-column: 1 / -1; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 48px; padding: 0 16px 0 42px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--field-bg); }
.search input:focus-visible { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgb(59 224 255 / .25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .9rem; font-weight: 500; color: var(--muted); transition: all .15s; }
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--indigo); }
.chips:not(.chips--genre) .chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.game { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 4.6; padding: 14px; overflow: hidden; background: var(--g, var(--panel)); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: transform .2s; animation: tile-in .32s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 18ms); }
.game::after { content: attr(data-mono); position: absolute; right: -6px; bottom: 34px; font-family: var(--font-display); font-weight: 700; font-size: 5.4rem; line-height: 1; opacity: .16; pointer-events: none; }
.game:hover { transform: translateY(-3px); }
.game__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.game__tags span { padding: 2px 7px; border-radius: 4px; background: rgb(0 0 0 / .35); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.game__name { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.game__meta { position: relative; z-index: 1; font-size: .8rem; opacity: .8; margin-top: 4px; }
@keyframes tile-in { from { opacity: 0; transform: scale(.94); } }
.games__empty { padding: 40px 0; color: var(--muted); }
@media (max-width: 700px) { .filters { grid-template-columns: 1fr; } .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .chip { flex: none; } .game-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================== EVENTS */
.events__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.event-card { position: relative; display: grid; grid-template-rows: 220px 1fr; overflow: hidden; background: var(--panel); clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.event-card > img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(180deg, #000 40%, transparent); }
.event-card__body { display: grid; gap: 14px; padding: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px); margin-top: -40px; position: relative; }
.event-card__game { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--cyan); }
.event-card__game svg { width: 20px; height: 20px; }
.event-card__body > p:not(.event-card__game) { color: var(--muted); max-width: 52ch; }
.event-card__facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 4px 0; }
.event-card__facts dt { font-size: .8rem; color: var(--muted); }
.event-card__facts dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.event-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.timer { display: flex; gap: 6px; }
.timer span { display: grid; justify-items: center; min-width: 54px; padding: 6px 4px; background: rgb(0 0 0 / .3); border-radius: 6px; }
.timer b { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--coral); line-height: 1.1; }
.timer small { font-size: .75rem; color: var(--muted); }

.leaderboard { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--indigo-2); }
.leaderboard h3 { margin-bottom: 16px; }
.lb { margin: 0; padding: 0; list-style: none; }
.lb li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lb li:last-child { border-bottom: 0; }
.lb__pos { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--muted); }
.lb li:first-child .lb__pos { color: var(--coral); }
.lb li:first-child .lb__team { font-weight: 600; }
.lb__pts { font-family: var(--font-display); color: var(--cyan); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .events__inner { grid-template-columns: 1fr; } }

/* ========================================================== PARTIES */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pack { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; padding: 26px; background: var(--indigo-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pack--hot { background: linear-gradient(160deg, rgb(255 77 122 / .2), rgb(59 224 255 / .08)) , var(--panel); border-color: rgb(255 77 122 / .5); }
.pack__price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1.1; }
.pack__for { color: var(--muted); font-size: .9375rem; }
.pack ul { margin: 14px 0 18px; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pack li { position: relative; padding-left: 22px; font-size: .9375rem; }
.pack li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--cyan); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }

/* ========================================================== GALLERY */
.gallery__strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 32vw, 420px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-color: var(--panel) transparent; }
.gs { padding: 0; border: 0; background: var(--panel); aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.gs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gs:hover img { transform: scale(1.05); }

/* ============================================================ VISIT */
.visit__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.visit__info { display: grid; gap: 20px; align-content: start; }
.visit__addr { font-size: 1.15rem; font-weight: 500; }
.visit__dl { border-top: 1px solid var(--line); }
.visit__dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit__dl dt { color: var(--muted); }
.visit__dl a { color: var(--cyan); font-weight: 600; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.faq__h { margin-bottom: 4px; }
@media (max-width: 860px) { .visit__inner { grid-template-columns: 1fr; } }

/* =========================================================== SHEETS */
.sheet__title { font-size: 1.7rem; margin: 0 48px 18px 0; }
.summary { margin-bottom: 20px; padding: 16px 18px; background: rgb(0 0 0 / .25); border-left: 3px solid var(--coral); display: grid; gap: 8px; font-size: .9375rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary strong { text-align: right; }
.summary .sum-total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--coral); }

/* =========================================================== FOOTER */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer__meta { color: var(--muted); font-size: .9375rem; }
.site-footer__meta a { color: var(--fg); }
