/* ============================================================
   WADO CARDS — v2
   ============================================================ */
:root {
  /* tema scuro (default): fondo viola-ink, testi avorio */
  --ink: #120818;
  --ink-2: #1b0c25;
  --ink-3: #281335;
  --ivory: #faf7ef;
  --fg-rgb: 250, 247, 239;
  --bg-rgb: 18, 8, 24;
  --muted: rgba(var(--fg-rgb), 0.66);
  --line: rgba(var(--fg-rgb), 0.11);
  --field-bg: rgba(0, 0, 0, .28);
  --field-bg-f: rgba(0, 0, 0, .4);
  /* palette brand book */
  --purple: #623476;
  --purple-l: #8d5ba6;
  --lilac: #d8c6e3;
  --green: #174c3c;
  --green-l: #2b8a6c;
  --gold: #c6973e;
  --gold-l: #e2bd72;
  --brand-ink: #281335;
  --brand-ivory: #faf7ef;
  --on-gold: #281335;
  /* oro "lamina": sostituisce tutti gli elementi argento */
  --chrome: linear-gradient(100deg, #9c7428 0%, #f6dc9a 16%, #c6973e 32%, #fff3cf 46%, #a9802f 62%, #f1d184 80%, #b08532 100%);
  --foil-text: linear-gradient(100deg, #b8862f 0%, #f6dc9a 18%, #c6973e 34%, #fff3cf 48%, #b08532 64%, #f1d184 82%, #c6973e 100%);
  --cta: #174c3c;
  --cta-hover: #1f6a53;
  --cta-text: #faf7ef;
  --f-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 22px;
  color-scheme: dark;
}
/* tema chiaro: fondo avorio, testi ink, accenti viola/verde, oro solo come dettaglio */
:root[data-theme="light"] {
  --ink: #faf7ef;
  --ink-2: #f3ecdd;
  --ink-3: #ebe0cc;
  --ivory: #281335;
  --fg-rgb: 40, 19, 53;
  --bg-rgb: 250, 247, 239;
  --muted: rgba(40, 19, 53, 0.7);
  --line: rgba(40, 19, 53, 0.13);
  --field-bg: #ffffff;
  --field-bg-f: #ffffff;
  --gold-l: #623476;
  --green-l: #174c3c;
  --lilac: #623476;
  --foil-text: linear-gradient(100deg, #623476 0%, #8d5ba6 30%, #9c7428 48%, #623476 66%, #8d5ba6 100%);
  color-scheme: light;
}
/* le scene immersive restano scure in entrambi i temi */
.gift, .veil, .toast {
  --ink: #120818; --ink-2: #1b0c25; --ink-3: #281335; --ivory: #faf7ef; --fg-rgb: 250, 247, 239; --bg-rgb: 18, 8, 24;
  --muted: rgba(250, 247, 239, 0.66); --line: rgba(250, 247, 239, 0.11); --field-bg: rgba(0, 0, 0, .28); --field-bg-f: rgba(0, 0, 0, .4);
  --gold-l: #e2bd72; --green-l: #2b8a6c; --lilac: #d8c6e3;
  --foil-text: linear-gradient(100deg, #b8862f 0%, #f6dc9a 18%, #c6973e 34%, #fff3cf 48%, #b08532 64%, #f1d184 82%, #c6973e 100%);
  color-scheme: dark;
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, box-shadow .5s !important; }
[data-theme="light"] .grain { opacity: .045; }
[data-theme="light"] .cursor-glow { mix-blend-mode: multiply; opacity: .5; }
[data-theme="light"] .aurora { filter: blur(90px) saturate(1.1); }
[data-theme="light"] .aurora i { mix-blend-mode: multiply; opacity: .2; }
[data-theme="light"] .aurora i:nth-child(4) { opacity: .25; background: var(--gold); }
[data-theme="light"] .stars { filter: brightness(0); opacity: .22; }
[data-theme="light"] .pdp-glow { opacity: .18; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--purple-l); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* grana pellicola sopra tutto: dà profondità ai gradienti */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1; will-change: transform;
  background: radial-gradient(circle, rgba(141, 91, 166, 0.22), transparent 62%);
  transform: translate3d(-999px, -999px, 0); mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- tipografia ---------- */
.eyebrow {
  margin: 0 0 14px; font: 600 12px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-l); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-l); box-shadow: 0 0 0 0 rgba(43,138,108,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(43,138,108,0); } 100% { box-shadow: 0 0 0 0 rgba(43,138,108,0); } }

.h2 { margin: 0 0 18px; font: 700 clamp(38px, 6vw, 84px)/0.98 var(--f-display); letter-spacing: -0.035em; }
.lead { margin: 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; }

/* testo cromato con riflesso che scorre */
.chrome {
  background: var(--foil-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chrome 6s linear infinite;
}
@keyframes chrome { to { background-position: -220% 0; } }

/* ---------- bottoni ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--f-display); letter-spacing: .01em; white-space: nowrap;
  background: var(--ivory); color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(var(--fg-rgb), .06); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .22); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(var(--fg-rgb), .12); }
.btn-glow { color: var(--cta-text); background: var(--cta); isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(226,189,114,.65), inset 0 1px 0 rgba(255,255,255,.12), 0 12px 34px -12px rgba(23,76,60,.9); }
.btn-glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; padding: 1px; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--a, 0deg), #c6973e, #fff3cf, #c6973e, #8d5ba6, #c6973e); animation: spin 3s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.btn-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,243,207,.28) 45%, transparent 60%); background-size: 260% 100%; background-position: 140% 0; transition: background-position .9s var(--ease); }
.btn-glow:hover { background: var(--cta-hover); box-shadow: inset 0 0 0 1px rgba(226,189,114,.9), 0 16px 40px -12px rgba(198,151,62,.55); }
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover::after { background-position: -40% 0; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-display); color: var(--gold-l); }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 120; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--max), 100% - 2 * var(--gutter)); height: 64px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: rgba(var(--bg-rgb), .45); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .08), 0 20px 50px -20px rgba(0,0,0,.6);
  transition: transform .5s var(--ease), background .3s;
}
.nav.is-scrolled { background: rgba(var(--bg-rgb), .72); }
.nav.is-hidden { transform: translate(-50%, -130%); }
.nav.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 8px 13px; border-radius: 999px; font: 500 14px var(--f-display); color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ivory); background: rgba(var(--fg-rgb), .07); }
.nav-links a[aria-current="page"] { color: var(--ivory); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-l); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .25s, background .25s; }
.nav-icon svg { width: 20px; height: 20px; }
.nav-icon:hover { color: var(--ivory); background: rgba(var(--fg-rgb), .08); }
.nav-icon.bump { animation: bump .6s var(--ease-back); }
@keyframes bump { 30% { transform: scale(1.35) rotate(-8deg); color: var(--gold-l); } 60% { transform: scale(.92) rotate(4deg); } }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink); font: 700 10px/17px var(--f-body); text-align: center; }
.theme-toggle { width: 42px; height: 42px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; perspective: 300px; }
.theme-toggle:hover { background: rgba(var(--fg-rgb), .08); }
.tt-card { position: relative; width: 22px; height: 30px; transform-style: preserve-3d; transition: transform .8s var(--ease-back); }
[data-theme="light"] .tt-card { transform: rotateY(180deg); }
.tt-face { position: absolute; inset: 0; border-radius: 4px; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset 0 0 0 1.5px #c6973e, 0 4px 10px rgba(0,0,0,.35); }
.tt-face svg { width: 13px; height: 13px; }
.tt-dark { background: radial-gradient(circle at 50% 40%, #8d5ba6, #281335); color: #f6dc9a; }
.tt-light { background: radial-gradient(circle at 50% 40%, #ffffff, #efe3c4); color: #c6973e; transform: rotateY(180deg); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; } ::view-transition-new(root) { z-index: 2; }
.nav-burger { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(var(--fg-rgb), .08); cursor: pointer; display: none; position: relative; }
.nav-burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ivory); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-burger i:nth-child(1) { top: 17px; } .nav-burger i:nth-child(2) { top: 25px; }
.nav.menu-open .nav-burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.menu-open .nav-burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1020px) { .nav-links { display: none; } .nav-burger { display: block; } }
@media (max-width: 420px) { .nav { height: 58px; padding-left: 14px; } .nav-logo img { height: 38px; } .hide-xs { display: none !important; } }

/* menu a tutto schermo */
.menu { position: fixed; inset: 0; z-index: 110; display: grid; align-content: center; padding: 100px var(--gutter) 40px; visibility: hidden; pointer-events: none; }
.menu.open { visibility: visible; pointer-events: auto; }
.menu-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(98,52,118,.6), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(23,76,60,.5), transparent 60%), rgba(var(--bg-rgb), .97);
  clip-path: circle(0% at calc(100% - 50px) 46px); transition: clip-path .8s var(--ease); }
.menu.open .menu-bg { clip-path: circle(150% at calc(100% - 50px) 46px); }
.menu-links { position: relative; display: grid; gap: 2px; width: min(var(--max), 100%); margin-inline: auto; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font: 700 clamp(34px, 8vw, 72px)/1.05 var(--f-display); letter-spacing: -.04em; opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .25s; }
.menu.open .menu-links a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .045s); }
.menu-links a small { font: 600 12px var(--f-body); letter-spacing: .14em; color: var(--gold-l); }
.menu-links a:hover span { background: var(--foil-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chrome 3s linear infinite; }
.menu-foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; width: min(var(--max), 100%); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font: 700 14px var(--f-display); letter-spacing: .1em; opacity: 0; transition: opacity .5s .5s; }
.menu.open .menu-foot { opacity: 1; }
html.no-scroll { overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 110px 0 70px; isolation: isolate; }
.aurora { position: absolute; inset: -10%; z-index: -2; filter: blur(80px) saturate(1.3); }
.aurora i { position: absolute; border-radius: 50%; opacity: .75; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: -8%; top: -12%; background: var(--purple); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; right: -6%; top: 6%; background: #3b1f63; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 38vw; height: 38vw; left: 30%; bottom: -18%; background: var(--green); animation: drift3 20s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { width: 20vw; height: 20vw; right: 22%; bottom: 10%; background: #7a5a22; opacity: .45; animation: drift1 16s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-14vw, -10vh) scale(1.2); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 120%, var(--ink) 30%, transparent 70%), linear-gradient(to bottom, transparent 60%, var(--ink)); }
.stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero-inner { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { margin: 0 0 24px; font: 700 clamp(46px, 6.4vw, 104px)/.92 var(--f-display); letter-spacing: -0.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin: 0 0 32px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d8, #c6973e); box-shadow: 0 0 10px rgba(226,189,114,.5); }

.hero-stage { position: relative; height: min(70vh, 640px); perspective: 1400px; }
.slab-fan { position: absolute; inset: 0; transform-style: preserve-3d; }
.hslab {
  position: absolute; left: 50%; top: 50%; width: min(19vw, 270px); aspect-ratio: 590 / 800;
  transform-style: preserve-3d; will-change: transform; border-radius: 14px;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,.55));
}
.hslab img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.hslab .glare {
  position: absolute; inset: 2%; border-radius: 12px; pointer-events: none; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.75), transparent 45%);
}
.stage-floor { position: absolute; left: 10%; right: 10%; bottom: 2%; height: 60px; background: radial-gradient(ellipse, rgba(141,91,166,.45), transparent 70%); filter: blur(10px); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(var(--fg-rgb), .35); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ivory); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { padding-top: 100px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { height: 420px; order: -1; margin-bottom: -30px; }
  .hslab { width: 170px; }
}
@media (max-width: 420px) { .hero-stage { height: 340px; } .hslab { width: 140px; } }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(var(--bg-rgb), .6); transform: rotate(-1.5deg) scale(1.04); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font: 700 clamp(28px, 4vw, 52px)/1 var(--f-display); letter-spacing: -.02em; }
.marquee-track .outline { color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), .6); }
.marquee-track b { color: var(--gold-l); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- UNIVERSI ---------- */
.universes { position: relative; padding: 120px 0 80px; }
.universes-pin { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 40px; align-items: center; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.universes-track { display: flex; gap: 28px; perspective: 1400px; }
.uni { flex: 0 0 auto; width: 300px; display: block; }
.uni-card {
  position: relative; aspect-ratio: 63 / 88; border-radius: 18px; overflow: hidden; transform-style: preserve-3d; will-change: transform;
  background: linear-gradient(160deg, var(--c1), var(--c2) 70%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 8px rgba(255,255,255,.12), inset 0 0 0 9px rgba(0,0,0,.25);
  transition: box-shadow .4s;
}
.uni:hover .uni-card { box-shadow: 0 40px 80px -20px color-mix(in srgb, var(--c1) 55%, transparent), inset 0 0 0 8px rgba(255,255,255,.18), inset 0 0 0 9px rgba(0,0,0,.25); }
.uni-art { position: absolute; inset: 14% 9% 32%; border-radius: 10px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c3) 70%, #fff 10%), var(--c2) 75%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.3), inset 0 10px 30px rgba(0,0,0,.35); }
.uni-art img { width: 78%; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.uni-fan { position: absolute; inset: 10% 8% 30%; }
.uni-fan img { position: absolute; left: 50%; bottom: 0; width: 60%; aspect-ratio: 63/88; object-fit: cover; border-radius: 4.6% / 3.3%; transform-origin: 50% 110%; box-shadow: 0 18px 30px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.15); transition: transform .8s var(--ease); }
.uni-fan .f1 { transform: translateX(-50%) rotate(-16deg) translateX(-18%); }
.uni-fan .f2 { transform: translateX(-50%) rotate(14deg) translateX(18%); }
.uni-fan .f3 { transform: translateX(-50%) translateY(-4%); z-index: 1; }
.uni-fan .flip-x { filter: hue-rotate(160deg) saturate(1.2); }
.uni:hover .uni-fan .f1 { transform: translateX(-50%) rotate(-24deg) translateX(-30%) translateY(-4%); }
.uni:hover .uni-fan .f2 { transform: translateX(-50%) rotate(22deg) translateX(30%) translateY(-4%); }
.uni:hover .uni-fan .f3 { transform: translateX(-50%) translateY(-12%) scale(1.06); }
.uni-glyph { font: 700 96px/1 var(--f-display); letter-spacing: -.06em; color: rgba(255,255,255,.92); text-shadow: 0 6px 30px rgba(0,0,0,.35); transform: translateZ(40px); }
.uni-info { position: absolute; left: 9%; right: 9%; bottom: 8%; display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.9); color: #1b0c25; font-size: 13px; line-height: 1.35; }
.uni-tag { font: 700 10px var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.uni-meta { padding: 22px 4px 0; }
.uni-meta h3 { margin: 0 0 6px; font: 700 26px var(--f-display); letter-spacing: -.02em; }
.uni-meta p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .universes-pin { grid-template-columns: 1fr; }
  .universes-track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .universes-track::-webkit-scrollbar { display: none; }
  .uni { width: 250px; scroll-snap-align: center; }
}

/* olografico condiviso: uni-card, mock-card, tcg */
.holo, .glare, .sparkle { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.holo {
  mix-blend-mode: color-dodge; opacity: .35;
  background:
    repeating-linear-gradient(115deg, #ff7ac6 0%, #ffd36e 7%, #7dffb3 14%, #6ec8ff 21%, #b18cff 28%, #ff7ac6 35%),
    repeating-linear-gradient(25deg, rgba(0,0,0,.4) 0 2px, transparent 2px 6px);
  background-size: 300% 300%, 100% 100%;
  background-position: var(--hx, 50%) var(--hy, 50%), 0 0;
  background-blend-mode: overlay;
  transition: opacity .4s;
}
.glare { mix-blend-mode: overlay; background: radial-gradient(farthest-corner circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.85) 0%, rgba(255,255,255,.2) 25%, transparent 55%); opacity: .7; }
.tilt:hover .holo, .tcg.is-active .holo { opacity: .6; }

/* ---------- RAW → SLAB ---------- */
.slabify { position: relative; }
.slabify-pin { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 100px 0; }
.slabify-steps { position: relative; display: grid; margin-top: 28px; }
.sstep { grid-area: 1 / 1; padding: 26px 28px; border-radius: var(--r); background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.sstep.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sstep h3 { margin: 0 0 8px; font: 700 26px var(--f-display); }
.sstep p { margin: 0 0 16px; color: var(--muted); }

.slabify-stage { position: relative; height: min(76vh, 640px); display: grid; place-items: center; perspective: 1600px; }
.mock-slab {
  position: absolute; width: min(330px, 70vw); aspect-ratio: 0.66; border-radius: 22px; transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 40%, rgba(255,255,255,.14));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 0 0 10px rgba(255,255,255,.06), 0 50px 80px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(3px);
}
.ms-label { position: absolute; left: 7%; right: 7%; top: 5%; height: 16%; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 12px 6px;
  background: linear-gradient(180deg, #ffffff, #f1f2f4); color: #121212; box-shadow: inset 0 0 0 4px #d32b2b, inset 0 0 0 5px #fff, 0 4px 12px rgba(0,0,0,.25); }
.ms-l { display: grid; min-width: 0; font: 700 clamp(7px, .62vw, 9px)/1.3 var(--f-body); letter-spacing: .02em; }
.ms-l span, .ms-l b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-l b { font-size: 1.12em; font-weight: 800; }
.ms-grade { text-align: right; display: grid; line-height: 1; color: #121212; }
.ms-grade small { font: 800 10px var(--f-body); letter-spacing: .08em; }
.ms-grade strong { font: 800 34px var(--f-display); color: #121212; font-variant-numeric: tabular-nums; }
.ms-co { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); padding: 0 8px; border-radius: 3px; font: 900 9px/1.5 var(--f-display); font-style: normal; letter-spacing: .16em; color: #d32b2b; background: #fff; box-shadow: 0 0 0 1.5px #233a8f; }
.ms-well { position: absolute; left: 10%; right: 10%; top: 25%; bottom: 6%; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 0 0 30px rgba(0,0,0,.25); }
.ms-shine { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 45%, transparent 55%); background-size: 250% 100%; animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -100% 0; } }

.mock-card { position: absolute; width: min(250px, 53vw); aspect-ratio: 63/88; border-radius: 4.6% / 3.3%; overflow: hidden; will-change: transform; box-shadow: 0 30px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.15); }
.mc-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-foil { position: absolute; inset: 0; mix-blend-mode: color-dodge; opacity: .18; background: repeating-linear-gradient(110deg, #ff0084 0%, #fca400 7%, #ffff00 14%, #00ff8a 21%, #00cfff 28%, #cc4cfa 35%, #ff0084 42%); background-size: 320% 320%; background-position: var(--hx, 50%) var(--hy, 50%); filter: brightness(.55) contrast(1.7); animation: foilmove 6s linear infinite; }
@keyframes foilmove { to { background-position: 320% 0; } }
.mc-frame { height: 100%; border-radius: 6px; background: linear-gradient(170deg, #f7efe0, #e6d6bd); display: flex; flex-direction: column; padding: 8px; gap: 7px; color: var(--ink); }
.mc-top { display: flex; justify-content: space-between; font: 700 13px var(--f-display); }
.mc-top span { color: var(--green); }
.mc-art { flex: 0 0 52%; border-radius: 4px; background: radial-gradient(circle at 50% 40%, #d8c6e3, var(--purple)); display: grid; place-items: center; box-shadow: inset 0 0 0 2px #b8862f; }
.mc-art img { width: 70%; }
.mc-text { display: grid; gap: 7px; padding: 6px 4px; }
.mc-text i { height: 7px; border-radius: 4px; background: rgba(40,19,53,.18); }
.mc-text i.short { width: 60%; }

.loupe { position: absolute; right: 0; bottom: 8%; display: grid; gap: 8px; }
.loupe span { padding: 8px 14px; border-radius: 999px; font: 600 12px var(--f-body); color: #faf7ef; background: rgba(23,76,60,.92); box-shadow: inset 0 0 0 1px rgba(43,138,108,.6); backdrop-filter: blur(8px); opacity: 0; transform: translateY(12px); }
@media (max-width: 900px) {
  .slabify-pin { grid-template-columns: 1fr; padding: 80px 0; min-height: auto; }
  .slabify-stage { height: 520px; order: -1; }
  .loupe { right: 0; bottom: 0; }
}

/* ---------- DROP ---------- */
.drop { padding: 120px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.drop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; perspective: 1400px; }
.pcard { display: block; }
.pcard-visual { position: relative; aspect-ratio: 63/88; border-radius: 14px; overflow: hidden; transform-style: preserve-3d; will-change: transform;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8), inset 0 0 0 7px rgba(255,255,255,.12); }
.pcard-visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-gen { position: absolute; inset: 7%; border-radius: 8px; display: flex; flex-direction: column; padding: 12px; color: #fff;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.22), transparent 60%), linear-gradient(170deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.pcard-gen .pg-game { font: 700 10px var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.pcard-gen .pg-title { margin-top: auto; font: 700 20px/1.1 var(--f-display); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.pcard-gen .pg-rar { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--ink); font: 700 11px var(--f-display); }
.pcard-grade { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) translateZ(30px); display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6d8, #e2bd72 55%, #a37a2c); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 3px rgba(255,255,255,.7); line-height: 1; }
.pcard-grade small { font: 700 10px var(--f-body); letter-spacing: .1em; }
.pcard-grade b { font: 700 30px var(--f-display); }
.pcard-body { padding: 16px 2px 0; display: grid; gap: 4px; }
.pcard-body .meta { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pcard-body h3 { margin: 0; font: 600 17px/1.25 var(--f-display); }
.pcard-body .price { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font: 700 18px var(--f-display); }
.pcard-body .price em { font: 500 12px var(--f-body); font-style: normal; color: var(--green-l); }
@media (max-width: 600px) {
  .drop-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .pcard-gen { padding: 9px; } .pcard-gen .pg-title { font-size: 15px; }
  .pcard-grade { width: 60px; height: 60px; } .pcard-grade b { font-size: 22px; }
  .pcard-body h3 { font-size: 14px; } .pcard-body .price { font-size: 15px; } .pcard-body .price em { display: none; }
}
.drop-grid .skeleton { aspect-ratio: 63/88; border-radius: 14px; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.04) 70%); background-size: 200% 100%; animation: chrome 1.6s linear infinite; }

/* ---------- RICERCA ---------- */
.hunt { padding: 120px 0; position: relative; overflow: hidden; }
.hunt-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.hunt-radar { position: relative; aspect-ratio: 1; border-radius: 50%; max-width: 520px; width: 100%; margin-inline: auto;
  background: radial-gradient(circle, rgba(23,76,60,.35), transparent 70%); }
.hunt-radar i { position: absolute; inset: calc(var(--k) * 16%); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(43,138,108,.4); }
.hunt-radar i:nth-child(1) { --k: 0; } .hunt-radar i:nth-child(2) { --k: 1; } .hunt-radar i:nth-child(3) { --k: 2; }
.hunt-radar b { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(43,138,108,.55), transparent 22%); animation: radar 4s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.hunt-radar em { position: absolute; width: 46px; height: 64px; border-radius: 5px; background: var(--chrome); box-shadow: 0 0 24px rgba(255,255,255,.5); animation: blip 4s ease-in-out infinite; opacity: 0; }
.hunt-radar em:nth-of-type(1) { left: 62%; top: 22%; animation-delay: .4s; }
.hunt-radar em:nth-of-type(2) { left: 24%; top: 58%; animation-delay: 1.8s; }
.hunt-radar em:nth-of-type(3) { left: 66%; top: 66%; animation-delay: 3s; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.6) rotate(-8deg); } 15%, 40% { opacity: 1; transform: scale(1) rotate(-8deg); } 60% { opacity: 0; } }
.hunt-form { display: grid; gap: 16px; margin-top: 30px; padding: 26px; border-radius: var(--r); background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: rgba(0,0,0,.25); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 6px; text-align: center; border-radius: 10px; font: 600 14px var(--f-display); color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--ivory); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-l); }
.field { display: grid; gap: 7px; }
.field span { font: 600 12px var(--f-body); letter-spacing: .06em; color: var(--muted); }
.field input { height: 50px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--field-bg); color: var(--ivory); font: 16px var(--f-body); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .14); transition: box-shadow .25s; }
.field input::placeholder { color: rgba(var(--fg-rgb), .35); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold-l), 0 0 0 4px rgba(226,189,114,.15); }
@media (max-width: 900px) { .hunt-inner { grid-template-columns: 1fr; } }

/* ---------- GRADING ---------- */
.grading { padding: 120px 0; }
.g-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 50px 0 40px; }
.g-rail { position: absolute; top: 49px; left: 40px; right: calc((100% - 52px) / 3 - 40px); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.g-rail i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-l), #fff, var(--gold-l)); transform-origin: left; box-shadow: 0 0 12px rgba(226,189,114,.8); }
.g-step { position: relative; padding: 90px 4px 0; }
.g-num { position: absolute; z-index: 1; top: 10px; left: 0; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font: 700 22px var(--f-display); color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff6d8, #e2bd72 50%, #a37a2c); box-shadow: 0 0 0 8px var(--ink), 0 14px 40px rgba(0,0,0,.5); }
.g-step h3 { margin: 18px 0 6px; font: 700 24px var(--f-display); }
.g-step p { margin: 0; color: var(--muted); }
.g-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .g-steps { grid-template-columns: 1fr; } .g-rail { top: 50px; bottom: 50px; left: 39px; right: auto; width: 2px; height: auto; } .g-rail i { height: 100%; transform-origin: top; } }

/* ---------- RITUALE ---------- */
.ritual { position: relative; min-height: 110vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.ritual-media { position: absolute; inset: -12% 0; z-index: -1; }
.ritual-media img { width: 100%; height: 100%; object-fit: cover; }
.ritual-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(var(--bg-rgb), .75) 45%, rgba(var(--bg-rgb), .1)), linear-gradient(to bottom, var(--ink), transparent 20%, transparent 80%, var(--ink)); }
.ritual-copy { max-width: 560px; }
.ritual-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ritual-list li { display: grid; gap: 4px; padding: 18px 22px; border-radius: 16px; background: rgba(var(--bg-rgb), .55); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.ritual-list b { font: 700 17px var(--f-display); color: var(--gold-l); }
.ritual-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .ritual-media::after { background: linear-gradient(to bottom, var(--ink), rgba(var(--bg-rgb), .6) 30%, rgba(var(--bg-rgb), .85) 70%, var(--ink)); } }

/* ---------- DUO ---------- */
.duo { padding: 120px 0 80px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; perspective: 1600px; }
.duo-card { position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; will-change: transform; box-shadow: inset 0 0 0 1px var(--line); }
.duo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.duo-card:hover > img { transform: scale(1.06); }
.duo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--bg-rgb), .95) 25%, rgba(var(--bg-rgb), .2) 70%); }
.duo-body { padding: 34px; }
.duo-body h3 { margin: 0 0 10px; font: 700 clamp(26px, 3vw, 38px)/1.05 var(--f-display); letter-spacing: -.02em; }
.duo-body p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); max-width: 46ch; }
.duo-card .pill { position: absolute; top: 24px; left: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font: 600 12px var(--f-body); background: rgba(var(--bg-rgb), .6); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; animation: ping 1.6s infinite; box-shadow: 0 0 0 0 rgba(255,77,94,.6); }
@media (max-width: 760px) { .duo-grid { grid-template-columns: 1fr; } .duo-card { min-height: 440px; } }

/* ---------- TRUST ---------- */
.trust { padding: 40px 0 100px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--line); }
.trust-grid div { display: grid; gap: 4px; padding: 26px; background: var(--ink); }
.trust-grid b { font: 700 16px var(--f-display); }
.trust-grid span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding: 70px 0 30px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(98,52,118,.25), transparent 70%); }
.footer-big { display: flex; justify-content: center; gap: .25em; flex-wrap: wrap; padding: 0 var(--gutter) 50px; font: 700 clamp(44px, 11vw, 190px)/.85 var(--f-display); letter-spacing: -.05em; }
.footer-big span { background: var(--foil-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chrome 7s linear infinite; }
.footer-big span:nth-child(2) { animation-delay: -2s; }
.footer-big span:nth-child(3) { animation-delay: -4s; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; padding: 36px 0; border-top: 1px solid var(--line); }
.footer-grid h4 { margin: 0 0 14px; font: 600 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 9px; }
.footer-grid a, .footer-grid span { color: var(--muted); font-size: 14px; transition: color .2s; width: fit-content; }
.footer-grid a:hover { color: var(--ivory); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: rgba(var(--fg-rgb), .5); }
.pay-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-row span { padding: 4px 8px; border-radius: 6px; font: 700 10px var(--f-body); letter-spacing: .06em; box-shadow: inset 0 0 0 1px var(--line); }
.footer-legal { margin-top: 14px; color: rgba(var(--fg-rgb), .38); font-size: 11.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }

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

/* ---------- mega menu per gioco ---------- */
.nav-links .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); display: inline-block; margin-right: 7px; vertical-align: 1px; }
.nav-links { align-self: stretch; align-items: center; }
.mega { position: static; display: flex; align-items: center; height: 100%; }
.mega-t { display: inline-flex !important; align-items: center; gap: 4px; }
.mega-t svg { opacity: .55; transition: transform .3s var(--ease); margin-left: 2px; }
.mega.open .mega-t svg { transform: rotate(180deg); }
.mega-p { position: absolute; left: 50%; top: calc(100% - 2px); width: min(760px, calc(100vw - 32px)); padding-top: 12px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; }
.mega.open .mega-p { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* ponte invisibile fra voce e pannello: il puntatore non "cade" nel vuoto */
.mega-p::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 26px; }
.mega.open .mega-t { color: var(--ivory); background: rgba(var(--fg-rgb), .07); }
.mega-in { display: grid; grid-template-columns: 1fr 200px; gap: 24px; padding: 24px; border-radius: 26px; overflow: hidden;
  background: rgb(var(--bg-rgb)); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -20px rgba(0,0,0,.7); }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.mega-links .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.mega-links a { display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px; color: var(--ivory) !important; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.mega-links a:hover { background: rgba(var(--fg-rgb), .08); box-shadow: inset 0 0 0 1px rgba(198,151,62,.55); transform: translateY(-2px); }
.mega-links b { font: 700 16px var(--f-display); }
.mega-links span { font: 400 12.5px/1.4 var(--f-body); color: var(--muted); }
.mega-art { display: grid; place-items: center; border-radius: 18px; background: radial-gradient(circle at 50% 45%, rgba(141,91,166,.35), transparent 70%); padding: 6px; }
.mega-art img { width: 160px; aspect-ratio: 63/88; object-fit: cover; border-radius: 8px; transform: rotate(4deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(226,189,114,.5); transition: transform .5s var(--ease); }
.mega.open .mega-art img { transform: rotate(-2deg) scale(1.04); }
/* menu mobile: sottovoci per gioco */
.menu-game { opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu.open .menu-game { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .045s); }
.menu-game > a { opacity: 1 !important; transform: none !important; }
.menu-sub { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 10px 34px; }
.menu-sub a { padding: 7px 14px; border-radius: 999px; font: 600 13px var(--f-body); color: var(--ivory); background: rgba(var(--fg-rgb), .06); box-shadow: inset 0 0 0 1px var(--line); }
.menu-links { max-height: calc(100svh - 200px); overflow-y: auto; }
.menu-links a { font-size: clamp(30px, 7vw, 64px); }

/* Mewtwo Legendary Collection: foil "reverse" a fuochi d'artificio su tutta la carta tranne il riquadro dell'illustrazione */
.mc-rev { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background:
    repeating-radial-gradient(circle at 30% 70%, rgba(255,255,255,.0) 0 6px, rgba(255,255,255,.55) 7px, rgba(255,255,255,0) 9px 14px),
    repeating-radial-gradient(circle at 75% 25%, rgba(255,255,255,0) 0 5px, rgba(255,255,255,.45) 6px, rgba(255,255,255,0) 8px 13px),
    repeating-linear-gradient(115deg, #ff0084 0%, #fca400 7%, #ffff00 14%, #00ff8a 21%, #00cfff 28%, #cc4cfa 35%, #ff0084 42%);
  background-size: 100% 100%, 100% 100%, 320% 320%; background-blend-mode: overlay, overlay, normal; filter: brightness(.6) contrast(1.6); animation: foilmove 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0) 50% 23% / 80% 41% no-repeat; -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0) 50% 23% / 80% 41% no-repeat; mask-composite: exclude; }
/* slab di vetro più leggibile sul fondo avorio */
[data-theme="light"] .mock-slab { background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.25) 40%, rgba(255,255,255,.55)); box-shadow: inset 0 0 0 2px rgba(40,19,53,.18), inset 0 0 0 10px rgba(255,255,255,.4), 0 40px 70px -30px rgba(40,19,53,.45); }
[data-theme="light"] .ms-well { box-shadow: inset 0 0 0 1px rgba(40,19,53,.15), inset 0 0 30px rgba(40,19,53,.12); }
[data-theme="light"] .hslab { filter: drop-shadow(0 30px 40px rgba(40,19,53,.3)); }
.uni-kinds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.uni-kinds span { padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--f-body); color: var(--ivory); background: rgba(var(--fg-rgb), .06); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .25s, box-shadow .25s; }
.uni-kinds span:hover { background: rgba(var(--fg-rgb), .12); box-shadow: inset 0 0 0 1px rgba(198,151,62,.6); }

/* ---------- categorie: gioco × formato ---------- */
.cats { padding: 110px 0 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-col { display: grid; gap: 8px; padding: 14px; border-radius: 26px; background: linear-gradient(170deg, color-mix(in srgb, var(--c) 12%, transparent), rgba(var(--fg-rgb), .02) 40%); box-shadow: inset 0 0 0 1px var(--line); }
.cat-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 14px; }
.cat-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.cat-head b { font: 700 24px var(--f-display); letter-spacing: -.02em; }
.cat-head span { font-size: 13px; color: var(--muted); }
.cat-head em { margin-left: auto; font-style: normal; color: var(--gold-l); transition: transform .3s var(--ease); }
.cat-head:hover em { transform: translateX(5px); }
.cat-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.cat-row:hover { transform: translateX(4px); background: rgba(var(--fg-rgb), .08); box-shadow: inset 0 0 0 1px rgba(198,151,62,.55); }
.cat-vis { position: relative; height: 72px; display: grid; place-items: center; }
.cat-vis img { max-height: 100%; width: auto; transition: transform .5s var(--ease); }
.v-raw img { height: 68px; aspect-ratio: 63/88; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 16px -6px rgba(0,0,0,.6); transform: rotate(-5deg); }
.v-slab img { height: 56px; aspect-ratio: 63/88; object-fit: cover; border-radius: 2px; transform: translateY(5px); }
.v-slab::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 48px; margin-left: -24px; border-radius: 6px; background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,.08)); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65), 0 8px 16px -6px rgba(0,0,0,.6); }
.v-slab::after { content: ""; position: absolute; left: 50%; top: 4px; width: 40px; height: 11px; margin-left: -20px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1.5px #d32b2b; }
.v-box img { max-width: 64px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.cat-row:hover .cat-vis img { transform: translateY(-3px) rotate(0); }
.cat-t { display: grid; gap: 2px; }
.cat-t b { font: 700 17px var(--f-display); }
.cat-t small { font-size: 12.5px; color: var(--muted); }
.cat-n { min-width: 34px; padding: 4px 10px; border-radius: 999px; text-align: center; font: 700 13px var(--f-body); font-variant-numeric: tabular-nums; background: rgba(var(--fg-rgb), .08); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- caveau dei sigillati ---------- */
.vault { padding: 70px 0 110px; }
.vault-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(var(--fg-rgb), .05); box-shadow: inset 0 0 0 1px var(--line); }
.vault-tabs button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px var(--f-display); color: var(--muted); background: transparent; transition: background .3s, color .3s; }
.vault-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--ink); }
.vault-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.vbox { position: relative; display: grid; gap: 4px; padding: 18px 18px 20px; border-radius: 24px; text-align: center; background: radial-gradient(ellipse at 50% 30%, rgba(198,151,62,.14), transparent 65%), rgba(var(--fg-rgb), .03); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .3s; animation: vIn .7s var(--ease) both; }
.vbox[hidden] { display: none; }
@keyframes vIn { from { opacity: 0; transform: translateY(24px); } }
.vbox:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(198,151,62,.6), 0 30px 60px -30px rgba(198,151,62,.45); }
.vb-img { position: relative; height: 190px; display: grid; place-items: center; margin-bottom: 10px; }
.vb-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 14px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.45), transparent 70%); filter: blur(3px); }
.vb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; transition: transform .6s var(--ease); filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }
.vbox:hover .vb-img img { transform: translateY(-8px) rotate(-2deg) scale(1.04); }
.vbox b { font: 700 17px var(--f-display); }
.vbox small { font-size: 13px; color: var(--muted); }
.vbox-req .vb-img i { width: 110px; height: 110px; border-radius: 26px; display: grid; place-items: center; font: 300 56px var(--f-display); font-style: normal; color: var(--gold-l); box-shadow: inset 0 0 0 2px rgba(198,151,62,.5); }
@media (max-width: 600px) { .vault-shelf { grid-template-columns: 1fr 1fr; gap: 12px; } .vb-img { height: 130px; } .vbox { padding: 12px 10px 14px; } .vbox b { font-size: 14px; } .vault-tabs { width: 100%; } .vault-tabs button { flex: 1; padding: 0 8px; } }

/* ---------- carte dei giochi: hover senza velo bianco ---------- */
.uni-card { box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.22) !important; transition: transform .6s var(--ease), box-shadow .5s var(--ease); }
.uni-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.18), transparent 55%), linear-gradient(to top, rgba(0,0,0,.25), transparent 40%); }
.uni-rim { position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .5s; z-index: 3;
  background: conic-gradient(from var(--a, 0deg), #c6973e, #fff3cf, #c6973e 25%, transparent 40%, transparent 60%, #c6973e 75%, #fff3cf, #c6973e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; }
.uni-shine { position: absolute; top: -10%; bottom: -10%; left: -60%; width: 45%; z-index: 2; pointer-events: none; transform: skewX(-18deg); opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,250,230,.45), transparent); mix-blend-mode: soft-light; }
.uni:hover .uni-card, .uni:focus-visible .uni-card { box-shadow: 0 40px 70px -24px color-mix(in srgb, var(--c1) 55%, rgba(0,0,0,.6)), 0 0 0 1px rgba(226,189,114,.4) !important; }
.uni:hover .uni-rim, .uni:focus-visible .uni-rim { opacity: 1; }
.uni:hover .uni-shine, .uni:focus-visible .uni-shine { animation: uniShine 1.1s var(--ease) forwards; }
@keyframes uniShine { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
.uni-info { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .5s var(--ease); }
.uni:hover .uni-info { transform: translateY(-4px); }
.uni-fan img { box-shadow: 0 18px 30px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.18); }
.uni:hover .uni-fan .f3 { box-shadow: 0 26px 40px -14px rgba(0,0,0,.9), 0 0 0 1.5px rgba(226,189,114,.9), 0 0 26px rgba(226,189,114,.45); }
/* niente scorrimento orizzontale: la striscia inclinata resta dentro lo schermo (clip non rompe gli elementi sticky) */
.marquee-clip { overflow: hidden; padding: 24px 0; margin: -24px 0; position: relative; z-index: 2; }
/* box sigillati sempre dentro il riquadro, qualunque sia la proporzione dell'immagine */
.v-box img { max-width: 64px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.cat-vis { overflow: visible; }

/* ---------- marquee: slogan + emblema ---------- */
.mq-logo { flex: none; width: clamp(34px, 4.4vw, 56px); aspect-ratio: 1; align-self: center; background: url(/assets/wado-emblem.webp) center / contain no-repeat; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }

/* ---------- universi: spazio fra titolo e carte, testi allineati ---------- */
.universes-pin { grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(40px, 6vw, 96px); }
.universes-head .h2 { font-size: clamp(38px, 4.8vw, 74px); }
.uni { display: flex; flex-direction: column; }
.uni-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uni-meta { display: flex; flex-direction: column; flex: 1; }
.uni-meta h3 { white-space: nowrap; }
.uni-meta p { min-height: calc(2 * 1.5em); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uni-meta .uni-kinds { margin-top: auto; }
@media (max-width: 900px) {
  .universes { padding: 90px 0 50px; }
  .universes-head { padding-right: 10px; }
  .universes-track { gap: 18px; padding-bottom: 20px; }
  .uni { width: min(78vw, 290px); }
}

/* ---------- enti di grading ---------- */
.partners { padding: 110px 0; position: relative; overflow: hidden; }
.partners::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(98,52,118,.22), transparent 70%); pointer-events: none; }
.partners .wrap { position: relative; display: grid; justify-items: center; text-align: center; gap: 34px; }
.partners-head { max-width: 760px; display: grid; justify-items: center; }
.partners-head .lead { margin-inline: auto; max-width: 62ch; }
.partner-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; width: 100%; }
.partner { display: grid; justify-items: center; gap: 8px; padding: 26px 12px 22px; border-radius: 22px; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
.partner:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(198,151,62,.6), 0 24px 50px -24px rgba(198,151,62,.4); }
.partner b { display: grid; place-items: center; min-width: 120px; height: 56px; padding: 0 16px; border-radius: 12px; font: 900 24px var(--f-display); letter-spacing: .06em; }
.partner small { font-size: 12.5px; color: var(--muted); }
.pt-psa { color: #d32b2b; background: #fff; box-shadow: inset 0 0 0 3px #233a8f; }
.pt-bgs { color: #2a1c05; background: linear-gradient(115deg, #c9a24a, #fff3c4 35%, #d9b45c 65%, #fff3c4); }
.pt-tag { color: #fff; background: #111; box-shadow: inset 0 0 0 2px #e2bd72; }
.pt-graad { color: #fff; background: linear-gradient(135deg, #174c3c, #2b8a6c); }
.pt-ai { color: #fff; background: linear-gradient(135deg, #623476, #8d5ba6); font-size: 19px !important; letter-spacing: .02em !important; }
@media (max-width: 900px) { .partner-row { grid-template-columns: repeat(2, 1fr); } .partner:last-child { grid-column: 1 / -1; } }

/* ---------- servizi ---------- */
.services { padding: 100px 0 40px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 24px; background: linear-gradient(170deg, rgba(var(--fg-rgb), .06), rgba(var(--fg-rgb), .02)); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(198,151,62,.55); }
.svc-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--on-gold); background: var(--chrome); }
.svc-ico svg { width: 24px; height: 24px; }
.svc b { font: 700 20px var(--f-display); }
.svc p { margin: 0; color: var(--muted); font-size: 14.5px; min-height: calc(3 * 1.5em); }
.svc .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc p { min-height: 0; } }
/* raw → slab su telefono: tutto in uno schermo, così la sezione resta ferma mentre si anima */
@media (max-width: 900px) {
  .slabify-pin { min-height: 100svh; height: 100svh; padding: 78px 0 18px; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; align-content: stretch; }
  .slabify-stage { height: auto; min-height: 0; order: -1; }
  .mock-slab { width: min(240px, 58vw); }
  .mock-card { width: min(180px, 44vw); }
  .slabify-copy .h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 6px; }
  .slabify-copy .eyebrow { margin-bottom: 6px; }
  .slabify-steps { margin-top: 8px; }
  .sstep { padding: 16px 18px; }
  .sstep p { font-size: 14px; margin-bottom: 8px; }
  .loupe { bottom: 2%; }
  .uni { width: min(64vw, 260px); }
}
/* la barra di navigazione resta sempre larga quanto lo schermo, anche durante le sezioni fissate allo scroll */
.nav { max-width: calc(100vw - 2 * var(--gutter)); }
@media (max-width: 1020px) { .nav-links { display: none !important; } }
.pin-spacer { max-width: 100vw; }
.services .h2 { max-width: 16ch; }
.footer-brand p { max-width: 38ch; }
/* il carosello degli universi non allarga mai la pagina */
.universes { overflow: hidden; }
@media (max-width: 900px) { .universes-pin { overflow: visible; } .universes-track { overflow: visible; width: max-content; margin-inline: 0; padding-inline: 0; } }
@media (max-width: 900px) {
  .universes-pin { min-height: 100svh; align-content: center; padding-top: 70px; gap: 18px; }
  .universes { padding: 0; }
}
/* loghi ufficiali degli enti, bilanciati per massa visiva */
.pt-plate { display: grid; place-items: center; width: 100%; height: 96px; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.06); }
.pt-logo { max-width: 100%; max-height: 72px; height: auto; object-fit: contain; display: block; }
.partner { padding: 14px 14px 18px; }
@media (max-width: 900px) { .pt-plate { height: 84px; } .pt-logo { max-height: 62px; } }
.footer-big span { display: inline-block; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.footer-big.fb-wait span { opacity: 0; transform: translateY(60%); }
.footer-big.fb-in span:nth-child(2) { transition-delay: .12s; } .footer-big.fb-in span:nth-child(3) { transition-delay: .24s; }
/* la grande scritta del footer non intercetta mai i clic sui link sottostanti */
.footer-big, .footer-big span { pointer-events: none; }
.footer-grid { position: relative; z-index: 1; }
/* hero: il riflesso segue la sagoma esatta della slab (niente riquadri bianchi) */
.hslab .glare { inset: 0; border-radius: 0; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light; }
.hero:hover .hslab .glare { opacity: .9; }
.hslab { filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.partner-row { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .partner-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .partner-row { grid-template-columns: repeat(2, 1fr); } .partner:last-child { grid-column: auto; } }
/* hero slab: nessun livello sopra la foto, ombra e luce seguono la sagoma reale */
.hslab, .hero:hover .hslab { filter: none !important; }
.hslab .glare { display: none !important; }
.hslab img { filter: drop-shadow(0 34px 34px rgba(0,0,0,.5)) drop-shadow(0 8px 10px rgba(0,0,0,.3)); will-change: transform; }
.hslab img.flash { animation: slabFlash 1s ease-out; }
@keyframes slabFlash {
  0% { filter: drop-shadow(0 34px 34px rgba(0,0,0,.5)) drop-shadow(0 8px 10px rgba(0,0,0,.3)) brightness(1); }
  35% { filter: drop-shadow(0 44px 40px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(226,189,114,.55)) brightness(1.14) saturate(1.1); }
  100% { filter: drop-shadow(0 34px 34px rgba(0,0,0,.5)) drop-shadow(0 8px 10px rgba(0,0,0,.3)) brightness(1); }
}
.stage-floor { opacity: .7; }
.hslab .hf { display: block; width: 100%; height: 100%; }

/* ---------- logo header: animazione continua (spegnimento in silhouette + nuova "stampa" a colori) ---------- */
.lg-anim { position: relative; display: block; height: 48px; aspect-ratio: 536 / 240; }
.lg-anim img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-col { animation: none; }
/* copia luminosa che si "stampa" sopra il logo dietro la linea dorata, poi sfuma: il logo non si spegne mai */
.lg-glow { opacity: 0; filter: brightness(1.45) saturate(1.15); clip-path: inset(0 100% 0 0); animation: lgGlow 8s cubic-bezier(.6,0,.3,1) infinite; }
.lg-scan { position: absolute; top: -6%; bottom: -6%; width: 3px; left: 0; border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(#fff3cf, #c6973e); box-shadow: 0 0 12px 3px rgba(226,189,114,.85); animation: lgScan 8s cubic-bezier(.6,0,.3,1) infinite; }
.lg-shine { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask: url(/assets/wado-logo-h-240.webp) center / contain no-repeat; mask: url(/assets/wado-logo-h-240.webp) center / contain no-repeat; }
.lg-shine::before { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,250,230,.75), transparent); animation: lgShine 8s ease-in-out infinite; }
@keyframes lgGlow { 0%, 72% { opacity: 1; clip-path: inset(0 100% 0 0); } 84% { opacity: 1; clip-path: inset(0 0 0 0); } 96%, 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes lgScan { 0%, 71% { left: 0; opacity: 0; } 72% { left: 0; opacity: 1; } 84% { left: 100%; opacity: 1; } 86%, 100% { left: 100%; opacity: 0; } }
@keyframes lgShine { 0%, 20% { left: -40%; } 40%, 100% { left: 140%; } }
.nav-logo:hover .lg-glow, .nav-logo:hover .lg-scan, .nav-logo:hover .lg-shine::before { animation-play-state: paused; }
@media (max-width: 420px) { .lg-anim { height: 38px; } }
@media (prefers-reduced-motion: reduce) { .lg-glow, .lg-scan, .lg-shine::before { animation: none !important; display: none; } }

/* logo: solo il riflesso di luce, ciclico e delicato */
.lg-glow, .lg-scan { display: none !important; }
.lg-shine::before { animation: lgShine 5s ease-in-out infinite; }
@keyframes lgShine { 0%, 55% { left: -40%; } 85%, 100% { left: 140%; } }

/* ---------- raw → slab: niente livelli sfocati o riflessi rettangolari ---------- */
.mock-slab { backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 45%, rgba(255,255,255,.1)); }
.ms-shine, .mock-card .holo { display: none !important; }
.slabify, .slabify-pin, .slabify-stage { overflow-x: clip; }
/* la pagina non si sposta mai di lato col dito */
html, body { overscroll-behavior-x: none; }
body { overflow-x: clip; }
@media (max-width: 900px) {
  .universes { padding: 80px 0 40px !important; overflow: visible; }
  .universes-pin { min-height: 0 !important; padding-top: 0 !important; display: block; width: auto; }
  .universes-head { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto 22px; }
  .universes-track { display: flex; gap: 14px; width: auto !important; overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding: 6px var(--gutter) 24px !important; margin: 0 !important; scrollbar-width: none; overscroll-behavior-x: contain; }
  .universes-track::-webkit-scrollbar { display: none; }
  .uni { flex: none; width: min(68vw, 270px); scroll-snap-align: center; }
}
@media (max-width: 900px), (hover: none) { .scroll-hint { display: none !important; } }
/* ---------- spaziature uniformi fra sezioni (telefono) ---------- */
@media (max-width: 760px) {
  .cats, .vault, .services, .partners, .drop, .hunt, .grading, .duo { padding-top: 64px !important; padding-bottom: 32px !important; }
  .trust { padding: 24px 0 56px !important; }
  .ritual { min-height: 0; padding: 80px 0; }
  .section-head { margin-bottom: 26px; }
  .h2 { font-size: clamp(32px, 9vw, 42px); }
  .lead { font-size: 15.5px; }
  .hero { padding-bottom: 40px; min-height: auto; }
  .marquee-track { font-size: 26px; gap: 22px; }
}
/* telefono: carosello universi guidato dallo scroll verticale */
@media (max-width: 900px) {
  .universes { padding: 0 !important; overflow: hidden; }
  .universes-pin { min-height: 100svh !important; display: flex !important; flex-direction: column; justify-content: center; padding: 80px 0 24px !important; }
  .universes-track { overflow: visible !important; width: max-content !important; scroll-snap-type: none; padding: 6px var(--gutter) 10px !important; will-change: transform; }
  .uni { width: min(64vw, 250px); }
  .uni-card { aspect-ratio: 63 / 80; }
}
@media (max-width: 900px) and (max-height: 720px) { .uni { width: min(54vw, 210px); } .universes-head .lead { display: none; } }
/* "Da raw a slab": telefono, numeri a sinistra e linea che corre solo fra i numeri */
@media (max-width: 760px) {
  .g-steps { grid-template-columns: 1fr; gap: 34px; margin: 34px 0 30px; position: relative; padding-left: 0; }
  .g-step { padding: 4px 0 0 92px; min-height: 80px; }
  .g-num { top: 0; left: 0; width: 64px; height: 64px; font-size: 18px; box-shadow: 0 0 0 6px var(--ink), 0 12px 30px rgba(0,0,0,.5); }
  .g-step h3 { margin-top: 6px; }
  .g-rail { top: 32px !important; bottom: 40px !important; left: 31px !important; width: 2px !important; height: auto !important; right: auto !important; z-index: 0; }
  .g-rail i { transform-origin: top !important; }
}
/* raw → slab su telefono: palco e testo in due zone separate, nessuna sovrapposizione */
@media (max-width: 900px) {
  .slabify-pin { height: 100svh; min-height: 0; display: grid !important; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: 76px 0 20px !important; }
  .slabify-stage { order: -1; height: auto !important; min-height: 0; position: relative; overflow: visible; display: grid; place-items: center; }
  .mock-slab { width: auto !important; height: min(48svh, 400px); max-width: 64vw; }
  .mock-card { width: auto !important; height: min(37svh, 300px); max-width: 50vw; }
  .loupe { right: 2px; bottom: 6%; z-index: 3; }
  .loupe span { font-size: 11px; padding: 6px 11px; }
  .slabify-copy { position: relative; z-index: 4; background: rgb(var(--bg-rgb)); padding-top: 4px; }
  .slabify-copy .h2 { font-size: clamp(28px, 8vw, 36px); }
  .slabify-steps { margin-top: 6px; }
  .sstep { padding: 14px 16px; }
  .sstep h3 { font-size: 20px; margin-bottom: 4px; }
  .sstep p { font-size: 13.5px; margin-bottom: 6px; }
}
@media (max-width: 900px) and (max-height: 700px) { .mock-slab { height: 40svh; } .mock-card { height: 30svh; } .slabify-copy .eyebrow { display: none; } }
@media (max-width: 900px) { .universes-pin { align-items: flex-start !important; } .universes-track { align-self: flex-start; } }
@media (max-width: 760px) { .grading { overflow-x: clip; } .g-steps { padding-left: 4px; } }

/* pulsanti del grading e distanza dalla sezione successiva */
.g-cta { margin-bottom: 0; padding-bottom: 8px; }
.grading { padding-bottom: clamp(90px, 10vw, 140px) !important; }
@media (max-width: 760px) { .grading { padding-bottom: 88px !important; } .g-cta .btn { flex: 1 1 auto; } }

/* ---------- ritmo verticale unico per tutte le sezioni ---------- */
:root { --sec: clamp(52px, 6.5vw, 96px); }
.cats, .vault, .services, .partners, .drop, .hunt, .grading, .duo, .sell { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.trust { padding-top: 0 !important; padding-bottom: var(--sec) !important; }
.ritual { padding: calc(var(--sec) * 1.2) 0 !important; min-height: 0 !important; }
.universes { margin-bottom: 0; }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { :root { --sec: 48px; } .grading { padding-bottom: 72px !important; } }

/* ---------- slab dimostrativa: etichetta sempre dentro la slab ---------- */
.mock-slab { container-type: inline-size; }
.ms-label { left: 6%; right: 6%; top: 4.5%; height: 15%; padding: 0 4cqw 2cqw; gap: 2cqw; overflow: hidden; }
.ms-l { font-size: 2.9cqw !important; line-height: 1.25; }
.ms-grade small { font-size: 3cqw !important; }
.ms-grade strong { font-size: 9.5cqw !important; }
.ms-co { font-size: 2.8cqw !important; bottom: 1.2cqw; }

/* ---------- prestazioni su telefono/tablet ---------- */
@media (hover: none), (max-width: 900px) {
  .grain { display: none !important; }
  .aurora { filter: blur(50px) saturate(1.2); }
  .aurora i { animation: none !important; }
  .rv, .tile { filter: none !important; transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms) !important; }
  .nav, .nav.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(var(--bg-rgb), .92) !important; }
  .marquee-track { animation-duration: 40s; }
  .footer-big span, .chrome, .btn-glow, .count-pill, .code-pill { animation: none !important; }
  .uni-rim { display: none; }
}

/* ---------- VENDI LE TUE CARTE ---------- */
.sell { position: relative; padding: 0 !important; }
.sell-pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.sell-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(98,52,118,.45), transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(23,76,60,.35), transparent 70%); }
.sell-bg i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(198,151,62,.22); transform: translate(-50%, -50%); }
.sell-bg i:nth-child(1) { width: min(80vw, 820px); aspect-ratio: 1; }
.sell-bg i:nth-child(2) { width: min(56vw, 560px); aspect-ratio: 1; border-color: rgba(43,138,108,.3); }
.sell-cards img { position: absolute; left: 50%; top: 50%; width: clamp(80px, 9vw, 140px); aspect-ratio: 63/88; object-fit: cover; border-radius: 6px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(226,189,114,.35); z-index: 0; }
.sell-cards img.box { aspect-ratio: auto; object-fit: contain; box-shadow: none; filter: drop-shadow(0 20px 20px rgba(0,0,0,.5)); width: clamp(110px, 12vw, 180px); }
.sell-hero { position: absolute; left: 50%; top: 50%; width: clamp(180px, 26vw, 380px); margin-left: calc(clamp(180px, 26vw, 380px) / -2); margin-top: calc(clamp(180px, 26vw, 380px) * -0.42); z-index: 1; will-change: transform; animation: sellFloat 4s ease-in-out infinite; }
.sell-hero img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.sell-ring { position: absolute; inset: -10%; border-radius: 50%; border: 2px dashed rgba(226,189,114,.5); box-shadow: 0 0 80px rgba(141,91,166,.5); }
@keyframes sellFloat { 50% { translate: 0 -10px; } }
.sell-chapters { position: relative; z-index: 2; width: min(var(--max), 100% - 2 * var(--gutter)); height: 100%; }
.sch { position: absolute; top: 50%; translate: 0 -50%; width: min(520px, 46%); }
.sch-0, .sch-2 { left: 0; }
.sch-1 { right: 0; }
.sch-3 { left: 50%; translate: -50% -10%; text-align: center; width: min(640px, 100%); top: 58%; }
.sch-3 .row-btns { justify-content: center; }
.sell-big { margin: 6px 0 8px; font: 700 clamp(64px, 10vw, 150px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  background: var(--foil-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sell-big small { font-size: .5em; }
.sell-big.sm { font-size: clamp(52px, 7vw, 104px); color: var(--ivory); -webkit-text-fill-color: currentColor; background: none; }
.sell-sub { margin: 0 0 18px; font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); max-width: 40ch; }
.sell-sub b { color: var(--ivory); }
.sell-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sell-ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.sell-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--on-gold); background: var(--chrome); }
.sell-live { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 13px var(--f-body); background: rgba(var(--fg-rgb), .06); box-shadow: inset 0 0 0 1px var(--line); }
.sell-progress { position: absolute; left: 50%; bottom: 26px; width: min(220px, 50vw); height: 3px; margin-left: calc(min(220px, 50vw) / -2); border-radius: 2px; background: rgba(var(--fg-rgb), .1); overflow: hidden; z-index: 3; }
.sell-progress i { display: block; height: 100%; background: var(--chrome); transform-origin: left; transform: scaleX(0); }
.sell.static .sch { position: relative; translate: none; width: auto; top: auto; left: auto; right: auto; margin-bottom: 40px; }
.sell.static .sell-pin { height: auto; padding: 80px var(--gutter); }
@media (max-width: 900px) {
  .sell-pin { place-items: end center; }
  .sell-hero { width: min(52vw, 230px); margin-left: calc(min(52vw, 230px) / -2); margin-top: calc(min(52vw, 230px) * -0.42); }
  .sell-chapters { height: auto; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px; width: auto; min-height: 46svh; }
  .sch, .sch-1, .sch-3 { position: absolute; left: 0; right: 0; top: auto; bottom: 0; translate: none; width: auto; text-align: left; }
  .sch-3 .row-btns { justify-content: flex-start; }
  .sell-big { font-size: clamp(60px, 19vw, 92px); }
  .sell-big.sm { font-size: clamp(44px, 13vw, 64px); }
  .sell-sub { font-size: 15px; margin-bottom: 12px; }
  .sell-ticks li { font-size: 14px; }
  .sell-cards img { width: 64px; }
  .sell-cards img.box { width: 86px; }
}
@media (max-width: 900px) and (max-height: 700px) { .sell-hero { width: 150px; margin-left: -75px; margin-top: -63px; } .sell-ticks li:nth-child(3) { display: none; } }
.sell-how { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.sell-steps { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .sell-how { grid-template-columns: 1fr; } .sell-steps { grid-template-columns: 1fr; } }
@media (min-width: 901px) {
  .sell-chapters { position: absolute; inset: 0; margin: 0 auto; height: 100%; }
  .sch { top: 50%; translate: 0 -50%; }
  .sch-3 { top: 64%; translate: -50% -50%; }
}
/* sezione vendi: niente tagli, sfuma nel resto della pagina */
.sell-bg i:nth-child(1) { width: min(78vw, 84svh, 820px); }
.sell-bg i:nth-child(2) { width: min(54vw, 58svh, 560px); }
.sell-pin { -webkit-mask: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); }
.sell-cards img { width: clamp(78px, 8vw, 124px); }
.sch-3 .lead { margin-bottom: 28px; }
.sch-3 .row-btns { margin-top: 0; }
@media (max-width: 900px) { .sch-3 .lead { margin-bottom: 22px; } .sell-bg i:nth-child(1) { width: min(92vw, 70svh); } .sell-bg i:nth-child(2) { width: min(64vw, 48svh); } }
@media (max-width: 1100px) and (min-width: 861px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } }
/* raw → slab su telefono: larghezze esplicite (Safari iPhone calcola 0 con width:auto + aspect-ratio + container query) */
@media (max-width: 900px) {
  .mock-slab { width: min(calc(min(48svh, 400px) * .66), 64vw) !important; height: auto !important; aspect-ratio: .66; }
  .mock-card { width: min(calc(min(37svh, 300px) * .716), 50vw) !important; height: auto !important; aspect-ratio: 63/88; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .mock-slab { width: min(calc(40svh * .66), 64vw) !important; }
  .mock-card { width: min(calc(30svh * .716), 50vw) !important; }
}

/* ---------- duello Mewtwo × Zoro nella sezione vendi ---------- */
.duel { --dw: min(46vw, 64svh, 600px); position: absolute; left: 50%; top: 50%; width: var(--dw); aspect-ratio: 1.2; margin-left: calc(var(--dw) / -2); margin-top: calc(var(--dw) / -2.4); z-index: 2; pointer-events: none; will-change: transform; }
.dl-c { position: absolute; top: 50%; width: 40%; aspect-ratio: 63/88; object-fit: cover; border-radius: 4.5% / 3.2%; translate: -50% -50%; will-change: transform, filter; box-shadow: 0 30px 60px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.18); }
.dl-m { left: 27%; }
.dl-z { left: 73%; }
.dl-aura { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side at 28% 50%, rgba(160,90,220,.55), transparent 70%), radial-gradient(closest-side at 72% 50%, rgba(43,190,120,.45), transparent 70%); filter: blur(18px); opacity: .7; }
.dl-wave { position: absolute; left: 28%; top: 50%; width: 0; height: 0; }
.dl-wave i { position: absolute; left: calc(var(--dw) * -.25); top: calc(var(--dw) * -.25); width: calc(var(--dw) * .5); aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(196,140,255,.9); box-shadow: 0 0 30px rgba(170,100,255,.8), inset 0 0 30px rgba(170,100,255,.6); opacity: 0; scale: .2; }
.dl-slash { position: absolute; inset: -6% -4%; width: 108%; height: 112%; overflow: visible; }
.dl-slash path { fill: none; stroke: #eafff4; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px #2bbe78) drop-shadow(0 0 16px #2bbe78); stroke-dasharray: 520; stroke-dashoffset: 520; opacity: 0; }
.dl-sparks { position: absolute; left: 50%; top: 50%; }
.dl-sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 10px #ffcf5a, 0 0 22px #c6973e; opacity: 0; }
.dl-flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 45%, #fff, rgba(255,240,210,.6) 30%, transparent 70%); mix-blend-mode: screen; }
.dl-lines { position: absolute; inset: -10%; z-index: 0; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.0) 0deg 4deg, rgba(255,255,255,.07) 4deg 5deg);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 60%); mask: radial-gradient(circle, transparent 22%, #000 60%); }
.sell-hero { opacity: 0; }
.sell.static .duel, .sell.static .dl-flash, .sell.static .dl-lines { display: none; }
.sell.static .sell-hero { opacity: 1; }
@media (max-width: 900px) {
  .duel { --dw: min(92vw, 46svh); }
  .dl-c { width: 42%; }
}
@media (prefers-reduced-motion: reduce) { .duel, .dl-flash, .dl-lines { display: none; } .sell-hero { opacity: 1; } }
/* logo su telefono: riflesso più ampio e luminoso, maschera scritta per esteso (Safari) */
.lg-shine { -webkit-mask-image: url(/assets/wado-logo-h-240.webp); mask-image: url(/assets/wado-logo-h-240.webp); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
@media (max-width: 900px), (hover: none) {
  .lg-shine::before { width: 55%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,252,238,.98) 45%, rgba(255,236,170,.9) 55%, transparent); animation: lgShineM 3.6s cubic-bezier(.45,0,.25,1) infinite; }
  @keyframes lgShineM { 0%, 35% { left: -60%; } 75%, 100% { left: 130%; } }
  .lg-anim { animation: lgPulse 3.6s ease-in-out infinite; }
  @keyframes lgPulse { 0%, 45% { filter: drop-shadow(0 0 0 rgba(226,189,114,0)); } 60% { filter: drop-shadow(0 0 8px rgba(226,189,114,.75)); } 80%, 100% { filter: drop-shadow(0 0 0 rgba(226,189,114,0)); } }
}
@media (prefers-reduced-motion: reduce) { .lg-anim { animation: none; } }
/* vendi, ultimo capitolo: blocco compatto */
.sell-progress { display: none !important; }
.sch-3 .eyebrow { margin-bottom: 10px; }
.sch-3 .h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; margin-bottom: 14px; }
.sch-3 .lead { max-width: 520px; margin: 0 auto 22px !important; font-size: 16px; }
@media (min-width: 901px) { .sch-3 { top: 59% !important; } }
@media (max-width: 900px) {
  .sch-3 .h2 { font-size: clamp(28px, 7.6vw, 36px); margin-bottom: 10px; }
  .sch-3 .lead { margin: 0 0 18px !important; font-size: 15px; }
  .sch-3 .row-btns { flex-wrap: nowrap; gap: 8px; }
  .sch-3 .row-btns .btn { padding-inline: 16px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 370px) { .sch-3 .row-btns { flex-wrap: wrap; } }

/* ---------- raw → slab: ispezione, sigillo, voto ---------- */
@media (min-width: 901px) {
  .slabify-stage { height: min(80vh, 700px); }
  .mock-slab { width: min(400px, 30vw); }
  .mock-card { width: min(300px, 22.5vw); }
}
.sx-floor { position: absolute; left: 50%; bottom: 2%; width: 130%; height: 46%; translate: -50% 0; pointer-events: none; opacity: .55;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(198,151,62,.28), transparent 70%),
              repeating-linear-gradient(90deg, rgba(226,189,114,.14) 0 1px, transparent 1px 44px),
              repeating-linear-gradient(0deg, rgba(226,189,114,.14) 0 1px, transparent 1px 44px);
  transform: perspective(500px) rotateX(62deg); transform-origin: 50% 0;
  -webkit-mask: radial-gradient(ellipse 50% 70% at 50% 0%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 50% 70% at 50% 0%, #000 30%, transparent 75%); }
.sx-burst { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0; scale: .4;
  background: repeating-conic-gradient(from 0deg, rgba(255,214,120,.0) 0deg 7deg, rgba(255,214,120,.22) 7deg 9deg), radial-gradient(circle, rgba(255,214,120,.35), transparent 60%);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%); }
.sx-flash { position: absolute; inset: -20%; z-index: 6; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 48%, #fff, rgba(255,240,205,.5) 25%, transparent 60%); }
.mc-scan { position: absolute; left: -6%; right: -6%; top: 0; height: 14%; z-index: 3; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(110,255,200,.22) 70%, rgba(170,255,225,.95) 92%, transparent);
  box-shadow: 0 6px 18px rgba(80,240,180,.55); mix-blend-mode: screen; }
.mc-corners i { position: absolute; width: 20%; aspect-ratio: 1; z-index: 3; opacity: 0; border: 3px solid #ffd77a; filter: drop-shadow(0 0 6px rgba(255,200,90,.9)); }
.mc-corners .tl { left: -5%; top: -4%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.mc-corners .tr { right: -5%; top: -4%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.mc-corners .bl { left: -5%; bottom: -4%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.mc-corners .br { right: -5%; bottom: -4%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.mc-center i { position: absolute; top: 46%; height: 2px; z-index: 3; background: #6ef0c0; box-shadow: 0 0 8px #6ef0c0; transform: scaleX(0); }
.mc-center .l { left: 0; width: 9%; transform-origin: left; }
.mc-center .r { right: 0; width: 7%; transform-origin: right; }
.mc-center em { position: absolute; top: -18px; font: 700 11px var(--f-display); font-style: normal; color: #6ef0c0; text-shadow: 0 1px 4px #000; }
.mc-center .l em { left: 0; } .mc-center .r em { right: 0; }
.mock-card { overflow: visible !important; }
.mock-card .mc-img { border-radius: inherit; }
.mock-card > .mc-img, .mock-card > .mc-rev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4.6% / 3.3%; overflow: hidden; }
.ms-glint { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 48%, transparent 58%); background-size: 260% 100%; background-position: 130% 0; }
/* barra delle fasi */
.sx-rail { position: relative; display: flex; gap: 6px; list-style: none; padding: 0; margin: 18px 0 4px; }
.sx-rail li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font: 600 13px var(--f-display); color: var(--muted); background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s; }
.sx-rail li b { font: 700 11px var(--f-display); color: var(--gold-l); opacity: .7; }
.sx-rail li.on { color: var(--ivory); background: rgba(198,151,62,.12); box-shadow: inset 0 0 0 1px rgba(226,189,114,.55); }
.sx-rail li.on b { opacity: 1; }
.sx-fill { display: none; }
.loupe span { font: 600 13px var(--f-display) !important; padding: 8px 14px !important; background: rgba(18,8,24,.82) !important; box-shadow: inset 0 0 0 1px rgba(110,240,192,.5), 0 8px 20px -8px rgba(0,0,0,.7) !important; color: #c9ffe9 !important; }
@media (max-width: 900px) {
  .sx-rail { margin: 8px 0 2px; gap: 4px; }
  .sx-rail li { padding: 7px 8px; font-size: 12px; gap: 5px; }
  .sx-floor { opacity: .4; }
  .loupe span { font-size: 11px !important; padding: 6px 10px !important; }
  .mc-center em { font-size: 10px; top: -15px; }
}
@media (max-width: 900px) and (max-height: 700px) { .sx-rail { display: none; } }
/* carosello: bustina WADO aperta, la carta esce da dentro */
.uni-art.uni-pack { inset: 4% 4% 26%; overflow: visible; background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(255,226,140,.45), transparent 70%); }
.uni-pack img { position: absolute; left: 50%; top: 50%; width: auto; height: 100%; translate: -50% -50%; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.uni-pack .up-card { animation: upCard 3.6s ease-in-out infinite; }
@keyframes upCard { 0%, 100% { transform: translateY(10%); } 50% { transform: translateY(-3%); } }
.uni-gift:hover .up-card { animation-play-state: paused; transform: translateY(-8%); transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .uni-pack .up-card { animation: none; } }
.uni-art.uni-pack { box-shadow: none; }
@media (min-width: 901px) { .sch:not(.sch-3) { top: 47% !important; } .sch-3 { top: 0; } }
.sell-pin { -webkit-mask: linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent) !important; mask: linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent) !important; }

/* ---------- prestazioni: fluidità prima di tutto ---------- */
/* grana statica (niente ridisegno a tutto schermo a ogni fotogramma) */
.grain { animation: none !important; inset: 0 !important; }
/* luce del cursore senza fusione di livelli */
.cursor-glow { mix-blend-mode: normal !important; background: radial-gradient(circle, rgba(141, 91, 166, 0.12), transparent 62%) !important; }
/* niente vetro sfocato sugli elementi ripetuti: stesso aspetto, molto più leggero */
.btn-ghost { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(var(--fg-rgb), .08); }
.uni-info { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(255,255,255,.94) !important; }
.ritual-list li, .duo-card .pill, .loupe span { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ritual-list li { background: rgba(var(--bg-rgb), .82); }
.duo-card .pill { background: rgba(var(--bg-rgb), .85); }
.nav, .nav.is-scrolled { backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; transform: translateX(-50%) !important; }
@media (hover: none), (max-width: 900px) { .nav, .nav.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } }
.nav.is-hidden { transform: translateX(-50%) !important; }
/* comparse più rapide: il contenuto è subito leggibile */
.rv { transition-duration: .45s !important; }
.tile { transition-duration: .45s !important; }
/* le sezioni fissate non ridisegnano lo sfondo pesante durante lo scroll */
.sell-pin, .slabify-pin, .universes-pin { contain: layout paint; }
.rv, .tile { filter: none !important; transform: translateY(18px); transition: opacity .45s var(--ease) calc(var(--d, 0ms) * .5), transform .5s var(--ease) calc(var(--d, 0ms) * .5) !important; }
.rv.in, .tile.in { transform: none; }
/* duello fluido: bagliori come livelli a gradiente (niente filtri, niente maschere costose) */
.dl-aura { filter: none !important; background: radial-gradient(closest-side at 27% 50%, rgba(160,90,220,.42), transparent), radial-gradient(closest-side at 73% 50%, rgba(43,190,120,.34), transparent) !important; }
.dl-gm, .dl-gz { position: absolute; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.dl-gm { left: 27%; background: radial-gradient(circle, rgba(196,140,255,.85), rgba(150,80,230,.35) 40%, transparent 68%); }
.dl-gz { left: 73%; background: radial-gradient(circle, rgba(140,255,200,.8), rgba(43,190,120,.32) 40%, transparent 68%); }
.dl-c { filter: none !important; will-change: transform, opacity; }
.dl-flash { background: radial-gradient(circle at 50% 45%, rgba(255,246,222,.95), rgba(255,226,160,.35) 30%, transparent 62%) !important; will-change: opacity; }
.dl-lines { display: none !important; }
.dl-slash path { filter: none !important; stroke-width: 6; stroke: #eafff4; }
.dl-slash { filter: drop-shadow(0 0 8px rgba(43,190,120,.9)); }
.sell-hero { animation: none !important; }
/* bordi della sezione sfumati con livelli di colore, non con una maschera (molto più leggero) */
.sell-pin { -webkit-mask: none !important; mask: none !important; }
.sell-pin::before, .sell-pin::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; z-index: 6; pointer-events: none; }
.sell-pin::before { top: 0; background: linear-gradient(rgb(var(--bg-rgb)), rgba(var(--bg-rgb), 0)); }
.sell-pin::after { bottom: 0; height: 5%; background: linear-gradient(rgba(var(--bg-rgb), 0), rgb(var(--bg-rgb))); }
/* ---------- passaggio tra pagine: dissolvenza rapida con logo, gestita dalla scheda video ---------- */
.veil-panel { transform: none !important; visibility: visible !important; opacity: 0; background: rgb(var(--bg-rgb)); transition: opacity .13s ease-out !important; will-change: opacity; }
.veil-panel::before { display: none; }
.veil-panel img { opacity: 1 !important; transform: scale(.94) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1) !important; width: 150px; }
.veil.enter .veil-panel { opacity: 1; }
.veil.enter .veil-panel img { transform: scale(1) !important; }
.veil.cover .veil-panel, .veil.leave .veil-panel { opacity: 0; }
html.veil-in::after, html.veil-out::after { content: ""; position: fixed; inset: 0; z-index: 600; pointer-events: none; will-change: opacity;
  background: url(/assets/wado-logo-640.webp) center / 150px auto no-repeat, rgb(var(--bg-rgb)); }
html.veil-out::after { opacity: 0; transition: opacity .3s ease-out; }
@media (prefers-reduced-motion: reduce) { html.veil-in::after, html.veil-out::after { display: none; } }
html.veil-in::after { animation: veilSafe .3s ease-out 1.5s forwards; } @keyframes veilSafe { to { opacity: 0; } }
