/* Abxolute TCG — header + hero (video) */

.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: backdrop-filter .3s, background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; }
.hdr.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: color-mix(in srgb, var(--accent) 18%, var(--line));
  padding: 12px 0;
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--accent) 10%, transparent);
}
.hdr .row { display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 1vw, 18px); flex-wrap: nowrap; min-width: 0; }
/* La nav (centro) è l'unico cluster elastico: si stringe prima che i cluster
   social (sx) e azioni (dx) vengano spinti fuori dallo schermo. */
.hdr .nav { min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand-img { height: 56px; width: auto; display: block; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
/* Logo-lockup (immagine con wordmark integrato): un filo più grande, niente testo a fianco.
   flex-shrink:0 + width auto: senza il testo il flex comprimerebbe l'immagine a pochi px. */
.brand--logo { height: 64px; flex: 0 0 auto; }
.brand--logo .brand-img { height: 64px; width: auto; max-width: none; flex: 0 0 auto; }
.brand .logo { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface), var(--bg)); overflow: hidden; }
.brand .logo svg { width: 20px; height: 20px; }
.brand .logo--img { padding: 0; }
.brand .logo--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.01em; line-height: 1.05; }
.brand-name {
  font-family: "Orbitron", "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  margin-left: 14px;
  line-height: 1;
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent);
}
.brand-name .brand-tcg {
  background: linear-gradient(135deg, var(--accent), var(--accent-bolt, var(--accent-2)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
}
@media (max-width: 720px) { .brand-name { display: none; } }
.brand-text .name em { font-style: italic; color: var(--accent); }
.brand-text .name .tcg { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 4px; letter-spacing: 0.02em; }
.brand-text .tag { font-size: 9px; letter-spacing: 0.32em; color: var(--mute); text-transform: uppercase; margin-top: 6px; padding-left: 1px; }
.nav { display: flex; align-items: center; flex: 1 1 auto; justify-content: center; gap: clamp(8px, 1vw, 20px); min-width: 0; flex-wrap: wrap; row-gap: 4px; }
.nav a {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 8px 0; transition: color .25s, text-shadow .25s;
  white-space: nowrap; /* mai label su due righe: sotto i 1280px si passa al burger */
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 65%, transparent); }
.nav a:hover { color: var(--accent-2); }
/* Separatori tra i gruppi della nav (categorie | CCG-Magazine | Richieste) */
.nav-sep { width: 1px; align-self: stretch; margin: 6px 0; background: var(--line-2); flex: none; }
/* Forza l'a-capo nella nav desktop: i giochi restano in prima riga, CCG+Magazine
   e le sezioni vanno sotto. flex-basis:100% spinge a capo gli elementi successivi. */
.nav-break { flex: 0 0 100%; width: 100%; height: 0; margin: 0; padding: 0; pointer-events: none; }
/* Sezioni sito (Recensioni/Leaderboard/Calendario/Blog) — glow pulsante nel colore proprio (impostato inline). */
.nav-req { text-shadow: 0 0 10px color-mix(in srgb, currentColor 55%, transparent); animation: reqGlow 2.2s ease-in-out infinite; }
.nav-req:hover { filter: brightness(1.18); }
@keyframes reqGlow {
  0%, 100% { text-shadow: 0 0 8px color-mix(in srgb, currentColor 45%, transparent); }
  50% { text-shadow: 0 0 16px color-mix(in srgb, currentColor 90%, transparent), 0 0 32px color-mix(in srgb, currentColor 45%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .nav-req { animation: none; } }
/* Su mobile la nav è nascosta: "Richieste" resta in vista nell'header accanto alle icone */
.nav-req--mobile { display: none; font-family: "Orbitron", "Inter", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 2px; white-space: nowrap; }
@media (max-width: 1100px) { .nav-req--mobile { display: inline-block; } }
/* Barra nav mobile completa (giochi + CCG/Magazine + sezioni + Blog), gemella dell'header
   secondario delle pagine SSR (.pchdr-nav). Nascosta su desktop (c'è la .nav inline);
   a ≤1100px sostituisce il "solo burger" con nav inline a capo per navigare al volo.
   La hero-logo viene spinta giù (sotto) così la barra non la copre più. */
.hdr-mobsec { display: none; }
@media (max-width: 1100px) {
  /* Barra categorie rimossa dalla home in mobile (richiesta Riccardo): le categorie
     restano nel menu burger. La barra categorie vive solo nelle pagine SSR (.pchdr-nav). */
  .hdr-mobsec { display: none; }
  .hdr-mobsec a {
    font-family: "Orbitron", "Inter", sans-serif; font-size: 10px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
    text-decoration: none; padding: 2px 0; line-height: 1.15; transition: opacity .2s;
  }
  .hdr-mobsec a:active { opacity: .6; }
  /* Su mobile l'header NON è più fixed: sta nel flusso (sticky) così occupa spazio e
     spinge giù la hero — il logo non viene mai coperto. Fondo sempre presente (la barra
     categorie deve restare leggibile). Resta fixed/trasparente solo su desktop. */
  .hdr { position: sticky; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px) saturate(125%); backdrop-filter: blur(12px) saturate(125%); border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line)); }
  .hero-logo { top: 17vh; }
}
/* PRIMA RIGA dell'header: CCG + Magazine, centrate, sopra la riga principale.
   Striscia sottile con divisore inferiore; stesso linguaggio Orbitron della nav. */
/* SINISTRA: cluster social (lato prima vuoto). */
.hdr-social { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
/* DESTRA: tema, lingua | cerca, carrello. */
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
/* Piccolo gap + separatore sottile tra (tema/lingua) e (cerca/carrello). */
.hdr-sep { width: 1px; height: 26px; margin: 0 4px; background: var(--line-2); flex: none; }

/* WhatsApp button — original green, separated */
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 20px -6px rgba(37,211,102,.55), inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(37,211,102,.75), inset 0 1px 0 rgba(255,255,255,.3); filter: brightness(1.06); }
.wa-btn .wa-ico { display: block; }

/* TikTok / Twitch / Instagram buttons — official black with cyan/magenta glow */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px;
  background: #010101; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 20px -7px rgba(254,44,85,.55), 0 6px 20px -10px rgba(37,244,238,.5), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.tt-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(254,44,85,.75), 0 12px 28px -12px rgba(37,244,238,.7); filter: brightness(1.08); }
.tt-btn .tt-ico { display: block; }
/* I social ora vivono a SINISTRA (lato prima vuoto): c'è spazio sul desktop, la nav
   centrale si stringe prima di spingerli fuori. Su tablet/telefono (≤1100px, dove la
   nav diventa burger) collassano: restano footer, sezione live e menu. */
@media (max-width: 1100px) { .hdr .hdr-social { display: none; } }
/* 1100-1520px: compatta un filo le voci nav (la nav può andare a capo se serve). */
@media (max-width: 1520px) {
  .nav { gap: clamp(6px, .8vw, 14px); }
  .nav a { font-size: 10.5px; letter-spacing: .1em; }
  .hdr-social { gap: 8px; }
}

/* Colonna destra della hero: impila il widget LIVE e (sotto) il widget Classifica. */
.hero-right { position: absolute; top: clamp(96px, 12vh, 120px); right: clamp(14px, 4vw, 48px); z-index: 6;
  width: min(290px, 42vw); display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  transition: opacity .2s ease, transform .2s ease; }

/* Hero mini LIVE widget (TikTok + WhatsApp) */
.hero-live { width: 100%;
  display: flex; flex-direction: column; gap: 10px; padding: 15px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.hero-live .hl-head { display: flex; flex-direction: column; gap: 3px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-live .hl-badge { display: inline-flex; align-items: center; gap: 7px; font: 700 10px var(--mono); letter-spacing: .18em; color: #fff; white-space: nowrap; text-transform: uppercase; }
.hero-live .hl-badge--live { color: #fff; padding: 3px 9px; border-radius: 999px; background: #fe2c55; box-shadow: 0 0 18px rgba(254,44,85,.65); }
.hero-live .hl-badge--live .hl-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
.hero-live .hl-dot { width: 8px; height: 8px; border-radius: 50%; background: #fe2c55; box-shadow: 0 0 0 0 rgba(254,44,85,.7); animation: heroLivePulse 1.6s infinite; }
.hero-live .hl-text { font: 700 11px var(--mono); color: #fff; text-transform: uppercase; letter-spacing: .12em; }
.hero-live .hl-btns { display: flex; gap: 8px; }
.hero-live .hl-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; transition: transform .2s, filter .2s; }
.hero-live .hl-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero-live .hl-btn.tt { background: #010101; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 6px 16px -8px rgba(254,44,85,.6), 0 6px 16px -10px rgba(37,244,238,.5); }
.hero-live .hl-btn.wa { background: linear-gradient(135deg, #25D366, #128C7E); }
@keyframes heroLivePulse { 0% { box-shadow: 0 0 0 0 rgba(254,44,85,.6); } 70% { box-shadow: 0 0 0 9px rgba(254,44,85,0); } 100% { box-shadow: 0 0 0 0 rgba(254,44,85,0); } }

/* Anteprima TikTok quadrata sotto il widget → click apre il lightbox */
.hero-live .hl-tt-preview { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border-radius: 11px;
  background: #010101; border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: transform .2s, border-color .2s; text-align: left; }
.hero-live .hl-tt-preview:hover { transform: translateY(-1px); border-color: rgba(37,244,238,.55); }
.hero-live .hl-tt-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(254,44,85,.25), rgba(37,244,238,.25)); flex: none; }
.hero-live .hl-tt-txt { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; font-weight: 600; flex: 1; }
.hero-live .hl-tt-txt small { font: 400 10px var(--mono); color: var(--ink-2); letter-spacing: .04em; }
.hero-live .hl-tt-zoom { font-size: 15px; color: var(--ink-2); flex: none; }
/* Variante "LIVE ORA": quando una piattaforma è live, il box diventa rosso e porta diretto alla live. */
.hero-live .hl-tt-preview.hl-live-cta { background: #2a0a10; border-color: rgba(239,68,68,.6); animation: heroLivePulse 1.8s infinite; }
.hero-live .hl-tt-preview.hl-live-cta .hl-tt-ico { background: linear-gradient(135deg, #ef4444, #fe2c55); }
.hero-live .hl-tt-preview.hl-live-cta .hl-tt-txt { color: #fecaca; }
/* Prossime 3 live nel widget (prese da /calendario) */
.hero-live .hl-cal { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-live .hl-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero-live .hl-cal-title { font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero-live .hl-cal-all { font: 700 11px var(--mono); color: var(--accent-2); text-decoration: none; white-space: nowrap; }
.hero-live .hl-cal-all:hover { text-decoration: underline; }
.hero-live .hl-cal-row { display: flex; flex-direction: column; gap: 1px; padding: 7px 9px; border-radius: 9px; background: color-mix(in srgb, var(--bg) 50%, transparent); border: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: border-color .18s, transform .18s; }
.hero-live .hl-cal-row:hover { border-color: rgba(167,139,250,.5); transform: translateX(2px); }
.hero-live .hl-cal-when { font: 700 11px var(--mono); color: var(--accent-2); letter-spacing: .02em; }
.hero-live .hl-cal-name { font-size: 12.5px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero mini CLASSIFICA widget (sotto il LIVE) — mini-versione di /classifica */
.hero-lb { width: 100%; display: flex; flex-direction: column; gap: 9px; padding: 14px 13px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.hero-lb .hlb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.hero-lb .hlb-badge { display: inline-flex; align-items: center; gap: 7px; min-width: 0; flex: 1; overflow: hidden; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero-lb .hlb-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-lb .hlb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: heroLivePulse 1.8s infinite; }
.hero-lb .hlb-all { font: 600 10.5px var(--mono); letter-spacing: .03em; color: var(--accent-2); text-decoration: none; white-space: nowrap; flex: none; }
.hero-lb .hlb-all:hover { color: var(--accent); }
.hero-lb .hlb-list { display: flex; flex-direction: column; gap: 4px; }
.hero-lb .hlb-row { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 9px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 38%, transparent); border: 1px solid rgba(255,255,255,.06); transition: border-color .2s, transform .2s; }
.hero-lb .hlb-row:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateX(2px); }
/* Podio top-3: stesso look illuminato di /classifica, in piccolo e poco staccato dal resto. */
.hero-lb .hlb-row.hlb-p1 { border-color: #ffd700; background: linear-gradient(120deg, color-mix(in srgb, #ffd700 20%, transparent), color-mix(in srgb, var(--surface) 38%, transparent)); box-shadow: 0 0 13px -2px rgba(255,215,0,.55); animation: hlbGlow1 2.8s ease-in-out infinite; }
.hero-lb .hlb-row.hlb-p2 { border-color: #c0c0c0; background: linear-gradient(120deg, color-mix(in srgb, #c0c0c0 17%, transparent), color-mix(in srgb, var(--surface) 38%, transparent)); box-shadow: 0 0 11px -2px rgba(192,192,192,.45); }
.hero-lb .hlb-row.hlb-p3 { border-color: #cd7f32; background: linear-gradient(120deg, color-mix(in srgb, #cd7f32 19%, transparent), color-mix(in srgb, var(--surface) 38%, transparent)); box-shadow: 0 0 11px -2px rgba(205,127,50,.45); }
.hero-lb .hlb-p1 .hlb-name, .hero-lb .hlb-p1 .hlb-rank { text-shadow: 0 0 9px rgba(255,215,0,.6); }
.hero-lb .hlb-p2 .hlb-name { text-shadow: 0 0 8px rgba(192,192,192,.5); }
.hero-lb .hlb-p3 .hlb-name { text-shadow: 0 0 8px rgba(205,127,50,.5); }
@keyframes hlbGlow1 { 0%,100% { box-shadow: 0 0 11px -3px rgba(255,215,0,.45); } 50% { box-shadow: 0 0 16px -1px rgba(255,215,0,.7); } }
.hero-lb .hlb-rank { font: 900 13px var(--mono); width: 26px; flex: none; }
.hero-lb .hlb-ico { display: inline-flex; flex: none; }
.hero-lb .hlb-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-lb .hlb-lp { font: 700 11px var(--mono); color: #f5c542; flex: none; }
.hero-lb .hlb-empty { font-size: 12px; color: var(--ink-2); text-align: center; padding: 6px 0; line-height: 1.4; }
.hero-lb .hlb-prizes { margin-top: 2px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 8px; max-height: 240px; overflow-y: auto; }
.hero-lb .hlb-sub { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero-lb .hlb-prow { display: flex; flex-direction: column; gap: 4px; }
.hero-lb .hlb-prank { display: flex; align-items: center; gap: 7px; }
.hero-lb .hlb-pico { display: inline-flex; flex: none; }
.hero-lb .hlb-pname { font-size: 11.5px; font-weight: 700; color: var(--ink); }
/* Premi in ELENCO verticale, uno sotto l'altro, allineati sotto il nome del rank. */
.hero-lb .hlb-perks { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-left: 27px; }
.hero-lb .hlb-perk { font-size: 10px; font-weight: 700; color: #f5c542; background: color-mix(in srgb,#f5c542 14%,transparent); border: 1px solid color-mix(in srgb,#f5c542 30%,transparent); border-radius: 999px; padding: 2px 8px; }
.hero-lb .hlb-perk.free { color: #22c55e; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); }
.hero-lb .hlb-perk.reach { color: #e879f9; background: rgba(232,121,249,.12); border-color: rgba(232,121,249,.35); }
.hero-lb .hlb-perk.muted { color: var(--ink-2); background: none; border-color: var(--line-2); }

/* Lightbox TikTok */
.tt-zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(5,4,10,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: ttFade .2s ease; }
.tt-zoom-box { position: relative; width: min(380px, 94vw); max-height: 90vh; overflow-y: auto; overflow-x: hidden; background: #0d0a14;
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px; }
.tt-zoom-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 14px; cursor: pointer; }
.tt-zoom-close:hover { background: rgba(255,255,255,.2); }
.tt-zoom-embed { min-height: 320px; width: 100%; overflow-x: hidden; display: grid; place-items: center; }
/* L'iframe/blockquote TikTok non deve mai sforare il box (overflow orizzontale su mobile). */
.tt-zoom-embed iframe { max-width: 100% !important; width: 100% !important; }
.tt-zoom-embed .tiktok-embed { max-width: 100% !important; min-width: 0 !important; width: 100% !important; margin: 0 auto !important; }
.tt-zoom-embed::after { content: "Carico TikTok…"; color: var(--ink-2); font: 400 12px var(--mono); }
.tt-zoom-embed:has(iframe)::after, .tt-zoom-embed:has(.tiktok-embed[data-embed-type])::after { content: none; }
.tt-zoom-open { display: block; text-align: center; margin-top: 12px; padding: 11px; border-radius: 10px;
  background: linear-gradient(135deg, #fe2c55, #25f4ee); color: #0d0a14; font-weight: 700; font-size: 13px; }
@keyframes ttFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 600px) {
  /* Colonna destra ridotta a ~46vw: PROMO (sx) e colonna LIVE+Classifica (dx) non si
     sovrappongono più (46vw + 46vw + gap < 100vw anche su 320px). */
  .hero-right { top: 30vh; right: 8px; width: 46vw; max-width: 200px; gap: 8px; }
  .hero-live { padding: 9px 10px; gap: 7px; }
  .hero-live .hl-text { display: none; }
  .hero-live .hl-btn { width: 34px; height: 34px; }
  .hero-live .hl-tt-txt small { display: none; }
  /* Su telefono il widget Classifica resta compatto: solo la mini-leaderboard,
     i premi per rank (lunghi) si vedono nella pagina /classifica via "Tutta →". */
  .hero-lb { padding: 10px 9px; gap: 7px; }
  .hero-lb .hlb-prizes { display: none; }
  .hero-lb .hlb-list { max-height: 168px; overflow-y: auto; }
  .hero-lb .hlb-name { font-size: 11.5px; }
  .hero-lb .hlb-badge, .hero-lb .hlb-all { font-size: 9px; letter-spacing: .06em; }
}

/* Colonna sinistra della hero: impila il widget PROMO e (sotto) il widget Offerte a Tempo.
   Speculare a .hero-right (LIVE + Classifica). */
.hero-left { position: absolute; top: clamp(96px, 11vh, 116px); left: clamp(14px, 4vw, 48px); z-index: 6;
  width: min(320px, 80vw); display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  transition: opacity .2s ease, transform .2s ease; }
/* Hero PROMO widget (carosello annunci/ultime uscite) — speculare al LIVE. */
.hero-promo { width: 100%;
  display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 46px -16px rgba(0,0,0,.65); }
.hero-promo .hp-badge { display: inline-flex; align-items: center; gap: 7px; font: 700 11px var(--mono); letter-spacing: .16em; color: #fff; text-transform: uppercase; white-space: nowrap; min-width: 0; overflow: hidden; }
.hero-promo .hp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: heroLivePulse 1.8s infinite; }
.hero-promo .hp-text { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.hero-promo .hp-card { display: flex; gap: 12px; align-items: center; text-decoration: none; animation: hpFade .5s ease both; }
@keyframes hpFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-promo .hp-photo { position: relative; flex: none; width: 120px; height: 160px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: color-mix(in srgb, var(--surface) 60%, transparent); display: grid; place-items: center; }
.hero-promo .hp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hero-promo .hp-card:hover .hp-photo img { transform: scale(1.05); }
.hero-promo .hp-ph { color: var(--accent); font-size: 30px; }
.hero-promo .hp-tag { position: absolute; bottom: 0; left: 0; right: 0; font: 700 8px var(--mono); letter-spacing: .1em; text-align: center; background: color-mix(in srgb, var(--accent) 88%, #000); color: #fff; padding: 3px 0; }
.hero-promo .hp-meta { min-width: 0; }
.hero-promo .hp-name { font-family: var(--serif); font-size: 16px; line-height: 1.2; color: var(--ink); }
.hero-promo .hp-sub { font-size: 12px; color: var(--ink-2); margin-top: 5px; line-height: 1.35; }
.hero-promo .hp-dots { display: flex; gap: 2px; justify-content: center; margin-top: 0; }
/* Touch target ≥24px (WCAG 2.5.8): hit-area 24x24, pallino visivo 7px via background-clip. */
.hero-promo .hp-dotbtn { width: 24px; height: 24px; border-radius: 50%; border: 8.5px solid transparent; padding: 0; cursor: pointer; background: rgba(255,255,255,.3); background-clip: padding-box; transition: background .2s, transform .2s; }
.hero-promo .hp-dotbtn.on { background: var(--accent); background-clip: padding-box; transform: scale(1.1); }
/* Tablet grandi (iPad Air/Pro, sia portrait che landscape): in queste viewport
   l'header mostra ancora il marchio "ABXOLUTE TCG" e l'altezza ridotta porta i widget
   (clamp su vh) a salire sotto il logo. Abbassali per non sovrapporre la scritta. */
@media (min-width: 601px) and (max-width: 1200px) {
  .hero-left, .hero-right { top: clamp(124px, 16vh, 156px); }
  /* Sui tablet piccoli (601–820) le colonne si stringono per stare a fianco senza sovrapporsi. */
  .hero-left { width: min(255px, 34vw); }
  .hero-right { width: min(255px, 34vw); }
}
@media (max-width: 600px) {
  /* Eyebrow in alto; colonna PROMO+Offerte (sx) e colonna LIVE+Classifica (dx) PARALLELI, più in basso (no overlap hero). */
  .hero-eyebrow { top: 13vh; }
  .hero-left { top: 30vh; left: 8px; width: 46vw; max-width: 200px; gap: 8px; }
  .hero-promo { padding: 9px; gap: 6px; }
  .hero-promo .hp-text { display: none; }
  .hero-promo .hp-photo { width: 72px; height: 96px; }
  .hero-promo .hp-name { font-size: 12px; }
  .hero-promo .hp-sub { font-size: 10.5px; }
  .hero-promo .hp-badge { font-size: 9.5px; }
}

/* Widget Offerte a Tempo — eredita .hero-promo/.hp-*; accenti propri (offerta = rosso/oro). */
.hero-offer { border-color: rgba(239,68,68,.34); box-shadow: 0 18px 46px -16px rgba(0,0,0,.65), 0 0 22px -12px rgba(239,68,68,.7); }
.hero-offer .hp-badge { color: #ffd9a8; }
.hero-offer .hp-dot--offer { background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
.hero-offer .hp-card { position: relative; }
/* Countdown in ALTO nel prodotto */
.hero-offer .ho-timer { position: absolute; top: -8px; left: -4px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; background: #ef4444; color: #fff;
  font: 800 11px var(--mono); letter-spacing: .04em; box-shadow: 0 6px 16px -6px rgba(239,68,68,.8);
  animation: heroLivePulse 1.8s infinite; }
.hero-offer .ho-timer-ico { font-size: 11px; line-height: 1; }
.hero-offer .ho-timer-val { font-variant-numeric: tabular-nums; }
/* Tag "OFFERTA" sulla foto (rosso, distinto dal PRE-ORDER oro del promo) */
.hero-offer .ho-tag { background: color-mix(in srgb, #ef4444 90%, #000); }
/* Prezzo pieno barrato + prezzo scontato */
.hero-offer .ho-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.hero-offer .ho-old { font: 600 12px var(--mono); color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(239,68,68,.8); }
/* Badge percentuale di sconto, accanto al prezzo barrato. */
.hero-offer .ho-pct { font: 800 10px var(--mono); letter-spacing: .02em; color: #fff; background: #ef4444; padding: 2px 6px; border-radius: 999px; line-height: 1; box-shadow: 0 4px 12px -4px rgba(239,68,68,.8); }
.hero-offer .ho-new { font: 800 17px var(--serif); color: #ffd9a8; line-height: 1; text-shadow: 0 0 12px rgba(239,68,68,.45); }
@media (max-width: 600px) {
  .hero-offer .ho-timer { top: -6px; padding: 3px 7px; font-size: 9.5px; }
  .hero-offer .ho-new { font-size: 14px; }
  .hero-offer .ho-old { font-size: 10.5px; }
}

.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s ease; position: relative; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 50%, transparent); flex: none; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-2); background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 8px 24px -10px var(--accent); transform: translateY(-1px); }
/* Cerca + carrello: un filo più grandi di tema/lingua (icone principali). */
.icon-btn--lg { width: 46px; height: 46px; border-radius: 13px; color: var(--ink); }
.icon-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink-on-accent); font-size: 10px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0; box-shadow: 0 4px 12px -4px var(--accent); }
/* Laptop (≈1100–1340px): le voci nav restano visibili ma più compatte, così su
   portatile compaiono le scritte del menu invece del solo burger + icone. */
@media (max-width: 1340px) {
  .nav { gap: clamp(5px, .6vw, 11px); }
  .nav a { font-size: 10px; letter-spacing: .07em; }
  .nav-sep { margin: 7px 0; }
}
@media (max-width: 1180px) {
  .nav a { font-size: 9.5px; letter-spacing: .04em; }
  .nav-sep { display: none; }
}
/* Sotto i 1100px (tablet/telefono) la nav passa al burger. */
@media (max-width: 1100px) { .nav { display: none; } }

/* Burger + mobile category drawer */
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 50%, transparent); flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.burger span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .26s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 48; padding-top: 80px;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
  transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px clamp(18px,6vw,40px) 48px; }
.mobile-menu nav a { font-family: "Orbitron","Inter",sans-serif; font-size: 17px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); padding: 19px 2px; border-bottom: 1px solid var(--line); }
.mobile-menu nav a:active { color: var(--accent-2); }

@media (max-width: 1100px) { .burger { display: flex; } }
@media (min-width: 1101px) { .mobile-menu { display: none; } }

/* progress line */
.progress { position: fixed; top: 0; left: 0; height: 1px; background: var(--accent); z-index: 60; transition: width .1s; }

/* Mobile hero tuning — shorter scroll track, smaller logo, stacked CTAs */
@media (max-width: 720px) {
  .hdr { padding: 12px 0; }
  .brand, .brand-img { height: 44px; }
  .brand--logo, .brand--logo .brand-img { height: 50px; }
  /* Header compatto: cluster destro stretto ma con carrello SEMPRE visibile.
     (I social sono già nascosti ≤1100px: restano footer, sezione live, menu.) */
  .hdr .row { gap: 10px; }
  .hdr-actions { gap: 6px; }
  .hdr-sep { height: 22px; margin: 0 2px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn--lg { width: 40px; height: 40px; }
  .hero { height: 130vh; }
  .hero-outro-logo { width: min(88vw, 560px); max-height: 56vh; }
  .hero-bottom { width: 92vw; gap: 16px; bottom: 9vh; }
  .hero-bottom .ctas { flex-direction: column; width: 100%; }
  .hero-bottom .ctas .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}
/* Telefoni molto stretti (≤360px): il carrello deve restare visibile a ogni costo.
   Tema + lingua (secondari, raggiungibili comunque) cedono lo spazio a cerca + carrello + menu. */
@media (max-width: 360px) {
  .hdr-actions .pc-lang-btn, .hdr-actions .icon-btn:not(.icon-btn--lg), .hdr-sep { display: none; }
}

/* HERO — video centerpiece */
.hero { position: relative; height: 240vh; background: var(--bg); }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform-origin: center; pointer-events: none; }
.hero-video-tint { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 50%, transparent 40%, color-mix(in srgb, var(--bg) 65%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent) 0%, transparent 25%, transparent 60%, color-mix(in srgb, var(--bg) 75%, transparent) 100%),
    color-mix(in srgb, var(--accent) 6%, transparent);
  mix-blend-mode: normal;
}
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 50% 50%, transparent 45%, rgba(0,0,0,.7) 100%); opacity: .5; transition: opacity .2s; }
.hero-grain { position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.03) 2px 3px);
}

.hero-eyebrow {
  position: absolute; top: 13vh; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 3; opacity: 0; transition: opacity .8s ease;
  color: var(--ink-2);
  text-shadow: 0 1px 16px rgba(0,0,0,.6);
}
.hero-eyebrow.ready { opacity: 1; }
/* Hero logo (H1 = immagine logo con wordmark): grande e centrato in alto. */
.hero-logo { margin: 0; top: max(20vh, 190px); }
.hero-logo img { height: clamp(140px, 24vh, 260px); width: auto; display: block; filter: drop-shadow(0 14px 50px rgba(124,77,255,.45)); }
@media (max-width: 720px) { .hero-logo { top: 3vh; } .hero-logo img { height: clamp(120px, 20vh, 200px); } }

.hero-bottom {
  position: absolute; bottom: 7vh; left: 50%; transform: translate(-50%, 30px);
  text-align: center; z-index: 4; display: flex; flex-direction: column; align-items: center;
  gap: 22px; width: min(720px, 90vw); opacity: 0;
}
.hero-bottom .ctas { display: flex; gap: 12px; }

/* Outro — black screen with logo between video loops */
.hero-outro {
  position: absolute; inset: 0; z-index: 5;
  background: #000;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 1s ease;
}
.hero-outro.visible { opacity: 1; }
.hero-outro-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  transform: scale(.985);
  transition: transform 2.4s ease-out;
}
.hero-outro.visible .hero-outro-inner { transform: scale(1.005); }
.hero-outro-logo {
  width: min(72vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
}
.hero-outro-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232, 232, 246, .55);
}
.hero-outro-tag::before, .hero-outro-tag::after { content: "─"; opacity: .5; margin: 0 16px; color: var(--accent); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font: 500 9.5px var(--mono); letter-spacing: .25em; color: var(--ink-2); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: color-mix(in srgb, var(--ink-2) 35%, transparent);
  position: relative; overflow: hidden;
}
.scroll-hint .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: hint 2.4s ease-in-out infinite;
  transform: translateY(-100%);
}
@keyframes hint { 0% { transform: translateY(-100%); } 50%, 100% { transform: translateY(100%); } }

/* ─── TCG card visual (kept — used elsewhere on the page) ─── */
.tcg {
  position: relative; width: 100%; height: 100%;
  border-radius: 14px;
  background: linear-gradient(140deg, #2a2618 0%, #16130b 35%, #0c0a05 60%, #1c1810 100%);
  box-shadow:
    0 0 0 1px rgba(232,212,168,.18),
    0 0 0 5px rgba(0,0,0,.6),
    0 30px 60px -10px rgba(0,0,0,.7),
    0 60px 120px -20px rgba(0,0,0,.5);
  overflow: hidden;
}
.tcg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,210,140,.22) 42%, rgba(255,255,255,.45) 50%, rgba(190,230,255,.22) 58%, transparent 70%);
  mix-blend-mode: screen;
  transform: translateX(var(--sheen, -30%));
  transition: transform 1.5s ease;
}
.tcg::after {
  content: ""; position: absolute; inset: 10px; border-radius: 8px; pointer-events: none;
  border: 1px solid rgba(232,212,168,.32);
}
.tcg .inner { position: absolute; inset: 20px; display: flex; flex-direction: column; gap: 10px; }
.tcg .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tcg .name { font-family: var(--serif); font-style: italic; font-size: 14px; color: #f3e3bf; letter-spacing: 0.01em; line-height: 1.1; }
.tcg .atk { font: 600 9px var(--mono); color: #c7a36b; letter-spacing: .15em; white-space: nowrap; }
.tcg .art {
  flex: 1; border-radius: 4px; border: 1px solid rgba(232,212,168,.32);
  background:
    radial-gradient(70% 80% at 50% 30%, rgba(255,200,120,.3), transparent 60%),
    radial-gradient(50% 60% at 30% 80%, rgba(120,80,200,.45), transparent 70%),
    radial-gradient(40% 50% at 80% 70%, rgba(255,120,180,.3), transparent 70%),
    linear-gradient(160deg, #2d1b3a, #0c0820 50%, #1a0d28);
  position: relative; overflow: hidden;
}
.tcg .art .glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-size: 80px; font-weight: 300; color: rgba(255,220,180,.5); letter-spacing: -.03em; }
.tcg .art::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(60deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.tcg .type { font: 600 8px var(--mono); letter-spacing: .22em; color: #c7a36b; padding: 5px 0 0; border-top: 1px solid rgba(232,212,168,.18); }
.tcg .desc { font-family: var(--serif); font-style: italic; font-size: 10px; color: #d8c79f; line-height: 1.35; }
.tcg .foot { display: flex; justify-content: space-between; align-items: center; font: 600 8px var(--mono); color: rgba(232,212,168,.7); letter-spacing: .15em; }
.tcg .foot .star { color: #f3d27e; }

/* One Piece flavor */
.tcg--op { background: linear-gradient(140deg, #2b1209 0%, #160906 40%, #0b0403 60%, #1f0d08 100%); }
.tcg--op .art {
  background:
    radial-gradient(60% 80% at 50% 40%, rgba(255,120,80,.5), transparent 70%),
    radial-gradient(50% 60% at 20% 80%, rgba(80,160,255,.4), transparent 70%),
    linear-gradient(160deg, #3a1d10, #170803 60%, #2a1108);
}
.tcg--op .name, .tcg--op .atk, .tcg--op .type, .tcg--op .foot { color: #f3d4b8; }
.tcg--op .desc { color: #e8c9b0; }
.tcg--op::after { border-color: rgba(243,212,184,.32); }
.tcg--op .art { border-color: rgba(243,212,184,.32); }
.tcg--op .art .glyph { color: rgba(255,200,160,.55); }

/* Holo */
.tcg--holo::before {
  background:
    linear-gradient(115deg, transparent 25%, rgba(255,180,220,.3) 35%, rgba(180,220,255,.5) 45%, rgba(220,255,200,.35) 55%, rgba(255,210,140,.3) 65%, transparent 75%);
}

/* Tweak toggles */
html[data-no-holo] .tcg::before { display: none !important; }

/* Su mobile il logo va ALZATO, non abbassato: li' la riga header e' piu' corta e il
   logo risultava centrato. Sul desktop invece scende, per staccarsi dalla barra. */

