/* Movie Genius — stile Dark Deco: nero profondo, crema e oro, rosso cupo, geometrie a gradoni e zigzag. */
@font-face { font-family: "Limelight"; src: url("../fonts/limelight-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Josefin Sans"; font-weight: 400; src: url("../fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Josefin Sans"; font-weight: 400; font-style: italic; src: url("../fonts/josefin-sans-latin-400-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Josefin Sans"; font-weight: 600; src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Josefin Sans"; font-weight: 700; src: url("../fonts/josefin-sans-latin-700-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #0a0a0e; --night: #12111c; --plum: #1b1030; --crimson: #a8232f; --crimson-d: #6e1420;
  --cream: #efe3c2; --gold: #d6a24a; --gold-d: #9a7430; --muted: #a99f88;
}

html { background: var(--ink); overflow-x: hidden; overflow-x: clip; max-width: 100%; }
body {
  min-height: 100vh; min-height: 100dvh; color: var(--cream); font-family: "Josefin Sans", Futura, "Trebuchet MS", sans-serif; letter-spacing: .02em;
  overflow-x: hidden; overflow-x: clip; position: relative; background: transparent;
}
/* sfondo fisso su un livello proprio: stabile durante lo scroll e al tocco (niente background-attachment: fixed) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 38% at 50% 0%, rgba(168,35,47,.38), transparent 70%),
    radial-gradient(ellipse 60% 30% at 85% 12%, rgba(60,30,110,.35), transparent 70%),
    linear-gradient(180deg, #0b0a12 0%, var(--ink) 60%, #07070a 100%);
}
/* skyline a gradoni in fondo, con bagliore rosso all'orizzonte */
body::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none; z-index: 0; opacity: .75;
  background: url("skyline.svg") center bottom / cover no-repeat, linear-gradient(to top, rgba(168,35,47,.35), transparent 85%);
}
main, footer { position: relative; z-index: 1; }
header { overflow: hidden; }

/* raggiera dietro il titolo */
.sunburst { position: absolute; left: 50%; top: 0; width: min(560px, 100%); height: 260px; transform: translateX(-50%); pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(214,162,74,.55) 0 3deg, transparent 3deg 12deg);
  -webkit-mask: radial-gradient(ellipse 100% 100% at 50% 100%, #000 0%, transparent 72%); mask: radial-gradient(ellipse 100% 100% at 50% 100%, #000 0%, transparent 72%); }

.title-kicker { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .5em; font-size: .8rem; text-transform: uppercase; }
.title-kicker::before, .title-kicker::after { content: ""; height: 1px; width: 3.5rem; background: linear-gradient(90deg, transparent, var(--gold)); }
.title-kicker::after { transform: scaleX(-1); }
.title { font-family: "Limelight", Georgia, serif; font-size: clamp(3rem, 14vw, 5.2rem); line-height: 1; color: var(--cream); letter-spacing: .04em;
  text-shadow: 3px 3px 0 var(--crimson-d), 5px 5px 0 rgba(0,0,0,.6); }

/* zigzag decorativo (come il pavimento della scalinata) */
.zig { height: 10px; opacity: .55;
  background: linear-gradient(135deg, var(--gold) 25%, transparent 25%) -6px 0, linear-gradient(225deg, var(--gold) 25%, transparent 25%) -6px 0,
              linear-gradient(315deg, var(--gold) 25%, transparent 25%), linear-gradient(45deg, var(--gold) 25%, transparent 25%);
  background-size: 12px 12px; background-color: transparent; }
.deco-rule { display: flex; align-items: center; gap: .7rem; color: var(--gold); margin: 1.1rem 0; font-size: .7rem; }
.deco-rule::before, .deco-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-d)); }
.deco-rule::after { transform: scaleX(-1); }

/* cornice a doppia linea con rombi agli angoli */
.card { position: relative; background: linear-gradient(180deg, rgba(27,16,48,.55), rgba(10,10,14,.82)); backdrop-filter: blur(3px);
  border: 1px solid var(--gold-d); padding: 1.9rem 1.6rem; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(154,116,48,.7), 0 24px 60px rgba(0,0,0,.6); margin: 6px; }
.card::before, .card::after { content: "◆"; position: absolute; top: -9px; font-size: 12px; line-height: 1; color: var(--gold); background: var(--ink); padding: 0 4px; }
.card::before { left: 18px; } .card::after { right: 18px; }
.card.hero { border-color: var(--gold); box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--gold), 0 0 50px rgba(168,35,47,.35), 0 24px 60px rgba(0,0,0,.6); }

h2 { font-family: "Josefin Sans", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cream); }
h3 { font-family: "Josefin Sans", sans-serif; font-weight: 700; letter-spacing: .04em; }
.text-gold { color: var(--gold) !important; }
.kicker { color: var(--gold); font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; font-weight: 600; }

/* pulsanti */
.btn-primary { font-family: "Josefin Sans", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--ink);
  background: linear-gradient(180deg, #f0c36a, var(--gold) 55%, var(--gold-d)); padding: .95rem 2.4rem; font-size: 1rem; border: 0;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%); transition: filter .15s, transform .15s; }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-choice { position: relative; color: var(--cream); background: rgba(239,227,194,.04); border: 1px solid rgba(239,227,194,.28); padding: 1rem 1.2rem; font-size: 1.05rem; font-weight: 600;
  letter-spacing: .05em; text-align: left; transition: all .15s; }
.btn-choice::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--crimson); transform: scaleY(0); transition: transform .15s; }
.btn-choice:hover { border-color: var(--gold); background: rgba(214,162,74,.1); }
.btn-choice:hover::before { transform: scaleY(1); }
.btn-choice.chip-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-choice.chip-on::after { content: "◆"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--crimson-d); }
.btn-choice small { color: inherit; opacity: .7; letter-spacing: .03em; }
.chip { color: var(--cream); border: 1px solid var(--gold-d); background: transparent; padding: .55rem 1.1rem; font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; transition: all .15s; border-radius: 0; }
.chip:hover { border-color: var(--gold); background: rgba(214,162,74,.12); }
.chip-on { background: var(--gold) !important; color: var(--ink) !important; border-color: var(--gold) !important; }
.emo { filter: sepia(1) saturate(1.1) hue-rotate(-12deg) brightness(1.05); display: inline-block; margin-right: .35rem; }
.chip-on .emo { filter: grayscale(1) brightness(.2); }

input#name { border-radius: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--gold) !important; color: var(--cream); letter-spacing: .08em; }
input#name::placeholder { color: var(--muted); }
input#name:focus { outline: none; box-shadow: 0 1px 0 var(--gold); }

/* verdetto */
.ribbon { display: inline-block; background: var(--crimson); color: var(--cream); font-size: .7rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; padding: .3rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); margin-bottom: .6rem; }
.score { font-family: "Limelight", Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--crimson-d); }
.pill { display: inline-block; border: 1px solid rgba(239,227,194,.25); padding: .2rem .65rem; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.pill strong { color: var(--cream); }
.pill-ok { border-color: rgba(214,162,74,.7); color: var(--gold); }
.plat { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(239,227,194,.3); padding: .22rem .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); }
.plat::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--dot, var(--gold)); }
.link { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; font-weight: 700; border-bottom: 1px solid transparent; }
.link:hover { border-color: var(--gold); }

.fade-in { animation: fade .4s ease; } @keyframes fade { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } .btn-primary, .btn-choice { transition: none; } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* gestione wizard */
.restart { color: var(--muted); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; padding: 0; }
.restart:hover { color: var(--gold); }
.prog { height: 3px; background: rgba(239,227,194,.14); margin: -.2rem 0 .5rem; position: relative; }
.prog-fill { height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transition: width .35s ease; position: relative; }
.prog-fill::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.prog-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.prog-label { color: var(--muted); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }
.pill-btn { cursor: pointer; transition: all .15s; }
.pill-btn:hover { border-color: var(--gold); color: var(--gold); }
button.link { background: none; padding: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 20; background: var(--gold); color: var(--ink);
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; padding: .7rem 1.4rem; transition: all .25s;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===================== layout per vista ===================== */
main { max-width: 42rem; padding-top: 2.5rem; padding-bottom: 14rem; }
body:not([data-view="home"]) main { padding-top: 0; }
body[data-view="cartellone"] main { max-width: 76rem; }
body:not([data-view="home"]) .masthead { display: none; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--gold); color: var(--ink); padding: .5rem 1rem; font-weight: 700; }
#stage:focus { outline: none; }

/* barra di navigazione (fuori dalla home) */
.topbar { display: none; position: sticky; top: 0; z-index: 10; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem; padding-top: max(.75rem, env(safe-area-inset-top)); margin-bottom: 1.6rem;
  background: rgba(10,10,14,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-d); box-shadow: 0 4px 0 -3px rgba(154,116,48,.55); }
body:not([data-view="home"]) .topbar { display: flex; }
.wordmark { font-family: "Limelight", Georgia, serif; font-size: 1.3rem; color: var(--cream); letter-spacing: .04em; text-shadow: 2px 2px 0 var(--crimson-d); white-space: nowrap; }
.wordmark span { color: var(--gold); }
.tabs { display: flex; gap: 1.3rem; }
.tabs a { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: .45rem 0; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--cream); }
.tabs a[aria-current] { color: var(--gold); border-color: var(--gold); }

/* ===================== home: due porte deco ===================== */
.doors { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { --step: polygon(0 11%, 10% 11%, 10% 5.5%, 22% 5.5%, 22% 0, 78% 0, 78% 5.5%, 90% 5.5%, 90% 11%, 100% 11%, 100% 100%, 0 100%);
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 3.6rem 1.4rem 2rem;
  clip-path: var(--step); background: linear-gradient(180deg, var(--gold), var(--gold-d)); transition: transform .2s, filter .2s; }
.door::before { content: ""; position: absolute; inset: 1.5px; clip-path: var(--step); z-index: 0;
  background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(168,35,47,.45), transparent 70%), linear-gradient(180deg, #1a0f22, #0a0a0e 70%); }
.door-genius::before { background: radial-gradient(ellipse 70% 40% at 50% 22%, rgba(168,35,47,.55), transparent 70%), repeating-linear-gradient(-24deg, rgba(239,227,194,.05) 0 10px, transparent 10px 24px), linear-gradient(180deg, #160a10, #08080b 70%); }
.door > * { position: relative; z-index: 1; }
.door:hover, .door:focus-visible { transform: translateY(-3px); filter: brightness(1.12); }
.door-art { height: 120px; display: grid; place-items: center; margin-bottom: .4rem; }
.door-genius-svg { width: 116px; height: 116px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 5px #0a0a0e, 0 0 0 6px rgba(154,116,48,.6), 0 0 40px rgba(168,35,47,.5); }
.mini-marquee { position: relative; display: grid; place-items: center; width: 190px; height: 92px; padding: 10px; background: #1d080d; border: 1px solid var(--gold-d); }
.mini-marquee::before { content: ""; position: absolute; inset: 3px; padding: 6px; pointer-events: none;
  background: radial-gradient(circle, #ffe3a1 0 2px, rgba(255,190,90,.5) 3px, transparent 4.5px) 0 0 / 13px 13px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: bulbs 1.4s steps(1) infinite; }
.mini-marquee span { font-family: "Limelight", serif; color: var(--cream); font-size: .95rem; line-height: 1.1; text-shadow: 0 0 12px rgba(255,200,120,.45); }
.door-kicker { color: var(--gold); font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; font-weight: 700; }
.door-title { font-family: "Limelight", Georgia, serif; font-size: 2.1rem; line-height: 1; color: var(--cream); text-shadow: 2px 2px 0 var(--crimson-d); }
.door-text { color: var(--muted); max-width: 22rem; line-height: 1.45; }
.door-cta { margin-top: .6rem; color: var(--ink); background: linear-gradient(180deg, #f0c36a, var(--gold) 55%, var(--gold-d)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem;
  padding: .7rem 1.6rem; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); }

/* ===================== cartellone: marquee a lampadine ===================== */
@keyframes bulbs { 50% { filter: brightness(.45); } }
.marquee { position: relative; max-width: 46rem; margin: 0 auto 1.6rem; padding: 16px; background: linear-gradient(180deg, #2b0b12, #12050a); border: 1px solid var(--gold-d);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--gold-d), 0 0 70px rgba(214,162,74,.16); }
.marquee::before, .marquee::after { content: ""; position: absolute; inset: 3px; padding: 9px; pointer-events: none;
  background: radial-gradient(circle, #ffe7aa 0 2.6px, rgba(255,190,90,.55) 3.6px, transparent 5.6px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: bulbs 1.6s steps(1) infinite; }
.marquee::after { background-position: 11px 11px; animation-delay: .8s; }
.marquee-board { position: relative; text-align: center; padding: 1.4rem 1rem 1.2rem; background: radial-gradient(ellipse at 50% 0%, rgba(255,200,120,.12), transparent 70%), #0b0809; border: 1px solid rgba(239,227,194,.25); }
.marquee-kicker { color: var(--gold); font-size: .7rem; letter-spacing: .45em; text-transform: uppercase; font-weight: 700; }
.marquee-title { font-family: "Limelight", Georgia, serif; font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.05; margin: .35rem 0 .7rem; color: var(--cream); text-transform: none; letter-spacing: .03em;
  text-shadow: 0 0 22px rgba(255,200,120,.35), 3px 3px 0 var(--crimson-d); }
.marquee-count { display: inline-block; background: var(--cream); color: var(--ink); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: .78rem; padding: .35rem 1rem; }

/* biglietteria: ricerca e filtri */
.boxoffice { max-width: 46rem; margin: 0 auto 1.8rem; padding: 1.2rem 1.2rem 1rem; background: rgba(10,10,14,.75); border: 1px solid rgba(239,227,194,.18); }
.field-label { display: block; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; font-weight: 600; }
.field { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--gold-d); color: var(--cream); padding: .55rem .15rem; font-size: 1rem; letter-spacing: .03em; border-radius: 0; }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field::placeholder { color: #6f6757; }
select.field { appearance: none; padding-right: 1.6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23d6a24a'/%3E%3C/svg%3E") right .2rem center / 10px 6px no-repeat; }
select.field option { background: #12111c; color: var(--cream); }
.filters summary { cursor: pointer; list-style: none; color: var(--gold); font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-size: .75rem; display: inline-flex; gap: .5rem; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::before { content: "◆"; font-size: .6rem; transition: transform .2s; }
.filters[open] summary::before { transform: rotate(45deg); }

/* ===================== locandine generate ===================== */
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; } }
@media (min-width: 960px) { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.poster { position: relative; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; overflow: hidden; color: var(--cream);
  background: linear-gradient(170deg, var(--p1), var(--p2) 72%); border: 1px solid var(--gold-d);
  box-shadow: inset 0 0 0 4px rgba(8,8,11,.92), inset 0 0 0 5px rgba(214,162,74,.4), 0 12px 28px rgba(0,0,0,.55); transition: transform .2s, box-shadow .2s; }
.poster:hover, .poster:focus-visible { transform: translateY(-4px);
  box-shadow: inset 0 0 0 4px rgba(8,8,11,.92), inset 0 0 0 5px var(--gold), 0 0 34px rgba(255,200,120,.22), 0 16px 32px rgba(0,0,0,.6); }
.poster-art { position: absolute; inset: 5px; opacity: .3; pointer-events: none; }
.motif-0 .poster-art { background: repeating-conic-gradient(from -90deg at 50% 58%, var(--pa) 0 3.5deg, transparent 3.5deg 13deg);
  -webkit-mask: radial-gradient(circle at 50% 58%, #000 0, transparent 62%); mask: radial-gradient(circle at 50% 58%, #000 0, transparent 62%); opacity: .45; }
.motif-1 .poster-art { background: linear-gradient(var(--pa) 0 0) 50% 78% / 12% 58% no-repeat, linear-gradient(var(--pa) 0 0) 50% 78% / 30% 44% no-repeat,
  linear-gradient(var(--pa) 0 0) 50% 78% / 52% 31% no-repeat, linear-gradient(var(--pa) 0 0) 50% 78% / 76% 18% no-repeat, linear-gradient(var(--pa) 0 0) 50% 6% / 1.5% 40% no-repeat; opacity: .26; }
.motif-2 .poster-art { background: linear-gradient(135deg, var(--pa) 25%, transparent 25%) -13px 0 / 26px 26px, linear-gradient(225deg, var(--pa) 25%, transparent 25%) -13px 0 / 26px 26px;
  -webkit-mask: linear-gradient(#000 0 30%, transparent 62%); mask: linear-gradient(#000 0 30%, transparent 62%); opacity: .35; }
.motif-3 .poster-art { background: repeating-radial-gradient(circle at 50% 62%, var(--pa) 0 1.5px, transparent 1.5px 15px);
  -webkit-mask: radial-gradient(circle at 50% 62%, #000 0, transparent 60%); mask: radial-gradient(circle at 50% 62%, #000 0, transparent 60%); opacity: .5; }
.poster-score { position: absolute; top: 12px; right: 12px; z-index: 1; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%;
  font-family: "Limelight", serif; font-size: 1.05rem; color: var(--gold); background: rgba(8,8,11,.88); box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 3px rgba(8,8,11,.88), 0 0 0 4px rgba(214,162,74,.35); }
.poster-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .3rem; padding: 2.2rem .9rem .95rem; background: linear-gradient(transparent, rgba(5,5,8,.9) 32%); }
.poster-title { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.22; padding-top: .18em; font-size: clamp(.86rem, 3.4vw, 1.02rem);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.poster-meta { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.poster-plats { display: flex; gap: 5px; }
.poster-plats i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--dot); }

/* scheda film */
.film-dialog { width: min(92vw, 40rem); max-height: 88vh; margin: auto; padding: 0; border: 1px solid var(--gold); color: var(--cream); overflow: auto;
  background: linear-gradient(180deg, #1b1030, #0a0a0e 60%); box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--gold-d), 0 30px 80px rgba(0,0,0,.75); }
.film-dialog[open] { animation: fade .25s ease; }
.film-dialog::backdrop { background: rgba(5,5,8,.78); backdrop-filter: blur(3px); }
.film-sheet { position: relative; padding: 2.2rem 1.5rem 1.6rem; }
.film-close { position: absolute; top: .55rem; right: .8rem; color: var(--muted); font-size: 1.15rem; padding: .3rem .5rem; }
.film-close:hover { color: var(--gold); }

/* ===================== il Genius: atmosfera noir ===================== */
.blinds { display: none; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(-24deg, rgba(239,227,194,.07) 0 18px, transparent 18px 42px);
  -webkit-mask: radial-gradient(ellipse 75% 60% at 12% 18%, #000, transparent 72%); mask: radial-gradient(ellipse 75% 60% at 12% 18%, #000, transparent 72%); }
body[data-view="genius"] .blinds { display: block; }
body[data-view="genius"]::before { background:
  radial-gradient(ellipse 60% 35% at 15% 10%, rgba(255,214,150,.12), transparent 70%),
  radial-gradient(ellipse 80% 40% at 60% 0%, rgba(168,35,47,.32), transparent 70%),
  linear-gradient(180deg, #0a0809 0%, #060607 100%); }
.noir-card { background: linear-gradient(180deg, rgba(22,10,16,.82), rgba(8,8,11,.92)); }
.genius-say { display: flex; align-items: center; gap: .95rem; margin-bottom: 1.3rem; text-align: left; }
.genius-avatar { width: 60px; height: 60px; flex: none; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 4px var(--ink), 0 0 0 5px rgba(154,116,48,.6), 0 0 26px rgba(168,35,47,.45); }
.genius-line { font-style: italic; font-size: 1.04rem; line-height: 1.45; color: var(--cream); padding-left: .9rem; border-left: 2px solid var(--crimson); }
.genius-line::before { content: "« "; color: var(--gold); } .genius-line::after { content: " »"; color: var(--gold); }
.verdict-head .genius-say { justify-content: center; max-width: 32rem; margin: 0 auto; }
@keyframes smoke { 0%, 100% { opacity: .12; transform: translateY(1.5px); } 50% { opacity: .55; transform: translateY(-1.5px); } }
svg .smoke { animation: smoke 4.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .marquee::before, .marquee::after, .mini-marquee::before, svg .smoke { animation: none; }
  .door, .poster { transition: none; }
}
