/* ==========================================================
   Un Mondo di Divertimenti · Laser Game
   ========================================================== */

:root {
  --bg: #05040d;
  --bg-2: #0a0820;
  --panel: rgba(16, 13, 44, .72);
  --panel-solid: #100d2c;
  --line: rgba(130, 140, 255, .16);
  --line-2: rgba(130, 140, 255, .32);
  --text: #eceeff;
  --muted: #9ba0c9;
  --cyan: #22e8ff;
  --magenta: #ff2fd0;
  --lime: #b8ff2e;
  --orange: #ff7a18;
  --gold: #ffc23d;
  --red: #ff3d6e;
  --fd: 'Orbitron', system-ui, sans-serif;
  --fb: 'Chakra Petch', system-ui, sans-serif;
  --r: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--fb);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* sfondo griglia leggera */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 10%, rgba(255, 47, 208, .08), transparent 60%),
    radial-gradient(60vw 60vh at 10% 70%, rgba(34, 232, 255, .07), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.35) 100%);
  opacity: .5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }

.scanlines {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--fd); margin: 0; line-height: 1.05; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; margin-bottom: 22px; }
h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.eyebrow {
  font: 600 .8rem/1 var(--fd); letter-spacing: .25em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 18px;
}
p { margin: 0 0 16px; }

/* ---------- Bottoni ---------- */
.btn {
  --bc: var(--magenta);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border: 0; cursor: pointer;
  font: 700 .85rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(90deg, var(--magenta), #a33bff);
  color: #fff;
  box-shadow: 0 0 30px rgba(255, 47, 208, .45);
}
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 0 46px rgba(255, 47, 208, .7); transform: translateY(-2px); }
.btn-ghost { background: rgba(34, 232, 255, .08); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34, 232, 255, .5); }
.btn-ghost:hover { background: rgba(34, 232, 255, .16); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: .72rem; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100vw - var(--wrap)) / 2));
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 4, 13, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 12px; border-color: var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 66px; width: auto; filter: drop-shadow(0 0 10px rgba(255, 60, 30, .35)); transition: transform .3s var(--ease); }
.logo:hover .logo-img { transform: scale(1.04); }
.logo-foot { height: 92px; }
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  background: url("img/arena-murales.jpg") center 40% / cover no-repeat;
  opacity: .32; filter: saturate(1.2) contrast(1.1);
  animation: slowZoom 30s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.08); } }
.logo-mark { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 2.2; filter: drop-shadow(0 0 6px var(--cyan)); }
.logo-mark path { stroke: var(--magenta); }
.logo-mark .dot { fill: var(--magenta); stroke: none; }
.logo:hover .logo-mark { animation: spin 1.2s var(--ease); }
@keyframes spin { to { transform: rotate(90deg); } }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font: 600 .62rem/1 var(--fd); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.logo-text b {
  font: 900 1.05rem/1 var(--fd); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold), var(--orange) 60%, var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) {
  position: relative; font: 600 .74rem/1 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transition: right .3s var(--ease);
}
.menu a:not(.btn):hover { color: var(--text); }
.menu a:not(.btn):hover::after { right: 0; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; cursor: crosshair;
}
#laser { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 4, 13, .7) 80%),
    linear-gradient(transparent 70%, var(--bg));
}
.hero-inner { text-align: center; padding: 120px 16px 100px; max-width: 980px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 30px;
  font: 600 .72rem/1 var(--fd); letter-spacing: .22em; text-transform: uppercase; color: var(--lime);
  border: 1px solid rgba(184, 255, 46, .35); background: rgba(184, 255, 46, .06);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.title { display: flex; flex-direction: column; align-items: center; margin: -6px 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Titolo hero ---------- */
.t-big {
  position: relative; display: block; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 7rem); line-height: .95; letter-spacing: .04em; padding-left: .04em;
  color: #fff; text-shadow: 0 0 8px rgba(255, 47, 208, .8), 0 0 30px rgba(255, 47, 208, .55), 0 0 70px rgba(255, 47, 208, .35);
  clip-path: inset(-80px -400px 100% -400px); animation: printIn .9s .5s cubic-bezier(.6, 0, .3, 1) forwards;
}
.t-big + .t-big { animation-delay: .8s; }
.t-grad {
  background: linear-gradient(90deg, var(--cyan), #8f7bff 50%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 18px rgba(34, 232, 255, .45));
}
.t-grad.glitch::before, .t-grad.glitch::after { -webkit-background-clip: initial; background: none; }
@keyframes printIn { to { clip-path: inset(-80px -400px -80px -400px); } }
.kicker { animation: fadeUp .8s .2s var(--ease) both; }
.lead { animation: fadeUp .9s 1.3s var(--ease) both; }
.cta { animation: fadeUp .9s 1.5s var(--ease) both; }
.hero-stats { animation: fadeUp .9s 1.7s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.t-small { font: 700 clamp(.85rem, 2vw, 1.2rem)/1 var(--fd); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; padding-left: .5em; }
.t-brand {
  font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.4rem, 8.2vw, 6.4rem); line-height: .95; letter-spacing: -.01em; padding: 0 .14em;
  background: linear-gradient(180deg, #fff3b0 0%, var(--gold) 30%, var(--orange) 62%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 122, 24, .55));
}
.t-laser {
  position: relative; margin-top: 6px;
  font-weight: 900; font-size: clamp(2rem, 6.6vw, 5rem); letter-spacing: .12em; padding-left: .12em;
  color: #fff;
  text-shadow: 0 0 6px var(--magenta), 0 0 22px var(--magenta), 0 0 60px rgba(255, 47, 208, .7);
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; padding-left: inherit;
  pointer-events: none; opacity: 0;
}
.glitch::before { color: var(--cyan); text-shadow: none; animation: glitch-a 5s infinite steps(1); }
.glitch::after { color: var(--lime); text-shadow: none; animation: glitch-b 5s infinite steps(1); }
@keyframes glitch-a {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: none; }
  92% { opacity: .9; transform: translate(-4px, 1px); clip-path: inset(10% 0 55% 0); }
  94% { opacity: .9; transform: translate(3px, -2px); clip-path: inset(60% 0 8% 0); }
  96% { opacity: .9; transform: translate(-2px, 0); clip-path: inset(30% 0 40% 0); }
}
@keyframes glitch-b {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: none; }
  93% { opacity: .8; transform: translate(4px, 2px); clip-path: inset(70% 0 5% 0); }
  95% { opacity: .8; transform: translate(-3px, -1px); clip-path: inset(5% 0 70% 0); }
}
.lead { font-size: clamp(1rem, 2vw, 1.22rem); color: #c9cdf2; max-width: 640px; margin: 0 auto 36px; }
.cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  list-style: none; padding: 0; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px;
  border: 1px solid var(--line); background: rgba(10, 8, 32, .5); backdrop-filter: blur(6px);
}
.hero-stats li { padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats b { font: 800 1.6rem/1 var(--fd); color: var(--cyan); text-shadow: 0 0 14px rgba(34, 232, 255, .6); }
.hero-stats span { font-size: .76rem; line-height: 1.25; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
#status-mini.open { color: var(--lime); text-shadow: 0 0 14px rgba(184, 255, 46, .6); }
#status-mini.closed { color: var(--red); text-shadow: 0 0 14px rgba(255, 61, 110, .6); }

.hud {
  position: absolute; z-index: 2; pointer-events: none;
  font: 600 .66rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: rgba(34, 232, 255, .7);
  padding: 12px 14px;
}
.hud::before { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--cyan); }
.hud-tl { top: 92px; left: 24px; } .hud-tl::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-tr { top: 92px; right: 24px; } .hud-tr::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 24px; left: 24px; } .hud-bl::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-br { bottom: 24px; right: 24px; } .hud-br::before { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud i { font-style: normal; color: var(--lime); animation: pulse 1.6s infinite; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 47, 208, .12), rgba(34, 232, 255, .12));
  transform: rotate(-1.5deg) scale(1.03); margin: 20px 0 40px;
}
.ticker-track { display: flex; width: max-content; gap: 34px; padding: 18px 0; animation: tick 34s linear infinite; }
.ticker span { font: 800 1.35rem/1 var(--fd); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.ticker span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px var(--cyan); }
.ticker i { font-style: normal; color: var(--magenta); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
/* Menù */
.mn-section[hidden], [data-menu-link][hidden], .mn-panel[hidden], .mn-tabs[hidden], .mn-note[hidden] { display: none !important; }
.mn-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.mn-tabs button { padding: 11px 20px; border: 0; border-radius: 8px; cursor: pointer; font: 700 .76rem/1.2 var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, box-shadow .2s; }
.mn-tabs button:hover { color: var(--text); }
.mn-tabs button.on { color: #06121a; background: var(--cyan); box-shadow: 0 0 22px rgba(34, 232, 255, .45); }
.mn-tabs button:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
.mn-panel { padding: clamp(20px, 4vw, 38px); border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.mn-title { margin: 0 0 14px; }
.mn-desc { color: var(--muted); margin: 0 0 20px; max-width: 680px; }
.mn-cat { margin: 28px 0 8px; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.mn-cat:first-child, .mn-title + .mn-cat, .mn-desc + .mn-cat { margin-top: 0; }
.mn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.mn-item { padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mn-row { display: flex; align-items: baseline; gap: 10px; }
.mn-row b { font-weight: 600; font-size: 1.04rem; color: var(--text); overflow-wrap: anywhere; }
.mn-row i { flex: 1; min-width: 14px; border-bottom: 1px dotted var(--line-2); translate: 0 -4px; }
.mn-price { flex: none; font: 700 .96rem/1.2 var(--fd); color: var(--gold); }
.mn-out { flex: none; font-size: .76rem; font-weight: 600; color: var(--red); }
.mn-item p { margin: 5px 0 0; color: var(--muted); font-size: .94rem; }
.mn-item small { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.mn-item.off b, .mn-item.off p { opacity: .55; }
.mn-note { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .mn-list { grid-template-columns: minmax(0, 1fr); } }

/* Video di presentazione */
.vid-section[hidden] { display: none; }
.vid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(36px, 7vw, 96px); align-items: center; justify-content: center; }
.vid-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; max-width: 520px; }
.vid-frame { position: relative; width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--panel-solid);
  box-shadow: 0 0 0 1px rgba(34, 232, 255, .55), 0 0 44px rgba(34, 232, 255, .22), 0 0 90px rgba(255, 47, 208, .18); }
.vid-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(5, 4, 13, .05), rgba(5, 4, 13, .4)); }
.vid-play[hidden] { display: none; }
.vid-play span { position: relative; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--magenta), #8a4dff); box-shadow: 0 0 34px rgba(255, 47, 208, .75); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.vid-play span::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #fff; }
.vid-play:hover span { transform: scale(1.08); box-shadow: 0 0 52px rgba(255, 47, 208, .95); }
.vid-play:focus-visible { outline: 3px solid var(--cyan); outline-offset: -5px; border-radius: 22px; }
@media (max-width: 820px) {
  .vid-grid { grid-template-columns: minmax(0, 1fr); }
  .vid-frame { max-width: min(100%, 340px); }
}
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Arena */
.arena-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.arena-grid p { color: #c3c7ec; }
.specs { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs span { font: 600 .7rem/1.6 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.specs b { font-weight: 600; text-align: right; }

.frame { position: relative; margin: 0; padding: 14px; aspect-ratio: 4 / 5; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 60px; height: 60px; border: 2px solid var(--magenta);
  filter: drop-shadow(0 0 8px var(--magenta));
}
.frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(1.15) contrast(1.05); }
.frame-scan {
  position: absolute; left: 14px; right: 14px; top: 14px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 16px 2px var(--cyan); opacity: .8;
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan { 50% { top: calc(100% - 16px); } }
.frame figcaption {
  position: absolute; left: 28px; bottom: 28px;
  font: 600 .7rem/1 var(--fd); letter-spacing: .18em; text-transform: uppercase;
  background: rgba(5, 4, 13, .8); padding: 10px 12px; border: 1px solid var(--line-2);
}
.frame figcaption span { color: var(--red); margin-right: 8px; }
.frame figcaption span::before { content: "● "; animation: pulse 1.2s infinite; }

/* Cards attività */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --c: var(--cyan);
  position: relative; padding: 34px 30px 30px; overflow: hidden;
  background:
    linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    conic-gradient(from var(--ang), var(--line) 0 60%, var(--c) 75%, var(--line) 90%) border-box;
  border: 1px solid transparent; border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card::before { /* glow che segue il mouse */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 18%, transparent), transparent 60%);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px var(--c); animation: border-spin 2.4s linear infinite; }
.card:hover::before { opacity: 1; }
@keyframes border-spin { to { --ang: 360deg; } }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 60px; height: 60px; margin-bottom: 24px; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.card-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--c)); }
.card-feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 40px; }
.card-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: var(--bg) var(--bgpos, center) / cover;
  mask-image: linear-gradient(transparent 0%, #000 70%);
  transition: transform 1.2s var(--ease);
}
.card-feature:hover::after, .card.has-bg:hover::after { transform: scale(1.05); }
.card.has-bg { isolation: isolate; }
.card.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--bgop, .38);
  background: var(--bg) var(--bgpos, center) / cover;
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.5) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,.5) 45%, transparent 85%);
  transition: transform 1.2s var(--ease), opacity .4s;
}
.card.has-bg:hover::after { opacity: var(--bgop-h, .55); }
.card-feature::after {
  -webkit-mask-image: linear-gradient(transparent 0%, #000 70%);
}
.card-feature { isolation: isolate; }
.card-feature h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.card-feature p { max-width: 520px; color: #c9cdf2; }
.card-feature .card-icon { width: 72px; height: 72px; }
.card-feature .card-icon svg { width: 42px; height: 42px; }
.tag { align-self: flex-start; font: 700 .64rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--bg); background: var(--c); padding: 7px 10px; margin-bottom: 14px; }
.link { margin-top: 22px; font: 700 .76rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.link:hover { text-shadow: 0 0 12px var(--c); }

/* Missione */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--lime), var(--orange));
  box-shadow: 0 0 14px rgba(255, 47, 208, .6);
}
.steps li { position: relative; padding-top: 86px; }
.steps b {
  position: absolute; top: 0; left: 0; width: 70px; height: 70px; display: grid; place-items: center;
  font: 800 1.3rem/1 var(--fd); color: var(--cyan); background: var(--bg);
  border: 2px solid var(--cyan); box-shadow: 0 0 20px rgba(34, 232, 255, .4), inset 0 0 14px rgba(34, 232, 255, .25);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Feste */
.party {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(32px, 6vw, 70px); border-radius: calc(var(--r) * 1.5); position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(255, 122, 24, .25), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(255, 47, 208, .25), transparent 60%),
    var(--panel-solid);
  border: 1px solid var(--line-2);
}
.party-text p { color: #c9cdf2; margin-bottom: 30px; }
.party-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.party-list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: rgba(5, 4, 13, .45); border: 1px solid var(--line); font-weight: 500; }
.party-list i { flex: none; width: 10px; height: 10px; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: rotate(45deg); }

/* Galleria */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -26px 0 28px; }
.g-filters button {
  padding: 10px 16px; border: 1px solid var(--line-2); background: rgba(5, 4, 13, .5); cursor: pointer;
  font: 600 .7rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: all .2s;
}
.g-filters button:hover { color: var(--text); border-color: var(--cyan); }
.g-filters button.on { background: var(--cyan); border-color: var(--cyan); color: var(--bg); box-shadow: 0 0 16px rgba(34, 232, 255, .4); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.g { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); }
.g[hidden] { display: none; }
.g button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
.g::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 60%, rgba(5, 4, 13, .55)); opacity: 0; transition: opacity .3s; }
.g:hover::after { opacity: 1; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(1.1); }
.g:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(3, 2, 10, .94); backdrop-filter: blur(8px); animation: lbIn .3s ease; }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-2); }
.lightbox figcaption { font-size: .95rem; color: #c9cdf2; text-align: center; padding: 0 10px; }
.lb-nav, .lb-close { background: none; border: 0; color: var(--text); cursor: pointer; font: 300 3rem/1 var(--fb); width: 60px; height: 60px; justify-self: center; transition: color .2s; }
.lb-nav:hover, .lb-close:hover { color: var(--cyan); }
.lb-close { position: absolute; top: 14px; right: 14px; font-size: 2.6rem; }
.g-soon {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(130, 140, 255, .05) 14px 15px),
    var(--panel);
}
.g-soon span { font: 800 1rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; }
.g-soon small { font: 600 .66rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--magenta); }
.g-soon::after { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--line-2); border-radius: 8px; }

/* Orari */
.hours-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.status { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; margin: 6px 0 22px; border: 1px solid var(--line-2); background: var(--panel); }
.status b { font: 700 .82rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.open .status-dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.6s infinite; }
.status.open b { color: var(--lime); }
.status.closed .status-dot { background: var(--red); box-shadow: 0 0 12px var(--red); }
.status.closed b { color: var(--red); }
.hours { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--panel); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span { font: 600 .82rem/1.5 var(--fd); letter-spacing: .12em; text-transform: uppercase; }
.hours li b { font-weight: 600; color: var(--muted); text-align: right; }
.hours li.today { background: linear-gradient(90deg, rgba(34, 232, 255, .14), transparent); box-shadow: inset 3px 0 0 var(--cyan); }
.hours li.today span::after { content: " · oggi"; color: var(--cyan); }
.hours li.today b { color: var(--text); }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.contacts { list-style: none; padding: 0; margin: 0; }
.contacts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts span { font: 600 .7rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contacts a { font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; transition: color .2s; }
.contacts a[href]:hover { color: var(--cyan); }
.radar {
  position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(34, 232, 255, .4);
  background:
    radial-gradient(circle, transparent 0 19%, rgba(34, 232, 255, .25) 19.3% 19.6%, transparent 20% 39%, rgba(34, 232, 255, .25) 39.3% 39.6%, transparent 40% 59%, rgba(34, 232, 255, .25) 59.3% 59.6%, transparent 60% 79%, rgba(34, 232, 255, .25) 79.3% 79.6%, transparent 80%),
    linear-gradient(rgba(34, 232, 255, .2), rgba(34, 232, 255, .2)) center / 1px 100% no-repeat,
    linear-gradient(rgba(34, 232, 255, .2), rgba(34, 232, 255, .2)) center / 100% 1px no-repeat,
    radial-gradient(circle, rgba(34, 232, 255, .08), rgba(5, 4, 13, .9));
  box-shadow: 0 0 60px rgba(34, 232, 255, .15), inset 0 0 60px rgba(34, 232, 255, .1);
}
.radar-sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 300deg, rgba(34, 232, 255, .45) 360deg); animation: sweep 4s linear infinite; border-radius: 50%; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-ping { position: absolute; left: 58%; top: 36%; width: 14px; height: 14px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 16px var(--magenta); }
.radar-ping::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--magenta); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(4); opacity: 0; } }
.radar-label { position: absolute; left: 50%; bottom: 18%; translate: -50% 0; white-space: nowrap; font: 700 .72rem/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; background: var(--bg); padding: 10px 14px; border: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.radar:hover .radar-label { color: var(--cyan); border-color: var(--cyan); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 110px; }
.footer-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer p { margin: 0; color: #c3c7ec; font-size: .92rem; }
.footer .muted { font-size: .82rem; }

/* WhatsApp flottante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; box-shadow: 0 8px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================
   PREVENTIVO FESTE
   ========================================================== */
.qt-section { background: radial-gradient(900px 500px at 85% 20%, rgba(255, 194, 61, .08), transparent 60%), radial-gradient(800px 500px at 10% 80%, rgba(184, 255, 46, .06), transparent 60%); }
.qt { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.qt-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qt-step { border: 1px solid var(--line-2); background: var(--panel); border-radius: calc(var(--r) * 1.2); padding: clamp(20px, 3.5vw, 32px); backdrop-filter: blur(8px); }
.qt-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qt-head h3 { font-size: 1.05rem; }
.qt-n { font: 800 .8rem/1 var(--fd); color: var(--bg); background: var(--gold); padding: 7px 9px; box-shadow: 0 0 16px rgba(255, 194, 61, .45); }

.qt-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qt-pkg { position: relative; cursor: pointer; }
.qt-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.qt-pkg-box {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 18px 18px;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgba(5, 4, 13, .5); transition: all .2s;
}
.qt-pkg-box b { font: 800 .95rem/1.2 var(--fd); text-transform: uppercase; letter-spacing: .03em; }
.qt-pkg-box small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.qt-pkg-box em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; color: var(--gold); }
.qt-pkg .pop { position: absolute; top: -10px; right: 12px; font: 700 .58rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; background: var(--magenta); color: #fff; padding: 6px 8px; box-shadow: 0 0 14px rgba(255, 47, 208, .5); }
.qt-pkg:hover .qt-pkg-box { border-color: var(--gold); }
.qt-pkg input:checked + .qt-pkg-box { border-color: var(--gold); background: rgba(255, 194, 61, .1); box-shadow: 0 0 0 1px var(--gold), 0 0 26px rgba(255, 194, 61, .22); }
.qt-pkg input:focus-visible + .qt-pkg-box { outline: 2px solid var(--cyan); outline-offset: 2px; }

.qt-counts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-bottom: 22px; }
.qt-counts .bk-label { margin-top: 0; }
.qt-fields { grid-template-columns: repeat(4, 1fr); }

.qt-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qt-extra { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(5, 4, 13, .5); cursor: pointer; transition: all .2s; }
.qt-extra:hover { border-color: var(--lime); }
.qt-extra input { width: 20px; height: 20px; flex: none; accent-color: var(--lime); margin: 0; }
.qt-extra span { flex: 1; font-size: .95rem; line-height: 1.35; }
.qt-extra small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.qt-extra:has(input:checked) { border-color: var(--lime); background: rgba(184, 255, 46, .08); }

.qt-submit { align-self: flex-start; }

.qt-sum { position: sticky; top: 96px; border: 1px solid var(--gold); background: var(--panel); border-radius: calc(var(--r) * 1.2); padding: 26px; backdrop-filter: blur(8px); box-shadow: 0 0 40px rgba(255, 194, 61, .1); }
.qt-sum h3 { font-size: .8rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 16px; }
.qt-lines { list-style: none; padding: 0; margin: 0; }
.qt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.qt-lines li span { color: #c9cdf2; }
.qt-lines li b { font-weight: 600; white-space: nowrap; }
.qt-lines li.muted span { color: var(--muted); }
.qt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; gap: 10px; }
.qt-total span { color: var(--muted); }
.qt-total b { font: 800 1.7rem/1 var(--fd); color: var(--gold); text-shadow: 0 0 18px rgba(255, 194, 61, .4); text-align: right; }

.qt-done { grid-column: 1 / -1; text-align: center; border: 1px solid var(--line-2); background: var(--panel); border-radius: calc(var(--r) * 1.2); padding: clamp(36px, 6vw, 60px) 22px; }
.qt-done h3 { font-size: 1.3rem; margin-bottom: 10px; }
.qt-done p { color: #c3c7ec; max-width: 520px; margin-inline: auto; }
.qt.sent .qt-form, .qt.sent .qt-sum { display: none; }

@media (max-width: 1020px) {
  .qt { grid-template-columns: 1fr; }
  .qt-sum { position: static; }
  .qt-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .qt-pkgs, .qt-extras, .qt-fields { grid-template-columns: 1fr; }
  .qt-submit { align-self: stretch; }
}

/* Avviso in evidenza (gestito dal pannello) */
.notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 9px 16px; text-align: center;
  font: 600 .82rem/1.35 var(--fb); color: #fff;
  background: linear-gradient(90deg, var(--magenta), #a33bff); box-shadow: 0 4px 20px rgba(255, 47, 208, .35);
}
.notice-info { background: linear-gradient(90deg, #0f8fb0, #2a5bd7); box-shadow: 0 4px 20px rgba(34, 232, 255, .3); }
.notice-alert { background: linear-gradient(90deg, #d4482a, #b0122f); box-shadow: 0 4px 20px rgba(255, 61, 110, .3); }
.notice a { color: inherit; text-decoration: none; }
.notice a:hover { text-decoration: underline; }
body.has-notice .nav { top: var(--notice-h, 38px); }
body.has-notice .hud-tl, body.has-notice .hud-tr { top: calc(92px + var(--notice-h, 38px)); }
body.has-notice .hero-inner { padding-top: calc(120px + var(--notice-h, 38px)); }

/* Etichetta versione di anteprima */
.demo-pill {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; max-width: calc(100vw - 110px);
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: rgba(5, 4, 13, .88); backdrop-filter: blur(8px); border: 1px solid var(--gold);
  font-size: .8rem; color: #c9cdf2; line-height: 1.3;
}
.demo-pill b { font: 700 .66rem/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 5px 7px; flex: none; }

/* ==========================================================
   PRENOTAZIONE
   ========================================================== */
.booker { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.bk-main { border: 1px solid var(--line-2); background: var(--panel); border-radius: calc(var(--r) * 1.2); overflow: hidden; backdrop-filter: blur(8px); }
.bk-progress { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); counter-reset: st; }
.bk-progress li {
  counter-increment: st; position: relative; padding: 18px 12px; text-align: center;
  font: 600 .66rem/1.2 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.bk-progress li::before { content: "0" counter(st) " "; color: var(--line-2); }
.bk-progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background .3s; }
.bk-progress li.on { color: var(--text); }
.bk-progress li.on::before { color: var(--magenta); }
.bk-progress li.on::after { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.bk-progress li.done { color: var(--cyan); }
.bk-progress li.done::after { background: var(--cyan); }

.bk-pane { display: none; border: 0; margin: 0; padding: clamp(22px, 4vw, 40px); min-width: 0; }
.bk-pane.on { display: block; animation: paneIn .4s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(16px); } }
.bk-pane legend, .bk-title { font: 800 1.25rem/1.2 var(--fd); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 22px; padding: 0; float: left; width: 100%; }
.bk-pane legend + * { clear: both; }
.bk-label { display: block; font: 600 .7rem/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }

.bk-exps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.bk-exp { position: relative; cursor: pointer; }
.bk-exp input { position: absolute; opacity: 0; pointer-events: none; }
.bk-exp-box {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px;
  border: 1px solid var(--line-2); background: rgba(5, 4, 13, .5); border-radius: 10px;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.bk-exp-box b { font: 700 .9rem/1.2 var(--fd); text-transform: uppercase; letter-spacing: .04em; }
.bk-exp-box small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.bk-exp-box em { font-style: normal; font-size: .78rem; color: var(--cyan); margin-top: auto; padding-top: 6px; }
.bk-exp:hover .bk-exp-box { border-color: var(--cyan); }
.bk-exp input:checked + .bk-exp-box { border-color: var(--magenta); background: rgba(255, 47, 208, .1); box-shadow: 0 0 0 1px var(--magenta), 0 0 26px rgba(255, 47, 208, .25); }
.bk-exp input:focus-visible + .bk-exp-box { outline: 2px solid var(--cyan); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 12px 18px; border: 1px solid var(--line-2); background: rgba(5, 4, 13, .5);
  font-weight: 600; font-size: .95rem; transition: all .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.chip span small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.chip:hover span { border-color: var(--cyan); }
.chip input:checked + span { background: var(--cyan); color: var(--bg); border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 232, 255, .45); }
.chip input:checked + span small { color: rgba(5, 4, 13, .7); }
.chip input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); background: rgba(5, 4, 13, .5); }
.stepper button { width: 52px; border: 0; background: none; cursor: pointer; font: 700 1.4rem/1 var(--fd); color: var(--cyan); transition: background .2s; }
.stepper button:hover { background: rgba(34, 232, 255, .12); }
.stepper button:disabled { color: var(--line-2); pointer-events: none; }
.stepper input { width: 80px; text-align: center; border: 0; border-inline: 1px solid var(--line-2); background: none; font: 800 1.4rem/1 var(--fd); padding: 14px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.hint { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

/* Calendario */
.cal { border: 1px solid var(--line); background: rgba(5, 4, 13, .45); padding: 16px; border-radius: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font: 700 .95rem/1 var(--fd); text-transform: uppercase; letter-spacing: .1em; }
.cal-nav { width: 40px; height: 40px; border: 1px solid var(--line-2); background: none; cursor: pointer; color: var(--cyan); font-size: 1.1rem; }
.cal-nav:hover { background: rgba(34, 232, 255, .12); }
.cal-nav:disabled { opacity: .3; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font: 600 .62rem/1 var(--fd); letter-spacing: .1em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; background: rgba(130, 140, 255, .05); cursor: pointer;
  display: grid; place-items: center; font: 600 .95rem/1 var(--fb); position: relative; border-radius: 6px;
  transition: all .15s;
}
.cal-day::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.cal-day.full::after { background: var(--red); box-shadow: none; }
.cal-day:hover { border-color: var(--cyan); }
.cal-day[disabled] { opacity: .25; cursor: default; background: none; pointer-events: none; }
.cal-day[disabled]::after { display: none; }
.cal-day.sel { background: var(--magenta); color: #fff; box-shadow: 0 0 18px rgba(255, 47, 208, .5); }
.cal-day.sel::after { background: #fff; box-shadow: none; }
.cal-day.today { border-color: var(--line-2); }
.cal-empty { aspect-ratio: 1; }
.cal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  padding: 12px 6px; border: 1px solid var(--line-2); background: rgba(5, 4, 13, .5); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all .15s;
}
.slot b { font: 700 1rem/1 var(--fd); }
.slot small { font-size: .7rem; color: var(--muted); }
.slot:hover { border-color: var(--cyan); }
.slot.sel { background: var(--cyan); color: var(--bg); border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 232, 255, .45); }
.slot.sel small { color: rgba(5, 4, 13, .7); }
.slot[disabled] { opacity: .3; pointer-events: none; text-decoration: line-through; }
.slots-empty { grid-column: 1 / -1; padding: 22px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dt-grid .bk-label:first-child { margin-top: 0; }

/* Form campi */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field > span { font: 600 .68rem/1 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); background: rgba(5, 4, 13, .55); border-radius: 0;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 232, 255, .15); }
.field.err input { border-color: var(--red); }
.field .err-msg { color: var(--red); font-size: .8rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: #c3c7ec; cursor: pointer; }
.field.check { flex-direction: row; }
.field.check > span { font: 400 .92rem/1.5 var(--fb); letter-spacing: normal; text-transform: none; color: #c3c7ec; }
.check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--magenta); }
.check a { color: var(--cyan); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.bk-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.bk-back { background: none; border: 0; cursor: pointer; color: var(--muted); font: 600 .74rem/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; }
.bk-back:hover { color: var(--text); }
.bk-error { color: var(--red); font-size: .9rem; margin: 16px 0 0; min-height: 1px; }
.bk-error:empty { margin: 0; }

/* Riepilogo */
.bk-summary { position: sticky; top: 96px; border: 1px solid var(--line-2); background: var(--panel); border-radius: calc(var(--r) * 1.2); padding: 26px; backdrop-filter: blur(8px); }
.bk-summary h3 { font-size: .8rem; letter-spacing: .2em; color: var(--cyan); margin-bottom: 18px; }
.bk-summary dl { margin: 0; display: grid; gap: 0; }
.bk-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.bk-summary dt { color: var(--muted); font-size: .86rem; }
.bk-summary dd { margin: 0; font-weight: 600; text-align: right; }
.bk-summary .sum-price { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.bk-summary .sum-price b { font: 800 1.6rem/1 var(--fd); color: var(--gold); }
.bk-summary .sum-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

.review { border: 1px solid var(--line); background: rgba(5, 4, 13, .45); padding: 6px 20px; }
.review div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.bk-done { text-align: center; padding: clamp(36px, 6vw, 60px) clamp(22px, 4vw, 40px); }
.bk-done-icon { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--lime); box-shadow: 0 0 30px rgba(184, 255, 46, .4), inset 0 0 20px rgba(184, 255, 46, .2); }
.bk-done-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-code { display: inline-block; font: 800 1.6rem/1 var(--fd); letter-spacing: .2em; color: var(--cyan); padding: 16px 22px; border: 1px dashed var(--cyan); margin: 10px 0 22px; }
.bk-done p { color: #c3c7ec; max-width: 480px; margin-inline: auto; }
.bk-done .cta { margin-top: 26px; }

.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.loading { padding: 18px; color: var(--muted); display: flex; align-items: center; gap: 10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .booker { grid-template-columns: 1fr; }
  .bk-summary { position: static; }
  .bk-summary dl { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(5, 4, 13, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu a:not(.btn) { font-size: 1.1rem; }
  .nav.open .menu { opacity: 1; visibility: visible; }
  .arena-grid, .hours-grid, .contact-grid, .party { grid-template-columns: 1fr; }
  .frame { max-width: 480px; justify-self: center; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-filters { margin-top: -20px; }
  .dt-grid { grid-template-columns: 1fr; }
  .hud-br, .hud-bl { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hud { display: none; }
  .kicker { font-size: .6rem; letter-spacing: .12em; padding: 8px 12px; }
  .t-small { font-size: .72rem; letter-spacing: .22em; }
  .hero-inner { padding-top: 110px; }
  .cta .btn { width: 100%; }
  .hero-stats b { font-size: 1.25rem; }
  .hero-stats span { font-size: .66rem; }
  .cards { grid-template-columns: 1fr; }
  .card-feature { padding: 30px 24px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .g-filters { gap: 6px; }
  .g-filters button { padding: 9px 11px; font-size: .62rem; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-nav { width: 44px; font-size: 2.4rem; }
  .logo-img { height: 52px; }
  .fields { grid-template-columns: 1fr; }
  .contacts li { grid-template-columns: 1fr; gap: 8px; }
  .bk-progress li { font-size: 0; padding: 14px 4px; }
  .bk-progress li::before { font-size: .72rem; }
  .bk-summary dl { grid-template-columns: 1fr; }
  .ticker span { font-size: 1.05rem; }
  .specs li { flex-direction: column; gap: 4px; }
  .specs b { text-align: left; }
}

/* ================= APERTURA CON IL LOGO ================= */
html.intro-on { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(60vmax 45vmax at 50% 46%, #2a0508 0%, #0b0103 45%, #000 75%);
  animation: intro-out .7s cubic-bezier(.7, 0, .3, 1) 2.7s forwards;
}
.intro.out { animation: intro-out .45s ease forwards; }
.intro-logo {
  position: relative; width: min(88vw, 760px); height: auto; mix-blend-mode: screen;
  opacity: 0; animation: intro-logo 2.2s cubic-bezier(.2, .8, .2, 1) .15s forwards;
}
.intro-beam {
  position: absolute; left: 0; top: 50%; width: 45vw; height: 3px; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent, #ff2a2a 40%, #fff 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 42, 42, .7);
  animation: intro-beam .75s cubic-bezier(.5, 0, .2, 1) .05s forwards;
}
.intro-bar { position: absolute; bottom: max(8vh, 48px); width: 160px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff2a2a, #ffc23d); transform-origin: left; transform: scaleX(0); animation: intro-bar 2.6s linear .1s forwards; }
@keyframes intro-logo {
  0%   { opacity: 0; transform: scale(.8); filter: brightness(2.4) blur(8px); }
  28%  { opacity: 1; transform: scale(1.02); filter: brightness(1.4) blur(0); }
  34%  { opacity: .35; }
  38%  { opacity: 1; }
  42%  { opacity: .6; }
  46%  { opacity: 1; filter: brightness(1.15); }
  100% { opacity: 1; transform: scale(1.06); filter: brightness(1); }
}
@keyframes intro-beam {
  0%   { opacity: 0; transform: translateX(-50vw); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(110vw); }
}
@keyframes intro-bar { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.05); } }

.contacts li[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
