/* ═══════════════════════════════════════════════════════════
   FANTA ARENA — Landing
   Palette Play Arena: nero pece / oro / gesso / verde campo
   Display: Archivo (expanded italic) · Body: Instrument Sans
   Numeri: Space Grotesk
   ═══════════════════════════════════════════════════════════ */

:root {
  --nero: #0A0906;
  --carbone: #15110A;
  --carbone-2: #1D1810;
  --oro: #E9BB4F;
  --oro-chiaro: #F6D98A;
  --oro-scuro: #8F6B1D;
  --gesso: #F4EFE3;
  --gesso-dim: rgba(244, 239, 227, .62);
  --campo: #3FA96B;
  --verde-it: #009246;
  --rosso-it: #CE2B37;
  --tricolore: linear-gradient(90deg, var(--verde-it) 0 33.3%, var(--gesso) 33.3% 66.6%, var(--rosso-it) 66.6% 100%);
  --bordo: rgba(233, 187, 79, .18);
  --font-display: "Archivo", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-num: "Space Grotesk", monospace;
  --raggio: 14px;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--nero);
  color: var(--gesso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--oro); color: var(--nero); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.txt-gold {
  background: linear-gradient(100deg, var(--oro-chiaro) 0%, var(--oro) 45%, var(--oro-scuro) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Bottoni ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .04em;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(115deg, var(--oro-chiaro), var(--oro) 55%, var(--oro-scuro));
  color: var(--nero);
  box-shadow: 0 0 0 1px rgba(246, 217, 138, .4) inset, 0 8px 28px rgba(233, 187, 79, .28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(246, 217, 138, .55) inset, 0 14px 38px rgba(233, 187, 79, .4); }
.btn--ghost { border-color: var(--bordo); color: var(--gesso); padding: 16px 30px; font-size: 15px; }
.btn--ghost:hover { border-color: var(--oro); color: var(--oro); }
.btn--dark { background: var(--nero); color: var(--oro); padding: 16px 34px; font-size: 15px; }
.btn--dark:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--xl { padding: 19px 42px; font-size: 17px; }
.btn--block { width: 100%; }

/* ── Header ──────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 9, 6, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.is-scrolled { background: rgba(10, 9, 6, .88); border-bottom-color: var(--bordo); }
.header__inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.header__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.header__logo { width: 46px; height: 46px; object-fit: cover; border-radius: 12px; }
.header__wordmark {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; font-size: 18px; letter-spacing: .03em;
}
.header__wordmark em { font-style: italic; color: var(--oro); }
.header__nav { display: flex; gap: 26px; font-size: 15px; color: var(--gesso-dim); }
.header__nav a { transition: color .18s ease; }
.header__nav a:hover { color: var(--oro); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 130px 24px 0; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(233, 187, 79, .12), transparent 60%),
    var(--nero);
}
.hero__floodlight {
  position: absolute; top: -140px; width: 560px; height: 700px;
  background: linear-gradient(180deg, rgba(233,187,79,.16), transparent 65%);
  filter: blur(46px); pointer-events: none; opacity: .8;
}
.hero__floodlight--sx { left: -220px; transform: rotate(22deg); }
.hero__floodlight--dx { right: -220px; transform: rotate(-22deg); }

.hero__content { position: relative; z-index: 2; max-width: 900px; text-align: center; padding-bottom: 220px; }

.hero__emblem {
  width: clamp(140px, 20vw, 210px); height: auto;
  margin: 0 auto 20px; border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(233, 187, 79, .25), 0 18px 60px rgba(0, 0, 0, .6), 0 0 70px rgba(233, 187, 79, .18);
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-num); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gesso-dim);
  border: 1px solid var(--bordo); border-radius: 999px; padding: 9px 18px;
  margin-bottom: 30px;
}
.eyebrow__tric {
  display: inline-block; width: 22px; height: 3px; border-radius: 2px;
  background: var(--tricolore);
}
.hero__live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--campo);
  box-shadow: 0 0 0 0 rgba(63, 169, 107, .6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 169, 107, .55); }
  70% { box-shadow: 0 0 0 9px rgba(63, 169, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 169, 107, 0); }
}

.hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; line-height: .95; letter-spacing: -.01em;
  font-size: clamp(36px, 7vw, 88px);
  margin-bottom: 26px;
}
.hero__title-line { display: block; overflow: hidden; padding: 0 .08em; }
.hero__title-line > span { display: inline-block; }
.fx-gold {
  font-style: inherit; display: inline-block; padding-right: .05em;
  background: linear-gradient(100deg, var(--oro-chiaro) 0%, var(--oro) 40%, var(--oro-scuro) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__sub { max-width: 620px; margin: 0 auto 40px; color: var(--gesso-dim); font-size: 18px; }
.hero__sub strong, .hero__sub em { color: var(--gesso); font-style: normal; }

/* Quadro montepremi — firma della pagina */
.scoreboard {
  position: relative; display: inline-block;
  background: linear-gradient(180deg, var(--carbone-2), var(--carbone));
  border: 1px solid var(--bordo); border-radius: 20px;
  padding: 26px 46px 30px; margin-bottom: 40px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(233, 187, 79, .07) inset;
}
.scoreboard::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .012) 3px 4px);
  pointer-events: none;
}
.scoreboard__label {
  font-family: var(--font-num); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gesso-dim); margin-bottom: 8px;
}
.scoreboard__value {
  font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(56px, 9vw, 96px); line-height: 1;
  color: var(--oro);
  text-shadow: 0 0 42px rgba(233, 187, 79, .45);
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
}
.scoreboard__euro { font-size: .5em; color: var(--oro-scuro); }
.scoreboard__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.pill {
  font-family: var(--font-num); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gesso); border: 1px solid var(--bordo); border-radius: 999px; padding: 7px 14px;
  background: rgba(233, 187, 79, .05);
}
.scoreboard__sweep {
  position: absolute; top: 0; bottom: 0; width: 90px; left: -140px;
  background: linear-gradient(100deg, transparent, rgba(246, 217, 138, .14), transparent);
  transform: skewX(-18deg);
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -140px; } 90%, 100% { left: 120%; } }

.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--gesso-dim); letter-spacing: .04em; }

/* Campo prospettico dorato */
.pitch { position: absolute; left: 0; right: 0; bottom: -2px; height: 300px; pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.pitch__svg { width: 100%; height: 100%; }
.pitch__lines line { fill: none; stroke: var(--campo); stroke-width: 1.2; opacity: .38; }
.pitch__lines ellipse { fill: none; stroke: var(--oro); stroke-width: 1.2; opacity: .5; }
.pitch__spot { fill: var(--oro); opacity: .75; }

/* Torri faro da stadio */
.torre { position: absolute; top: 24px; width: 88px; height: 148px; z-index: 1; opacity: .55; }
.torre--sx { left: 3%; transform: rotate(-4deg); }
.torre--dx { right: 3%; transform: rotate(4deg) scaleX(-1); }
.torre__palo { stroke: rgba(244, 239, 227, .35); stroke-width: 3; }
.torre__palo--thin { stroke-width: 1.5; opacity: .6; }
.torre__quadro { fill: rgba(21, 17, 10, .9); stroke: rgba(244, 239, 227, .3); stroke-width: 1.5; }
.torre__luci circle { fill: #FFF6DC; }
.torre__luci { filter: drop-shadow(0 0 6px rgba(255, 246, 220, .9)) drop-shadow(0 0 18px rgba(233, 187, 79, .5)); }

/* Formazione 4-3-3 sulla lavagna tattica */
.formazione { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.giocatore {
  position: absolute; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--oro-chiaro), var(--oro) 55%, var(--oro-scuro));
  box-shadow: 0 0 12px rgba(233, 187, 79, .7), 0 3px 6px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(10, 9, 6, .35);
  transform: translate(-50%, 50%);
}
/* Portiere */
.giocatore:nth-child(1)  { left: 50%; bottom: 7%; }
/* Difesa a 4 */
.giocatore:nth-child(2)  { left: 16%; bottom: 25%; }
.giocatore:nth-child(3)  { left: 38%; bottom: 28%; }
.giocatore:nth-child(4)  { left: 62%; bottom: 28%; }
.giocatore:nth-child(5)  { left: 84%; bottom: 25%; }
/* Centrocampo a 3 (più lontani = più piccoli) */
.giocatore:nth-child(6)  { left: 30%; bottom: 47%; scale: .85; }
.giocatore:nth-child(7)  { left: 50%; bottom: 44%; scale: .85; }
.giocatore:nth-child(8)  { left: 70%; bottom: 47%; scale: .85; }
/* Attacco a 3 */
.giocatore:nth-child(9)  { left: 34%; bottom: 66%; scale: .68; }
.giocatore:nth-child(10) { left: 50%; bottom: 70%; scale: .68; }
.giocatore:nth-child(11) { left: 66%; bottom: 66%; scale: .68; }
.pitch::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--nero) 85%);
}
.palla {
  position: absolute; bottom: 46px; left: 0; z-index: 2;
  font-size: 32px; line-height: 1; opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6));
  will-change: transform;
}

/* ── Ticker (tabellone LED con bordi tricolore) ──────────── */
.ticker {
  position: relative;
  background: linear-gradient(90deg, rgba(233,187,79,.06), rgba(233,187,79,.02), rgba(233,187,79,.06));
  overflow: hidden; padding: 16px 0; z-index: 3;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--tricolore); opacity: .8;
}
.ticker::before { top: 0; }
.ticker::after { bottom: 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker__group {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 125%;
  text-transform: uppercase; font-size: 14px; letter-spacing: .1em; color: var(--gesso);
  white-space: nowrap;
}
.ticker__group i { font-style: normal; color: var(--oro); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sezioni ─────────────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--carbone) 0%, var(--nero) 100%); border-block: 1px solid rgba(233,187,79,.08); }
.section__eyebrow {
  font-family: var(--font-num); font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; line-height: 1.02;
  font-size: clamp(34px, 5vw, 56px); margin-bottom: 22px;
}
.section__lead { max-width: 640px; color: var(--gesso-dim); margin-bottom: 54px; }
.section__lead strong { color: var(--gesso); }
.section__footnote { margin-top: 34px; font-size: 14px; color: var(--gesso-dim); }

.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Card feature */
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--carbone-2), var(--carbone));
  border: 1px solid var(--bordo); border-radius: var(--raggio);
  padding: 30px 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--tricolore);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-6px); border-color: rgba(233, 187, 79, .4);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
}
.card__icon { font-size: 30px; margin-bottom: 16px; }
.card h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 125%;
  text-transform: uppercase; font-size: 17px; letter-spacing: .02em; margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--gesso-dim); }

/* Step (sequenza reale: 1→2→3) su lavagna tattica */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps__linea {
  position: absolute; top: 50%; left: 2%; right: 2%; width: 96%; height: 60px;
  transform: translateY(-50%); z-index: 0; pointer-events: none;
}
.steps__linea path {
  stroke: var(--oro); stroke-width: 2; stroke-dasharray: 10 12;
  opacity: .3; stroke-linecap: round;
}
.step {
  position: relative; z-index: 1;
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(233, 187, 79, .03); border: 1px solid var(--bordo);
  border-radius: var(--raggio); padding: 30px 26px;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.step__num {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-num); font-weight: 700; font-size: 26px; line-height: 1;
  color: var(--nero);
  background: linear-gradient(140deg, var(--oro-chiaro), var(--oro) 60%, var(--oro-scuro));
  box-shadow: 0 8px 24px rgba(233, 187, 79, .3), inset 0 0 0 2px rgba(10, 9, 6, .22);
}
.step h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 125%;
  text-transform: uppercase; font-size: 16px; margin-bottom: 8px;
}
.step p { font-size: 15px; color: var(--gesso-dim); }

/* Scaglioni montepremi */
.tiers { align-items: stretch; }
.tier {
  position: relative;
  background: linear-gradient(180deg, var(--carbone-2), var(--carbone));
  border: 1px solid var(--bordo); border-radius: 18px; padding: 36px 30px;
  transition: transform .22s ease, border-color .22s ease;
}
.tier:hover { transform: translateY(-6px); border-color: rgba(233, 187, 79, .45); }
.tier--top {
  border-color: var(--oro);
  background:
    radial-gradient(420px 220px at 50% -40px, rgba(233, 187, 79, .16), transparent 70%),
    linear-gradient(180deg, var(--carbone-2), var(--carbone));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5), 0 0 44px rgba(233, 187, 79, .12);
}
/* Scudetto tricolore */
.tier--top::after {
  content: ""; position: absolute; top: -15px; right: 22px;
  width: 24px; height: 30px;
  background: linear-gradient(180deg, var(--verde-it) 0 34%, var(--gesso) 34% 67%, var(--rosso-it) 67% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}
.tier__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; font-size: 12px; letter-spacing: .1em;
  background: linear-gradient(115deg, var(--oro-chiaro), var(--oro));
  color: var(--nero); border-radius: 999px; padding: 6px 18px; white-space: nowrap;
}
.tier__coppa {
  font-size: 44px; line-height: 1; margin: 6px 0 12px;
  filter: drop-shadow(0 0 18px rgba(233, 187, 79, .55));
  animation: coppa-shine 3.2s ease-in-out infinite;
}
@keyframes coppa-shine {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(233, 187, 79, .35)); transform: rotate(0deg); }
  50% { filter: drop-shadow(0 0 26px rgba(233, 187, 79, .8)); transform: rotate(-4deg); }
}
.tier__range {
  font-family: var(--font-num); font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gesso-dim); margin-bottom: 12px;
}
.tier__amount {
  font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 4.6vw, 54px); line-height: 1; color: var(--oro); margin-bottom: 24px;
}
.tier__list { list-style: none; display: grid; gap: 12px; font-size: 15px; color: var(--gesso-dim); }
.tier__list li { padding-left: 22px; position: relative; }
.tier__list li::before { content: "◆"; position: absolute; left: 0; color: var(--oro); font-size: 10px; top: 6px; }
.tier__list strong { color: var(--gesso); }

/* Referral */
.referral {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--oro-chiaro), var(--oro) 55%, var(--oro-scuro));
  color: var(--nero); padding: 64px 0;
}
.referral__palla {
  position: absolute; bottom: 8px; left: -60px; font-size: 26px; line-height: 1;
  opacity: .35; pointer-events: none;
  animation: palla-rotola 11s linear infinite;
}
@keyframes palla-rotola {
  from { transform: translateX(0) rotate(0deg); }
  to   { transform: translateX(calc(100vw + 120px)) rotate(1080deg); }
}
.referral__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.referral__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin-bottom: 10px;
}
.referral__title span { -webkit-text-stroke: 1.5px var(--nero); color: transparent; }
.referral p { max-width: 560px; font-weight: 500; }

/* Accordion regolamento */
.accordion { display: grid; gap: 14px; }
.accordion__item {
  background: var(--carbone); border: 1px solid var(--bordo); border-radius: var(--raggio);
  overflow: hidden; transition: border-color .2s ease;
}
.accordion__item.is-open { border-color: rgba(233, 187, 79, .45); }
.accordion__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; color: var(--gesso); cursor: pointer; text-align: left;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 125%;
  text-transform: uppercase; font-size: 16px; letter-spacing: .02em;
  padding: 22px 26px;
}
.accordion__chev {
  font-family: var(--font-num); font-size: 22px; color: var(--oro);
  transition: transform .25s ease; flex-shrink: 0;
}
.accordion__item.is-open .accordion__chev { transform: rotate(45deg); }
.accordion__body { overflow: hidden; }
.accordion__content { padding: 0 26px 26px; color: var(--gesso-dim); font-size: 15.5px; }
.accordion__content strong { color: var(--gesso); }
.accordion__content h4 {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-stretch: 125%;
  text-transform: uppercase; color: var(--oro); font-size: 15px; margin: 22px 0 10px;
}
.accordion__content ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.accordion__content p + p { margin-top: 12px; }

/* ── Form ────────────────────────────────────────────────── */
.signup { padding-bottom: 130px; }
.signup__card {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(244, 239, 227, .022) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(-45deg, rgba(244, 239, 227, .022) 0 1px, transparent 1px 15px),
    linear-gradient(180deg, var(--carbone-2), var(--carbone));
  border: 1px solid rgba(233, 187, 79, .35); border-radius: 22px;
  padding: 54px 50px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6);
}
.signup__glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 320px;
  background: radial-gradient(closest-side, rgba(233, 187, 79, .22), transparent);
  pointer-events: none;
}
.signup__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px;
}
.signup__lead { color: var(--gesso-dim); margin-bottom: 36px; max-width: 520px; }
.signup__closed { color: var(--gesso-dim); font-size: 16px; }

.field { margin-bottom: 20px; position: relative; z-index: 1; }
.field label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .03em; margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; background: var(--nero); color: var(--gesso);
  border: 1px solid var(--bordo); border-radius: 12px;
  padding: 15px 18px; font-family: var(--font-body); font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus {
  outline: none; border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(233, 187, 79, .18);
}
.field input::placeholder { color: rgba(244, 239, 227, .3); }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--gesso-dim); cursor: pointer; }
.field--check input { margin-top: 3px; accent-color: var(--oro); width: 17px; height: 17px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.signup__feedback { margin-top: 18px; font-size: 15px; font-weight: 600; min-height: 22px; }
.signup__feedback.ok { color: var(--campo); }
.signup__feedback.err { color: #E0705F; }
.signup__telegram {
  display: inline-block; margin-top: 26px; font-size: 15px; color: var(--oro);
  border-bottom: 1px solid rgba(233, 187, 79, .4); padding-bottom: 2px;
}
#submitBtn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ── Cronometro di partita (scroll = minuto di gioco) ────── */
.minuto {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: rgba(21, 17, 10, .85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--bordo); border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-num); font-size: 14px; color: var(--gesso);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: border-color .3s ease, box-shadow .3s ease;
  pointer-events: none;
}
.minuto__val { color: var(--oro); font-weight: 700; min-width: 30px; text-align: right; }
.minuto.fine { border-color: var(--oro); box-shadow: 0 0 26px rgba(233, 187, 79, .4); }

/* Bottoni magnetici: GSAP gestisce il transform, la CSS non deve interferire */
.btn.magnetico { transition-property: box-shadow, background, filter; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--bordo); padding: 60px 0; background: var(--carbone); }
.footer__inner { text-align: center; }
.footer__logo { width: 84px; margin: 0 auto 24px; border-radius: 14px; }
.footer__legal { max-width: 720px; margin: 0 auto 20px; font-size: 13px; color: var(--gesso-dim); }
.footer__legal strong { color: var(--gesso); }
.footer__credits { font-family: var(--font-num); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gesso-dim); line-height: 2; }
.footer__credits strong { color: var(--gesso); }
.footer__credits a { color: var(--oro); border-bottom: 1px solid rgba(233, 187, 79, .4); }

/* GOL! — esultanza al completamento dell'iscrizione */
.gol {
  position: absolute; inset: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; font-size: clamp(64px, 12vw, 130px);
  color: var(--oro); pointer-events: none;
  text-shadow: 0 0 60px rgba(233, 187, 79, .65), 0 10px 40px rgba(0, 0, 0, .6);
}

/* ── Reveal (stato iniziale gestito da JS, fallback visibile) ── */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps__linea { display: none; }
  .grid--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tier--top { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__nav { display: none; }
  .header__inner { gap: 12px; padding: 12px 18px; }
  .header__wordmark { font-size: 16px; }
  .header__logo { width: 40px; height: 40px; }
  .section { padding: 72px 0; }
  .container { padding: 0 18px; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero__emblem { width: clamp(120px, 34vw, 160px); margin-bottom: 16px; }
  .hero__eyebrow { font-size: 11px; padding: 8px 14px; flex-wrap: wrap; justify-content: center; }
  .hero__sub { font-size: 16px; margin-bottom: 30px; }
  .scoreboard { padding: 20px 20px 24px; width: 100%; margin-bottom: 32px; }
  .scoreboard__value { font-size: clamp(46px, 15vw, 72px); }
  .scoreboard__badges { gap: 7px; }
  .pill { font-size: 11px; padding: 6px 11px; }
  .hero__cta { gap: 12px; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__content { padding-bottom: 150px; }
  .referral__inner { flex-direction: column; text-align: center; align-items: center; }
  .signup__card { padding: 36px 22px; }
  .btn--xl { padding: 16px 26px; font-size: 15px; }
  .ticker__group { font-size: 12px; gap: 18px; padding-right: 18px; }
  .torre { display: none; }
  .giocatore { width: 11px; height: 11px; }
  .section__lead { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 10.5vw; line-height: .98; }
  .scoreboard__value { font-size: 60px; }
  .section__title { font-size: 30px; }
  .minuto { left: 12px; bottom: 12px; padding: 7px 12px; font-size: 12px; }
  .minuto__val { min-width: 26px; }
  .signup__title { font-size: 30px; }
}

/* ── Accessibilità: riduzione movimento ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .scoreboard__sweep, .hero__live-dot, .tier__coppa, .referral__palla { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { transition-duration: .01ms !important; }
}
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 4px; }

/* ── WhatsApp fluttuante (fisso su tutto il sito) ─────────── */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45), 0 4px 12px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 34px rgba(37, 211, 102, .6); }
.whatsapp-float svg { position: relative; z-index: 2; }
.whatsapp-float__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .55; z-index: 1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 720px) {
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__pulse { animation: none !important; }
}

/* Nav legale del footer (voci gestite da Admin → Pagine) */
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 14px; }
.footer__nav a { font-size: 13px; color: var(--gesso-dim); border-bottom: 1px solid transparent; }
.footer__nav a:hover { color: var(--oro); border-bottom-color: var(--oro); }
