/* Polis Rocca Imperiale — La rosa */

/* 0. INGRESSO: lo spogliatoio, le casacche in volo */
.intro-casacche { --h: clamp(170px, 34vh, 340px); }
.spogliatoio { position: absolute; inset: 0; background: radial-gradient(110% 80% at 50% 30%, #FBF9F4 0%, var(--cream) 70%); }
.pavimento { position: absolute; left: 0; right: 0; bottom: 0; height: 14vh; background: linear-gradient(180deg, #E4DDCD, #D8CFBB); }
.lanci { position: absolute; inset: 0; }
.casacca { position: absolute; left: 0; top: 0; width: clamp(54px, 8.5vw, 116px); aspect-ratio: 120 / 126; z-index: 5; will-change: transform; }
.casacca > * { position: absolute; inset: 0; }
.casacca svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 14px rgba(15, 40, 61, .3)); }
.casacca .retro {
  display: grid; place-items: center; border-radius: 10px; transform: scaleX(0);
  background: radial-gradient(130% 120% at 100% 0%, #1E4568 0%, #12304A 45%, #0B1D2E 100%);
  box-shadow: inset 0 0 0 2px rgba(217, 172, 26, .6), 0 14px 24px -12px rgba(15, 40, 61, .7);
  font-family: var(--slab); color: var(--yellow); font-size: clamp(1.3rem, 3.4vw, 2.8rem); line-height: 1;
}
.intro-casacche .push-man { z-index: 4; }

/* 1. APERTURA */
.rosa-hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 5.5rem var(--gutter) 4rem;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #163552 0%, var(--navy) 55%, var(--ink) 100%);
}
.rosa-hero-inner { display: flex; flex-direction: column; align-items: center; }
.rosa-title { font-size: clamp(2.8rem, 8.5vw, 8rem); margin: .6rem 0 1rem; }
.rosa-title .l { display: block; overflow: hidden; padding: .14em 0 .03em; margin-top: -.11em; }
.rosa-title .l > span { display: inline-block; }
.rosa-title .l:first-child > span { color: var(--yellow); }
.rosa-lead { color: var(--mute-dark); margin: 0 auto; }
.conta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: clamp(1.4rem, 4vh, 2.4rem); }
.conta a {
  display: flex; align-items: baseline; gap: .45em; padding: .55em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--mute-dark); transition: background .25s;
}
.conta a:hover { background: rgba(255, 255, 255, .12); }
.conta b { font-family: var(--slab); font-weight: 400; font-size: 1.5em; letter-spacing: 0; color: var(--yellow); }

/* 2–5. I REPARTI */
.reparto-inner { display: flex; flex-direction: column; gap: clamp(1.2rem, 4vh, 2.6rem); }
.reparto-head .display { font-size: clamp(2.6rem, 6vw, 6.4rem); margin-top: .4rem; }
.figurine { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); perspective: 1200px; }
.fig { aspect-ratio: 5 / 7; container-type: inline-size; }
.fig-in {
  position: relative; height: 100%; border-radius: 16px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 9% 10% 10%; color: var(--cream);
  background:
    repeating-radial-gradient(circle at 120% 110%, transparent 0 9px, rgba(217, 172, 26, .08) 9px 10px),
    radial-gradient(130% 120% at 100% 0%, #1E4568 0%, #12304A 42%, #0B1D2E 100%);
  box-shadow: 0 30px 50px -28px rgba(11, 29, 46, .9), inset 0 0 0 1px rgba(217, 172, 26, .45);
  transform-style: preserve-3d; will-change: transform;
}
.fig-in::before { content: ""; position: absolute; inset: 7px; border-radius: 11px; border: 1px solid rgba(217, 172, 26, .35); pointer-events: none; }
.fig-top { display: flex; align-items: center; justify-content: space-between; }
.fig-top img { width: 26%; height: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.fig-top span { font-weight: 600; font-size: .68rem; letter-spacing: .24em; color: #C9B98A; }
.fig-num {
  flex: 1; display: grid; place-items: center; font-family: var(--slab); font-weight: 400; line-height: 1;
  font-size: clamp(3rem, 4.6vw, 4.6rem); color: var(--yellow); text-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.fig-num.ini { color: transparent; -webkit-text-stroke: 1.5px rgba(246, 215, 40, .55); font-size: clamp(2.2rem, 3.4vw, 3.2rem); letter-spacing: .04em; }
.fig-nome {
  display: flex; flex-direction: column; gap: .25em; padding-top: .6em; border-top: 1px solid rgba(217, 172, 26, .4);
  font-family: var(--slab); text-transform: uppercase; line-height: 1; font-size: min(1.25rem, 9.5cqi);
}
.fig-nome small { font-family: var(--sans); font-weight: 500; font-size: .58em; letter-spacing: .14em; color: var(--mute-dark); }
/* il capitano: la fascia */
.fig-c {
  position: absolute; right: 9%; top: 22%; z-index: 1; width: 2.1em; height: 2.1em; border-radius: 6px; display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; color: #fff; transform: rotate(-8deg);
  background: linear-gradient(180deg, var(--yellow) 0 33%, var(--gold) 33% 66%, #2F6DB5 66%); box-shadow: 0 0 0 2px var(--navy), 0 8px 16px -6px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.fig.cap .fig-in { box-shadow: 0 30px 50px -28px rgba(11, 29, 46, .9), inset 0 0 0 2px var(--yellow); }
/* i portieri: la figurina gialla, come la maglia del portiere */
.fig.por .fig-in {
  color: var(--navy);
  background:
    repeating-radial-gradient(circle at 120% 110%, transparent 0 9px, rgba(15, 40, 61, .07) 9px 10px),
    radial-gradient(130% 120% at 100% 0%, #FFF07A 0%, var(--yellow) 45%, #E2B730 100%);
  box-shadow: 0 30px 50px -28px rgba(15, 40, 61, .7), inset 0 0 0 1px rgba(15, 40, 61, .3);
}
.fig.por .fig-in::before { border-color: rgba(15, 40, 61, .3); }
.fig.por .fig-top span, .fig.por .fig-nome small { color: #6B5B0A; }
.fig.por .fig-num { color: var(--navy); text-shadow: none; }
.fig.por .fig-num.ini { color: transparent; -webkit-text-stroke-color: rgba(15, 40, 61, .45); }
.fig.por .fig-nome { border-top-color: rgba(15, 40, 61, .3); }
/* il riflesso che passa quando la figurina si gira (e al passaggio del mouse) */
.fig-luce {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 236, 170, .5) 50%, transparent 64%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
}
.scene.lemon .fig:not(.por) .fig-in { box-shadow: 0 30px 50px -26px rgba(15, 40, 61, .8), inset 0 0 0 1px rgba(217, 172, 26, .45); }

@media (max-width: 767px) {
  .intro-casacche { --h: 24vh; }
  .rosa-title { font-size: 9vw; }
  .rosa-title .l > span { white-space: nowrap; }
  .conta { gap: .4rem; }
  .conta a { font-size: .68rem; padding: .5em .8em; }
  .reparto-inner { gap: 1rem; }
  .reparto-head .display { font-size: clamp(2rem, 10vw, 2.8rem); }
  .figurine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .fig-num { font-size: 3.2rem; }
  .fig-num.ini { font-size: 2.4rem; }

}

/* 6. LO STAFF: al posto del numero il fischietto e il cronometro, sotto il nome il ruolo */
.fig-num.icona { color: var(--yellow); }
.fig-icona { width: 46%; height: auto; fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.fig-ruolo { display: block; margin-top: .45em; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .5em; letter-spacing: .16em; color: var(--gold); }
