/* ==========================================================================
   RosterStreet — recensioni indipendenti di sport casual (Play4Free)
   Tema visivo: OpenSea (dark trading terminal, accento Ice Signal #83c3ff)
   ========================================================================== */

:root {
  /* Colori — scala superfici OpenSea */
  --color-void: #080809;
  --color-obsidian: #141415;
  --color-charcoal: #1b1d1f;
  --color-graphite: #26272d;
  --color-slate: #3c3d40;
  --color-iron: #34353c;

  --color-ice: #83c3ff;
  --color-ice-soft: rgba(131, 195, 255, 0.12);
  --color-paper: #ffffff;
  --color-fog: #acadae;
  --color-fog-dim: #7f8286;

  /* Semantica */
  --bg-body: var(--color-void);
  --bg-surface: var(--color-charcoal);
  --bg-surface-2: var(--color-graphite);
  --bg-nav: var(--color-obsidian);
  --text: var(--color-paper);
  --text-muted: var(--color-fog);
  --accent: var(--color-ice);
  --ring: rgba(255, 255, 255, 0.08);
  --ring-strong: rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "JetBrains Mono", Consolas, monospace;

  /* Spaziatura */
  --sp-4: 4px;   --sp-8: 8px;   --sp-12: 12px; --sp-16: 16px;
  --sp-20: 20px; --sp-24: 24px; --sp-32: 32px; --sp-48: 48px;
  --sp-64: 64px; --sp-96: 96px;

  /* Raggi (mai oltre 8px per il tema) */
  --r-sm: 4px;
  --r-md: 8px;

  /* Contenitore */
  --page-max: 1200px;
  --pad-x: clamp(16px, 5vw, 40px);

  /* Ombre */
  --card-ring: rgba(255, 255, 255, 0.08) 0 0 0 1px inset;
  --lift: rgba(0, 0, 0, 0.35) 0 8px 30px -12px;
}

/* Reset di base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Contenitore -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--alt { background: var(--color-obsidian); }

.section__head { max-width: 720px; margin-bottom: var(--sp-32); }
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-12);
}
.section__title { font-size: clamp(26px, 4vw, 36px); }
.section__lead { margin-top: var(--sp-16); color: var(--text-muted); font-size: 17px; }

.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* Bottoni ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 16px; height: 16px; flex: none; }

/* Primario: singolo pulsante pieno del sistema (accento Ice) */
.btn--primary {
  background: var(--accent);
  color: #06131f;
  border-color: var(--accent);
  font-weight: 500;
}
.btn--primary:hover { background: #a4d4ff; border-color: #a4d4ff; }

/* Ghost / outline: lo stile d'azione OpenSea */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
}
.btn--ghost:hover { border-color: var(--color-paper); }

.btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--color-iron);
}
.btn--quiet:hover { border-color: var(--color-fog); }

.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--full { width: 100%; }

/* Pill / tag --------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  padding: 5px 10px;
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Header ------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 21, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ring);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  height: 60px;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo__accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: var(--sp-8); }
.nav__list { display: flex; align-items: center; gap: var(--sp-4); }
.nav__link {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: background-color .16s ease, color .16s ease;
}
.nav__link:hover { background: var(--color-slate); text-decoration: none; }
.header__cta { margin-left: var(--sp-8); }

.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  color: var(--text);
  cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--ring);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/img/bg/hero.webp");
  background-size: cover;
  background-position: center 30%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8,9,11,0.94) 0%, rgba(8,9,11,0.82) 42%, rgba(8,9,11,0.55) 100%),
    linear-gradient(0deg, rgba(8,9,11,0.95) 0%, rgba(8,9,11,0.25) 55%);
}
.hero__inner {
  padding-block: clamp(72px, 12vw, 128px);
  max-width: 760px;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-bottom: var(--sp-24); }
.hero__title {
  font-size: clamp(34px, 6.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.hero__sub {
  margin-top: var(--sp-20);
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--color-fog);
  max-width: 560px;
}
.hero__actions { margin-top: var(--sp-32); display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.hero__meta {
  margin-top: var(--sp-32);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-24);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-fog);
}
.hero__meta strong { color: var(--text); font-weight: 500; }

/* Griglia numeri ----------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-12);
}
.stat {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-24);
}
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
  color: var(--text);
}
.stat__label { margin-top: 6px; font-size: 13px; color: var(--text-muted); }

/* Catalogo giochi ---------------------------------------------------------- */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-16);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-16);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  box-shadow: rgba(131,195,255,0.35) 0 0 0 1px inset, var(--lift);
  transform: translateY(-2px);
}
.card__top { display: flex; gap: var(--sp-12); align-items: flex-start; }
.card__icon {
  width: 60px; height: 60px; flex: none;
  border-radius: var(--r-md);
  box-shadow: var(--card-ring);
  object-fit: cover;
}
.card__id { min-width: 0; flex: 1; }
.card__title { font-size: 17px; font-weight: 500; }
.card__dev { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.card__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  padding: 3px 8px;
}
.card__shot {
  margin-top: var(--sp-12);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: var(--card-ring);
}
.card__desc { margin-top: var(--sp-12); font-size: 14px; color: var(--text-muted); flex: 1; }
.card__foot {
  margin-top: var(--sp-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
}

/* Rating a stelle (frazionario, inline via SVG data-uri) -------------------- */
.rating { display: inline-flex; align-items: center; gap: var(--sp-8); }
.rating__track {
  --fill: 100%;
  position: relative;
  width: 92px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16'%3E%3Cpath d='M9 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L9 11.4 5.2 13.4l.7-4.3-3.1-3 4.3-.6z' fill='%2334353c'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 16px;
}
.rating__track::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--fill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' viewBox='0 0 18 16'%3E%3Cpath d='M9 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L9 11.4 5.2 13.4l.7-4.3-3.1-3 4.3-.6z' fill='%2383c3ff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 16px;
}
.rating__value { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.rating__count { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* Recensione in evidenza (top game) --------------------------------------- */
.review { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-48); align-items: start; }
.review__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
.review__shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--card-ring);
}
.review__shot--wide { grid-column: 1 / -1; aspect-ratio: 20 / 9; }
.review__head { display: flex; align-items: center; gap: var(--sp-16); margin-bottom: var(--sp-20); }
.review__icon { width: 72px; height: 72px; border-radius: var(--r-md); box-shadow: var(--card-ring); flex: none; }
.review__title { font-size: clamp(24px, 3.4vw, 32px); }
.review__dev { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); }
.review__body { margin-top: var(--sp-20); }
.review__body p { color: var(--text-muted); font-size: 15.5px; margin-bottom: var(--sp-16); }
.review__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  margin: var(--sp-24) 0;
}
.fact {
  background: var(--color-graphite);
  border-radius: var(--r-sm);
  padding: var(--sp-12) var(--sp-16);
  box-shadow: var(--card-ring);
}
.fact__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.fact__v { font-size: 15px; font-weight: 500; margin-top: 3px; }
.review__list { margin: var(--sp-8) 0 var(--sp-24); display: grid; gap: 10px; }
.review__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-muted); }
.review__list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2383c3ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Come guadagniamo --------------------------------------------------------- */
.earn { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-48); align-items: center; }
.earn__grid { display: grid; gap: var(--sp-12); }
.earn__item {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-20);
}
.earn__item h3 { font-size: 16px; margin-bottom: 6px; }
.earn__item p { font-size: 14px; color: var(--text-muted); }
.earn__note { margin-top: var(--sp-16); font-size: 13px; color: var(--text-muted); }
.earn__aside {
  background: var(--color-graphite);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-32);
}
.earn__aside h3 { font-size: 20px; margin-bottom: var(--sp-12); }
.earn__aside ul { display: grid; gap: 12px; margin-top: var(--sp-16); }
.earn__aside li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-muted); }
.earn__aside li::before {
  content: "";
  position: absolute; left: 0; top: 5px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2383c3ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Perché fidarti ----------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.trust__card {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-24);
}
.trust__ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  color: var(--accent);
  margin-bottom: var(--sp-16);
}
.trust__ico svg { width: 22px; height: 22px; }
.trust__card h3 { font-size: 17px; margin-bottom: 6px; }
.trust__card p { font-size: 14px; color: var(--text-muted); }

/* Come iniziare ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); counter-reset: step; }
.step {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-24);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-16);
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* Recensioni utenti -------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.review-card {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.review-card__quote { font-size: 15px; color: var(--text); flex: 1; }
.review-card__who { display: flex; align-items: center; gap: var(--sp-12); }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500;
  color: var(--accent);
  background: var(--color-ice-soft);
  box-shadow: var(--card-ring);
  flex: none;
}
.review-card__name { font-size: 14px; font-weight: 500; }
.review-card__role { font-size: 12px; color: var(--text-muted); }

/* Form iscrizione ---------------------------------------------------------- */
.subscribe { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-48); align-items: center; }
.subscribe__panel {
  background: var(--color-graphite);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: var(--sp-16); }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text);
  background: var(--color-obsidian);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .16s ease;
}
.field input::placeholder { color: var(--color-fog-dim); }
.field input:focus { outline: none; border-color: var(--accent); }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.field--check label { margin: 0; font-size: 13px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.form__msg {
  display: none;
  margin-top: var(--sp-16);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--color-ice-soft);
  border: 1px solid rgba(131,195,255,0.4);
  color: var(--text);
  font-size: 14px;
}
.form__msg.is-visible { display: block; }
.form__hint { font-size: 12px; color: var(--text-muted); margin-top: var(--sp-12); }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--ring);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: var(--sp-20) 0;
  cursor: pointer;
}
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform .2s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a-inner { padding-bottom: var(--sp-20); color: var(--text-muted); font-size: 15px; }

/* Footer ------------------------------------------------------------------- */
.footer {
  background: var(--color-obsidian);
  border-top: 1px solid var(--ring);
  padding-block: var(--sp-48) var(--sp-32);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-32);
  padding-bottom: var(--sp-32);
  border-bottom: 1px solid var(--ring);
}
.footer__brand .logo { font-size: 18px; }
.footer__tag { margin-top: var(--sp-12); font-size: 14px; color: var(--text-muted); max-width: 340px; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--text); font-size: 14px; }
.footer__col a:hover { color: var(--accent); }
.footer__mail { font-family: var(--font-mono); font-size: 14px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  padding-top: var(--sp-24);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Cookie banner ------------------------------------------------------------ */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(720px, calc(100% - 32px));
  background: var(--color-graphite);
  box-shadow: rgba(255,255,255,0.1) 0 0 0 1px inset, rgba(0,0,0,0.5) 0 12px 40px -12px;
  border-radius: var(--r-md);
  padding: var(--sp-16) var(--sp-20);
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-12);
}
.cookie.is-visible { display: flex; }
.cookie__text { flex: 1; min-width: 220px; font-size: 13px; color: var(--text-muted); }
.cookie__actions { display: flex; gap: var(--sp-8); }

/* Torna su ----------------------------------------------------------------- */
.totop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 55;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-graphite);
  color: var(--text);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, border-color .2s ease;
}
.totop.is-visible { opacity: 1; visibility: visible; }
.totop:hover { border-color: var(--accent); }
.totop svg { width: 20px; height: 20px; }

/* Pagine legali ------------------------------------------------------------ */
.legal { max-width: 820px; }
.legal__meta { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin: var(--sp-12) 0 var(--sp-32); }
.legal h2 { font-size: 22px; margin: var(--sp-32) 0 var(--sp-12); }
.legal h3 { font-size: 17px; margin: var(--sp-24) 0 var(--sp-8); }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; margin-bottom: var(--sp-12); }
.legal ul { list-style: none; display: grid; gap: 8px; margin-bottom: var(--sp-16); }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { text-decoration: underline; }

/* Utility ------------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--ring); border: 0; margin: 0; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .review, .earn, .subscribe { grid-template-columns: 1fr; gap: var(--sp-32); }
  .trust, .steps, .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__list, .header__cta { display: none; }
  .burger { display: flex; }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-4);
    position: absolute;
    left: 0; right: 0; top: 60px;
    background: var(--color-obsidian);
    border-bottom: 1px solid var(--ring);
    padding: var(--sp-12) var(--pad-x);
  }
  .nav.is-open .nav__link { padding: 12px 8px; }
}
@media (max-width: 640px) {
  .trust, .steps, .reviews, .review__facts { grid-template-columns: 1fr; }
  .review__media { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-24); }
  .hero__meta { gap: var(--sp-16); }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Aggiunte "sport-tabellone": classifica, chip-filtri, spotlight, tabellino
   ========================================================================== */

/* Classifica del mese (standings) ----------------------------------------- */
.standings {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  overflow: hidden;
  border-top: 2px solid var(--accent);
}
.standings__row {
  display: grid;
  grid-template-columns: 52px 44px 1fr auto;
  align-items: center;
  gap: var(--sp-16);
  padding: 14px 18px;
  border-bottom: 1px solid var(--ring);
}
.standings__row:last-child { border-bottom: 0; }
.standings__row--head {
  background: var(--color-graphite);
  padding-block: 10px;
}
.standings__row--head span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.standings__row:not(.standings__row--head):hover { background: rgba(255,255,255,0.02); }
.standings__pos {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
}
.standings__pos--top {
  color: #06131f;
  background: var(--accent);
  border-radius: var(--r-sm);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  font-weight: 500;
}
.standings__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  box-shadow: var(--card-ring);
  object-fit: cover;
}
.standings__name { font-size: 15px; font-weight: 500; }
.standings__verdict { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.standings__right { text-align: right; display: flex; align-items: center; gap: var(--sp-12); justify-content: flex-end; }
.standings__score { font-family: var(--font-mono); font-size: 16px; color: var(--text); }
.standings__move {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  padding: 3px 7px;
  min-width: 40px;
  text-align: center;
  color: var(--text-muted);
}
.standings__move--up { color: var(--accent); border-color: rgba(131,195,255,0.4); }
.standings__move--new { color: #06131f; background: var(--accent); border-color: var(--accent); }
.standings__foot { margin-top: var(--sp-16); font-size: 13px; color: var(--text-muted); }

/* Barra scoreboard + chip di filtro ---------------------------------------- */
.scoreboard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  flex-wrap: wrap;
  margin-bottom: var(--sp-24);
  padding: 12px 16px;
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
}
.scoreboard-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  padding: 7px 13px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--color-fog); }
.chip.is-active { border-color: var(--accent); color: var(--accent); background: var(--color-ice-soft); }

/* Catalogo: riga spotlight + griglia --------------------------------------- */
.catalog__spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-16);
}
.catalog__spotlight[hidden] { display: none; }
.card[hidden] { display: none; }

.card--spotlight { padding: 0; overflow: hidden; }
.card--spotlight .card__media { position: relative; line-height: 0; }
.card--spotlight .card__shot {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}
.card__flag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06131f;
  background: var(--accent);
  border-radius: var(--r-sm);
  padding: 4px 9px;
}
.card__score {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  background: rgba(8,9,11,0.82);
  box-shadow: var(--card-ring);
  border-radius: var(--r-sm);
  padding: 5px 10px;
}
.card--spotlight .card__body {
  padding: var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.card--spotlight .card__head2 { display: flex; align-items: center; gap: var(--sp-12); }
.card--spotlight .card__title { font-size: 20px; }
.card--spotlight .card__desc { margin: 0; }

/* Tabellino (box score) ---------------------------------------------------- */
.tabellino { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-16); align-items: stretch; }
.tabellino__sheet {
  background: var(--bg-surface);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  overflow: hidden;
  border-top: 2px solid var(--accent);
}
.tabellino__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-16);
  padding: 15px 20px;
  border-bottom: 1px solid var(--ring);
}
.tabellino__line:last-child { border-bottom: 0; }
.tabellino__k { font-size: 14.5px; color: var(--text-muted); }
.tabellino__v { font-family: var(--font-mono); font-size: 16px; color: var(--text); font-weight: 500; text-align: right; }
.tabellino__hero {
  background: var(--color-graphite);
  box-shadow: var(--card-ring);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tabellino__big {
  font-family: var(--font-mono);
  font-size: clamp(44px, 8vw, 68px);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}
.tabellino__big span { color: var(--accent); }
.tabellino__cap { color: var(--text-muted); margin-top: var(--sp-16); font-size: 14.5px; }

/* Firma redazionale (byline) ----------------------------------------------- */
.byline { display: flex; align-items: center; gap: 10px; margin-top: var(--sp-12); font-size: 13px; color: var(--text-muted); }
.byline__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-ice-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  box-shadow: var(--card-ring);
  flex: none;
}
.byline__name { color: var(--text); font-weight: 500; }

/* Come iniziare: flusso a tappe (non griglia di card) ---------------------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
.flow__step { border-top: 2px solid var(--color-iron); padding-top: var(--sp-16); }
.flow__step:first-child { border-top-color: var(--accent); }
.flow__n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.flow__t { font-size: 17px; font-weight: 500; margin: 8px 0 6px; }
.flow__p { font-size: 14px; color: var(--text-muted); }

/* Recensioni utenti: prima card in evidenza (asimmetria) ------------------- */
.reviews { grid-template-columns: 1.4fr 1fr 1fr; }
.review-card--lead { background: var(--color-graphite); }
.review-card--lead .review-card__quote { font-size: 17px; }
.review-card__date { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* Responsive per le nuove sezioni ------------------------------------------ */
@media (max-width: 1024px) {
  .tabellino { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review-card--lead { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .catalog__spotlight { grid-template-columns: 1fr; }
  .standings__row { grid-template-columns: 40px 40px 1fr auto; gap: var(--sp-12); padding: 12px 14px; }
  .standings__verdict { display: none; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
