/* =================================================================
   playscoreguide.com — foglio di stile unico
   Concept: tabellone arcade al neon. Sfondo notte, accenti acidi
   (lime / ciano / magenta / viola). Naming: BEM.
   ================================================================= */

/* ---------- Token ---------- */
:root {
  --ink:        #0b0a12;
  --ink-2:      #100e1c;
  --surface:    #17142a;
  --surface-2:  #211b3a;
  --surface-3:  #2b2350;

  --line:       rgba(255, 255, 255, 0.10);
  --line-2:     rgba(255, 255, 255, 0.18);

  --text:       #f5f3ff;
  --muted:      #afabd0;
  --muted-2:    #817da6;

  --lime:       #c6ff36;
  --cyan:       #2bf0e8;
  --magenta:    #ff3dae;
  --violet:     #9b7bff;

  --accent:     var(--lime);
  --accent-ink: #0b0a12;

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SF Mono", monospace;

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --gap: clamp(1rem, 2.5vw, 1.6rem);
  --shell: 1200px;
  --pad-x: clamp(1.1rem, 5vw, 2.4rem);

  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --glow-lime:    0 0 0 1px rgba(198, 255, 54, 0.45), 0 12px 40px -12px rgba(198, 255, 54, 0.45);
  --glow-cyan:    0 0 0 1px rgba(43, 240, 232, 0.45), 0 12px 40px -12px rgba(43, 240, 232, 0.45);
  --glow-magenta: 0 0 0 1px rgba(255, 61, 174, 0.45), 0 12px 40px -12px rgba(255, 61, 174, 0.45);

  --speed: 0.28s;
}

/* ---------- Reset di base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 600px at 88% -8%, rgba(255, 61, 174, 0.16), transparent 60%),
    radial-gradient(800px 600px at 6% 4%, rgba(43, 240, 232, 0.14), transparent 55%),
    radial-gradient(900px 700px at 50% 108%, rgba(198, 255, 54, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.01em; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

body.is-locked { overflow: hidden; }

/* ---------- Layout condiviso ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(3.4rem, 8vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.4rem); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--lime);
  color: var(--accent-ink);
  border-radius: var(--r-sm);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow (etichetta da tabellone) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}
.eyebrow--cyan    { color: var(--cyan); }
.eyebrow--magenta { color: var(--magenta); }
.eyebrow--violet  { color: var(--violet); }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.section__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
.section__lead { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
  background: transparent;
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed), color var(--speed);
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary {
  background: var(--lime);
  color: var(--accent-ink);
  box-shadow: var(--glow-lime);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(198, 255, 54, 0.6), 0 18px 46px -14px rgba(198, 255, 54, 0.7); }

.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--block { width: 100%; }

/* ===============================================================
   HEADER
   =============================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--speed), border-color var(--speed);
}
.header.has-scroll {
  background: rgba(11, 10, 18, 0.92);
  border-bottom-color: var(--line-2);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__name b { color: var(--lime); font-weight: 800; }

.header__nav { display: flex; align-items: center; gap: 0.4rem; }
.header__list { display: flex; align-items: center; gap: 0.3rem; }
.header__link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color var(--speed), background var(--speed);
}
.header__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header__cta { margin-left: 0.5rem; padding: 0.62rem 1.15rem; }

.header__burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0;
  position: relative;
}
.header__burger span,
.header__burger span::before,
.header__burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--speed), opacity var(--speed), top var(--speed);
}
.header__burger span { top: 50%; margin-top: -1px; }
.header__burger span::before { top: -6px; }
.header__burger span::after  { top: 6px; }
.header__burger[aria-expanded="true"] span { background: transparent; }
.header__burger[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.header__burger[aria-expanded="true"] span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ===============================================================
   HERO
   =============================================================== */
.hero { padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(3rem, 7vw, 5rem); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__content { max-width: 36rem; }
.hero__title {
  font-size: clamp(2.5rem, 1.3rem + 5.4vw, 4.7rem);
  font-weight: 800;
}
.hero__accent {
  color: var(--lime);
  text-shadow: 0 0 26px rgba(198, 255, 54, 0.45);
}
.hero__text {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text);
}
.hero__stat-label { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.02em; }

/* Visual: telefoni + chip punteggio */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.hero__stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
}
.hero__phone {
  position: absolute;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #2a2350, #14121f);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__phone img { border-radius: 22px; width: 100%; height: 100%; object-fit: cover; }
.hero__phone--a {
  width: 52%;
  left: 4%;
  top: 6%;
  transform: rotate(-7deg);
  z-index: 2;
  box-shadow: var(--glow-magenta), var(--shadow);
}
.hero__phone--b {
  width: 50%;
  right: 3%;
  bottom: 4%;
  transform: rotate(6deg);
  z-index: 1;
  box-shadow: var(--glow-cyan), var(--shadow);
}
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  background: rgba(17, 14, 28, 0.92);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  z-index: 5;
  backdrop-filter: blur(6px);
}
.hero__chip img { width: 38px; height: 38px; border-radius: 10px; }
.hero__chip-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.hero__chip-label { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.hero__chip--lime { right: -6%; top: 16%; }
.hero__chip--lime .hero__chip-score { color: var(--lime); }
.hero__chip--cyan { left: -7%; bottom: 22%; }
.hero__chip--cyan .hero__chip-score { color: var(--cyan); }

/* ===============================================================
   GIOCHI — griglia di card
   =============================================================== */
/* Mosaico 2-up a filo: i gap da 1px mostrano lo sfondo come righe sottili */
.games__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  width: 100%;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.card {
  --accent: var(--lime);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  position: relative;
  isolation: isolate;
  transition: background var(--speed);
}
.card:hover { background: var(--surface-2); }
.card:hover .card__shot { transform: scale(1.06); opacity: 1; }
.card--lime    { --accent: var(--lime); }
.card--cyan    { --accent: var(--cyan); }
.card--magenta { --accent: var(--magenta); }
.card--violet  { --accent: var(--violet); }

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0e0b18;
}
.card__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.card__shot { width: 100%; height: 100%; object-fit: cover; opacity: 0.94; transition: transform 0.45s ease, opacity var(--speed); }
.card__icon {
  position: absolute;
  left: 1rem;
  bottom: -28px;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 3px solid var(--surface-2);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.card__genre {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(11, 10, 18, 0.7);
  border: 1px solid var(--line-2);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

.card__body { padding: 2.4rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.card__title { font-size: 1.32rem; font-weight: 700; }
.card__dev { margin-top: 0.2rem; font-size: 0.88rem; color: var(--muted-2); }
.card__dev b { color: var(--muted); font-weight: 700; }

.card__score {
  flex: none;
  text-align: center;
  font-family: var(--font-mono);
  line-height: 1;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.card__score-num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.card__score-max { font-size: 0.65rem; color: var(--muted-2); }

.card__rating { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.9rem; }
.card__stars { position: relative; display: inline-block; line-height: 0; flex: none; }
.card__stars-row { display: flex; gap: 2px; }
.card__stars-row svg { width: 18px; height: 18px; }
.card__stars-row--bg { color: rgba(255, 255, 255, 0.16); }
.card__stars-row--fg { position: absolute; inset: 0; color: var(--accent); overflow: hidden; }
.card__rating-text { font-size: 0.85rem; color: var(--muted); }
.card__rating-text b { color: var(--text); }

.card__text { margin-top: 0.9rem; color: var(--muted); font-size: 0.98rem; flex: 1; }

.card__footer { margin-top: 1.4rem; }
.card__btn {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--r-pill);
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform var(--speed), filter var(--speed);
}
.card__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.card__btn svg { width: 1.1em; height: 1.1em; }
.card__disc { margin-top: 0.7rem; font-size: 0.74rem; color: var(--muted-2); text-align: center; }

/* ===============================================================
   COME FUNZIONA / TRASPARENZA
   =============================================================== */
.how {
  background:
    linear-gradient(180deg, rgba(155, 123, 255, 0.07), transparent 40%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 1rem;
}
.how__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem;
}
.how__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--violet);
}
.how__item-title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; margin: 0.6rem 0 0.6rem; }
.how__item-text { color: var(--muted); font-size: 0.96rem; }
.how__note {
  margin-top: var(--gap);
  padding: 1.1rem 1.3rem;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  background: rgba(198, 255, 54, 0.04);
  color: var(--muted);
  font-size: 0.95rem;
}
.how__note b { color: var(--lime); }
.how__note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ===============================================================
   TRUST / PERCHÉ FIDARTI
   =============================================================== */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.trust__item {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.trust__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(43, 240, 232, 0.12);
  color: var(--cyan);
  margin-bottom: 1rem;
}
.trust__icon svg { width: 26px; height: 26px; }
.trust__item:nth-child(2) .trust__icon { background: rgba(198, 255, 54, 0.12); color: var(--lime); }
.trust__item:nth-child(3) .trust__icon { background: rgba(255, 61, 174, 0.12); color: var(--magenta); }
.trust__item-title { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; margin-bottom: 0.5rem; }
.trust__item-text { color: var(--muted); font-size: 0.96rem; }

/* ===============================================================
   FAQ
   =============================================================== */
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--speed);
}
.faq__item--open { border-color: color-mix(in srgb, var(--cyan) 50%, transparent); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; color: var(--cyan); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed), opacity var(--speed);
}
.faq__icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq__icon::after  { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.faq__item--open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--speed);
}
.faq__item--open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* ===============================================================
   NOTIFY (modulo OneSignal ristilizzato)
   =============================================================== */
.notify {
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(43, 240, 232, 0.14), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.notify__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
}
.notify__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem); font-weight: 800; }
.notify__text { margin-top: 0.9rem; color: var(--muted); }
.notify__form { display: flex; flex-direction: column; gap: 0.85rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field__label { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: rgba(11, 10, 18, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color var(--speed), box-shadow var(--speed);
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(43, 240, 232, 0.2); }

.field--consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--consent label { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.field--consent input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--lime); flex: none; }
.field--consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

.notify__success {
  display: none;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(198, 255, 54, 0.12);
  border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent);
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 700;
}
.notify__success.show { display: block; }

/* ===============================================================
   FOOTER
   =============================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.6rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.footer__about { max-width: 24rem; }
.footer__tag { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.footer__list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link { color: var(--muted); transition: color var(--speed); }
.footer__link:hover { color: var(--lime); }
.footer__contact { color: var(--cyan); font-weight: 700; word-break: break-all; }
.footer__contact:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ===============================================================
   COOKIE BANNER
   =============================================================== */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 160%);
  width: min(680px, calc(100% - 2rem));
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: rgba(20, 17, 32, 0.96);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease;
}
.cookie.is-visible { transform: translate(-50%, 0); }
.cookie__text { flex: 1 1 260px; font-size: 0.9rem; color: var(--muted); }
.cookie__text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 0.6rem; }
.cookie__btn {
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  transition: background var(--speed), color var(--speed), border-color var(--speed);
}
.cookie__btn--accept { background: var(--lime); color: var(--accent-ink); border-color: var(--lime); }
.cookie__btn--accept:hover { filter: brightness(1.08); }
.cookie__btn--decline:hover { border-color: var(--magenta); color: var(--magenta); }

/* ===============================================================
   TO-TOP
   =============================================================== */
.totop {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(20, 17, 32, 0.92);
  color: var(--lime);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--speed), transform var(--speed), visibility var(--speed);
  backdrop-filter: blur(6px);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { border-color: var(--lime); box-shadow: var(--glow-lime); }
.totop svg { width: 22px; height: 22px; }

/* ===============================================================
   PAGINE LEGALI (doc)
   =============================================================== */
.doc { padding-block: clamp(2.4rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.doc__inner { max-width: 56rem; margin-inline: auto; }
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}
.doc__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc__back svg { width: 1.1em; height: 1.1em; }
.doc__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; }
.doc__updated {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.doc__content { margin-top: 2.4rem; }
.doc__content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 2.4rem 0 0.8rem;
  color: var(--text);
}
.doc__content h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; margin: 1.6rem 0 0.5rem; }
.doc__content p { color: var(--muted); margin-bottom: 1rem; }
.doc__content ul { margin: 0 0 1.2rem; padding-left: 1.2rem; list-style: disc; color: var(--muted); }
.doc__content li { margin-bottom: 0.5rem; }
.doc__content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.doc__content strong { color: var(--text); }
.doc__lead { color: var(--muted); font-size: 1.05rem; }

/* ===============================================================
   SPOTLIGHT — gioco in evidenza
   =============================================================== */
.spotlight {
  background: linear-gradient(180deg, rgba(155, 123, 255, 0.07), transparent 45%), var(--ink-2);
  border-block: 1px solid var(--line);
}
.spotlight__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.spotlight__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: rgba(11, 10, 18, 0.9);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.spotlight__badge img { width: 40px; height: 40px; border-radius: 10px; }
.spotlight__badge b { font-family: var(--font-mono); color: var(--violet); font-size: 1.05rem; }
.spotlight__badge span { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.spotlight__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
.spotlight__text { margin-top: 1rem; color: var(--muted); }
.spotlight__verdict {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--violet);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}
.spotlight__actions { margin-top: 1.6rem; }

/* ===============================================================
   METHOD — come scegliamo i giochi
   =============================================================== */
.method__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 1rem; }
.method__step { padding: 1.5rem 1.35rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.method__num { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--lime); }
.method__step:nth-child(2) .method__num { color: var(--cyan); }
.method__step:nth-child(3) .method__num { color: var(--magenta); }
.method__step:nth-child(4) .method__num { color: var(--violet); }
.method__step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0.6rem 0 0.5rem; }
.method__text { color: var(--muted); font-size: 0.94rem; }

/* ===============================================================
   GENERI — categorie coperte
   =============================================================== */
.genres__grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.genres__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-weight: 700;
  transition: border-color var(--speed), color var(--speed), transform var(--speed);
}
.genres__tag:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.genres__tag span { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted-2); }
.genres__note { margin-top: 1.4rem; color: var(--muted-2); font-size: 0.9rem; }

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 380px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header__nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1.2rem var(--pad-x) 1.8rem;
    background: rgba(13, 11, 22, 0.98);
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-130%);
    transition: transform var(--speed);
    visibility: hidden;
  }
  .header__nav.is-open { transform: translateY(0); visibility: visible; }
  .header__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .header__link { padding: 0.85rem 0.9rem; font-size: 1.05rem; }
  .header__cta { margin: 0.6rem 0 0; }
  .header__burger { display: inline-block; }

  .games__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; }
  .notify__card { grid-template-columns: 1fr; }
  .spotlight__inner { grid-template-columns: 1fr; }
  .spotlight__media { order: -1; }
  .method__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .hero__chip { display: none; }
  .method__grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions { justify-content: stretch; }
  .cookie__btn { flex: 1; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__phone--a, .hero__phone--b { transform: none; }
}
