/* ═══════════════════════════════════════════════════════════════
   BOWLING SPACE — TORINO & LEGNANO · Prototipo v1
   Design system "next-gen": dark cosmo + neon (cyan / magenta / violet)
   Font: Orbitron (display) · Rajdhani (body) · Share Tech Mono (code)
   Struttura pensata per il futuro porting WordPress (CSS variables → theme)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Colori */
  --bg: #05060f;
  --bg-2: #0a0d1f;
  --panel: rgba(16, 20, 44, 0.55);
  --line: rgba(120, 150, 220, 0.16);
  --ink: #eaf6ff;
  --muted: #9fb0c7;

  /* Neon */
  --cyan: #00e5ff;
  --magenta: #ff2fd6;
  --violet: #7b5cff;
  --violet-soft: #a78bfa;

  /* Spaziature base */
  --gap: clamp(1.2rem, 4vw, 2rem);
  --radius: 18px;
  --container: 1200px;
  --nav-h: 76px;

  /* Font */
  --f-display: 'Orbitron', sans-serif;
  --f-body: 'Rajdhani', sans-serif;
  --f-mono: 'Share Tech Mono', monospace;

  --grad-text: linear-gradient(92deg, #00e5ff 0%, #7b5cff 45%, #ff2fd6 100%);
  --grad-btn: linear-gradient(92deg, #00b8ff, #7b2bff 55%, #ff2fd6);
  --shadow-neon: 0 0 24px rgba(0, 229, 255, 0.35);
}

/* ══════════ Reset & base ══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

::selection { background: var(--magenta); color: #fff; }

/* Scrollbar neon */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--violet), var(--magenta));
  border-radius: 20px; border: 3px solid var(--bg);
}

/* ══════════ Sfondo: stelle + glow ══════════ */
#starfield {
  position: fixed; inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
}

.bg-glow {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 82% 8%, rgba(123, 92, 255, 0.22), transparent 62%),
    radial-gradient(46% 38% at 8% 22%, rgba(0, 229, 255, 0.14), transparent 60%),
    radial-gradient(60% 50% at 50% 108%, rgba(255, 47, 214, 0.12), transparent 64%);
}

/* ══════════ Testi utili ══════════ */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(255, 47, 214, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 47, 214, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 47, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 47, 214, 0); }
}

/* ══════════ Bottoni ══════════ */
.btn {
  --b: var(--grad-btn);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #06121f;
  background: var(--b);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: 0 8px 28px -8px rgba(0, 184, 255, 0.65);
}
.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(255, 47, 214, 0.6);
}
.btn-primary .arr { transition: transform 0.25s ease; }
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.05);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.08);
}
.btn-ghost:hover {
  border-color: var(--magenta);
  box-shadow: 0 0 22px rgba(255, 47, 214, 0.35), inset 0 0 18px rgba(255, 47, 214, 0.12);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.72rem; }
.btn-block { width: 100%; }

/* ══════════ Header / Nav ══════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 42px; height: 42px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}
.brand-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.brand-text em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 26px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════ Hero ══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: center;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(123, 92, 255, 0.35);
}

.hero-cities {
  margin-top: 1.1rem;
  font-family: var(--f-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.5em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
}
.hero-cities .sep { color: var(--magenta); text-shadow: 0 0 12px rgba(255, 47, 214, 0.8); }

.hero-sub {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
}
.hero-sub strong { color: var(--ink); }

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-meta {
  margin-top: 2.6rem;
  display: flex;
  gap: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-meta li { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.meta-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(0, 229, 255, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 10px;
  border-radius: 4px;
  background: var(--cyan);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Pianeta di bowling (hero visual) ── */
.hero-visual { display: flex; justify-content: center; }

.planet-scene {
  position: relative;
  width: min(430px, 78vw);
  aspect-ratio: 1;
}

.planet-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.5), rgba(0, 229, 255, 0.18) 55%, transparent 70%);
  filter: blur(22px);
  animation: breath 5s ease-in-out infinite;
}
@keyframes breath {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

.planet-core {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #9fe6ff 0%, #3fb6ff 26%, #2b4bff 55%, #2a1a8f 78%, #0d0730 100%);
  box-shadow:
    0 0 60px rgba(0, 229, 255, 0.35),
    0 0 130px rgba(123, 92, 255, 0.35),
    inset -26px -30px 90px rgba(0, 0, 10, 0.6);
  animation: core-breathe 6s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

/* Buche della palla */
.hole {
  position: absolute;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a2f7a, #05020f 70%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 229, 255, 0.25);
}
.hole-1 { top: 30%; left: 30%; }
.hole-2 { top: 30%; right: 22%; }
.planet-core::after {
  content: "";
  position: absolute;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a2f7a, #05020f 70%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.9);
  bottom: 20%; left: 34%;
}

.sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 42%, transparent 52%);
  mix-blend-mode: screen;
}

/* Anello "saturno" */
.saturn-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 132%;
  height: 46%;
  transform: translate(-50%, -50%) rotate(-16deg);
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.55);
  box-shadow:
    0 0 16px rgba(0, 229, 255, 0.4),
    inset 0 0 16px rgba(255, 47, 214, 0.22);
}
.saturn-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 47, 214, 0.35);
}

/* Orbite + birilli-satelliti */
.orbit {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  animation: orbit-spin 14s linear infinite;
}
.orbit-b { animation-direction: reverse; animation-duration: 22s; inset: 0; }
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

/* Birillo-satellite (SVG) */
.sat { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); }
.pin-svg { width: 40px; height: auto; display: block; }
.pin-svg-a { filter: drop-shadow(0 0 9px rgba(160, 225, 255, 0.9)); }
.pin-svg-b { width: 30px; filter: drop-shadow(0 0 9px rgba(255, 160, 235, 0.9)); }

/* Scintille */
.spark {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.8);
  animation: twinkle 3s ease-in-out infinite;
}
.sp-1 { top: 8%; left: 16%; }
.sp-2 { top: 20%; right: 8%; animation-delay: 1s; }
.sp-3 { bottom: 14%; left: 6%; animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ══════════ Marquee ══════════ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.06), rgba(255, 47, 214, 0.06));
  padding: 0.85rem 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  padding-right: 0.5rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ══════════ Sezioni ══════════ */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.6rem, 6vw, 4rem); }
.section-head .kicker { justify-content: center; }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.section-head .lead { margin-top: 1.2rem; color: var(--muted); font-size: 1.12rem; }

/* ══════════ Location panel ══════════ */
.loc-panel { text-align: left; }
.loc-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--gap);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(123, 92, 255, 0.1), transparent 40%),
    linear-gradient(200deg, rgba(0, 229, 255, 0.06), transparent 45%),
    var(--panel);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
}
.loc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-text);
}
.loc-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.1rem;
  background: rgba(0, 229, 255, 0.06);
}

.loc-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
}
.loc-region {
  font-family: var(--f-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--magenta);
  font-size: 0.85rem;
  margin: 0.4rem 0 1.1rem;
}
.loc-desc { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }

.loc-bullets {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem 1.4rem;
}
.loc-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
}
.loc-bullets li::before {
  content: "✦";
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.loc-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.loc-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 8, 20, 0.5);
}
.loc-info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
}
.ico svg { width: 21px; height: 21px; }

.info-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value { font-weight: 600; font-size: 1.02rem; color: var(--ink); }

/* Campo da compilare col dato reale (evidenziazione) */
.data-fill {
  border-bottom: 1px dashed rgba(255, 47, 214, 0.7);
  cursor: help;
}

/* ══════════ Card attrazioni ══════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  --glow: var(--cyan);
  position: relative;
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(20, 26, 58, 0.6), rgba(9, 10, 26, 0.7));
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--glow) 55%, transparent);
  box-shadow: 0 0 30px -8px color-mix(in srgb, var(--glow) 45%, transparent);
}
.card:hover::after { opacity: 1; }

.card-ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--ic);
  border: 1px solid color-mix(in srgb, var(--ic) 45%, transparent);
  background: color-mix(in srgb, var(--ic) 9%, transparent);
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--ic) 55%, transparent);
  margin-bottom: 1.3rem;
}
.card-ico svg { width: 30px; height: 30px; }

.card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 1.02rem; }

/* ══════════ Stats ══════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.stat {
  text-align: center;
  padding: 1.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 16, 36, 0.5);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 60%; height: 2px;
  transform: translateX(-50%);
  background: var(--grad-text);
  opacity: 0.7;
}
.stat-num, .stat-suffix {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-suffix { margin-left: 2px; }
.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════ Community ══════════ */
.community {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--gap);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 90% 10%, rgba(255, 47, 214, 0.1), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(0, 229, 255, 0.1), transparent 60%),
    var(--panel);
  backdrop-filter: blur(10px);
}
.community-copy h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.community-copy p { color: var(--muted); margin: 0.9rem 0 1.5rem; max-width: 32rem; }

.newsletter { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 240px;
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(6, 8, 20, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.newsletter input::placeholder { color: var(--muted); font-weight: 500; }
.newsletter input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), 0 0 18px rgba(0, 229, 255, 0.25);
}
.newsletter-ok {
  color: var(--cyan);
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  margin: 0.6rem 0 0 !important;
}

.community-orbit {
  position: relative;
  width: min(240px, 60vw);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
}
.holo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.4);
  animation: orbit-spin 16s linear infinite;
}
.holo-ring::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 14px var(--magenta);
}
.holo-ring::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 47, 214, 0.35);
}
.holo-core {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  background: radial-gradient(circle at 35% 30%, rgba(123, 92, 255, 0.5), rgba(0, 229, 255, 0.12) 60%, transparent);
  border: 1px solid rgba(123, 92, 255, 0.5);
  color: var(--cyan);
  text-shadow: 0 0 16px var(--cyan);
  box-shadow: 0 0 40px rgba(123, 92, 255, 0.3), inset 0 0 30px rgba(0, 229, 255, 0.15);
}

/* ══════════ Eventi ══════════ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.event-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(13, 16, 36, 0.55);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); border-color: rgba(255, 47, 214, 0.45); }

.event-emoji {
  font-size: 3rem;
  display: grid;
  place-items: center;
  min-height: 130px;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255, 47, 214, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  filter: drop-shadow(0 0 16px rgba(255, 47, 214, 0.4));
}
.event-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.event-body h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.04em; }
.event-body p { color: var(--muted); font-size: 1.02rem; flex: 1; }

.text-link {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, gap 0.2s ease;
}
.text-link span { transition: transform 0.2s ease; }
.text-link:hover { color: var(--magenta); gap: 0.7rem; }

/* ══════════ Banner tariffe ══════════ */
.tariffe {
  padding: 0 0 clamp(4.5rem, 9vw, 7rem);
}
.tariffe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  background:
    linear-gradient(120deg, rgba(0, 229, 255, 0.08), transparent 40%),
    linear-gradient(-120deg, rgba(255, 47, 214, 0.08), transparent 40%),
    rgba(12, 14, 34, 0.6);
  box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.04);
}
.tariffe-inner h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.tariffe-inner p { color: var(--muted); margin-top: 0.5rem; max-width: 34rem; }
.tariffe-cta { flex: none; }

/* ══════════ Contatti ══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap);
  align-items: stretch;
}
.contact-map {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 380px;
  background: radial-gradient(90% 90% at 50% 100%, rgba(0, 229, 255, 0.08), transparent 70%), var(--bg-2);
  display: grid;
  place-items: center;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(80% 80% at 50% 50%, #000, transparent 90%);
  mask: radial-gradient(80% 80% at 50% 50%, #000, transparent 90%);
  animation: grid-drift 16s linear infinite;
}
@keyframes grid-drift {
  to { background-position: 44px 44px, 44px 44px; }
}
.map-glow {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.3), transparent 70%);
  filter: blur(12px);
}
.map-dot { position: absolute; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; }
.dot-core {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-text);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.9);
  position: relative;
  z-index: 2;
}
.ping {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.5);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(7); opacity: 0; }
}
.map-coords {
  position: absolute;
  bottom: 1.2rem;
  left: 1.4rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.map-dot.is-moving .dot-core { animation: dotMove 0.6s ease; }
@keyframes dotMove {
  0% { transform: scale(0.2); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-line {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 16, 36, 0.5);
}
.contact-line .info-label { margin-bottom: 0.15rem; }
.note {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--magenta);
  padding-left: 0.9rem;
}

/* ══════════ Footer ══════════ */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(123, 92, 255, 0.06));
  padding: 3.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 26rem; }
.footer-col h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }

.socials { display: flex; gap: 0.8rem; }
.social {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.25s ease;
}
.social svg { width: 20px; height: 20px; }
.social:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan); }

/* ══════════ Scroll reveal ══════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

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

/* ══════════ Responsive ══════════ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .planet-scene { width: min(320px, 70vw); }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-meta { gap: 1.6rem; }
  .cards-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .community { grid-template-columns: 1fr; text-align: center; }
  .community-copy p { margin-inline: auto; }
  .newsletter { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .loc-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 6, 15, 0.96);
    backdrop-filter: blur(16px);
    padding: 1rem 6%;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 0.55rem 0; }
  .nav-cta-wrap { margin-top: 0.6rem; }
  .nav-cta-wrap .btn { width: 100%; }
  .nav-burger { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 3rem); }
  .scroll-cue { display: none; }
  .cards-grid, .event-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .loc-card { padding: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════ NAV ACTIONS + THEME ══════════ */
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}
.theme-toggle:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 229, 255, 0.3); }
.theme-toggle .tt-icon { width: 20px; height: 20px; }
.theme-toggle .tt-sun { display: none; }
.theme-toggle .tt-moon { display: block; }
html.light-mode .theme-toggle .tt-sun { display: block; }
html.light-mode .theme-toggle .tt-moon { display: none; }

/* ══════════ WHATSAPP FLOAT ══════════ */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ══════════ WIZARD PRENOTAZIONE ══════════ */
.wizard {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(123, 92, 255, 0.08), transparent 40%),
    linear-gradient(200deg, rgba(0, 229, 255, 0.06), transparent 45%),
    var(--panel);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.wizard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-text); }
.wizard-steps { display: flex; justify-content: center; gap: clamp(0.6rem, 3vw, 1.6rem); margin-bottom: 2rem; flex-wrap: wrap; }
.wstep { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.wstep-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--f-display); font-size: 0.78rem; }
.wstep.is-active { color: var(--ink); }
.wstep.is-active .wstep-num { background: var(--grad-text); color: #06121f; border-color: transparent; box-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }
.wstep.is-done .wstep-num { background: rgba(0, 229, 255, 0.15); border-color: var(--cyan); color: var(--cyan); }
.wizard-body { position: relative; }
.wpanel { display: none; animation: wizIn 0.4s ease; }
.wpanel.is-active { display: block; }
@keyframes wizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wlead { margin-bottom: 1.3rem; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }

.wobtn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.wobtn { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.3rem 1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: all 0.25s ease; font-weight: 600; }
.wobtn-emoji { font-size: 1.8rem; }
.wobtn:hover { border-color: var(--cyan); transform: translateY(-3px); }
.wobtn.is-active { border-color: var(--magenta); background: rgba(255, 47, 214, 0.12); box-shadow: 0 0 18px rgba(255, 47, 214, 0.3); }

.wiz-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 520px; margin: 0 auto 1.4rem; }
.wiz-cal-title { grid-column: 1 / -1; text-align: center; font-family: var(--f-display); font-weight: 700; margin-bottom: 0.6rem; }
.wiz-cal .cal-head { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--muted); text-align: center; padding: 0.4rem 0; }
.wiz-cal .cday { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; border: 1px solid transparent; transition: all 0.2s ease; }
.wiz-cal .cday.blank { visibility: hidden; }
.wiz-cal .cday.dim { color: var(--muted); opacity: 0.4; }
.wiz-cal .cday.disabled { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; }
.wiz-cal .cday:not(.disabled):not(.dim):hover { border-color: var(--cyan); }
.wiz-cal .cday.is-active { background: var(--grad-text); color: #06121f; box-shadow: 0 0 14px rgba(0, 229, 255, 0.45); }

.wiz-slots { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.wslot { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.82rem; color: var(--muted); transition: all 0.2s ease; }
.wslot:hover { border-color: var(--cyan); color: var(--ink); }
.wslot.is-active { background: var(--grad-text); color: #06121f; border-color: transparent; box-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }
.wslot:disabled { opacity: 0.3; cursor: not-allowed; }

.wiz-row { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.3rem; }
.wiz-field { display: flex; flex-direction: column; gap: 0.6rem; }
.wiz-field-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wiz-slider { display: flex; align-items: center; gap: 1rem; }
.wiz-slider input[type=range] { flex: 1; accent-color: var(--cyan); height: 6px; cursor: pointer; }
.wiz-slider-val { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.2rem; text-align: center; }

.wiz-services { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wservice { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-weight: 600; font-size: 0.92rem; transition: all 0.2s ease; }
.wservice em { font-style: normal; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }
.wservice:hover { border-color: var(--cyan); }
.wservice.is-active { border-color: var(--magenta); background: rgba(255, 47, 214, 0.12); color: var(--ink); box-shadow: 0 0 14px rgba(255, 47, 214, 0.25); }
.wservice.is-active em { color: var(--magenta); }

.wiz-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(0, 229, 255, 0.35); border-radius: 14px; background: rgba(0, 229, 255, 0.06); }
.wiz-price strong { font-family: var(--f-display); font-size: 1.5rem; }
.wiz-price small { color: var(--muted); font-size: 0.78rem; margin-left: auto; }

.wiz-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.6rem; margin-bottom: 1.4rem; }
.wiz-summary li { padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.wiz-summary li b { display: block; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }

.wiz-form { display: flex; flex-direction: column; gap: 1rem; }
.wiz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.wiz-field input, .wiz-field textarea { width: 100%; font-family: var(--f-body); font-weight: 600; font-size: 1.02rem; color: var(--ink); background: rgba(6, 8, 20, 0.7); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.wiz-field input:focus, .wiz-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.wiz-field textarea { resize: vertical; }

.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.wizard-success { text-align: center; padding: 2rem; }
.wiz-success-ico { font-size: 3rem; }
.wizard-success h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; margin: 0.6rem 0; }
.wizard-success p { color: var(--muted); margin-bottom: 1.2rem; }

/* ══════════ GALLERY ══════════ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gtile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; display: flex; align-items: flex-end; padding: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gtile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5)); }
.gtile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(0, 229, 255, 0.45); }
.gtile.g1 { background: linear-gradient(140deg, #0e1a4a, #3a2bd0); }
.gtile.g2 { background: linear-gradient(140deg, #2a0f4a, #c21e8f); }
.gtile.g3 { background: linear-gradient(140deg, #0a3a4a, #00c2c8); }
.gtile.g4 { background: linear-gradient(140deg, #1a0f4a, #7b5cff); }
.gtile.g5 { background: linear-gradient(140deg, #4a0f2a, #ff5c8f); }
.gtile.g6 { background: linear-gradient(140deg, #0f4a2a, #00d08f); }
.gcaps { position: relative; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.gallery-cta { display: flex; justify-content: center; margin-top: 1.8rem; }
.gallery-cta .btn { gap: 0.7rem; }
.gallery-cta .btn svg { width: 20px; height: 20px; }

/* ══════════ SPACE CARD ══════════ */
.spacecard-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap); align-items: center; }
.space-card-visual { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.sc-card { position: relative; width: min(360px, 90%); aspect-ratio: 1.6; border-radius: 20px; background: linear-gradient(135deg, #0b1240 0%, #22104a 55%, #1a0630 100%); border: 1px solid rgba(0, 229, 255, 0.35); box-shadow: 0 0 50px -10px rgba(0, 229, 255, 0.6), inset 0 0 40px rgba(123, 92, 255, 0.15); padding: 1.4rem 1.6rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform 0.3s ease; }
.sc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 120px at 85% 15%, rgba(0, 229, 255, 0.25), transparent 70%); }
.sc-card:hover { transform: rotateY(6deg) rotateX(-4deg); }
.sc-top { font-family: var(--f-display); font-weight: 800; letter-spacing: 0.08em; font-size: 1.1rem; position: relative; }
.sc-top em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-chip { position: relative; width: 48px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #ffd76b, #ff9a3d); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); margin: 10px 0; }
.sc-num { position: relative; font-family: var(--f-mono); font-size: 0.95rem; letter-spacing: 0.14em; }
.sc-name { position: relative; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--muted); }
.sc-rings { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; }
.sc-rings span { position: absolute; inset: 0; border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 50%; }
.sc-rings span:nth-child(2) { inset: 30px; }
.sc-rings span:nth-child(3) { inset: 60px; }
.sc-level { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted); }
.sc-level strong { color: var(--cyan); }
.sc-desc { color: var(--muted); margin-bottom: 1.2rem; }
.sc-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1.2rem; }
.sc-point { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.sc-ico { font-size: 1.4rem; }
.sc-point strong { display: block; font-family: var(--f-display); font-size: 1rem; margin: 0.4rem 0 0.2rem; }
.sc-point small { color: var(--muted); font-size: 0.82rem; }
.sc-tiers { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.sc-tier { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 0.86rem; cursor: pointer; transition: all 0.2s ease; }
.sc-tier.is-active { border-color: var(--magenta); background: rgba(255, 47, 214, 0.12); color: var(--ink); box-shadow: 0 0 14px rgba(255, 47, 214, 0.25); }

.gift { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(255, 47, 214, 0.35); background: linear-gradient(120deg, rgba(255, 47, 214, 0.08), transparent 40%), linear-gradient(-120deg, rgba(0, 229, 255, 0.08), transparent 40%), var(--panel); backdrop-filter: blur(10px); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.gift-copy { flex: 1; min-width: 260px; }
.gift-copy h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); }
.gift-copy p { color: var(--muted); margin: 0.6rem 0 1.1rem; }
.gift-amounts { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.gift-amt { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-mono); font-weight: 600; transition: all 0.2s ease; }
.gift-amt:hover { border-color: var(--cyan); color: var(--ink); }
.gift-amt.is-active { background: var(--grad-text); color: #06121f; border-color: transparent; box-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }

/* ══════════ EVENT CALENDAR ══════════ */
.cal-list { display: grid; gap: 1rem; max-width: 760px; margin: 0 auto; }
.cal-item { display: flex; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); transition: transform 0.25s, border-color 0.25s; }
.cal-item:hover { transform: translateX(6px); border-color: rgba(0, 229, 255, 0.4); }
.cal-date { flex: none; width: 64px; height: 64px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.35); }
.cal-day { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.cal-month { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-top: 0.2rem; }
.cal-tag { display: inline-block; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.4rem; }
.tag-party { background: rgba(255, 47, 214, 0.15); color: var(--magenta); }
.tag-tourney { background: rgba(123, 92, 255, 0.18); color: var(--violet-soft); }
.tag-family { background: rgba(0, 229, 255, 0.15); color: var(--cyan); }
.tag-night { background: rgba(255, 150, 0, 0.16); color: #ffb86b; }
.cal-info h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin: 0.2rem 0 0.3rem; }
.cal-info p { color: var(--muted); font-size: 0.98rem; }

/* ══════════ TARIFFE INTERATTIVE ══════════ */
.tariffe-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; padding: clamp(1.8rem, 4vw, 3rem); border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(0, 229, 255, 0.3); background: linear-gradient(120deg, rgba(0, 229, 255, 0.08), transparent 40%), linear-gradient(-120deg, rgba(255, 47, 214, 0.08), transparent 40%), rgba(12, 14, 34, 0.6); box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.04); }
.tariffe-copy h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.4rem; }
.tariffe-copy .lead { color: var(--muted); margin-bottom: 1.6rem; }
.price-form { display: flex; flex-direction: column; gap: 1.3rem; }
.price-total { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.price-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.price-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.6rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.price-suffix { font-family: var(--f-mono); font-size: 0.68rem; color: var(--muted); }

/* ══════════ FAQ ══════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: rgba(0, 229, 255, 0.4); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--cyan); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ══════════ OVERLAY ══════════ */
.overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(4, 5, 14, 0.8); backdrop-filter: blur(8px); }
.overlay[hidden] { display: none; }
.overlay-card { position: relative; max-width: 420px; width: 90%; text-align: center; padding: 2.4rem 2rem; border-radius: 24px; border: 1px solid rgba(0, 229, 255, 0.4); background: linear-gradient(160deg, rgba(123, 92, 255, 0.15), transparent 40%), rgba(10, 12, 30, 0.95); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.overlay-close { position: absolute; top: 12px; right: 16px; font-size: 1.6rem; color: var(--muted); }
.overlay-ico { font-size: 2.4rem; }
.overlay-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; margin: 0.6rem 0; }
.overlay-card p { color: var(--muted); margin-bottom: 1.2rem; }

/* ══════════ LIGHT THEME ══════════ */
html.light-mode { --bg: #f2f5ff; --bg-2: #e9eefb; --panel: rgba(255, 255, 255, 0.85); --line: rgba(70, 80, 130, 0.22); --ink: #111632; --muted: #4b5573; }
html.light-mode body { background: var(--bg); }
html.light-mode .bg-glow { opacity: 0.5; }
html.light-mode #starfield { opacity: 0.35; }
html.light-mode .site-header.scrolled { background: rgba(255, 255, 255, 0.8); }
html.light-mode .card, html.light-mode .stat, html.light-mode .event-card, html.light-mode .contact-line, html.light-mode .loc-info, html.light-mode .cal-item, html.light-mode .faq-item, html.light-mode .sc-point, html.light-mode .wobtn, html.light-mode .wservice, html.light-mode .wiz-summary li { background: rgba(255, 255, 255, 0.75); }
html.light-mode .community, html.light-mode .wizard, html.light-mode .gift, html.light-mode .tariffe-panel, html.light-mode .loc-card { background: rgba(255, 255, 255, 0.8); }
html.light-mode .wiz-field input, html.light-mode .wiz-field textarea { background: #fff; color: var(--ink); }
html.light-mode .sc-card { background: linear-gradient(135deg, #dfe7ff 0%, #e6d8ff 55%, #f6e4ff 100%); border-color: rgba(0, 229, 255, 0.4); }
html.light-mode .sc-num { color: #111632; }
html.light-mode .sc-name { color: #5a6383; }
html.light-mode .gtile { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.2); }

/* ══════════ RESPONSIVE NUOVE COMPONENTI ══════════ */
@media (max-width: 900px) {
  .spacecard-grid { grid-template-columns: 1fr; text-align: center; }
  .sc-points { grid-template-columns: 1fr 1fr; }
  .tariffe-panel { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wiz-grid { grid-template-columns: 1fr; }
  .space-card-visual { order: -1; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .wobtn-grid { grid-template-columns: 1fr; }
  .sc-points { grid-template-columns: 1fr; }
  .cal-item { flex-direction: column; text-align: center; }
  .wstep-label { display: none; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ══════════ BUONI PACCHETTO ESPERIENZA ══════════ */
.exp-pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 1.2rem; }
.exp-pack { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); text-align: left; transition: all 0.2s ease; }
.exp-pack:hover { border-color: var(--cyan); transform: translateY(-3px); }
.exp-pack.is-active { border-color: var(--magenta); background: rgba(255, 47, 214, 0.12); box-shadow: 0 0 16px rgba(255, 47, 214, 0.25); }
.exp-ico { font-size: 1.6rem; }
.exp-name { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.exp-desc { color: var(--muted); font-size: 0.86rem; }
.exp-price { font-family: var(--f-mono); color: var(--cyan); font-size: 0.9rem; margin-top: 0.2rem; }
html.light-mode .exp-pack { background: rgba(255, 255, 255, 0.75); }
@media (max-width: 540px) {
  .exp-pack-grid { grid-template-columns: 1fr; }
}
