/* Pirate Games — portal. Tema oscuro unico (identidad de marca). */
:root {
  --bg: #0b0710;
  --bg-2: #120a1c;
  --surface: #1a1027;
  --surface-2: #231634;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4eefb;
  --muted: #b3a7c6;
  --pink: #f04fe9;
  --pink-deep: #b312c4;
  --gold: #ffc53d;
  --green: #45e08f;
  --red: #ff5a67;
  --discord: #5865f2;
  --steam: #1b2838;
  --itch: #fa5c5c;
  --font-display: "Chakra Petch", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 12px;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--pink); color: #14051a; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #14051a; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 22px; border: 0; text-decoration: none;
  font: 600 .95rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--b-fg); background: var(--b-bg);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: filter .15s, transform .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: -4px; }
.btn--primary { --b-bg: linear-gradient(135deg, var(--pink), var(--pink-deep)); --b-fg: #fff; }
.btn--ghost { --b-bg: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { --b-bg: rgba(255, 255, 255, .16); }
.btn--discord { --b-bg: var(--discord); --b-fg: #fff; }
.btn--text { padding: 0 6px; clip-path: none; color: var(--gold); min-height: 48px; }
.btn--text .ico { transition: transform .15s; }
.btn--text:hover .ico { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .82rem; --cut: 9px; white-space: nowrap; }

/* ---------- Etiquetas ---------- */
.badges, .card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  font: 600 .72rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  background: #000a; color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.badge--released { color: var(--green); border-color: color-mix(in srgb, var(--green) 55%, transparent); }
.badge--prebeta, .badge--beta, .badge--earlybeta { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.badge--dev, .badge--prototype { color: #9fd0ff; border-color: #9fd0ff80; }
.badge--hold { color: var(--muted); }
.badge--free { background: var(--green); color: #06210f; border-color: transparent; }
.badge--adult { background: var(--red); color: #fff; border-color: transparent; }

.plats { display: inline-flex; gap: 10px; color: var(--muted); }
.plat { display: inline-flex; }
.plat .ico { width: 18px; height: 18px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.site-header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 38px; width: auto; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav__list { display: flex; gap: 4px; margin-left: 12px; }
.site-nav__list a {
  display: block; padding: 10px 14px; white-space: nowrap; text-decoration: none; color: var(--muted);
  font: 600 .9rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.site-nav__list a:hover { color: var(--text); }
.site-nav__list a[aria-current="page"] { color: var(--text); border-color: var(--pink); }
.site-nav__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 6px; text-decoration: none; color: var(--muted); font: 600 .85rem/1 var(--font-display); letter-spacing: .04em; }
.lang:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: none; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* Pantallas medianas: el boton de Discord queda solo con el icono para que la cabecera no se desborde */
@media (min-width: 961px) and (max-width: 1240px) {
  .site-header__in { gap: 14px; }
  .site-nav { gap: 10px; }
  .site-nav__list { margin-left: 0; gap: 0; }
  .site-nav__list a { padding: 10px 10px; letter-spacing: .04em; }
  .site-nav__tools { gap: 8px; }
  .site-nav__tools .btn--discord { padding: 0 12px; }
  .site-nav__tools .btn--discord span { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    /* absoluto respecto a la cabecera: su backdrop-filter atrapa a los hijos con position:fixed */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 28px;
    padding: 28px var(--gutter) 40px; background: var(--bg); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav__list { flex-direction: column; margin: 0; gap: 0; }
  .site-nav__list a { padding: 18px 2px; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .site-nav__list a[aria-current="page"] { border-color: var(--line); color: var(--pink); }
  .site-nav__tools { flex-direction: column; align-items: stretch; }
  .site-nav__tools .btn { min-height: 52px; font-size: 1rem; }
  .lang { justify-content: center; min-height: 48px; font-size: 1rem; border: 1px solid var(--line-2); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: #000; }
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  min-height: clamp(540px, 82vh, 780px); display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.hero__bg, .gamehead__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img, .gamehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg--blur img, .gamehead__bg--blur img { filter: blur(34px) saturate(1.35); transform: scale(1.25); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 7, 16, .96) 0%, rgba(11, 7, 16, .78) 42%, rgba(11, 7, 16, .30) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: 48px; padding-bottom: 132px; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin: 16px 0 16px; text-shadow: 0 4px 30px #000a; }
.hero__tag { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #e4dbf0; max-width: 34em; margin-bottom: 26px; }
.hero__cta, .gamehead__cta, .spot__cta, .panel__cta, .crew__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__plats { margin-top: 22px; }
.hero__art { display: block; position: relative; justify-self: end; width: 100%; max-width: 560px; transform: rotate(1.6deg); transition: transform .3s; }
.hero__art:hover { transform: rotate(0deg) scale(1.02); }
.hero__art img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.hero__art::before {
  content: ""; position: absolute; inset: -3px; z-index: -1; transform: translate(12px, 12px);
  background: linear-gradient(135deg, var(--pink), var(--gold));
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.hero__nav { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; margin: 0 auto; }
.hero__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.hero__tab { background: none; border: 0; padding: 10px 0 0; text-align: left; color: var(--muted); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 10px; align-items: baseline; min-height: 56px; }
.hero__tab:hover, .hero__tab.is-active { color: var(--text); }
.hero__tab-n { font: 600 .78rem/1 var(--font-display); color: var(--pink); letter-spacing: .1em; }
.hero__tab-name { font: 600 .92rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__tab-bar { grid-column: 1 / -1; grid-row: 1; height: 3px; background: var(--line-2); overflow: hidden; }
.hero__tab-bar i { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active .hero__tab-bar i { transform: scaleX(1); }
.hero.is-auto .hero__tab.is-active .hero__tab-bar i { animation: tabfill var(--hero-ms, 7000ms) linear both; }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 116px; }
  .hero__art { order: -1; justify-self: start; max-width: 420px; width: 88%; transform: rotate(-1.2deg); }
  .hero__art::before { transform: translate(8px, 8px); }
  .hero__slide { min-height: 0; align-items: flex-start; }
  .hero__tab-name { display: none; }
  .hero__tab { grid-template-columns: 1fr; min-height: 44px; }
  .hero__nav { bottom: 20px; }
}

/* ---------- Cinta ---------- */
.ticker { background: var(--pink); color: #14051a; overflow: hidden; border-block: 2px solid #14051a; }
.ticker__track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 11px 0; animation: ticker 44s linear infinite; }
.ticker span { font: 700 .95rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.ticker .ico { width: 18px; height: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--pink); font: 600 .82rem/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 700; text-transform: uppercase; }
.section__title--sm { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.section__lead { color: var(--muted); font-size: 1.1rem; margin: 14px 0 0; max-width: 42em; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--muted);
  font: 600 .84rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; transition: color .15s, border-color .15s, background-color .15s;
}
.chip b { font-weight: 600; color: var(--pink); }
.chip:hover { color: var(--text); border-color: var(--pink); }
.chip.is-active { background: var(--pink); border-color: var(--pink); color: #14051a; }
.chip.is-active b { color: #14051a; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { position: relative; }
.card[hidden] { display: none; }
.card__link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform .2s, background-color .2s, border-color .2s;
}
.card__link:hover { transform: translateY(-4px); background: var(--surface-2); border-color: var(--pink); }
.card__link:focus-visible { outline-offset: -4px; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card__link:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; left: 14px; right: 10px; bottom: 10px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.card__meta { margin: 0 0 6px; color: var(--pink); font: 600 .76rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; min-height: 1em; }
.card__title { font-size: 1.45rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: .98rem; line-height: 1.5; margin-bottom: 16px; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__stores { display: inline-flex; gap: 8px; }
.store { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #ffffff12; color: var(--text); }
.store .ico { width: 16px; height: 16px; }
.store--play { background: var(--green); color: #06210f; }
.empty { color: var(--muted); padding: 32px 0; }

/* ---------- Atrios / Nexus ---------- */
.spots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(18px, 3vw, 32px); }
.spot { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.spot__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.spot:hover .spot__media img { transform: scale(1.04); }
.spot__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--pink); }
.spot__kicker { color: var(--gold); font: 600 .8rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.spot__title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; margin-bottom: 12px; }
.spot__title a { text-decoration: none; }
.spot__title a:hover { color: var(--pink); }
.spot__body > p { color: #d9cfe6; }
.spot__cta { margin-top: auto; padding-top: 8px; }
.note { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.note--box { background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.video { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.video:hover .video__thumb img { transform: scale(1.05); opacity: .8; }
.video__play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--pink); color: #14051a; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.video__play .ico { width: 20px; height: 20px; fill: currentColor; }
.video__title { font: 600 1.02rem/1.3 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.video:hover .video__title { color: var(--pink); }
.video__date { color: var(--muted); font-size: .88rem; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; margin-top: 14px; }
.video--sm .video__title { font-size: .9rem; }
.video--sm .video__play { width: 34px; height: 34px; left: 8px; bottom: 8px; }
.video--sm .video__play .ico { width: 16px; height: 16px; }
.video--sm.is-active .video__thumb { outline: 2px solid var(--pink); outline-offset: 2px; }
.video--sm.is-active .video__title { color: var(--pink); }

/* ---------- Estudio ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.about__title { font-size: clamp(2.2rem, 5.4vw, 4rem); color: var(--pink); margin-bottom: 20px; }
.about__lead { font-size: 1.22rem; color: var(--text); }
.about__copy p:last-child { color: var(--muted); margin-bottom: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dd { margin: 0; font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: .95rem; line-height: 1.3; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* ---------- Comunidad ---------- */
.crew {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 56px); align-items: center;
  padding: clamp(26px, 5vw, 60px); background: linear-gradient(135deg, #2a0f3d, #150a22 60%); border: 1px solid var(--line-2);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}
.crew__mark { width: clamp(110px, 18vw, 220px); height: auto; }
.crew__body p { color: #d9cfe6; max-width: 38em; margin: 14px 0 22px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); border: 1px solid var(--line-2); transition: color .15s, border-color .15s, background-color .15s; }
.social a:hover { color: #14051a; background: var(--pink); border-color: var(--pink); }
.social .ico { width: 19px; height: 19px; }
.social--lg a { width: 48px; height: 48px; }
@media (max-width: 640px) { .crew { grid-template-columns: 1fr; } .crew__mark { width: 96px; } }

/* ---------- Cabeceras de pagina ---------- */
.pagehead { padding: clamp(40px, 7vw, 80px) 0 clamp(20px, 3vw, 32px); background: radial-gradient(1200px 400px at 15% -10%, #3a1150aa, transparent 70%); border-bottom: 1px solid var(--line); }
.pagehead--center { text-align: center; min-height: 62vh; display: flex; align-items: center; border: 0; }
.pagehead--center .pagehead__lead { margin-inline: auto; }
.pagehead__title { font-size: clamp(2.3rem, 6vw, 4.2rem); text-transform: uppercase; font-weight: 700; }
.pagehead__lead { color: var(--muted); font-size: 1.12rem; max-width: 44em; margin: 14px 0 0; }
.pagehead__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.bigcode { font: 700 clamp(5rem, 22vw, 12rem)/.9 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--pink); margin: 0 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--muted); font: 500 .86rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Ficha de juego ---------- */
.gamehead { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.gamehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 7, 16, .95), rgba(11, 7, 16, .62)), linear-gradient(0deg, var(--bg), transparent 55%); }
.gamehead__title { font-size: clamp(2.3rem, 6.4vw, 4.8rem); font-weight: 700; text-transform: uppercase; margin: 16px 0 14px; }
.gamehead__tag { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e4dbf0; max-width: 40em; margin-bottom: 26px; }
.gamebody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gamebody__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.prose h2 { font-size: 1.5rem; text-transform: uppercase; margin: 1.8em 0 .6em; padding-left: 14px; border-left: 3px solid var(--pink); }
.prose > h2:first-child, .prose > .note + h2 { margin-top: .4em; }
.prose p { color: #ded5ea; max-width: 46em; }
.prose ul { list-style: none; margin: 0 0 1em; display: grid; gap: 8px; max-width: 46em; }
.prose li { position: relative; padding-left: 22px; color: #ded5ea; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--pink); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.06); }
.embed { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.panel__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; }
.panel__h { font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin: 0 0 10px; }
.panel__cta { flex-direction: column; align-items: stretch; }
.facts { margin: 0 0 20px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.platlist { display: grid; gap: 6px; justify-items: end; }
.platlist li { display: inline-flex; align-items: center; gap: 8px; }
.platlist .ico { width: 16px; height: 16px; color: var(--muted); }
.steam-widget { width: 100%; border: 0; display: block; background: var(--steam); }
@media (max-width: 900px) {
  .gamebody { grid-template-columns: 1fr; }
  .gamebody__side { position: static; }
  .panel__cover { display: none; }
}

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
.field span { font: 600 .8rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 0; font: 400 1rem/1.5 var(--font-body);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.form .btn { justify-self: start; }
.alert { margin: 0; padding: 14px 16px; border-left: 4px solid; font-weight: 500; }
.alert--ok { background: #45e08f1c; border-color: var(--green); }
.alert--err { background: #ff5a671f; border-color: var(--red); }
.contact__side > p { color: var(--muted); margin-top: 12px; }
.contact__list { display: grid; gap: 4px; margin-top: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact__list .ico { width: 22px; height: 22px; color: var(--pink); margin-top: 3px; }
.contact__list b { display: block; font: 600 .78rem/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__list a { overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--pink); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: #07040b; padding: clamp(40px, 6vw, 72px) 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.site-footer__brand img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { color: var(--muted); max-width: 26em; }
.site-footer__h { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.site-footer__h--gap { margin-top: 26px; }
.site-footer nav a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.site-footer__base { margin-top: clamp(28px, 5vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer__base p { margin: 0; }
.site-footer__legal { max-width: 46em; opacity: .75; }
@media (max-width: 780px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Visor de capturas ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 2, 8, .94); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(100%, 1500px); max-height: 100%; object-fit: contain; box-shadow: 0 20px 80px #000; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: #ffffff1a; border: 1px solid var(--line-2); }
.lightbox__btn:hover { background: var(--pink); color: #14051a; }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Movimiento ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: 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; }
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
