/* Landing Halloween da Bully (31/10/2026): base comune delle 3 hero.
   Colori del sito nuovo (hero B Giallo), carattere del marchio Space Grotesk anche per i testi. */
:root {
  --giallo: #ffd400;
  --rosso: #e21d2b;
  --blu: #1b2a6b;
  --notte: #0f1840;
  --notte-2: #0a1030;
  --crema: #fdfaf1;
  --bianco: #ffffff;
  --verde: #2fd36b;
  --nota: #fff27a;
  --font: "Space Grotesk", "Arial Black", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--giallo); outline-offset: 3px; }

/* Testata: solo il logo, niente menu (pagina con un solo obiettivo) */
.testata { position: absolute; inset: 0 0 auto; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.testata > * { pointer-events: auto; }
.testata .logo img { width: 70px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.testata .data { font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }
@media (max-width: 760px) { .testata { padding-block: 12px; } .testata .logo img { width: 56px; } .testata .data { font-size: 12px; padding: 8px 12px; } }

/* "giallo" giallo con il contorno */
.giallo { color: var(--giallo); -webkit-text-stroke: .05em var(--bianco); paint-order: stroke fill; }
.giallo.su-chiaro { -webkit-text-stroke-color: var(--notte); text-shadow: .045em .05em 0 var(--rosso); }

/* Bottoni delle indicazioni */
.btn { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; font-family: var(--font); font-weight: 700; font-size: 18px; line-height: 1.1; text-decoration: none;
  padding: 16px 24px 16px 18px; border-radius: 18px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; text-align: left; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .pin { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.btn .pin svg { width: 18px; height: 18px; }
.btn small { display: block; font-weight: 500; font-size: 14px; opacity: .85; margin-top: 3px; }
.btn.rosso { background: var(--rosso); color: var(--bianco); box-shadow: 0 6px 0 var(--notte-2); }
.btn.rosso .pin { background: var(--bianco); color: var(--rosso); }
.btn.bianco { background: var(--bianco); color: var(--notte); box-shadow: 0 6px 0 var(--notte-2); }
.btn.bianco .pin { background: var(--notte); color: var(--giallo); }
.btn.giallo-pieno { background: var(--giallo); color: var(--notte); box-shadow: 0 6px 0 var(--rosso); }
.btn.giallo-pieno .pin { background: var(--notte); color: var(--giallo); }

/* Conto alla rovescia */
.conto { display: flex; align-items: flex-end; gap: 8px; }
.conto .u { display: grid; justify-items: center; gap: 4px; }
.conto .u b { font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.conto .u span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.conto[data-fase="durante"] .cifre, .conto[data-fase="dopo"] .cifre { display: none; }
.conto [data-messaggio]:empty { display: none; }

/* Note gialle per la presentazione al cliente (non vanno nella versione finale) */
.nota-gialla { display: block; width: fit-content; max-width: 360px; background: var(--nota); color: #2a2300; font-family: var(--font); font-size: 13.5px; font-weight: 500; line-height: 1.35;
  padding: 9px 12px 10px; border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(0, 0, 0, .08); transform: rotate(-1deg); text-align: left; }
.nota-gialla b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.senza-note .nota-gialla { display: none !important; }
.interruttore-note { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 50; font-family: var(--font); font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 999px;
  border: 0; background: var(--nota); color: #2a2300; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: pointer; }

@media (max-width: 760px) { .interruttore-note { position: static; transform: none; display: block; margin: 16px auto 20px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
