/* ==========================================================================
   Nike Milan Elite Summit 2026 — Recap
   Direzione v2 "Broadcast": dark + accento volt, cornici replay TV,
   segnaletica da campo come divisori, timeline stile cronaca live.
   Blocchi autonomi (.nes-*) pensati per il porting su Elementor.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: 'Program';
  src: url('../fonts/PROGRAM-OT-BLACK.otf') format('opentype');
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: 'Program Narrow';
  src: url('../fonts/PROGRAM-NARROW-OT.otf') format('opentype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Owners';
  src: url('../fonts/OWNERS-LIGHT.otf') format('opentype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Owners';
  src: url('../fonts/OWNERS-MEDIUM.otf') format('opentype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Owners';
  src: url('../fonts/OWNERS-BOLD.otf') format('opentype');
  font-weight: 700; font-display: swap;
}

/* ---------- Token ---------- */
:root {
  --nes-bg: #0b0b0c;
  --nes-panel: #141416;
  --nes-ink: #f5f5f2;
  --nes-muted: rgba(245, 245, 242, 0.6);
  --nes-line: rgba(245, 245, 242, 0.16);
  --nes-volt: #d4fb00;            /* accento unico */
  --nes-volt-ink: #0b0b0c;
  --nes-display: 'Program', Impact, sans-serif;
  --nes-narrow: 'Program Narrow', Impact, sans-serif;
  --nes-body: 'Owners', 'Helvetica Neue', sans-serif;
  --nes-gutter: clamp(20px, 4vw, 64px);
  --nes-max: 1440px;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--nes-bg); }
body {
  background: transparent; /* lascia vedere .nes-bgfx dietro */
  color: var(--nes-ink);
  font-family: var(--nes-body);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Fondale ambientale: due aloni che vagano lentissimi */
.nes-bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nes-bgfx::before, .nes-bgfx::after {
  content: ''; position: absolute;
  width: 70vmax; aspect-ratio: 1; border-radius: 50%;
  will-change: transform;
}
.nes-bgfx::before { /* luce volt, appena percettibile */
  left: -20vmax; top: -15vmax;
  background: radial-gradient(circle, rgba(212, 251, 0, 0.055), transparent 60%);
  animation: nes-drift-a 52s ease-in-out infinite alternate;
}
.nes-bgfx::after { /* luce fredda */
  right: -25vmax; bottom: -20vmax;
  background: radial-gradient(circle, rgba(150, 175, 255, 0.05), transparent 60%);
  animation: nes-drift-b 64s ease-in-out infinite alternate;
}
@keyframes nes-drift-a {
  to { transform: translate(55vw, 45vh); }
}
@keyframes nes-drift-b {
  to { transform: translate(-50vw, -55vh); }
}

/* Grana pellicola sopra tutto */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  background: url('../img/Black-Texture.jpg');
  background-size: 480px;
  opacity: .06;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
  .nes-bgfx::before, .nes-bgfx::after { animation: none; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--nes-volt); outline-offset: 3px; }
::selection { background: var(--nes-volt); color: var(--nes-volt-ink); }

/* Reveal on scroll */
.nes-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.nes-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nes-reveal { opacity: 1; transform: none; transition: none; }
  .nes-card__inner, .nes-frame, .nes-panelbox, .nes-phone, .nes-index__list a::after {
    transition: none !important;
  }
}

/* Placeholder visivo per foto/video mancanti */
.nes-ph {
  background:
    repeating-linear-gradient(45deg, rgba(245,245,242,.04) 0 12px, transparent 12px 24px),
    var(--nes-panel);
  display: grid; place-items: center;
  position: relative;
}
.nes-ph::after {
  content: attr(data-ph);
  font-weight: 700; letter-spacing: .14em; font-size: 11px;
  color: var(--nes-muted); text-transform: uppercase;
}

/* ---------- Cornice "replay TV" per le foto ---------- */
.nes-frame {
  position: relative;
  transition: transform .4s cubic-bezier(.35, 0, .2, 1);
}
.nes-frame::before, .nes-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px; z-index: 2;
  border: 2px solid var(--nes-volt);
  transition: width .3s ease, height .3s ease;
}
.nes-frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.nes-frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.nes-frame figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--nes-bg); color: var(--nes-muted);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px;
}
@media (hover: hover) {
  .nes-frame:hover { transform: scale(1.015); }
  .nes-frame:hover::before, .nes-frame:hover::after { width: 44px; height: 44px; }
}

/* ---------- Divisore "segnaletica campo" ---------- */
.nes-chapter__head {
  max-width: var(--nes-max); margin: 0 auto clamp(40px, 6vh, 80px);
  display: flex; align-items: baseline; gap: 24px;
  border-top: 1px solid var(--nes-line);
  padding-top: 22px;
  position: relative;
}
.nes-chapter__head::before { /* tacca di centrocampo */
  content: ''; position: absolute; top: -1px; left: 50%;
  width: 60px; height: 30px; transform: translateX(-50%);
  border: 1px solid var(--nes-line); border-top: 0;
  border-radius: 0 0 60px 60px;
}
.nes-chapter__head h2 {
  font-family: var(--nes-narrow); text-transform: uppercase;
  font-size: clamp(36px, 5vw, 64px); line-height: .95;
}
.nes-chapter__num {
  font-family: var(--nes-display);
  font-size: clamp(36px, 5vw, 64px); line-height: .95;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nes-volt);
  order: -1;
}

/* ---------- Hero ---------- */
.nes-hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
}
.nes-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 45%, #23262b 0%, #131417 55%, #0b0b0c 100%);
}
.nes-hero__bg::after { /* cerchio di centrocampo */
  content: ''; position: absolute; left: 50%; top: 50%;
  width: min(72vmin, 680px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1px solid rgba(245,245,242,.14); border-radius: 50%;
}
.nes-hero__logo { position: relative; width: clamp(220px, 24vw, 380px); }
.nes-hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-weight: 700; text-transform: uppercase; letter-spacing: .3em;
  font-size: 11px; color: var(--nes-volt);
  animation: nes-bob 2.2s ease-in-out infinite;
}
@keyframes nes-bob { 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .nes-hero__scroll { animation: none; } }

/* ---------- Claim ---------- */
.nes-claim {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nes-gutter);
}
.nes-claim__bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0b0b0c 0%, #191c17 50%, #0b0b0c 100%);
}
.nes-claim__title {
  position: relative;
  font-family: var(--nes-display);
  font-size: clamp(64px, 12vw, 190px);
  line-height: .88; text-transform: uppercase;
  max-width: var(--nes-max); margin-inline: auto; width: 100%;
}
.nes-claim__title em { /* parola evidenziata volt */
  font-style: normal; color: var(--nes-volt);
}
.nes-claim__sub {
  position: relative;
  max-width: var(--nes-max); margin: 32px auto 0; width: 100%;
}
.nes-claim__sub::before {
  content: ''; display: inline-block; width: 48px; height: 2px;
  background: var(--nes-volt); vertical-align: middle; margin-right: 16px;
}
.nes-claim__sub {
  font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
}

/* ---------- Indice capitoli: tabellino ---------- */
.nes-index { padding: clamp(80px, 12vh, 160px) var(--nes-gutter); }
.nes-index__list {
  list-style: none;
  max-width: 900px; margin-inline: auto;
  counter-reset: cap;
}
.nes-index__list li { border-bottom: 1px solid var(--nes-line); }
.nes-index__list li:first-child { border-top: 1px solid var(--nes-line); }
.nes-index__list a {
  display: flex; align-items: baseline; gap: 24px;
  padding: 22px 8px;
  font-family: var(--nes-narrow); text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1;
  color: var(--nes-muted);
  transition: color .3s, padding-left .3s;
  position: relative;
}
.nes-index__list a:hover, .nes-index__list a.is-active { color: var(--nes-ink); padding-left: 20px; }
.nes-index__list a::after { /* freccia di gioco */
  content: '→'; margin-left: auto;
  font-family: var(--nes-body); font-weight: 300; font-size: .6em;
  color: var(--nes-volt); opacity: 0;
  transform: translateX(-12px);
  transition: opacity .3s, transform .3s;
}
.nes-index__list a:hover::after, .nes-index__list a.is-active::after { opacity: 1; transform: none; }
.nes-index__list span {
  font-family: var(--nes-display); font-size: .55em;
  color: transparent; -webkit-text-stroke: 1px var(--nes-volt);
}

/* ---------- Capitoli ---------- */
.nes-chapter { padding: clamp(64px, 10vh, 140px) var(--nes-gutter); }
.nes-kicker {
  max-width: var(--nes-max); margin: clamp(48px, 8vh, 96px) auto 32px;
  font-family: var(--nes-narrow); text-transform: uppercase;
  font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .04em;
  display: flex; align-items: center; gap: 18px;
}
.nes-kicker::after { content: ''; flex: 1; height: 1px; background: var(--nes-line); }

/* ---------- Pannello ink (ex glass) ---------- */
.nes-panelbox {
  position: relative;
  background: var(--nes-panel);
  border: 1px solid var(--nes-line);
  border-left: 3px solid var(--nes-volt);
  transition: border-color .3s ease, transform .3s ease;
}
@media (hover: hover) {
  .nes-panelbox:hover { border-color: rgba(245,245,242,.35); }
}

/* ---------- 01 · Setup ---------- */
.nes-setup {
  max-width: var(--nes-max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(260px, 460px) 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.nes-setup__photo { margin: 0; }
.nes-setup__photo .nes-polaroid__img { aspect-ratio: 4 / 5; }
.nes-setup__text { padding: clamp(28px, 4vw, 56px); }
.nes-setup__swoosh { width: 96px; margin-bottom: 28px; }
.nes-setup__text p {
  max-width: 58ch;
  text-transform: uppercase; font-size: 14px; letter-spacing: .05em;
}
.nes-setup__text p + p { margin-top: 1.4em; }

/* ---------- 02 · Card atleti: pettorina numerata ---------- */
.nes-cards {
  max-width: var(--nes-max); margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.nes-cards--elite { grid-template-columns: repeat(auto-fit, minmax(210px, 270px)); justify-content: start; }

.nes-card { perspective: 900px; cursor: pointer; outline-offset: 4px; }
.nes-card__inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.35, 0, .2, 1);
}
.nes-card:hover .nes-card__inner,
.nes-card:focus-visible .nes-card__inner { transform: rotateY(180deg); }
.nes-card__face {
  background: var(--nes-panel);
  border: 1px solid var(--nes-line);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: relative;
}
.nes-card__img { aspect-ratio: 3 / 3.6; filter: grayscale(.2) contrast(1.05); }
.nes-card__num { /* numero maglia, oversize e sbordante */
  position: absolute; top: -14px; right: 8px; z-index: 2;
  font-family: var(--nes-display); font-size: 56px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--nes-volt);
}
.nes-card__meta {
  padding: 14px 14px 18px;
  border-top: 2px solid var(--nes-volt);
}
.nes-card__meta b {
  display: block; font-family: var(--nes-narrow); font-weight: 700;
  text-transform: uppercase; font-size: 17px; line-height: 1.05;
}
.nes-card__meta small { color: var(--nes-muted); font-size: 11.5px; letter-spacing: .04em; }
.nes-card__back {
  position: absolute; inset: 0;
  transform: rotateY(180deg);
  background: var(--nes-panel);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px 18px;
  border-top: 2px solid var(--nes-volt);
}
.nes-card__back .nes-card__num { position: static; font-size: 44px; }
.nes-card__back dl { list-style: none; }
.nes-card__back dl div {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 9px 0; border-top: 1px solid var(--nes-line);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
}
.nes-card__back dt { color: var(--nes-muted); }
.nes-card__back dd { font-weight: 700; }
.nes-card__back img { width: 44px; opacity: .9; }

/* ---------- 03 · Calendario: tabellino gara ---------- */
.nes-calendar { max-width: var(--nes-max); margin-inline: auto; padding: clamp(24px, 3vw, 48px); }
.nes-calendar__month {
  font-family: var(--nes-display); text-transform: uppercase;
  font-size: clamp(34px, 4vw, 56px); margin-bottom: 28px;
}
.nes-calendar__month em { font-style: normal; color: var(--nes-volt); font-size: .5em; vertical-align: super; }
.nes-calendar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.nes-calendar__day { border-left: 1px solid var(--nes-line); padding: 0 clamp(14px, 2vw, 28px); }
.nes-calendar__day:first-child { border-left: 0; padding-left: 0; }
.nes-calendar__day h4 {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  color: var(--nes-muted); margin-bottom: 18px;
}
.nes-calendar__day h4 b { font-family: var(--nes-display); font-size: 30px; color: var(--nes-ink); }
.nes-calendar__day ul { list-style: none; }
.nes-calendar__day li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid rgba(245,245,242,.08);
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
}
.nes-calendar__day time { color: var(--nes-volt); white-space: nowrap; font-weight: 700; }

/* ---------- Video recap ---------- */
.nes-recap { max-width: var(--nes-max); margin: clamp(40px, 6vh, 80px) auto 0; padding: clamp(18px, 2vw, 32px); }
.nes-recap__tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--nes-volt); color: var(--nes-volt-ink);
  padding: 8px 16px; margin-bottom: 18px;
  font-family: var(--nes-narrow); text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
}
.nes-recap__tag img { width: 26px; filter: invert(1); }
.nes-recap__video { aspect-ratio: 16 / 9; }

/* ---------- 04 · Timeline: cronaca live ---------- */
.nes-tl { max-width: 1100px; margin-inline: auto; position: relative; }
.nes-tl__line { display: none; } /* la v2 non usa la linea centale */

/* Titolo giorno: nastro marquee a tutta larghezza */
.nes-tl__day {
  position: relative;
  margin: clamp(56px, 10vh, 110px) calc(50% - 50vw) clamp(28px, 4vh, 48px);
  padding: clamp(10px, 1.6vh, 18px) 0;
  border-top: 1px solid var(--nes-line);
  border-bottom: 1px solid var(--nes-line);
  overflow: hidden;
  display: flex;
  font-family: var(--nes-display); text-transform: uppercase;
  font-size: clamp(40px, 6vw, 84px); line-height: .9;
  white-space: nowrap;
}
.nes-tl__day .nes-tl__strip {
  display: inline-flex; align-items: center; gap: 36px;
  padding-right: 36px;
  animation: nes-marquee 22s linear infinite;
  will-change: transform;
}
.nes-tl__day small {
  font-family: var(--nes-body); font-weight: 700;
  font-size: 12px; letter-spacing: .2em;
  color: var(--nes-volt-ink); background: var(--nes-volt);
  padding: 6px 12px; white-space: nowrap;
}
.nes-tl__day .nes-tl__strip > i { /* separatore ripetizioni */
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--nes-volt);
}
@keyframes nes-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .nes-tl__day .nes-tl__strip { animation: none; }
}

.nes-tl__item {
  display: grid; grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5vh, 56px) 0 clamp(28px, 5vh, 56px) clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--nes-line);
  position: relative;
  align-items: start;
}
.nes-tl__item::before { /* minuto di gioco */
  content: attr(data-min) "’";
  position: absolute; left: 0; top: clamp(28px, 5vh, 56px);
  transform: translateX(-50%);
  background: var(--nes-bg);
  font-family: var(--nes-display); font-size: 22px;
  color: var(--nes-volt);
  padding: 4px 2px;
}
/* Alternanza: item pari con card a destra e foto a sinistra */
.nes-tl__item--flip { grid-template-columns: 1fr minmax(280px, 460px); }
.nes-tl__item--flip .nes-tl__card { order: 2; }
.nes-tl__item--flip .nes-tl__photos { order: 1; justify-content: flex-end; }
/* Variante panoramica: card sopra, foto larga sotto */
.nes-tl__item--wide { grid-template-columns: 1fr; }
.nes-tl__item--wide .nes-tl__card { max-width: 560px; }
.nes-tl__item--wide .nes-tl__photos .nes-polaroid { width: 100%; }
.nes-tl__item--wide .nes-polaroid__img { aspect-ratio: 21 / 9; }
.nes-tl__card { padding: clamp(22px, 2.5vw, 36px); }
.nes-tl__card h4 {
  font-family: var(--nes-narrow); text-transform: uppercase;
  font-size: 22px; margin-bottom: 10px;
}
.nes-tl__card p { color: var(--nes-muted); font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.nes-tl__photos { display: flex; gap: clamp(14px, 2vw, 24px); flex-wrap: wrap; }
.nes-tl__photos .nes-polaroid { width: clamp(150px, 15vw, 225px); }
.nes-tl__photos .nes-polaroid:nth-child(2n) { margin-top: 28px; }

/* Reveal direzionali dentro la timeline */
.nes-tl .nes-reveal { transform: translateY(0) translateX(var(--slide, 0)); }
.nes-tl .nes-reveal.is-in { transform: none; }
.nes-tl__item .nes-tl__card { --slide: -36px; }
.nes-tl__item .nes-tl__photos .nes-polaroid { --slide: 36px; }
.nes-tl__item--flip .nes-tl__card { --slide: 36px; }
.nes-tl__item--flip .nes-tl__photos .nes-polaroid { --slide: -36px; }
.nes-tl__photos .nes-polaroid:nth-child(2) { transition-delay: .15s; }

/* ---------- Social ---------- */
.nes-social {
  max-width: 1100px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.nes-phone {
  border: 1px solid var(--nes-line); border-radius: 38px;
  background: #000; padding: 10px;
  transition: transform .45s cubic-bezier(.35, 0, .2, 1), border-color .3s ease;
}
.nes-phone:nth-child(2) { transform: translateY(-24px) scale(1.04); }
.nes-phone__screen { aspect-ratio: 9 / 19; border-radius: 28px; }
@media (hover: hover) {
  .nes-phone:hover { transform: translateY(-10px); border-color: var(--nes-volt); }
  .nes-phone:nth-child(2):hover { transform: translateY(-34px) scale(1.04); }
}

/* ---------- 05 · Outro ---------- */
.nes-outro {
  position: relative; min-height: 90svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nes-gutter);
  text-align: center;
}
.nes-outro__bg {
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 55%, #1c2114 0%, #101010 60%, #0b0b0c 100%);
}
.nes-outro__bg::after { /* cerchio di centrocampo, chiude come il hero */
  content: ''; position: absolute; left: 50%; top: 50%;
  width: min(80vmin, 760px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1px solid rgba(245,245,242,.1); border-radius: 50%;
}
.nes-outro__title {
  position: relative;
  font-family: var(--nes-display); text-transform: uppercase;
  font-size: clamp(52px, 9vw, 150px); line-height: .9;
}
.nes-outro__title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--nes-volt); }
.nes-outro__thanks {
  position: relative;
  max-width: 480px; margin: 40px auto 0;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
}
.nes-outro__thanks p + p { margin-top: 1.2em; }

.nes-footer {
  padding: 28px var(--nes-gutter); text-align: center;
  border-top: 1px solid var(--nes-line);
  color: var(--nes-muted); font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
}

/* ---------- Compat: vecchie classi foto → cornice replay ---------- */
.nes-polaroid { /* markup invariato, resa nuova */
  position: relative;
  transition: transform .4s cubic-bezier(.35, 0, .2, 1);
}
.nes-polaroid::before, .nes-polaroid::after {
  content: ''; position: absolute; width: 22px; height: 22px; z-index: 2;
  border: 2px solid var(--nes-volt);
  transition: width .3s ease, height .3s ease;
}
.nes-polaroid::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.nes-polaroid::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.nes-polaroid__img { aspect-ratio: 4 / 5; filter: grayscale(.15); }
.nes-polaroid figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--nes-bg); color: var(--nes-muted);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px;
}
@media (hover: hover) {
  .nes-polaroid:hover { transform: scale(1.02); z-index: 2; }
  .nes-polaroid:hover::before, .nes-polaroid:hover::after { width: 44px; height: 44px; }
}

/* Le card glass ora sono pannelli ink */
.nes-glass {
  position: relative;
  background: var(--nes-panel);
  border: 1px solid var(--nes-line);
  border-left: 3px solid var(--nes-volt);
  transition: border-color .3s ease, transform .3s ease;
}
@media (hover: hover) {
  .nes-glass:hover { border-color: rgba(245,245,242,.35); }
  .nes-tl__card:hover { transform: translateY(-4px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nes-setup { grid-template-columns: 1fr; }
  .nes-setup .nes-polaroid { max-width: 360px; }
  .nes-calendar__grid { grid-template-columns: 1fr; }
  .nes-calendar__day { border-left: 0; padding: 0 0 28px; }
  .nes-tl__item { grid-template-columns: 1fr; padding-left: 32px; }
  .nes-tl__item::before { transform: none; left: -1px; }
  .nes-tl__day { flex-wrap: wrap; }
  .nes-social { grid-template-columns: 1fr; max-width: 320px; }
  .nes-phone:nth-child(2) { transform: none; }
}
