/* =========================================================================
   StonedGames — foglio di stile unico
   ========================================================================= */

/* --- token ------------------------------------------------------------- */
:root {
  --bg:        #08090b;
  --bg-soft:   #0d0f13;
  --panel:     #15181e;
  --panel-2:   #1d212a;
  --line:      rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .06);

  --text:   #f3f5f7;
  --dim:    #a7b1bc;
  --dimmer: #6f7883;

  --accent:     #57e08a;
  --accent-hi:  #86f2ad;
  --accent-ink: #06180e;

  --pad:   clamp(16px, 4.4vw, 60px);
  --nav-h: 68px;

  --card-w:   clamp(190px, 21vw, 296px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow: 0 18px 44px rgba(0, 0, 0, .62), 0 3px 10px rgba(0, 0, 0, .5);
  --ease:   cubic-bezier(.22, .61, .36, 1);
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* [hidden] deve vincere anche su display:flex/grid dichiarati più sotto */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: currentColor; }

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

button, input {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

/* =========================================================================
   Marchi e lockup dei titoli
   ========================================================================= */
.lockup { display: inline-block; line-height: .92; }

/* StonedGames */
.wordmark {
  font-family: Anton, Impact, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.wordmark b { color: var(--accent); font-weight: inherit; }

/* Gang Droga City */
.lockup--gdc {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.005em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .55), 0 10px 30px rgba(0, 0, 0, .8);
}
.lockup--gdc i { font-style: normal; }
.lockup--gdc i:nth-child(1) { color: #f5a623; }
.lockup--gdc i:nth-child(2) { color: #e03a2f; }
.lockup--gdc i:nth-child(3) { color: #3fbf57; }

/* One Shot One Kill */
.lockup--osok {
  font-family: "Black Ops One", Impact, sans-serif;
  text-transform: uppercase;
  color: #f43a32;
  letter-spacing: .01em;
  text-shadow: 0 3px 0 #4a0a08, 0 0 34px rgba(244, 58, 50, .5);
}
.lockup--osok em {
  display: block;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: .3em;
  letter-spacing: .34em;
  color: #ffc93c;
  text-shadow: none;
  margin-top: .5em;
}

/* Martin's Warehouse */
.lockup--mw {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  color: #f6f2e6;
  letter-spacing: .005em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .5), 0 12px 34px rgba(0, 0, 0, .85);
}
.lockup--mw b { display: block; font-weight: inherit; }
.lockup--mw b:first-child { font-size: .58em; letter-spacing: .06em; opacity: .9; }
.lockup--mw em {
  display: block;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: .22em;
  letter-spacing: .42em;
  color: var(--accent);
  text-shadow: none;
  margin-top: .7em;
}

/* =========================================================================
   Splash d'apertura
   ========================================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .5s var(--ease), visibility .5s;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.splash__logo {
  width: min(440px, 62vw);
  height: auto;
  animation: splashIn .62s var(--ease) both;
}

@keyframes splashIn {
  from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* =========================================================================
   Barra di navigazione
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(6, 7, 9, .92), rgba(6, 7, 9, 0));
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(8, 9, 11, .93);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__brand { display: flex; align-items: center; flex: none; }
.nav__logo  { height: clamp(26px, 3.4vw, 38px); width: auto; }
.nav__wordmark { font-size: clamp(20px, 2.6vw, 28px); }

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ricerca */
.search { display: flex; align-items: center; }
.search__btn {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  font-size: 21px; color: var(--text);
  border-radius: 6px;
}
.search__btn:hover { color: var(--accent); }
.search__input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  transition: width .28s var(--ease), padding .28s var(--ease), opacity .2s;
  font-size: 14px;
}
.search.is-open .search__input {
  width: clamp(170px, 22vw, 280px);
  padding: 7px 11px;
  border-color: var(--line);
  opacity: 1;
}
.search__input::placeholder { color: var(--dimmer); }

/* =========================================================================
   Bottoni
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, opacity .2s, box-shadow .2s;
}
.btn svg { font-size: 1.25em; }
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--play  { background: #fff; color: #0b0d10; }
.btn--play:hover { background: #e6e8ea; }

.btn--ghost { background: rgba(109, 121, 134, .48); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(109, 121, 134, .66); }

.btn--sm { padding: 8px 15px; font-size: 13.5px; }

.btn--soon { background: rgba(255, 255, 255, .9); color: #0b0d10; }

/* =========================================================================
   Billboard
   ========================================================================= */
.hero {
  position: relative;
  /* altezza minima, non fissa: su finestre basse il billboard cresce invece di
     far finire le pillole sotto la barra di navigazione */
  min-height: clamp(620px, 88vh, 940px);
  padding-top: calc(var(--nav-h) + 10px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.hero__stage { position: absolute; inset: 0; z-index: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s var(--ease);
}
.slide.is-active { opacity: 1; }

.slide__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform: scale(1.04);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.4%, -1.4%, 0); }
}

/* Il trailer che prende il posto dell'artwork. È girato quadrato: qui riempie
   il billboard tagliando sopra e sotto, come fa Netflix coi suoi master. */
.slide__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.slide__video.is-on { opacity: 1; }

/* ritaglio in primo piano (il pistolero di OSOK) */
.slide__cutout {
  position: absolute;
  right: clamp(20px, 9vw, 190px);
  bottom: 8%;
  height: clamp(230px, 46vh, 460px);
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 26px 30px rgba(60, 20, 0, .6));
  animation: bob 5.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 7, 9, .96) 0%, rgba(6, 7, 9, .78) 34%, rgba(6, 7, 9, .12) 68%, rgba(6, 7, 9, .42) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, .5) 22%, rgba(8, 9, 11, 0) 52%);
}

/* L'artwork è una notte scura, il trailer no: ha inquadrature chiare e interfacce
   di gioco. Mentre gira, la velatura si stringe o il testo non si legge più. */
.hero.is-previewing .hero__scrim {
  background:
    linear-gradient(90deg, rgba(6, 7, 9, .98) 0%, rgba(6, 7, 9, .93) 34%, rgba(6, 7, 9, .5) 70%, rgba(6, 7, 9, .66) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, .74) 26%, rgba(8, 9, 11, .28) 58%);
}

.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 8%, rgba(8, 9, 11, 0) 100%);
}

.hero__body {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 var(--pad) clamp(72px, 13vh, 150px);
}

.hero__inner { max-width: min(660px, 92%); }

/* il testo entra dopo la dissolvenza dell'artwork, così non si vede il disallineamento */
.hero__inner > * { animation: heroIn .5s var(--ease) both; }
.hero__inner > *:nth-child(1) { animation-delay: .16s; }
.hero__inner > *:nth-child(2) { animation-delay: .22s; }
.hero__inner > *:nth-child(3) { animation-delay: .28s; }
.hero__inner > *:nth-child(4) { animation-delay: .34s; }
.hero__inner > *:nth-child(5) { animation-delay: .40s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
}

.hero__pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(4px);
}
.pill--live { color: var(--accent); }
.pill--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(87, 224, 138, .7);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 7px rgba(87, 224, 138, 0); }
}
.pill--soon { color: #ffce4d; border-color: rgba(255, 206, 77, .4); }

.hero__title { margin: 0 0 18px; }
.hero__title .lockup { font-size: clamp(40px, 7.4vw, 96px); }
.hero__title--gdc { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.hero__emblem {
  height: clamp(66px, 10vw, 128px);
  width: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .75));
}

.hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14.5px;
  color: var(--dim);
  margin-bottom: 16px;
}
.hero__meta .sep { color: var(--dimmer); font-style: normal; margin-right: 4px; }

.hero__text {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  color: #dfe4e9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__cta .btn { padding: 14px 30px; font-size: 16.5px; }
.hero__hint {
  width: 100%;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--dimmer);
}

/* lato destro: controllo e rating */
.hero__side {
  position: absolute;
  right: 0;
  bottom: clamp(96px, 15vh, 176px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__mute {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  margin-right: 14px;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: rgba(255, 255, 255, .85);
  transition: background .2s, border-color .2s;
}
.hero__mute:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

.hero__rating {
  padding: 7px 14px 7px 12px;
  font-size: 14px;
  letter-spacing: .05em;
  color: #e8ecef;
  background: rgba(20, 22, 26, .58);
  border-left: 3px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(3px);
}

.hero__dots {
  position: absolute;
  right: var(--pad);
  bottom: clamp(58px, 10vh, 120px);
  z-index: 4;
  display: flex;
  gap: 7px;
}
.hero__dots button {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .34);
  transition: background .25s, width .25s var(--ease);
}
.hero__dots button:hover { background: rgba(255, 255, 255, .6); }
.hero__dots button.is-active { background: var(--accent); width: 38px; }

/* =========================================================================
   Diorama Martin's Warehouse (key art costruita in CSS)
   ========================================================================= */
.diorama {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #12151b 0%, #1a1e26 40%, #0e1116 100%);
}

/* parete di fondo: lamiera grecata + capriate */
.diorama__wall {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 52%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1) 62%, rgba(0, 0, 0, .5)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 44px),
    linear-gradient(180deg, #2b3039, #1a1e26);
}
.diorama__wall::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 14%;
  height: 3px;
  background: rgba(0, 0, 0, .45);
  box-shadow: 0 22px 0 rgba(0, 0, 0, .3), 0 44px 0 rgba(0, 0, 0, .18);
}

/* pavimento: piano in cemento + griglia in prospettiva */
.diorama__floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52%;
  background: linear-gradient(0deg, #3f444e 0%, #2f343d 58%, #23272f 100%);
}
.diorama__grid {
  position: absolute;
  left: 50%; bottom: 0;
  width: 300%; height: 52%;
  transform: translateX(-50%) perspective(400px) rotateX(74deg);
  transform-origin: 50% 100%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0 4px, transparent 4px 130px),
    repeating-linear-gradient(0deg,  rgba(0, 0, 0, .26) 0 4px, transparent 4px 130px);
  mask-image: linear-gradient(0deg, #000 14%, transparent 90%);
}
.diorama__glow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 66%;
  background:
    radial-gradient(44% 40% at 24% 58%, rgba(255, 198, 112, .26), transparent 72%),
    radial-gradient(38% 34% at 76% 48%, rgba(255, 212, 136, .22), transparent 72%);
}
.diorama__beam {
  position: absolute;
  top: -6%;
  width: 26%;
  height: 78%;
  background: linear-gradient(180deg, rgba(255, 205, 130, .22), rgba(255, 205, 130, 0) 78%);
  filter: blur(14px);
  transform: perspective(300px) rotateX(6deg);
}
.diorama__beam--a { left: 10%; }
.diorama__beam--b { left: 62%; width: 22%; opacity: .8; }

.diorama__el {
  position: absolute;
  width: auto;
  filter: drop-shadow(0 16px 11px rgba(0, 0, 0, .62));
}
.diorama__el--scaffale-a { left: 0%;   bottom: 36%; height: 26%; opacity: .95; }
.diorama__el--scaffale-b { left: 21%;  bottom: 40%; height: 21%; opacity: .78; }
.diorama__el--scaffale-c { right: 2%;  bottom: 38%; height: 23%; opacity: .86; }
.diorama__el--bancale    { left: 13%;  bottom: 16%; height: 14%; }
.diorama__el--roll       { left: 46%;  bottom: 13%; height: 26%; }
.diorama__el--collo      { left: 37%;  bottom: 8%;  height: 10%; }
.diorama__el--cono       { left: 32%;  bottom: 6%;  height: 7%; }
.diorama__el--muletto    { right: 5%;  bottom: 2%;  height: 45%; }
.diorama__el--martin     { left: 4%;   bottom: 11%; height: 23%; }
.diorama__el--player     { left: 25%;  bottom: 5%;  height: 23%; }

.diorama__haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 50% 100%, rgba(0, 0, 0, .5), transparent 70%),
    radial-gradient(90% 70% at 50% 0%, rgba(0, 0, 0, .35), transparent 65%);
}

/* nelle card il diorama è più compatto */
.card__art .diorama__el--martin,
.card__art .diorama__el--player,
.card__art .diorama__el--cono,
.card__art .diorama__el--collo { display: none; }
.card__art .diorama__el--muletto  { height: 52%; right: 4%; }
.card__art .diorama__el--roll     { left: 42%; height: 30%; }
.card__art .diorama__el--bancale  { left: 8%; height: 17%; }

/* =========================================================================
   Righe di contenuti
   ========================================================================= */
.rows {
  position: relative;
  z-index: 5;
  margin-top: clamp(-140px, -9vh, -60px);
  padding-bottom: clamp(40px, 7vh, 88px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vw, 44px);
}

.row { position: relative; }

.row__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 var(--pad);
  margin: 0 0 12px;
}
.row__title {
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}
.row__sub { font-size: 13.5px; color: var(--dimmer); }

.row__viewport { position: relative; }

.row__track {
  display: flex;
  gap: 10px;
  padding: 26px var(--pad);
  margin-block: -26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.row__track::-webkit-scrollbar { display: none; }
.row__track > * { scroll-snap-align: start; flex: none; }

.row__nav {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 6;
  width: clamp(38px, var(--pad), 62px);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
  background: rgba(8, 9, 11, .74);
}
.row__nav:hover { background: rgba(8, 9, 11, .9); font-size: 30px; }
.row__nav--prev { left: 0; }
.row__nav--next { right: 0; }
.row:hover .row__nav:not([hidden]) { opacity: 1; }
.row__nav:focus-visible { opacity: 1; }

/* --- card 16:9 --------------------------------------------------------- */
.card {
  position: relative;
  width: var(--card-w);
  border-radius: var(--r-sm);
  background: var(--panel);
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  will-change: transform;
}
.card:hover, .card:focus-visible {
  transform: scale(1.055);
  box-shadow: var(--shadow);
  z-index: 3;
}

.card__art {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #101318;
}
.card__art > img.card__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform .5s var(--ease);
}
.card:hover .card__bg { transform: scale(1.06); }

.card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 8, .92) 2%, rgba(5, 6, 8, .28) 48%, rgba(5, 6, 8, .05) 100%);
}

.card__cutout {
  position: absolute;
  right: 6%;
  bottom: 4%;
  height: 74%;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6));
}

.card__label {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.card__label .lockup { font-size: clamp(15px, 1.5vw, 21px); }
.lockup__emblem {
  height: clamp(30px, 3.2vw, 46px);
  width: auto;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8));
}
.card__label .lockup em { font-size: .3em; letter-spacing: .28em; margin-top: .4em; }

.card__flag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(3px);
}
.card__flag--live { color: var(--accent); }
.card__flag--soon { color: #ffce4d; }

.card__hover {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 13px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(0deg, rgba(4, 5, 7, .97), rgba(4, 5, 7, .72) 60%, transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.card:hover .card__hover, .card:focus-within .card__hover { opacity: 1; transform: none; }
.card:hover .card__label, .card:focus-within .card__label { opacity: 0; transition: opacity .18s; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.6px solid rgba(255, 255, 255, .55);
  font-size: 16px;
  background: rgba(20, 22, 26, .55);
  transition: transform .16s var(--ease), background .2s, border-color .2s;
  flex: none;
}
.icon-btn:hover { transform: scale(1.1); border-color: #fff; background: rgba(255, 255, 255, .16); }
.icon-btn--play { background: #fff; color: #0b0d10; border-color: #fff; }
.icon-btn--play:hover { background: #dfe2e5; }

.card__hovermeta {
  margin-left: 4px;
  min-width: 0;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.32;
}
.card__hovermeta b { display: block; color: var(--text); font-size: 12.5px; }
.card__hovermeta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* correzioni di luce per artwork nativamente molto scuri */
[data-game="gdc"] .card__bg,
[data-game="gdc"] .sheet__bg { filter: brightness(1.3) saturate(1.18); }
[data-game="gdc"] .slide__img { filter: brightness(1.1) saturate(1.1); }

/* --- personaggi -------------------------------------------------------- */
.person {
  width: clamp(104px, 11vw, 148px);
  text-align: center;
  cursor: pointer;
}
.person__ph {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--panel);
  transition: transform .25s var(--ease), border-color .25s;
}
.person:hover .person__ph { transform: scale(1.06); border-color: var(--accent); }
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__name { margin: 10px 0 1px; font-size: 13.5px; font-weight: 700; }
.person__role { font-size: 12px; color: var(--dimmer); }

/* --- pistoleri di OSOK -------------------------------------------------- */
.rarity {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(6, 8, 11, .8);
  backdrop-filter: blur(3px);
}
.rarity--common    { color: #a9b3be; }
.rarity--rare      { color: #5fa8ff; }
.rarity--epic      { color: #c58bff; }
.rarity--legendary { color: #f4c430; }

.tarot {
  position: relative;
  width: clamp(126px, 13vw, 178px);
  cursor: pointer;
  transition: transform .3s var(--ease);
}
.tarot:hover, .tarot:focus-visible { transform: translateY(-8px) rotate(-1.4deg) scale(1.03); }

.tarot__art {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6);
  background: #14100c;
}
.tarot__card {
  width: 100%; height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.tarot__cap { margin-top: 10px; }
.tarot__cap b { display: block; font-size: 13.5px; }
.tarot__cap span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  color: var(--dimmer);
  line-height: 1.35;
}

/* --- novità ------------------------------------------------------------ */
.post {
  display: flex;
  flex-direction: column;
  width: clamp(258px, 26vw, 332px);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post:hover, .post:focus-visible {
  border-color: rgba(87, 224, 138, .5);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
}

.post__art {
  position: relative;
  aspect-ratio: 16 / 8;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f1217;
  border-bottom: 1px solid var(--line-soft);
}
.post__art[data-game="gdc"]  { background: radial-gradient(120% 140% at 50% 0%, #1d3324, #0f1217); }
.post__art[data-game="osok"] { background: radial-gradient(120% 140% at 50% 0%, #33161a, #0f1217); }
.post__art[data-game="mw"]   { background: radial-gradient(120% 140% at 50% 0%, #2b2a1c, #0f1217); }

.post__img { width: 100%; height: 100%; object-fit: cover; }

/* copertina tipografica per le novità senza immagine */
.post__art--type { background-size: cover; background-position: center; }
.post__art--type[data-game="gdc"] {
  background-image:
    linear-gradient(155deg, rgba(10, 26, 16, .82), rgba(8, 10, 13, .95)),
    url("../art/gdc/backdrop.jpg");
}
.post__art--type[data-game="osok"] {
  background-image:
    linear-gradient(155deg, rgba(38, 14, 12, .84), rgba(8, 10, 13, .95)),
    url("../art/osok/backdrop.jpg");
}
.post__emblem {
  position: absolute;
  top: 10px; left: 12px;
  height: 26px; width: auto;
  opacity: .95;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .8));
}
.post__arttitle {
  padding: 22px 16px 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  color: #f2f5f7;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .8);
}

.post__body { padding: 15px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.post__kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
}
.post h4 { margin: 9px 0 7px; font-size: 16.5px; line-height: 1.3; }
.post p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__date { margin-top: auto; font-size: 12px; color: var(--dimmer); }

/* --- novità: la lettura per esteso nella modale ------------------------ */
.article__hero { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: #0f1217; }
.article__body { padding: clamp(22px, 3.4vw, 38px) clamp(20px, 4vw, 46px) clamp(26px, 4vw, 42px); }
.article__body h2 { margin: 10px 0 6px; font-size: clamp(24px, 3vw, 34px); line-height: 1.16; }
.article__date { margin: 0 0 20px; font-size: 13px; color: var(--dimmer); }
.article__lead { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: #dfe4e9; }
.article__body > p { margin: 0 0 14px; font-size: 15px; line-height: 1.68; color: var(--dim); }

.article__list { margin: 0; padding: 0; list-style: none; }
.article__list li {
  padding: 12px 0 12px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dim);
  position: relative;
}
.article__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.article__list b { color: var(--text); display: block; margin-bottom: 2px; font-size: 13px; letter-spacing: .03em; }

.article__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* --- le novità del gioco, dentro la sua scheda ------------------------- */
#sheetNews:empty { display: none; }

.relnews {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s;
}
.relnews:hover { background: rgba(255, 255, 255, .045); }
.relnews__date {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.relnews__t { display: block; margin: 6px 0 4px; font-size: 15px; font-weight: 700; }
.relnews__d {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
}

/* --- scheda di un personaggio ------------------------------------------ */
.who { display: grid; grid-template-columns: clamp(190px, 33%, 310px) 1fr; }

.who__art {
  position: sticky;
  top: 0;
  align-self: start;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f1217;
}
.who__art img { width: 100%; height: 100%; object-fit: cover; }
.who--sprite .who__art {
  background:
    linear-gradient(180deg, rgba(10, 8, 6, .3), rgba(10, 8, 6, .78)),
    url("../art/osok/backdrop.jpg") center / cover;
}
.who--sprite .who__art img {
  object-fit: contain;
  image-rendering: pixelated;
  padding: 14px;
}

.who__body { padding: clamp(24px, 3.4vw, 40px) clamp(20px, 3.4vw, 40px) clamp(26px, 3.4vw, 40px); }
.who__body h2 { margin: 10px 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.14; }
.who__sub { margin: 0 0 18px; font-size: 14px; color: var(--dim); }
.who__text { margin: 0; font-size: 16px; line-height: 1.65; color: #dfe4e9; }

.who__unlock {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .035);
  font-size: 14px;
  color: var(--dim);
}
.who__unlock b {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.who__deck { margin: 24px 0 0; }
.who__deck img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  image-rendering: pixelated;
}
.who__deck figcaption { margin-top: 9px; font-size: 12.5px; color: var(--dimmer); }

/* --- risultati ricerca ------------------------------------------------- */
.results {
  padding: calc(var(--nav-h) + 28px) var(--pad) 60px;
  min-height: 70vh;
}
.results__head { margin: 0 0 20px; font-size: 20px; font-weight: 600; color: var(--dim); }
.results__head b { color: var(--text); }
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.results__grid .card { width: auto; }
.results__empty { color: var(--dimmer); }

/* =========================================================================
   Modale dettaglio
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 200; }
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, .8);
  backdrop-filter: blur(3px);
  animation: fade .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }

.modal__panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 90vh;
  margin: 5vh auto;
  border-radius: var(--r-lg);
  overflow: hidden auto;
  background: #111419;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .75);
  animation: pop .32s var(--ease);
  scrollbar-width: thin;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
}
/* il pannello prende il fuoco solo per i lettori di schermo: niente anello */
.modal__panel:focus, .modal__panel:focus-visible { outline: none; }

/* il trailer è quadrato: il pannello si stringe invece di lasciargli i vuoti ai lati */
.modal__panel.is-narrow { width: min(600px, 94vw); }

/* --- trailer ----------------------------------------------------------- */
.trailer__video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 74vh;
  background: #000;
  object-fit: contain;
}
.trailer__bar { padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px); }
.trailer__bar h2 { margin: 9px 0 4px; font-size: clamp(21px, 2.6vw, 27px); }
.trailer__cap { margin: 0 0 18px; font-size: 13.5px; color: var(--dimmer); }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  font-size: 20px;
  border-radius: 50%;
  background: rgba(10, 12, 15, .85);
  color: #fff;
}
.modal__close:hover { background: #000; }

.sheet__art {
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: #0b0e12;
}
.sheet__art > img.sheet__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.sheet__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #111419 1%, rgba(17, 20, 25, .45) 44%, rgba(17, 20, 25, .05) 100%);
}
.sheet__cutout {
  position: absolute;
  right: 5%; bottom: 6%;
  height: 68%;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .6));
}
.sheet__over {
  position: absolute;
  left: clamp(20px, 4vw, 44px);
  right: clamp(20px, 4vw, 44px);
  bottom: clamp(18px, 3vw, 30px);
}
.sheet__over .lockup { font-size: clamp(26px, 4.2vw, 52px); }
.sheet__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.sheet__hint { font-size: 13px; color: #b9c1c9; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }

.sheet__body {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 34px) clamp(20px, 4vw, 44px) 8px;
}
.sheet__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 14px;
}
.sheet__meta .chip {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}
.sheet__desc { margin: 0; font-size: 15.5px; line-height: 1.62; color: #dbe1e7; }

.sheet__facts { font-size: 13.5px; line-height: 1.6; }
.sheet__facts div { margin-bottom: 11px; }
.sheet__facts dt { display: inline; color: var(--dimmer); }
.sheet__facts dd { display: inline; margin: 0; color: #dbe1e7; }
.sheet__small {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.5;
  color: #5b636c;
}

.sheet__section {
  padding: 12px clamp(20px, 4vw, 44px) clamp(24px, 3vw, 38px);
}
.sheet__section h3 {
  font-size: 18px;
  margin: 18px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sheet__section h3 span { font-size: 13px; font-weight: 500; color: var(--dimmer); }

.ep {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 14px 12px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s;
}
.ep:hover { background: rgba(255, 255, 255, .04); }
.ep__n {
  grid-row: span 2;
  font-size: 21px;
  font-weight: 300;
  color: var(--dimmer);
  text-align: center;
  padding-top: 2px;
}
.ep__t { font-size: 15px; font-weight: 700; }
.ep__t em { font-style: italic; font-weight: 400; color: var(--dim); margin-left: 8px; font-size: 13.5px; }
.ep__d { font-size: 13.5px; color: var(--dim); line-height: 1.5; margin: 0; }

.tagline-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag {
  padding: 5px 11px;
  font-size: 12.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-soft);
  color: var(--dim);
}

/* =========================================================================
   Adattamenti
   ========================================================================= */
@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .hero { min-height: clamp(560px, 84vh, 820px); }
  .hero__body { padding-bottom: 58px; }
  .hero__dots { bottom: 16px; }
  .rows { margin-top: 0; }
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(6, 7, 9, .9) 0%, rgba(6, 7, 9, .5) 60%, rgba(6, 7, 9, .3) 100%),
      linear-gradient(0deg, var(--bg) 2%, rgba(8, 9, 11, .62) 30%, rgba(8, 9, 11, 0) 62%);
  }
  .hero.is-previewing .hero__scrim {
    background:
      linear-gradient(90deg, rgba(6, 7, 9, .94) 0%, rgba(6, 7, 9, .72) 60%, rgba(6, 7, 9, .58) 100%),
      linear-gradient(0deg, var(--bg) 2%, rgba(8, 9, 11, .8) 34%, rgba(8, 9, 11, .3) 70%);
  }
  .slide__cutout { right: -4%; height: 34vh; opacity: .9; }
  .hero__side { display: none; }
  .hero__inner { max-width: 100%; }
  .hero__text { font-size: 14.5px; }
  .sheet__body { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who__art { position: static; aspect-ratio: 16 / 10; }
  .who--sprite .who__art { aspect-ratio: 4 / 3; }
  .row__nav { display: none; }
  .diorama__el--martin, .diorama__el--player { display: none; }
}

@media (max-width: 620px) {
  .nav__shuffle span { display: none; }
  .hero__title .lockup { font-size: clamp(27px, 8.4vw, 46px); }
  .hero__emblem { height: 52px; }
  .hero__meta { font-size: 13px; gap: 7px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; padding: 13px 18px; }
  .hero__dots { left: var(--pad); right: auto; }
  .row__sub { display: none; }
}

@media (hover: none) {
  .card__hover { opacity: 1; transform: none; }
  .card__label { opacity: 0; }
  .row__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .row__track { scroll-behavior: auto; }
}
