/* DEMO grafica Volley Taranto 2025 — rosso e blu */
:root {
  --navy: #1B3A78;
  --navy-2: #10254D;
  --deep: #0A1730;
  --red: #D42027;
  --red-2: #A5171C;
  --sky: #3E7BE6;
  --white: #fff;
  --paper: #F4F6FB;
  --ink: #0F1730;
  --grey: #5D6478;
  --line: rgba(15,23,48,.1);
  --line-w: rgba(255,255,255,.14);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.76,0,.24,1);
  --pad: clamp(18px, 5vw, 72px);
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
/* niente spostamenti laterali della pagina sul telefono: tutto ciò che sborda viene tagliato */
main, .footer { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; width: 100%; position: relative; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--red); color: #fff; }

/* ---------- Tipografia ---------- */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.kicker i { width: 30px; height: 3px; background: currentColor; border-radius: 3px; }
.section--navy .kicker, .kicker--light { color: #FF5A5F; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: .92; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.h2 em { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
.section--navy .h2 em { color: transparent; -webkit-text-stroke: 2px #fff; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.loader__half { position: absolute; inset: 0; transition: transform 1.1s var(--ease-io); }
.loader__half--a { background: var(--navy); clip-path: polygon(0 0, 100% 0, 0 100%); }
.loader__half--b { background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.loader__logo { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; transform: translate(-50%,-50%); transition: transform .9s var(--ease), opacity .5s; }
.loader__logo img { width: 100%; height: 100%; animation: pop 1.1s var(--ease) both, spinIn 1.4s var(--ease) both; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes spinIn { from { rotate: -200deg; } }
body.is-loaded .loader__half--a { transform: translate(-100%, -100%); }
body.is-loaded .loader__half--b { transform: translate(100%, 100%); }
body.is-loaded .loader__logo { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
body.is-gone .loader { display: none; }


/* ---------- Progress (rete) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 130; pointer-events: none; }
.progress__fill { height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), #FF6B6F 50%, var(--sky)); box-shadow: 0 0 12px rgba(212,32,39,.6); }

/* ---------- Cursore ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
  .cursor.is-on { opacity: 1; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
  .cursor__dot { width: 7px; height: 7px; background: var(--red); margin: -3.5px 0 0 -3.5px; }
  .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 2px solid rgba(62,123,230,.7); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s; }
  .cursor.is-hover .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(212,32,39,.14); border-color: var(--red); }
}

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); color: #fff; transition: padding .5s var(--ease), background .5s, transform .5s var(--ease), box-shadow .5s; }
.nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(10,23,48,.96); box-shadow: 0 1px 0 var(--line-w), 0 10px 30px rgba(0,0,0,.25); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 48px; height: 48px; transition: transform .6s var(--ease); }
.nav__brand:hover img { transform: rotate(-14deg) scale(1.08); }
.nav__brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; line-height: 1; }
.nav__brand small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { background: var(--red); padding: 11px 20px !important; border-radius: 99px; transition: background .3s, transform .3s; }
.nav__cta:hover { background: #fff; color: var(--red); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; font-family: var(--display); font-weight: 400; font-size: 44px; letter-spacing: .02em; background: linear-gradient(160deg, var(--navy), var(--deep)); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-io); }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav.is-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
  .nav__cta { font-size: 30px; }
}

/* ---------- Bottoni ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 30px; border-radius: 99px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(212,32,39,.45); }
.btn--red::before { background: #fff; } .btn--red:hover { color: var(--red); }
.btn--glass { color: #fff; border: 2px solid rgba(255,255,255,.5); background: rgba(10,23,48,.35); }
.btn--glass::before { background: #fff; } .btn--glass:hover { color: var(--navy); }
.btn--white { background: #fff; color: var(--red); }
.btn--white::before { background: var(--navy); } .btn--white:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px var(--pad) clamp(70px, 10vh, 110px); background: var(--deep); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center 30%; transform: scale(1.08); will-change: transform; }
@keyframes breathe { to { scale: 1.08; } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(10,23,48,.96) 0%, rgba(10,23,48,.82) 38%, rgba(27,58,120,.35) 70%, rgba(212,32,39,.25) 100%),
  linear-gradient(0deg, rgba(10,23,48,.9) 0%, transparent 45%); }
.hero__stripe { position: absolute; width: 140%; height: 90px; left: -20%; transform: rotate(-12deg); opacity: .9; }
.hero__stripe--red { bottom: 18%; background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 60%, transparent); height: 8px; animation: slide 6s var(--ease) infinite alternate; }
.hero__stripe--blue { bottom: 15%; background: linear-gradient(90deg, transparent, var(--sky) 40%, transparent); height: 3px; animation: slide 7s var(--ease) infinite alternate-reverse; }
@keyframes slide { from { translate: -8% 0; } to { translate: 8% 0; } }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__ghost { will-change: transform; position: absolute; top: 14%; left: 0; white-space: nowrap; font-family: var(--display); font-size: clamp(120px, 22vw, 340px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); animation: ghost 40s linear infinite; pointer-events: none; }
@keyframes ghost { to { transform: translateX(-33.3%); } }
.hero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 200px); line-height: .86; margin: 0 0 28px; letter-spacing: .005em; }
.hero__title .split { display: block; }
.split--red { color: var(--red); text-shadow: 0 10px 40px rgba(212,32,39,.45); }
.split--outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.8); max-width: 520px; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* lettere divise */
.char { display: inline-block; overflow: hidden; vertical-align: top; }
.char > span { display: inline-block; transform: translateY(105%) skewY(8deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
body.is-loaded .char > span { transform: none; }

/* prossima partita */
.next { position: relative; background: linear-gradient(160deg, rgba(27,58,120,.88), rgba(10,23,48,.92)); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.next::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--sky)); }
.next__head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.next__tag { margin-left: auto; font-style: normal; font-size: 11px; padding: 4px 10px; border-radius: 99px; background: var(--red); letter-spacing: .1em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(212,32,39,.7); animation: live 1.6s infinite; }
@keyframes live { to { box-shadow: 0 0 0 12px rgba(212,32,39,0); } }
.next__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 22px 0; text-align: center; }
.next__team img { width: 74px; height: 74px; margin: 0 auto 10px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; animation: float 4s ease-in-out infinite; }
.next__team:last-child img { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.next__team b { font-size: 14px; line-height: 1.2; display: block; }
.next__vs { font-family: var(--display); font-size: 34px; color: var(--red); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: rgba(10,23,48,.55); border-radius: 14px; padding: 12px 4px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.next__where { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.75); text-align: center; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 20px 0; position: relative; z-index: 2; }
.marquee--red { background: var(--red); color: #fff; transform: rotate(-2deg) scale(1.03); margin-top: -26px; box-shadow: 0 10px 30px rgba(212,32,39,.35); }
.marquee__track { will-change: transform; display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(24px, 3vw, 40px); letter-spacing: .03em; white-space: nowrap; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 11vw, 150px) var(--pad); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--navy { background: radial-gradient(ellipse at 80% 0%, rgba(62,123,230,.25), transparent 50%), linear-gradient(180deg, var(--navy-2), var(--deep)); color: #fff; }
.section--light { background: var(--paper); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 99px; border: 2px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .04em; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--red); }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.section--navy .chip { border-color: var(--line-w); }

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(50px, 7vw, 90px); }
.stat { position: relative; padding: 26px 22px; border-radius: 22px; background: var(--paper); overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(212,32,39,.08); }
.stat:nth-child(even)::after { border-color: rgba(27,58,120,.1); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--navy); }
.stat:nth-child(odd) b { color: var(--red); }
.stat span { font-size: 14px; font-weight: 600; color: var(--grey); }

/* ---------- Partite ---------- */
.matches__rail { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); max-width: none; }
/* le schede partita entrano solo in dissolvenza: niente spostamenti in verticale dentro il nastro */
.matches__rail .match.reveal { transform: none; }
.matches__rail::-webkit-scrollbar { display: none; }
.matches__track { display: flex; gap: 16px; width: max-content; padding: 6px 0 10px; }
.match {
  position: relative; flex: none; width: 290px; scroll-snap-align: start; border-radius: 22px; padding: 22px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-w); overflow: hidden;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.match:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.match.is-home { background: linear-gradient(160deg, rgba(212,32,39,.35), rgba(212,32,39,.08)); border-color: rgba(212,32,39,.5); }
.match__date { display: flex; align-items: baseline; gap: 8px; }
.match__date b { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; }
.match__date span { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.match__badge { position: absolute; top: 20px; right: 20px; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.14); }
.match.is-home .match__badge { background: var(--red); }
.match__vs { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; }
.match__vs img { width: 54px; height: 54px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; flex: none; transition: transform .6s var(--ease); }
.match:hover .match__vs img { transform: rotate(-12deg) scale(1.08); }
.match__vs b { font-size: 17px; line-height: 1.2; }
.match__meta { font-size: 13px; color: rgba(255,255,255,.7); display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line-w); padding-top: 14px; }
.match.is-hidden { display: none; }
.rail-nav { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line-w); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.round:hover { background: var(--red); border-color: var(--red); }
.rail-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line-w); overflow: hidden; }
.rail-bar i { display: block; height: 100%; width: 20%; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--sky)); transition: transform .2s; }

/* ---------- Roster ---------- */
.team-photo { position: relative; border-radius: 28px; overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 7; background: var(--navy); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.team-photo:hover img { transform: scale(1.04); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,23,48,.5), transparent 40%); pointer-events: none; }
/* la tendina sta sull'immagine: se fosse sul contenitore l'IntersectionObserver non lo vedrebbe mai */
.team-photo.reveal { transform: none; opacity: 1; }
.team-photo img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io), transform 1.4s var(--ease); }
.team-photo.is-in img { clip-path: inset(0 0 0 0); }
.roster__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(170deg, var(--sky), var(--navy) 60%, var(--deep)); color: #fff; cursor: pointer; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; }
.player:hover { box-shadow: 0 30px 60px rgba(16,37,77,.4); }
.player { transition: box-shadow .5s; }
.player__num { position: absolute; top: 6px; right: 14px; font-family: var(--display); font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.player:hover .player__num { -webkit-text-stroke-color: var(--red); }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.player:hover img { transform: scale(1.07); }
.player__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(10,23,48,.95)); }
.player__info b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.player__info span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FF6B6F; }
.player__cap { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-size: 16px; box-shadow: 0 6px 16px rgba(212,32,39,.5); }
.player.is-hidden { display: none; }
.player.reveal { transform: translateY(60px) rotate(2deg); }
.player.reveal.is-in { transform: none; }

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.post { position: relative; display: block; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.post::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--deep)); transform: translateY(101%); transition: transform .6s var(--ease); }
.post > * { position: relative; }
.post:hover { box-shadow: 0 30px 60px rgba(16,37,77,.2); color: #fff; }
.post:hover::before { transform: none; }
.post__cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 12px; border-radius: 99px; }
.post__date { font-size: 13px; color: var(--grey); margin-left: 10px; transition: color .4s; }
.post:hover .post__date { color: rgba(255,255,255,.7); }
.post h3 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; margin: 22px 0 12px; text-transform: uppercase; }
.post p { margin: 0 0 22px; color: var(--grey); transition: color .4s; }
.post:hover p { color: rgba(255,255,255,.8); }
.post__more { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.post:hover .post__more { color: #FF6B6F; }

/* ---------- Gallery ---------- */
.gallery__grid { columns: 4 240px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; border-radius: 18px; overflow: hidden; cursor: zoom-in; position: relative; }
.shot img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .6s; filter: grayscale(.2); }
.shot:hover img { transform: scale(1.06); filter: none; }
.shot::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--red); border-radius: inherit; opacity: 0; transition: opacity .4s; }
.shot:hover::after { opacity: 1; }

/* ---------- Staff ---------- */
.staff__rail { overflow: hidden; max-width: none; margin: 0 calc(-1 * var(--pad)); padding: 16px 0 24px; }
.staff__track { will-change: transform; display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; padding: 0 var(--pad); }
.staff__rail:hover .staff__track { animation-play-state: paused; }
.person { flex: none; width: 210px; text-align: center; }
.person__img { width: 170px; height: 170px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--sky), var(--navy)); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--red), 0 18px 30px rgba(16,37,77,.2); transition: box-shadow .4s; }
.person:hover .person__img { box-shadow: 0 0 0 3px var(--navy), 0 18px 30px rgba(16,37,77,.28); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__img span { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 54px; color: #fff; }
.person b { display: block; font-size: 16px; }
.person small { display: block; font-size: 12px; line-height: 1.4; color: var(--grey); font-weight: 600; letter-spacing: .02em; }

/* ---------- Partner ---------- */
.title-sponsor { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 60px); flex-wrap: wrap; padding: clamp(30px, 5vw, 56px); border-radius: 28px; background: #fff; border: 1px solid var(--line); margin-bottom: 36px; position: relative; overflow: hidden; }
.title-sponsor::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(62,123,230,.12) 50%, transparent 60%); transform: translateX(-100%); animation: shine 4s var(--ease) infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.title-sponsor img { max-height: 110px; width: auto; }
.title-sponsor span { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); color: var(--red); }
.logos { max-width: none !important; margin: 0 calc(-1 * var(--pad)) !important; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.logos__track { will-change: transform; display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.logos__row--rev .logos__track { animation-direction: reverse; }
.logos__row:hover .logos__track { animation-play-state: paused; }
.logo-card { flex: none; width: 168px; height: 168px; border-radius: 22px; background: #fff; border: 1px solid var(--line); padding: 6px; box-shadow: 0 6px 18px rgba(16,37,77,.06); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.logo-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.logo-card:hover img { transform: scale(1.06); }
.logo-card:hover { border-color: var(--red); box-shadow: 0 16px 30px rgba(16,37,77,.12); }


/* ---------- Biglietti ---------- */
.tickets { position: relative; padding: clamp(100px, 14vw, 190px) var(--pad); background: var(--red); color: #fff; overflow: hidden; text-align: center; }
.tickets__bg { position: absolute; inset: -20% -10%; background:
  repeating-linear-gradient(-12deg, transparent 0 60px, rgba(255,255,255,.06) 60px 62px),
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 40%),
  radial-gradient(circle at 80% 80%, rgba(27,58,120,.6), transparent 50%); }
.tickets__inner { position: relative; max-width: 820px; margin: 0 auto; }
.tickets .kicker { justify-content: center; color: #fff; }
.tickets__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 11vw, 170px); line-height: .88; margin: 0 0 20px; text-transform: uppercase; }
.tickets__title span { color: transparent; -webkit-text-stroke: 3px #fff; }
.tickets p { font-size: 18px; margin: 0 0 32px; }
.tickets .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.7); padding: 30px var(--pad) 90px; overflow: hidden; }
.footer__big { font-family: var(--display); font-size: clamp(90px, 24vw, 380px); line-height: .9; text-align: center; color: transparent; -webkit-text-stroke: 2px rgba(212,32,39,.6); transform: translateX(var(--fx, 0)); white-space: nowrap; margin-bottom: 26px; }
.footer__row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-w); font-size: 13px; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.footer__brand img { width: 46px; height: 46px; }
.footer__brand small { font-weight: 400; opacity: .7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-w); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Modal giocatore ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(10,23,48,.85); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.modal.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .4s; }
.modal__card { position: relative; width: min(820px, 100%); border-radius: 28px; overflow: hidden; background: #fff; transform: translateY(40px) scale(.96); transition: transform .6s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.modal__close svg, .lightbox svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__img { position: relative; background: linear-gradient(170deg, var(--sky), var(--navy) 60%, var(--deep)); min-height: 380px; }
.pm__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pm__num { position: absolute; left: 16px; bottom: 6px; font-family: var(--display); font-size: 140px; line-height: 1; color: transparent; -webkit-text-stroke: 3px #fff; }
.pm__body { padding: 36px 32px; }
.pm__role { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.pm__name { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: .95; margin: 8px 0 24px; text-transform: uppercase; }
.pm__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm__facts div { background: var(--paper); border-radius: 14px; padding: 14px; }
.pm__facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--navy); }
.pm__facts span { font-size: 12px; color: var(--grey); font-weight: 600; }
.pm__cap { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: var(--red); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,23,48,.95); display: grid; place-items: center; padding: 60px 80px; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .4s; }
.lightbox img { max-width: 100%; max-height: 74vh; border-radius: 14px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line-w); color: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; left: 20px; margin-top: -26px; }
.lightbox__nav--next { left: auto; right: 20px; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__count { position: absolute; bottom: 18px; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .14em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pm { grid-template-columns: 1fr; }
  .pm__img { min-height: 300px; }
}
@media (max-width: 600px) {
  .nav__brand img { width: 40px; height: 40px; }
  .nav__brand b { font-size: 18px; }
  .hero { padding-top: 110px; }
  .next { padding: 20px; }
  .countdown b { font-size: 28px; }
  .stats { gap: 10px; }
  .stat { padding: 18px 16px; }
  .roster__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .player__num { font-size: 80px; }
  .player__info b { font-size: 19px; }
  .team-photo { aspect-ratio: 4 / 3; }
  .lightbox { padding: 60px 14px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; left: calc(50% - 64px); margin: 0; }
  .lightbox__nav--next { left: auto; right: calc(50% - 64px); }
    .match { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   MULTI-PAGINA
   ===================================================================== */

/* ---------- Loader veloce + transizione tra pagine ---------- */
.is-quick .loader__logo, .is-leaving .loader__logo { display: none; }
.is-quick .loader__half { transition-duration: .75s; }
body.is-leaving .loader { display: block; }
body.is-leaving .loader__half { transition-duration: .6s; }

/* ---------- Nav: voce attiva ---------- */
.nav__links a.is-active:not(.nav__cta)::after { transform: scaleX(1); }
.nav__cta.is-active { background: #fff; color: var(--red); }

/* ---------- Intestazione pagine interne ---------- */
.phero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; padding: 150px var(--pad) clamp(60px, 9vh, 100px); background: var(--deep); color: #fff; overflow: hidden; }
.phero__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center 35%; transform: scale(1.08); will-change: transform; transition: background-image .4s; }
.phero__shade { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(10,23,48,.95) 0%, rgba(10,23,48,.78) 45%, rgba(27,58,120,.4) 75%, rgba(212,32,39,.35) 100%),
  linear-gradient(0deg, rgba(10,23,48,.85) 0%, transparent 50%); }
.phero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 40px; height: 8px; background: linear-gradient(90deg, transparent, var(--red) 25%, var(--red) 55%, var(--sky) 80%, transparent); transform: rotate(-4deg); animation: slide 7s var(--ease) infinite alternate; }
.phero .sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phero__ghost { will-change: transform; position: absolute; top: 18%; left: 0; white-space: nowrap; font-family: var(--display); font-size: clamp(110px, 18vw, 280px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); animation: ghost 40s linear infinite; pointer-events: none; }
.phero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; }
.phero__title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 10vw, 170px); line-height: .88; margin: 0 0 22px; }
.phero__title .split { display: block; }
.phero__lead { max-width: 560px; margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.8); }
.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.crumbs a { color: #fff; } .crumbs a:hover { color: #FF6B6F; }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Pulsante "vedi tutto" ---------- */
.more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.more .btn:hover svg { transform: translateX(4px); }
.btn--line { border: 2px solid var(--line); color: var(--ink); }
.btn--line::before { background: var(--navy); } .btn--line:hover { color: #fff; border-color: var(--navy); }

/* ---------- Numeri piccoli ---------- */
.pstat { padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid var(--line-w); }
.pstat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: #fff; }
.pstat:first-child b { color: #FF5A5F; }
.pstat span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.section:not(.section--navy) .pstat { background: var(--paper); border-color: transparent; }
.section:not(.section--navy) .pstat b { color: var(--navy); }
.section:not(.section--navy) .pstat:first-child b { color: var(--red); }
.section:not(.section--navy) .pstat span { color: var(--grey); }

/* ---------- Calendario ---------- */
.cal-top { padding-top: clamp(50px, 6vw, 80px); padding-bottom: clamp(50px, 6vw, 80px); }
.cal-top__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.cal-stats { display: grid; gap: 14px; align-content: center; }
.cal__month { margin-bottom: clamp(40px, 5vw, 64px); }
.cal__month.is-hidden { display: none; }
.cal__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.5vw, 60px); text-transform: uppercase; line-height: 1; }
.cal__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.cal__title small { margin-left: auto; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--grey); letter-spacing: .06em; text-transform: uppercase; }
.cal__list { display: flex; flex-direction: column; gap: 12px; }
.mrow { position: relative; display: grid; grid-template-columns: 90px 1fr 260px 110px; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.mrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--navy); }
.mrow.is-home::before { background: var(--red); }
.mrow:hover { transform: translateX(6px); box-shadow: 0 18px 40px rgba(16,37,77,.12); border-color: transparent; }
.mrow.is-next { background: linear-gradient(110deg, #fff 55%, rgba(212,32,39,.08)); border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,32,39,.12); }
.mrow.is-hidden { display: none; }
.mrow__date { text-align: center; }
.mrow__date b { display: block; font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1; color: var(--navy); }
.mrow.is-home .mrow__date b { color: var(--red); }
.mrow__date span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.mrow__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.mrow__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mrow__team:last-child { flex-direction: row-reverse; text-align: right; }
.mrow__team img { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 2px; flex: none; transition: transform .6s var(--ease); }
.mrow:hover .mrow__team img { transform: rotate(-12deg) scale(1.08); }
.mrow__team b { font-size: 15px; line-height: 1.2; }
.mrow__team.is-us b { color: var(--navy); }
.mrow__vs { font-family: var(--display); font-size: 22px; color: var(--red); }
.mrow__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--grey); }
.mrow__info span { display: flex; align-items: center; gap: 6px; }
.mrow__info svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.mrow__time { font-family: var(--display); font-size: 26px; color: var(--ink) !important; }
.mrow__badge { justify-self: end; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--paper); color: var(--navy); }
.mrow.is-home .mrow__badge { background: rgba(212,32,39,.1); color: var(--red); }
.mrow.is-next .mrow__badge { background: var(--red); color: #fff; animation: live 1.6s infinite; }
.section--light .mrow { background: #fff; }

/* ---------- Staff / organigramma ---------- */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sgrid--big { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.scard { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.scard:hover { box-shadow: 0 26px 50px rgba(16,37,77,.18); }
.scard__img { aspect-ratio: 1; background: linear-gradient(160deg, var(--sky), var(--navy) 65%, var(--deep)); overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.07); }
.scard__img span { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 70px; color: #fff; }
.scard__body { padding: 16px 18px 18px; border-top: 4px solid var(--red); }
.scard__body small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.scard__body b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.section--navy .scard { background: rgba(255,255,255,.06); border-color: var(--line-w); color: #fff; }
.section--navy .scard__body small { color: #FF6B6F; }

/* ---------- Società: intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.intro__big { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.intro__big em { font-style: normal; color: var(--red); }
.intro__facts { display: grid; gap: 14px; }

/* ---------- News: interviste ---------- */
.news__mix { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news__mix .news__grid { grid-template-columns: 1fr; }
.iv__grid { display: grid; gap: 14px; }
.iv { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; text-align: left; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.iv:hover { box-shadow: 0 18px 40px rgba(16,37,77,.15); }
.iv.is-on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,32,39,.15); }
.iv__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy); }
.iv__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.iv:hover .iv__thumb img { transform: scale(1.08); }
.iv__thumb i, .ivplayer__cover i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(212,32,39,.6); animation: live 1.8s infinite; }
.iv__thumb i svg, .ivplayer__cover i svg { width: 20px; height: 20px; margin-left: 2px; }
.iv__body b { display: block; margin-top: 8px; font-size: 16px; line-height: 1.3; color: var(--ink); }
.section--navy .iv { background: rgba(255,255,255,.06); border-color: var(--line-w); }
.section--navy .iv__body b { color: #fff; }
.section--navy .iv .post__date { color: rgba(255,255,255,.6); }
.iv-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.ivplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.ivplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ivplayer__cover { position: absolute; inset: 0; width: 100%; color: #fff; text-align: left; }
.ivplayer__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ivplayer__cover:hover img { transform: scale(1.04); }
.ivplayer__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,23,48,.9), transparent 55%); }
.ivplayer__cover i { width: 84px; height: 84px; margin: -42px 0 0 -42px; z-index: 1; }
.ivplayer__cover i svg { width: 34px; height: 34px; }
.ivplayer__cover span { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.ivplayer__cover small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FF6B6F; }
.ivplayer__cover b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 40px); line-height: 1.05; text-transform: uppercase; margin: 6px 0; }
.ivplayer__cover em { font-style: normal; font-size: 12px; opacity: .65; }

/* ---------- Gallery: album ---------- */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 30px; }
.album { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; border-radius: 20px; overflow: hidden; text-align: left; color: #fff; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .3s; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: grayscale(.3); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,23,48,.96) 0%, rgba(10,23,48,.85) 45%, rgba(10,23,48,.25) 100%); }
.album:hover img { transform: scale(1.06); }
.album.is-on { outline-color: var(--red); }
.album.is-on img { filter: none; }
.album span { position: relative; z-index: 1; display: block; padding: 60px 22px 20px; }
.album b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.album small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: rgba(255,255,255,.85); }
.album small::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.section:not(.section--navy) .shot::after { border-color: var(--navy); }

/* ---------- Partner: livelli ---------- */
.tier { margin-top: clamp(40px, 5vw, 64px); }
.tier__title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); text-transform: uppercase; }
.tier__title small { font-family: var(--sans); font-size: 13px; font-weight: 800; color: #fff; background: var(--red); border-radius: 99px; padding: 4px 11px; }
.tier__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tier__grid--big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--sky)); transform: scaleX(0); transition: transform .5s var(--ease); }
.pcard:hover { box-shadow: 0 20px 40px rgba(16,37,77,.14); border-color: transparent; }
.pcard:hover::after { transform: scaleX(1); }
.pcard__logo { display: block; width: 100%; aspect-ratio: 1; }
.pcard__logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__logo img { transform: scale(1.05); }
.pcard__name { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.pcard__go { font-size: 12px; font-weight: 700; color: var(--red); }
.title-sponsor a { display: block; }
.cta-band { position: relative; padding: clamp(70px, 10vw, 130px) var(--pad); background: linear-gradient(120deg, var(--navy), var(--deep)); color: #fff; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-12deg, transparent 0 60px, rgba(255,255,255,.04) 60px 62px); }
.cta-band__inner { position: relative; }
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 100px); line-height: .95; margin: 0 0 16px; text-transform: uppercase; }
.cta-band h2 em { font-style: normal; color: var(--red); }
.cta-band p { margin: 0 0 30px; color: rgba(255,255,255,.8); font-size: 18px; }
.cta-band svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------- Biglietti ---------- */
.tickets--page { padding: clamp(70px, 9vw, 120px) var(--pad); }
.venue { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.venue__addr { font-size: 18px; color: var(--grey); margin: 16px 0 26px; }
.venue__contacts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-weight: 700; }
.venue__contacts a:hover { color: var(--red); }
.venue__map { position: relative; min-height: 380px; border-radius: 26px; overflow: hidden; display: grid; place-items: center; background: var(--navy); }
.venue__mapbg { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.06) 38px 40px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.06) 38px 40px),
  radial-gradient(circle at 60% 45%, rgba(212,32,39,.5), transparent 40%), linear-gradient(140deg, var(--navy), var(--deep)); }
.venue__consent { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px; color: #fff; max-width: 340px; }
.venue__consent b { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.venue__consent small { font-size: 12px; opacity: .7; }
.venue__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer a colonne ---------- */
.footer__grid { max-width: var(--max); margin: 0 auto 26px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14px; font-weight: 700; }
.footer__nav a:hover, .footer__contact a:hover { color: #FF6B6F; }
.footer__contact { display: grid; gap: 10px; font-size: 14px; }
.footer__contact a, .footer__contact span { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.8; flex: none; }

/* ---------- Responsive multi-pagina ---------- */
@media (max-width: 980px) {
  .cal-top__grid, .intro__grid, .iv-layout, .venue, .news__mix { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 70px 1fr; }
  .mrow__info { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .mrow__badge { position: absolute; top: 12px; right: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .phero { min-height: 62vh; padding-top: 120px; }
  .mrow { padding: 14px 14px 14px 18px; gap: 12px; }
  .mrow__date b { font-size: 38px; }
  .mrow__teams { grid-template-columns: 1fr; gap: 6px; }
  .mrow__team:last-child { flex-direction: row; text-align: left; }
  .mrow__vs { display: none; }
  .mrow__team img { width: 34px; height: 34px; }
  .iv { grid-template-columns: 120px 1fr; }
  .sgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tier__grid, .tier__grid--big { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-card { width: 130px; height: 130px; }
  .scard__body b { font-size: 18px; }
  .album { min-height: 190px; }
}

/* ---------- Prima / seconda maglia ---------- */
.roster__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.jersey { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.jersey__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: #fff; box-shadow: 0 4px 14px rgba(16,37,77,.18); transition: transform .5s var(--ease); }
.jersey[data-j="2"] .jersey__pill { transform: translateX(100%); }
.jersey button { position: relative; z-index: 1; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .03em; color: var(--grey); white-space: nowrap; transition: color .3s; }
.jersey button.is-on { color: var(--ink); }
.jersey__tee { display: inline-flex; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.jersey__tee svg { width: 20px; height: 20px; }
.jersey__tee--1 { color: var(--red); }
.jersey__tee--2 { color: var(--navy); }
.jersey button.is-on .jersey__tee { transform: scale(1.2) rotate(-8deg); }
.player img { transition: opacity .28s ease, transform .5s var(--ease); }
.team-photo img { transition: opacity .28s ease, transform .5s var(--ease), clip-path 1.4s var(--ease-io); }
body.is-swapping .player img, body.is-swapping .team-photo img { opacity: 0; transform: scale(.94); }

/* ---------- Partner: note ---------- */
.pcard__note { font-size: 11px; line-height: 1.35; color: var(--grey); font-weight: 600; text-align: center; }

@media (max-width: 600px) {
  .roster__tools { align-items: stretch; }
  .jersey button { padding: 9px 10px; font-size: 12px; }
}

/* ---------- Crediti foto e giocatori taggati ---------- */
.shot { position: relative; }
.shot__cap { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.shot__cap span { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 8px 3px 6px; border-radius: 99px; font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; color: #fff; background: rgba(10,23,48,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__cap .shot__tags { background: var(--red); font-weight: 800; }
.shot__cap svg, .lightbox__cap svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.shot__by { opacity: .9; }
.lightbox { grid-template-rows: 1fr auto auto; }
.lightbox__cap { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; font-size: 12px; color: rgba(255,255,255,.75); text-align: center; }
.lightbox__cap i { font-style: normal; opacity: .4; }
.lightbox__cap span { display: inline-flex; align-items: center; gap: 5px; }
.lightbox__cap .lb-tags { color: #fff; font-weight: 800; background: var(--red); padding: 3px 10px; border-radius: 99px; }
.lightbox__count { position: static; margin: 6px 0 0; }

/* ---------- Home: roster che scorre ---------- */
.roster--run .head { margin-bottom: 36px; }
.roster-run { max-width: none !important; margin: 0 calc(-1 * var(--pad)) !important; overflow: hidden; padding: 10px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.roster-run__track { display: flex; gap: 18px; width: max-content; padding: 0 var(--pad); animation: marquee 55s linear infinite; will-change: transform; }
.roster-run:hover .roster-run__track { animation-play-state: paused; }
.roster-run .player { flex: none; width: 250px; }
.roster-run .player:nth-child(even) { margin-top: 36px; }
.jersey--dark { background: rgba(255,255,255,.1); border-color: var(--line-w); }
.jersey--dark button { color: rgba(255,255,255,.7); }
.jersey--dark button.is-on { color: var(--ink); }

/* ---------- Prossima partita: invita e diretta ---------- */
.next__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 12px; border-radius: 14px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #fff; transition: background .3s, color .3s, border-color .3s; }
.nbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.nbtn--share { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.nbtn--share:hover { background: #fff; color: var(--navy); }
.nbtn--live { background: var(--red); border: 1px solid var(--red); box-shadow: 0 8px 22px rgba(212,32,39,.4); }
.nbtn--live:hover { background: #fff; color: var(--red); }
@media (max-width: 600px) {
  .roster-run .player { width: 180px; }
  .roster-run .player:nth-child(even) { margin-top: 24px; }
  .next__actions { grid-template-columns: 1fr; }
}

/* ---------- Footer: link legali ---------- */
.footer__legal { display: flex; gap: 18px; font-size: 13px; font-weight: 700; }
.footer__legal a:hover { color: #FF6B6F; }

/* ---------- Pagina privacy ---------- */
.legal { max-width: 860px !important; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; margin: 46px 0 12px; line-height: 1.05; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h2 em { font-style: normal; color: var(--red); }
.legal p, .legal li { color: #3A4256; font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 13px; color: var(--grey); font-weight: 600; letter-spacing: .04em; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.phero--short { min-height: 56vh; }

/* ---------- Card news con immagine ---------- */
.post--img { padding: 0; display: grid; grid-template-columns: 220px 1fr; }
.post__img { display: block; position: relative; overflow: hidden; min-height: 200px; }
.post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { display: block; padding: 28px; }

/* ---------- Pagina articolo ---------- */
.phero__title--article { font-size: clamp(48px, 7vw, 110px); }
.article { max-width: 820px !important; }
.article__img { margin: 0 0 36px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(16,37,77,.18); }
.article__img img { width: 100%; height: auto; }
.article__text p { font-size: 18px; line-height: 1.8; color: #2E3548; margin: 0 0 20px; }
.article__text .article__lead { font-size: 21px; font-weight: 600; color: var(--ink); }
.article__text .article__motto { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; color: var(--red); margin: 30px 0; line-height: 1.1; }
.article__text .article__sub { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; color: var(--navy); margin: 36px 0 12px; line-height: 1.1; }
.article__text strong { color: var(--ink); }
.article__share { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.article__share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 700px) {
  .post--img { grid-template-columns: 1fr; }
  .post__img { min-height: 180px; }
}

/* ---------- Tabella cookie: su telefono diventa a schede ---------- */
@media (max-width: 600px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 4px; margin-bottom: 10px; }
  .legal td { border: 0; padding: 6px 12px; }
  .legal td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
}

/* ---------- Calendario: etichetta casa/trasferta con icona ---------- */
.mrow__badge { display: inline-flex; align-items: center; gap: 6px; }
.mrow__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 980px) {
  /* su telefono solo il loghino, senza scritta */
  .mrow__badge { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; top: 14px; right: 14px; }
  .mrow__badge span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mrow__badge svg { width: 17px; height: 17px; }
  .mrow__teams { padding-right: 44px; }
}

/* =====================================================================
   SITO UFFICIALE — componenti in più rispetto alla demo
   ===================================================================== */
.crest-ph { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-size: 16px; letter-spacing: .02em; }
.crest-ph--big { width: 74px; height: 74px; margin: 0 auto 10px; font-size: 22px; }
.mrow .crest-ph { width: 46px; height: 46px; font-size: 14px; }
.match__score { font-family: var(--display); font-size: 40px; line-height: 1; margin: -6px 0 12px; }
.match__score i { font-style: normal; opacity: .5; margin: 0 6px; }
.match.is-won { background: linear-gradient(160deg, rgba(46,160,90,.3), rgba(46,160,90,.06)); border-color: rgba(46,160,90,.5); }
.match.is-won .match__badge { background: #2EA05A; }
.match.is-lost .match__badge { background: rgba(255,255,255,.25); }
.match { cursor: pointer; }
.mrow { cursor: pointer; }
.mrow.is-played .mrow__vs { font-size: 26px; color: var(--ink); }
.mrow__badge.is-won { background: rgba(46,160,90,.14) !important; color: #1E7A43 !important; }
.mrow__badge.is-lost { background: var(--paper) !important; color: var(--grey) !important; }
.player__ph, .pm__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 70px; color: rgba(255,255,255,.85); }
.player { cursor: pointer; }
.pm__bio { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--grey); white-space: pre-line; }
.pm--person .pm__img { min-height: 340px; }
.scard[role="button"] { cursor: pointer; }
.scard__body em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); }

/* finestra dettaglio partita */
.mm__head { position: relative; padding: 30px 28px 24px; background: linear-gradient(140deg, var(--navy), var(--deep)); color: #fff; text-align: center; }
.mm__cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.14); }
.mm__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 14px; }
.mm__team img, .mm__team .crest-ph { width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.mm__team .crest-ph { background: var(--red); font-size: 22px; }
.mm__team b { display: block; font-size: 15px; line-height: 1.25; }
.mm__vs { font-family: var(--display); font-size: 30px; color: #FF5A5F; }
.mm__meta { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }
.mm__body { padding: 26px 28px 30px; }
.mm__score { text-align: center; margin-bottom: 18px; }
.mm__score b { display: block; font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--navy); }
.mm__score b i { font-style: normal; opacity: .4; margin: 0 8px; }
.mm__score.is-won b { color: #1E7A43; }
.mm__score span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.mm__sets { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 15px; text-align: center; }
.mm__sets th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding: 6px; }
.mm__sets td { padding: 10px 6px; font-weight: 800; border-top: 1px solid var(--line); }
.mm__sets td.is-won { color: #1E7A43; }
.mm__note { margin: 0 0 18px; color: var(--grey); }
.mm__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mm__actions svg, .mm__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mm__btn { width: 100%; }
.modal__card:has(.mm) { width: min(560px, 100%); }

/* anteprima interviste senza immagini esterne */
.iv__thumb--brand { display: grid !important; place-items: center; padding: 12px; background: linear-gradient(140deg, var(--navy), var(--deep)) !important; color: #fff; text-align: center; }
.iv__thumb--brand > span { font-family: var(--display); font-size: 15px; line-height: 1.1; text-transform: uppercase; opacity: .9; }
.iv__thumb--brand i { position: absolute; right: 8px; bottom: 8px; left: auto !important; top: auto !important; margin: 0 !important; width: 32px !important; height: 32px !important; }
.iv__thumb--brand i svg { width: 14px !important; height: 14px !important; }
.ivplayer__cover--brand { background: radial-gradient(circle at 70% 30%, rgba(212,32,39,.45), transparent 50%), linear-gradient(140deg, var(--navy), var(--deep)); }
.post__img-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(140deg, var(--navy), var(--deep)); color: #fff; font-family: var(--display); font-size: 26px; text-transform: uppercase; }

/* moduli (ricerca news, prenotazione posti) */
.form { display: grid; gap: 16px; max-width: 620px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > span { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.field input, .field select, .search input, .search select {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .search input:focus, .search select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,58,120,.12); }
.sector { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.sector:has(input:checked) { border-color: var(--red); background: rgba(212,32,39,.04); }
.sector.is-full { opacity: .5; cursor: not-allowed; }
.sector b { display: block; }
.sector small { color: var(--grey); }
.sector input { width: 22px; height: 22px; accent-color: var(--red); flex: none; }
.form__note { font-size: 13px; color: var(--grey); margin: 0; }
.alert { padding: 16px 20px; border-radius: 16px; font-weight: 600; margin-bottom: 20px; }
.alert--ok { background: rgba(46,160,90,.1); color: #1E7A43; border: 1px solid rgba(46,160,90,.3); }
.alert--err { background: rgba(212,32,39,.08); color: var(--red-2); border: 1px solid rgba(212,32,39,.25); }
.search { display: grid; grid-template-columns: 1fr 240px auto; gap: 10px; margin-bottom: 30px; }
.empty { padding: 40px 24px; border-radius: 22px; background: var(--paper); text-align: center; color: var(--grey); font-weight: 600; }
.section--navy .empty { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }

/* prezzi biglietti */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.price { padding: 22px 24px; border-radius: 20px; background: var(--paper); }
.price small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.price b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1.05; color: var(--navy); }
.ticket-msg { display: flex; align-items: center; gap: 18px; padding: 24px 26px; margin-bottom: 24px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-2)); }
.ticket-msg svg { width: 42px; height: 42px; flex: none; fill: none; stroke: #fff; stroke-width: 1.6; }
.ticket-msg p { margin: 0; white-space: pre-line; font-family: var(--display); font-size: clamp(22px, 3.4vw, 34px); line-height: 1.1; text-transform: uppercase; }
.info-block h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 26px 0 8px; }
.info-block p { margin: 0; white-space: pre-line; color: #3A4256; }

/* contatti */
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
a.ccard:hover { border-color: var(--red); box-shadow: 0 18px 40px rgba(16,37,77,.12); }
.ccard svg { width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.7; margin-bottom: 14px; }
.ccard small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.ccard b { font-size: 18px; overflow-wrap: anywhere; }

/* articolo: giocatori e partita collegati */
.related { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.related h3 { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; margin: 0 0 12px; }
.related .chips { margin-bottom: 24px; }
.related .chip { background: var(--paper); border-color: transparent; }
.rel-match { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--paper); }
.rel-match b { display: block; }
.rel-match small { color: var(--grey); }
.rel-match strong { font-family: var(--display); font-size: 34px; color: var(--navy); }

/* galleria: elenco cartelle */
a.album { text-decoration: none; }
.unavail { text-align: center; max-width: 620px; margin: 0 auto; }
.unavail p { color: var(--grey); font-size: 18px; }

@media (max-width: 700px) {
  .search { grid-template-columns: 1fr; }
  .mm__team img, .mm__team .crest-ph { width: 60px; height: 60px; }
  .mm__score b { font-size: 52px; }
}
.iv__desc { margin: 16px 0 0; color: rgba(255,255,255,.75); }
.legal__more { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.legal strong { color: var(--ink); }

/* scheda giocatore: tre riquadri affiancati (numero, altezza, anni) */
.pm__facts { grid-template-columns: repeat(3, 1fr); }
.pm__facts b { font-size: clamp(22px, 2.4vw, 30px); }

/* numero di maglia sempre leggibile: davanti alla foto, pieno rosso con bordo bianco */
.player__num { z-index: 2; top: 10px; right: 14px; font-size: 64px; color: var(--red); -webkit-text-stroke: 2px #fff; paint-order: stroke fill; text-shadow: 0 6px 18px rgba(10,23,48,.45); }
.player:hover .player__num { -webkit-text-stroke-color: #fff; color: #fff; }
.player__cap { z-index: 3; }
.player__info { z-index: 2; }
.pm__num { z-index: 2; color: var(--red); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; text-shadow: 0 10px 30px rgba(10,23,48,.5); }
.pm__facts b { white-space: nowrap; }
@media (max-width: 600px) {
  .player__num { font-size: 46px; }
  .pm__num { font-size: 96px; }
  .pm__facts { gap: 8px; }
  .pm__facts div { padding: 12px 10px; }
  .pm__facts b { font-size: 21px; }
}

/* evidenziatore negli articoli */
.hl { color: var(--ink); font-weight: 700; padding: 0 .15em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--red { background: linear-gradient(transparent 45%, rgba(212,32,39,.28) 45%); }
.hl--blue { background: linear-gradient(transparent 45%, rgba(62,123,230,.30) 45%); }
.split .word { display: inline-block; white-space: nowrap; }
