/* ==========================================================================
   VR Vibe - main.css (the only stylesheet)
   Implements BUILD-SPEC.md section 2 design system + every class contract
   in sections 3.1-3.10 and per-page classes in section 6.

   TABLE OF CONTENTS
   01. Tokens
   02. Reset + base
   03. Typography + links
   04. Layout: container, section, section-head, grids, dark contexts
   05. Utilities: eyebrow, skip-link, visually-hidden, badge, price-note,
       scroll-reveal
   06. Buttons
   07. Header + nav (desktop and mobile slide-down)
   08. Hero
   09. Trust bar
   10. How it works (.steps / .step)
   11. Cards: generic, .loc-card, .why-grid, .duo-cards, .pkg-card
   12. Game browser (.gb) + .game-card + tabs + mobile carousel
   13. Testimonials (.ts) carousel
   14. Local strip, hours table, FAQ
   15. CTA band
   16. Footer
   17. Modals: generic mechanics
   18. Booking modal (.bk)
   19. Game modal (.gm)
   20. Video modal (.vm)
   21. Sticky mobile CTA
   22. 404 page
   23. Forms
   24. Reduced motion + print
   ========================================================================== */


/* ==========================================================================
   01. TOKENS
   ========================================================================== */

:root {
  --ink: #0b0b14;        /* dark section bg (near-black indigo) */
  --ink-2: #14141f;      /* raised dark surface */
  --paper: #ffffff;      /* light section bg */
  --paper-2: #f6f6f9;    /* alt light surface */
  --text: #1a1a24;       /* body text on light */
  --text-inv: #f0f1f7;   /* body text on dark */
  --muted: #5d5d70;
  --muted-inv: #9a9ab0;
  --brand: #7c3aed;      /* electric violet - primary CTA */
  --brand-hot: #9a5cff;  /* hover/glow */
  --accent: #22d3ee;     /* cyan - eyebrows, highlights, icons */
  --glow: 0 0 40px rgba(124, 58, 237, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1180px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* derived / context tokens (switched inside dark sections) */
  --card-bg: #ffffff;
  --card-border: #e8e8f0;
  --mut: var(--muted);
  --link: #6d28d9;             /* AA violet for text/links on white */
  --eyebrow-ink: #0e7490;      /* AA cyan for small text on white */
  --pad: clamp(1rem, 4vw, 2rem);
  --dur: 180ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
}


/* ==========================================================================
   02. RESET + BASE
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* sticky header clearance for anchor jumps */
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

[hidden] { display: none !important; }

img,
svg,
video,
iframe { max-width: 100%; }

img { height: auto; display: block; }

svg { display: inline-block; vertical-align: middle; }

figure,
blockquote { margin: 0; }

address { font-style: normal; }

ul,
ol { margin: 0; }

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

legend { padding: 0; }

button {
  font: inherit;
  color: inherit;
}

details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

::selection {
  background: rgba(124, 58, 237, .25);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}


/* ==========================================================================
   03. TYPOGRAPHY + LINKS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}

a:hover { color: var(--brand); }

strong { font-weight: 700; }

small { font-size: .85em; }


/* ==========================================================================
   04. LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

/* Dark context: switches card/muted/link tokens and inverts text.
   Applies to hero, final CTA band, footer, 404, generic dark sections. */
.section-dark,
.hero,
.cta-band,
.site-footer,
.page-404,
.trust-bar {
  --card-bg: var(--ink-2);
  --card-border: #232336;
  --mut: var(--muted-inv);
  --link: var(--brand-hot);
  --eyebrow-ink: var(--accent);
  background: var(--ink);
  color: var(--text-inv);
}

.section-dark :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.page-404 :focus-visible,
.site-header :focus-visible,
.sticky-cta :focus-visible {
  outline-color: var(--accent);
}

/* Centered heading block used at the top of most sections */
.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}

.section-head .eyebrow { justify-content: center; }

.section-head p {
  color: var(--mut);
  font-size: 1.05rem;
}

/* Generic responsive card grids */
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================================================
   05. UTILITIES
   ========================================================================== */

/* Kicker label above headings, with short leading bar */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .8rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--eyebrow-ink);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 300;
  padding: .7rem 1.2rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-250%);
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(34, 211, 238, .14);
  color: var(--eyebrow-ink);
}

.price-note {
  font-size: .9rem;
  color: var(--mut);
}

.price-note strong { color: var(--link); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Generic horizontal button row (hero, CTA band, 404) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}


/* ==========================================================================
   06. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow 200ms var(--ease),
    transform 160ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-hot);
  color: #fff;
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  border: 1.5px solid #cfcfe0;
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--link);
  color: var(--link);
}

/* Ghost buttons on dark surfaces: white border/text */
.section-dark .btn-ghost,
.hero .btn-ghost,
.cta-band .btn-ghost,
.site-footer .btn-ghost,
.page-404 .btn-ghost,
.sticky-cta .btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.site-footer .btn-ghost:hover,
.page-404 .btn-ghost:hover,
.section-dark .btn-ghost:focus-visible,
.hero .btn-ghost:focus-visible,
.cta-band .btn-ghost:focus-visible,
.page-404 .btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.btn-sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: .88rem;
}

@media (max-width: 899.98px) {
  /* keep the 44px minimum tap target on touch layouts */
  .btn-sm { min-height: 44px; }
}


/* ==========================================================================
   07. HEADER + NAV
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 20, .62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 20, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  position: relative;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo:hover { color: #fff; }

.nav-logo span { color: var(--brand-hot); }

/* Burger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-menu > a {
  color: rgba(240, 241, 247, .85);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  padding: .4rem 0;
  transition: color var(--dur) var(--ease);
}

.nav-menu > a:hover,
.nav-menu > a:focus-visible {
  color: #fff;
}

.nav-phone {
  font-weight: 600 !important;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .nav-phone {
    border-left: 1px solid rgba(255, 255, 255, .15);
    padding-left: 1.4rem !important;
  }
}

/* Mobile: slide-down panel */
@media (max-width: 899.98px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: calc(var(--pad) * -1);
    right: calc(var(--pad) * -1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--pad) 1.25rem;
    background: rgba(11, 11, 20, .98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease),
      visibility 200ms;
  }

  .nav-menu.is-open,
  .nav-toggle[aria-expanded="true"] + .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-menu > a {
    display: block;
    padding: .9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .nav-menu .btn {
    margin-top: 1rem;
    width: 100%;
  }
}


/* ==========================================================================
   08. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 8rem);
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
}

/* Optional full-bleed background image placed as a direct child */
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* One restrained violet radial glow + dark scrim + faint scanline texture.
   Painted after children so it also covers a background <img>. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    radial-gradient(56rem 34rem at 26% 18%,
      rgba(124, 58, 237, .32),
      transparent 68%),
    linear-gradient(rgba(11, 11, 20, .72), rgba(11, 11, 20, .88));
}

.hero .container,
.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 46rem;
}

.hero h1 {
  margin-bottom: .5em;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--mut);
  max-width: 38rem;
}

.hero .btn-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top: 1.75rem;
}


/* ==========================================================================
   09. TRUST BAR
   ========================================================================== */

.trust-bar {
  background: var(--ink-2);
  border-block: 1px solid #232336;
  padding-block: .95rem;
}

.trust-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 2.25rem;
}

.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-bar svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}


/* ==========================================================================
   10. HOW IT WORKS - NUMBERED STEPS
   ========================================================================== */

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding-inline: .5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(124, 58, 237, .3);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.15rem;
  margin: 0 0 .4rem;
}

.step p {
  margin: 0;
  font-size: .95rem;
  color: var(--mut);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* connecting line between step numbers */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: var(--card-border);
  }
}


/* ==========================================================================
   11. CARDS
   ========================================================================== */

/* Base card look shared by content cards */
.loc-card,
.why-item,
.pkg-card,
.duo-cards > * {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}

.loc-card:hover,
.pkg-card:hover,
.duo-cards > *:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(17, 17, 34, .1);
}

/* Location cards */
.loc-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.loc-card h3 { margin: 0; }

.loc-card address {
  color: var(--mut);
  line-height: 1.55;
}

.loc-card .btn { align-self: flex-start; }

.loc-card > .btn:last-child,
.loc-card > p:last-of-type + .btn {
  margin-top: auto;
}

/* Why VR Vibe icon grid */
.why-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
}

.why-item > svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--link);
  margin-top: .15rem;
}

.why-item h3 {
  font-size: 1.02rem;
  margin: 0 0 .3rem;
}

.why-item p {
  margin: 0;
  font-size: .92rem;
  color: var(--mut);
}

/* Cross-sell pair (parties / corporate) */
.duo-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .duo-cards { grid-template-columns: repeat(2, 1fr); }
}

.duo-cards > * {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.75rem;
  color: inherit;
  text-decoration: none;
}

.duo-cards > * h3 { margin: 0; }

.duo-cards > * p {
  color: var(--mut);
  font-size: .95rem;
  margin: 0;
}

.duo-cards .btn { align-self: flex-start; margin-top: .6rem; }

/* Package cards (birthday tiers) */
.pkg-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .pkg-grid { grid-template-columns: repeat(4, 1fr); }
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem 1.5rem;
}

.pkg-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--link);
  line-height: 1;
}

.pkg-price small,
.pkg-price span {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--mut);
  letter-spacing: 0;
}

.pkg-card ul {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: grid;
  gap: .55rem;
  font-size: .9rem;
}

.pkg-card ul li {
  position: relative;
  padding-left: 1.5rem;
}

.pkg-card ul li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .42em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(-45deg);
}

.pkg-card .btn { margin-top: auto; }

.pkg-featured {
  border: 2px solid var(--brand);
  box-shadow: 0 12px 40px rgba(124, 58, 237, .18);
}

.pkg-featured > .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}


/* ==========================================================================
   12. GAME BROWSER + GAME CARDS
   ========================================================================== */

.gb-popular {
  margin-bottom: 2.5rem;
}

.gb-popular h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 0 0 1rem;
}

/* Tabs */
.gb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
}

.gb-tab {
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1.5px solid #d9d9e6;
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  color: #3f3f52;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.gb-tab:hover {
  border-color: var(--brand);
  color: var(--link);
}

.gb-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@media (max-width: 639.98px) {
  .gb-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: .35rem;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }

  .gb-tabs::-webkit-scrollbar { display: none; }

  .gb-tab { scroll-snap-align: start; flex: none; }
}

/* Panels */
.gb-panel { display: none; }
.gb-panel.is-active { display: block; }

/* Grid: 640-900 auto-fill, >=900 four columns, <640 snap carousel */
.gb-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.gb-grid > li {
  display: flex;
  min-width: 0;
}

.gb-grid-popular { margin-bottom: 0; }

@media (min-width: 900px) {
  .gb-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 639.98px) {
  .gb-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .9rem;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: .5rem;
    scroll-padding-inline: var(--pad);
    /* hidden but functional scrollbars */
    scrollbar-width: none;
  }

  .gb-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .gb-grid > li {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }
}

/* Game card */
.game-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(17, 17, 34, .12);
}

.gc-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
  overflow: hidden;
}

.gc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #083344;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gc-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem;
  flex: 1;
}

.gc-title {
  font-size: 1.05rem;
  margin: 0;
}

.gc-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .85rem;
  font-size: .78rem;
  color: var(--mut);
}

.gc-meta li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.gc-meta svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--eyebrow-ink);
}

.gc-blurb {
  margin: 0;
  font-size: .88rem;
  color: var(--mut);
}

.gc-actions {
  display: flex;
  gap: .5rem;
  margin-top: auto;
  padding-top: .35rem;
}

.gc-actions .btn { flex: 1; }


/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */

.ts { background: var(--paper-2); }

.ts-carousel {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.ts-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d9d9e6;
  background: var(--card-bg);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.ts-btn svg { width: 18px; height: 18px; }

.ts-btn:hover,
.ts-btn:focus-visible {
  border-color: var(--brand);
  color: var(--link);
}

.ts-track {
  list-style: none;
  margin: 0;
  padding: .25rem .1rem;
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: .1rem;
  scrollbar-width: none;
}

.ts-track::-webkit-scrollbar { display: none; }

.ts-card {
  flex: 0 0 min(340px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.ts-card > svg {
  width: 96px;
  height: 18px;
  color: #f59e0b; /* star row */
}

.ts-card blockquote {
  font-size: .98rem;
  line-height: 1.55;
}

.ts-who {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  font-size: .9rem;
}

.ts-avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, .12);
  color: var(--link);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
}

.ts-src {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--mut);
  font-size: .8rem;
}

.ts-src svg { width: 14px; height: 14px; }

/* Video placeholder slide */
.ts-card-video {
  background: var(--ink);
  border-color: #232336;
  color: var(--text-inv);
  padding: 0;
  overflow: hidden;
}

.ts-video-ph {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .75rem;
  text-align: center;
  padding: 2.25rem 1.4rem;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    radial-gradient(20rem 14rem at 50% 30%,
      rgba(124, 58, 237, .3),
      transparent 70%);
}

.ts-video-ph svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.ts-video-ph p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted-inv);
}


/* ==========================================================================
   14. LOCAL STRIP, HOURS TABLE, FAQ
   ========================================================================== */

/* Address / hours / map row on city pages */
.local-strip {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .local-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
  }
}

.local-strip address {
  color: var(--mut);
  line-height: 1.6;
  margin-bottom: .75rem;
}

.local-strip a[href^="tel:"] {
  font-weight: 600;
  white-space: nowrap;
}

.local-strip iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-2);
}

/* Opening hours table (vrv_hours_table) */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  margin-block: .75rem;
}

.hours-table caption {
  text-align: left;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: .5rem;
}

.hours-table th,
.hours-table td {
  padding: .5rem .3rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.hours-table th[scope="row"] {
  font-weight: 600;
  width: 42%;
}

.hours-table tr[data-today] th,
.hours-table tr[data-today] td {
  color: var(--link);
  font-weight: 600;
}

/* NAP block (vrv_nap): stack name / address / phone */
.nap .nap-name,
.nap .nap-address,
.nap .nap-phone {
  display: block;
}

.nap .nap-address {
  margin-top: .2rem;
}

.nap .nap-phone {
  margin-top: .1rem;
  padding-block: .65rem; /* ~44px tap target for the tel: link */
}

/* FAQ - native details/summary, +/- indicator in CSS */
.faq-list {
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.faq-item + .faq-item { margin-top: .65rem; }

.faq-item summary {
  position: relative;
  padding: 1rem 3.25rem 1rem 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: color var(--dur) var(--ease);
}

.faq-item summary:hover { color: var(--link); }

/* plus / minus */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: calc(1rem + .7em - 1px);
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--link);
  transition: transform 200ms var(--ease);
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary { color: var(--link); }

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 1.25rem 1.15rem;
  color: #3f3f52;
  font-size: .95rem;
}

.faq-a p { margin-bottom: .6em; }


/* ==========================================================================
   15. FINAL CTA BAND
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    radial-gradient(48rem 28rem at 50% 24%,
      rgba(124, 58, 237, .28),
      transparent 70%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.cta-band p {
  color: var(--mut);
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band .btn-row,
.cta-band .hero-actions {
  justify-content: center;
  margin-top: 1.75rem;
}

.cta-band .eyebrow { justify-content: center; }


/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .93rem;
}

.site-footer a {
  color: var(--text-inv);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-hot);
  text-decoration: underline;
}

.site-footer h3,
.site-footer h4,
.site-footer .footer-heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-inv);
  margin: 0 0 1rem;
}

/* 3-column layout: brand blurb / Oakville NAP / Brampton NAP */
.footer-cols,
.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 640px) {
  .footer-cols,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer-cols,
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer p,
.site-footer address {
  color: var(--muted-inv);
  line-height: 1.65;
}

.site-footer address a { color: var(--text-inv); }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #232336;
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.footer-social a:hover {
  border-color: var(--brand-hot);
  background: rgba(124, 58, 237, .12);
  text-decoration: none;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.site-footer .hours-table {
  font-size: .85rem;
  margin-block: .5rem 0;
}

.site-footer .hours-table th,
.site-footer .hours-table td {
  padding: .3rem .25rem;
  border-bottom-color: #232336;
  color: var(--muted-inv);
}

/* bottom bar: quick links + copyright */
.footer-bottom {
  border-top: 1px solid #232336;
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.4rem;
}

.footer-links a {
  color: var(--muted-inv);
  font-size: .85rem;
  padding-block: .75rem; /* ~44px tap target */
  display: inline-block;
}

.footer-links a:hover { color: var(--text-inv); }

.footer-copy {
  color: var(--muted-inv);
  font-size: .82rem;
  margin: 0;
}


/* ==========================================================================
   17. MODALS - GENERIC MECHANICS
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), visibility 200ms;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Game modal opens on top of the booking modal */
.modal.gm { z-index: 1100; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 20, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  transform: translateY(12px) scale(.98);
  transition: transform 200ms var(--ease);
  overscroll-behavior: contain;
}

.modal.is-open .modal-panel { transform: none; }

.modal.gm .modal-panel { max-width: 720px; }
#video-modal .modal-panel { max-width: 860px; }

.modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

/* Mobile: full-screen panels */
@media (max-width: 639.98px) {
  .modal { padding: 0; }

  .modal-panel {
    height: 100%;
    max-height: none;
    max-width: none !important;
    border-radius: 0;
  }

  /* keep Close reachable while the full-screen panel scrolls
     (top/right/z-index inherited from the base .modal-close rule) */
  .modal-close { position: fixed; }
}


/* ==========================================================================
   18. BOOKING MODAL (.bk)
   ========================================================================== */

.bk .modal-panel {
  display: flex;
  flex-direction: column;
}

.bk h2 {
  font-size: 1.5rem;
  margin: 0 2.5rem 1rem 0;
}

/* Progress dots */
.bk-progress {
  list-style: none;
  display: flex;
  margin: 0 0 1.5rem;
  padding: 0;
}

.bk-progress li {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  padding-top: 18px;
}

.bk-progress li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9d9e6;
  transition: background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  z-index: 1;
}

/* connecting line between dots */
.bk-progress li + li::after {
  content: "";
  position: absolute;
  top: 5px;
  right: calc(50% + 10px);
  left: calc(-50% + 10px);
  height: 2px;
  background: #e3e3ee;
}

.bk-progress li.is-active {
  color: var(--link);
}

.bk-progress li.is-active::before {
  background: var(--brand);
  box-shadow: 0 0 12px rgba(124, 58, 237, .5);
}

/* completed steps: solid brand dot (no glow), regular text */
.bk-progress li.is-done {
  color: var(--text);
}

.bk-progress li.is-done::before {
  background: var(--brand);
}

/* Steps */
.bk-step {
  display: none;
  margin-bottom: 1rem;
}

.bk-step.is-active { display: block; }

.bk-step legend {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .9rem;
}

/* Pill radios */
.bk-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}

.bk-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0 1.15rem;
  margin: 0 .4rem .5rem 0;
  border: 1.5px solid #d9d9e6;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.bk-pills .bk-pill { margin: 0; }

.bk-pill:hover { border-color: var(--brand); }

.bk-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bk-pill:has(input:checked) {
  border-color: var(--brand);
  background: rgba(124, 58, 237, .08);
  color: var(--link);
  font-weight: 600;
}

.bk-pill:has(input:focus-visible) {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

/* Game mini-cards (JS-rendered) */
.bk-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  max-height: 320px;
  overflow-y: auto;
  padding: 2px;
  margin-bottom: .9rem;
  overscroll-behavior: contain;
}

@media (max-width: 419.98px) {
  .bk-games { grid-template-columns: 1fr; }
}

/* Card = div wrapper with two sibling buttons (select + Details) */
.bk-game {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.bk-game:hover { border-color: var(--brand); }

.bk-game.is-selected,
.bk-game:has(.bk-game-pick[aria-pressed="true"]) {
  border-color: var(--brand);
  background: rgba(124, 58, 237, .07);
  box-shadow: 0 0 0 1px var(--brand);
}

.bk-game-pick {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.bk-game img {
  width: 46px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
  background: var(--ink-2);
}

.bk-game-text {
  flex: 1;
  min-width: 0;
}

.bk-game strong {
  display: block;
  font-size: .88rem;
  line-height: 1.25;
}

.bk-game small,
.bk-game .bk-game-players {
  display: block;
  font-size: .76rem;
  color: var(--mut);
}

.bk-games [data-game-open] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: none;
  padding: .35rem .4rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Hours hint under the date/time step */
.bk-hours-hint {
  margin: .75rem 0 0;
  padding: .55rem .85rem;
  font-size: .85rem;
  color: var(--mut);
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.bk-hours-hint:empty { display: none; }

/* Prev / next / submit row */
.bk-nav {
  display: flex;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.bk-nav [data-bk-next],
.bk-nav [data-bk-submit] {
  flex: 1;
}

/* Error + success states */
.bk-error {
  margin: 1rem 0 0;
  padding: .7rem .95rem;
  font-size: .9rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
}

.bk-error a {
  color: #b91c1c;
  font-weight: 600;
}

.bk-success {
  text-align: center;
  padding: 1.5rem .5rem;
}

.bk-success svg {
  width: 56px;
  height: 56px;
  color: #16a34a;
  margin-bottom: .75rem;
}

.bk-success h3 {
  font-size: 1.35rem;
  margin-bottom: .5rem;
}

.bk-success p {
  color: var(--mut);
  font-size: .95rem;
}

.bk-success a[href^="tel:"] {
  font-weight: 600;
  white-space: nowrap;
}


/* ==========================================================================
   19. GAME MODAL (.gm)
   ========================================================================== */

.gm .modal-panel { padding: 0; }

.gm-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

@media (max-width: 639.98px) {
  .gm-media { border-radius: 0; }
}

.gm-media img,
.gm-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.gm-video-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .6rem;
  text-align: center;
  color: var(--text-inv);
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    rgba(11, 11, 20, .6);
}

.gm-video-ph svg {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.gm-video-ph p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted-inv);
}

.gm-cat {
  display: inline-block;
  margin: 1.4rem 1.5rem 0;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, .14);
  color: var(--eyebrow-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gm-title {
  margin: .5rem 1.5rem .25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.gm-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin: .35rem 1.5rem;
  padding: 0;
  font-size: .88rem;
  color: var(--mut);
}

.gm-meta li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.gm-meta svg {
  width: 15px;
  height: 15px;
  color: var(--eyebrow-ink);
}

.gm-desc {
  margin: .4rem 1.5rem 1.1rem;
  font-size: .96rem;
}

.gm-actions {
  display: flex;
  gap: .75rem;
  margin: 0 1.5rem 1.5rem;
}

.gm-actions .btn { flex: 1; }

@media (max-width: 639.98px) {
  .gm-cat { margin-top: 1.25rem; }
}


/* ==========================================================================
   20. VIDEO MODAL
   ========================================================================== */

#video-modal .modal-panel {
  background: var(--ink-2);
  color: var(--text-inv);
  padding: clamp(.75rem, 2vw, 1.25rem);
}

#video-modal .modal-close {
  background: rgba(255, 255, 255, .92);
}

.vm-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .8rem;
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    radial-gradient(30rem 20rem at 50% 40%,
      rgba(124, 58, 237, .3),
      transparent 70%),
    var(--ink);
}

.vm-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
}

.vm-placeholder p {
  margin: 0;
  max-width: 26rem;
  color: var(--muted-inv);
  font-size: .95rem;
}

.vm-placeholder a { color: var(--brand-hot); }

#video-modal iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   21. STICKY MOBILE CTA
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 11, 20, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 220ms var(--ease), visibility 220ms;
}

@media (max-width: 899.98px) {
  .sticky-cta { display: flex; }
}

.sticky-cta.is-visible {
  visibility: visible;
  transform: none;
}

/* belt and braces: never show over an open modal */
body.modal-open .sticky-cta {
  visibility: hidden;
  transform: translateY(100%);
}

.sticky-cta-call {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.sticky-cta-call:hover { color: #fff; }

.sticky-cta-call svg {
  width: 17px;
  height: 17px;
}

.sticky-cta-book { flex: 1; }


/* ==========================================================================
   22. 404 PAGE
   ========================================================================== */

/* .page-404 is a body class (dark-context tokens come from section 03);
   layout lives on the inner <main> so the body itself still scrolls. */
.page-404 main {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
}

.page-404 main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .03) 0 1px,
      transparent 1px 4px),
    radial-gradient(50rem 30rem at 50% 30%,
      rgba(124, 58, 237, .3),
      transparent 70%);
}

.page-404 main > * {
  position: relative;
  z-index: 1;
}

.page-404 main h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.page-404 main p {
  color: var(--mut);
  max-width: 32rem;
  margin-inline: auto;
}

.page-404 main ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
}

.page-404 main ul a {
  display: inline-block;
  padding-block: .5rem;
  color: var(--text-inv);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-404 main ul a:hover { color: var(--brand-hot); }

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: 1rem;
}


/* ==========================================================================
   23. FORMS (booking modal + any inline forms)
   ========================================================================== */

.bk-step .bk-label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin: .9rem 0 .35rem;
}

.bk-step input[type="text"],
.bk-step input[type="email"],
.bk-step input[type="tel"],
.bk-step input[type="date"],
.bk-step input[type="time"],
.bk-step input[type="number"],
.bk-step select,
.bk-step textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem .85rem;
  border: 1.5px solid #d9d9e6;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* >=16px so iOS Safari does not auto-zoom on focus */
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.bk-step textarea {
  min-height: 96px;
  resize: vertical;
}

.bk-step input:focus-visible,
.bk-step select:focus-visible,
.bk-step textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .2);
}

.bk-step input::placeholder,
.bk-step textarea::placeholder {
  color: #8c8c9e;
}

.bk-step select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5d5d70 50%),
    linear-gradient(135deg, #5d5d70 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}


/* ==========================================================================
   24. REDUCED MOTION + PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .game-card:hover,
  .loc-card:hover,
  .pkg-card:hover,
  .duo-cards > *:hover,
  .btn-primary:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .sticky-cta,
  .modal,
  .skip-link,
  .nav-toggle,
  .ts-btn,
  [data-open-booking],
  [data-open-video] {
    display: none !important;
  }

  .hero,
  .cta-band,
  .section-dark,
  .site-footer,
  .trust-bar,
  .page-404 {
    background: #fff !important;
    color: #000 !important;
  }

  .hero::after,
  .cta-band::after,
  .page-404 main::after {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .gb-grid,
  .ts-track {
    display: block !important;
    overflow: visible !important;
  }

  .gb-panel { display: block !important; }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
