/* ============================================================
   DOZY DUCK · Hoja de estilos del sitio
   Noche, superficie, texto, morado para actuar, amarillo luna.
   El estado de cada proyecto se dibuja como una fase lunar.
   ============================================================ */
:root {
    --night: #0E1226;
    --night-2: #0A0D1D;
    --surface: #171C38;
    --surface-2: #1E2447;
    --text: #EEF0FF;
    --muted: #9AA2C8;
    --violet: #8F7BFF;
    --violet-2: #A797FF;
    --moon: #FFCF3F;
    --error: #FF8A8A;
    --ok: #7FE0B0;
    --line: rgba(154, 162, 200, .16);
    --line-2: rgba(154, 162, 200, .32);
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --section: clamp(3.5rem, 8vw, 6rem);
    --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--night);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--moon); color: var(--night); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; }
p { text-wrap: pretty; }
b, strong { font-weight: 650; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .6rem 1rem; background: var(--moon); color: var(--night); border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus-visible { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Sin animaciones de aparicion: lo marcado con .rv se ve desde el principio */
.rv, .rv.in { opacity: 1; transform: none; }

/* ---------- iconos: siempre a la altura del texto ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.moon { width: 1em; height: 1em; flex: none; color: var(--moon); }

/* ---------- botones y enlaces ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 46px; padding: .7rem 1.25rem;
    border: 1px solid transparent; border-radius: 999px;
    font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn--primary { background: var(--violet); color: #0E1226; }
.btn--primary:hover { background: var(--violet-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--violet); color: #fff; background: rgba(143, 123, 255, .08); }
.btn--sm { min-height: 38px; padding: .45rem 1rem; font-size: .92rem; }
.btn--lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btns, .featured__ctas { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: .4em; color: var(--violet-2); font-weight: 650; text-decoration: none; }
.textlink:hover { color: #fff; }
.textlink .ic { transition: transform .2s var(--ease); }
.textlink:hover .ic { transform: translateX(3px); }
.link-plain { color: var(--violet-2); text-decoration: underline; text-decoration-color: rgba(167, 151, 255, .4); text-underline-offset: 3px; }
.link-plain:hover { color: #fff; text-decoration-color: currentColor; }
.backlink { display: inline-flex; align-items: center; gap: .45em; margin-bottom: 1.5rem; color: var(--muted); font-size: .95rem; text-decoration: none; }
.backlink:hover { color: var(--text); }
.backlink .ic--arrow, .backlink .ic { transform: scaleX(-1); }

.finetext { color: var(--muted); font-size: .92rem; }
.tag, .chip { display: inline-flex; align-items: center; gap: .4em; padding: .2rem .65rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.chip--coming_soon, .chip--news { color: var(--moon); border-color: rgba(255, 207, 63, .4); }

/* ---------- cabecera ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 18, 38, .88);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.nav.is-scrolled, .nav.is-menu { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand__name { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; }
.nav__links { display: flex; gap: .25rem; margin-left: auto; }
.nav__links a { position: relative; padding: .5rem .8rem; border-radius: var(--r-sm); color: var(--muted); font-size: .97rem; font-weight: 550; text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current] { color: var(--text); }
.nav__links a[aria-current]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--moon); }
.nav__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a { min-width: 2.4rem; padding: .25rem .55rem; border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-align: center; text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--surface-2); color: var(--text); }
.nav__steam .ic { width: 1.1em; height: 1.1em; }
.nav__burger { display: none; width: 44px; height: 44px; margin-right: -8px; border-radius: var(--r-sm); position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mmenu { display: none; }
@media (max-width: 1100px) {
    .nav__links, .nav__actions .lang, .nav__actions .nav__steam { display: none; }
    .nav__actions { margin-left: auto; }
    .nav__burger { display: block; }
    .mmenu {
        display: block; position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0;
        overflow-y: auto; padding: 1rem 0 2.5rem;
        background: var(--night);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    }
    .mmenu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
    .mmenu__links a {
        display: flex; align-items: center; justify-content: space-between;
        padding: 1rem 0; border-bottom: 1px solid var(--line);
        font-family: var(--serif); font-size: 1.5rem; font-weight: 700; text-decoration: none;
    }
    .mmenu__links a .ic { color: var(--muted); }
    .mmenu__links a[aria-current] { color: var(--moon); }
    .mmenu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
    body.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .mmenu, .mmenu.is-open { transition: none; transform: none; } }

/* ---------- secciones ---------- */
main { display: block; }
.section { padding-block: var(--section); }
.section--alt { background: var(--night-2); border-block: 1px solid var(--line); }
.section--tight { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 2rem; }
.section__head > div { max-width: 640px; }
.section__head p { color: var(--muted); margin-top: .5rem; max-width: 640px; }
.section__head h2 + p { margin-top: .5rem; }

.pagehead { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagehead h1 { max-width: 18ch; }
.pagehead p, .pagehead__intro { max-width: 640px; margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.pagehead .legend { margin-top: 1.5rem; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1rem; }
.prose--lg { font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose a { color: var(--violet-2); text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .55rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.card { padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.card h3 { margin-bottom: .5rem; }
.card > p { color: var(--muted); }

.featlist { display: grid; gap: .65rem; }
.featlist li { display: flex; align-items: flex-start; gap: .65rem; }
.featlist li > .ic { margin-top: .22em; color: var(--moon); vertical-align: 0; }
.featlist li > a { overflow-wrap: anywhere; }

/* ---------- estado: fase lunar ---------- */
.status { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.status .moon { width: 1.05em; height: 1.05em; }
.status--in_dev .moon { color: var(--muted); }
.status__note { color: var(--muted); font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.legend .status { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* ---------- portada tipografica ---------- */
.cover { display: block; width: 100%; aspect-ratio: 920 / 430; object-fit: cover; background: var(--surface-2); }
.typecover {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .75rem;
    padding: clamp(1rem, 4%, 1.6rem); overflow: hidden;
    background: linear-gradient(160deg, var(--from), var(--to));
}
.typecover__logo { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 12px; }
.typecover__name { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 700; line-height: 1.1; color: #fff; }

/* ---------- tarjeta de producto ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.25rem; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, transform .25s var(--ease); }
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.pcard__media { border-bottom: 1px solid var(--line); }
.pcard__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.pcard__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; }
.pcard__date { color: var(--muted); font-size: .85rem; }
.pcard__title { font-size: 1.4rem; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__title a:focus-visible { outline: none; }
.pcard:has(.pcard__title a:focus-visible) { outline: 2px solid var(--moon); outline-offset: 2px; }
.pcard__text { color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .25rem; }
.pcard__tags li { padding: .15rem .55rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .78rem; }
.pcard__steam { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; color: var(--violet-2); font-size: .92rem; font-weight: 650; text-decoration: none; }
.pcard__steam:hover { color: #fff; }

/* ---------- filtros del catalogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.filters__label { margin-right: .35rem; color: var(--muted); font-size: .8rem; font-weight: 700; }
.filters a { display: inline-flex; align-items: center; gap: .45em; min-height: 36px; padding: .35rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.filters a:hover { color: var(--text); border-color: var(--muted); }
.filters a.is-on { background: var(--text); border-color: var(--text); color: var(--night); }
.filters a.is-on .moon { color: var(--night); }
.empty { padding: 2.5rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty .btn { margin-top: 1rem; }

/* ---------- inicio ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); max-width: 15ch; }
.hero__text { max-width: 560px; margin-top: 1.25rem; color: var(--muted); font-size: 1.15rem; }
.hero__text b { color: var(--text); font-weight: 600; }
.hero .btns { margin-top: 2rem; }
@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__art { order: -1; max-width: 340px; margin-inline: auto; width: 100%; }
}

.moonduck { position: relative; width: 100%; max-width: 460px; margin-inline: auto; aspect-ratio: 1 / 1; }
.moonduck__moon {
    position: absolute; left: 8%; right: 8%; top: 18%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 36% 32%, #FFE39A 0, #FFCF3F 45%, #E8B21F 100%);
    box-shadow: 0 0 0 18px rgba(255, 207, 63, .06), 0 0 0 46px rgba(255, 207, 63, .03), 0 0 120px rgba(255, 207, 63, .25);
}
.moonduck__moon i { position: absolute; border-radius: 50%; background: rgba(176, 124, 0, .18); }
.moonduck__moon i:nth-child(1) { width: 18%; height: 18%; left: 22%; top: 52%; }
.moonduck__moon i:nth-child(2) { width: 11%; height: 11%; left: 62%; top: 62%; }
.moonduck__moon i:nth-child(3) { width: 8%; height: 8%; left: 70%; top: 30%; }
.moonduck__duck { position: absolute; left: 50%; top: 1%; width: 62%; transform: translateX(-46%); filter: drop-shadow(0 14px 18px rgba(10, 13, 29, .45)); }
.moonduck__z { position: absolute; right: 6%; top: 0; display: flex; align-items: flex-end; gap: .15em; font-family: var(--serif); font-weight: 700; color: var(--text); }
.moonduck__z b { display: block; line-height: 1; opacity: .85; }
.moonduck__z b:nth-child(1) { font-size: 1rem; }
.moonduck__z b:nth-child(2) { font-size: 1.35rem; transform: translateY(-.7rem); opacity: .65; }
.moonduck__z b:nth-child(3) { font-size: 1.8rem; transform: translateY(-1.6rem); opacity: .45; }
.moonduck--small { max-width: 240px; margin-inline: 0; }

.feature { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.feature__media .cover { height: 100%; aspect-ratio: auto; min-height: 260px; }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.feature__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature__body p { color: var(--muted); }
.feature__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; }
.feature__meta .finetext { display: inline-flex; align-items: center; gap: .4em; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature__media .cover { aspect-ratio: 920 / 430; min-height: 0; } }

.studio-strip { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.studio-strip .prose { color: var(--muted); }
.studio-strip h2 { color: var(--text); margin-bottom: .25rem; }
@media (max-width: 720px) { .studio-strip { grid-template-columns: 1fr; } .studio-strip .moonduck--small { max-width: 180px; } }

.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.duo .card { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.duo .card p { color: var(--muted); }
.duo .card .textlink { margin-top: auto; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* ---------- ficha de producto ---------- */
.phero { padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem); }
.phero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
.phero__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.phero__info { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.phero__info h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.phero__tagline { color: var(--muted); font-size: 1.1rem; }
.phero .btns { margin-top: .5rem; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }

.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.facts-list > div { padding: .9rem 1.1rem; background: var(--night); }
.facts-list dt { color: var(--muted); font-size: .9rem; font-weight: 700; }
.facts-list dd { margin-top: .25rem; font-weight: 600; }
.pbody { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.pbody h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.pbody h2:not(:first-child) { margin-top: 2.5rem; }
.pbody__side { display: flex; flex-direction: column; gap: 1.25rem; }
.pnote { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; max-width: 70ch; }
@media (max-width: 860px) { .pbody { grid-template-columns: 1fr; } }

/* ---------- capturas y visor ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .9rem; }
.shots__item { display: block; width: 100%; padding: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: zoom-in; }
.shots__item img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s var(--ease); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(5, 7, 16, .94); }
.lightbox__slide, .lightbox__body { max-width: min(1200px, 100%); }
.lightbox__slide img, .lightbox__body img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); font-size: 1.6rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--surface-2); }
.lightbox__count { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- noticias ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ncard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s; }
.ncard:hover { border-color: var(--line-2); }
.ncard__media img { width: 100%; aspect-ratio: 920 / 430; object-fit: cover; }
.ncard__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.35rem 1.5rem; }
.ncard__body > p:last-child { color: var(--muted); font-size: .97rem; }
.ncard__meta, .postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; color: var(--muted); font-size: .85rem; }
.ncard__meta span { color: var(--moon); font-weight: 600; }
.ncard__title { font-size: 1.3rem; }
.ncard__title a { text-decoration: none; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; }
.posthero { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.posthero h1 { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.posthero__meta { margin-top: 1rem; }
.post__container { max-width: 780px; }
.post__container > img { border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 2rem; }

/* ---------- juego sin pagina de Steam (proximamente) ---------- */
.gamehero { padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem); }
.gamehero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
.gamehero__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.gamehero__media .cover { height: auto; }
.gamehero__info { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.gamehero__tagline { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .gamehero__grid { grid-template-columns: 1fr; } }

/* ---------- estudio ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.values li { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.values h3 { margin-bottom: .4rem; }
.values p { color: var(--muted); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.projlist { display: grid; border-top: 1px solid var(--line); }
.projlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.projlist a { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.projlist a:hover { color: var(--violet-2); }
.projlist p { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
@media (min-width: 721px) { .projlist p { grid-column: 1; } .projlist .status { grid-row: 1; grid-column: 2; } }

/* ---------- press kit ---------- */
.press__intro { max-width: 680px; }
.press__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .press__grid { grid-template-columns: 1fr; } }
.facts { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .97rem; }
.facts th, .facts td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts th { width: 34%; padding-right: 1rem; color: var(--muted); font-weight: 600; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.presscards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.presscard { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-lg); }
.presscard p { color: var(--muted); font-size: .96rem; }
.presscard .textlink { margin-top: auto; }
.assetcard__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.swatch { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .75rem; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.swatch:hover { border-color: var(--line-2); }
.swatch__chip { display: block; width: 100%; height: 64px; margin-bottom: .35rem; border-radius: var(--r-sm); background: var(--sw); border: 1px solid var(--line); }
.swatch strong { font-size: .92rem; }
.swatch code { color: var(--muted); }
.swatch.copied code { color: var(--ok); }
.dlchip:hover { border-color: var(--moon) !important; color: var(--moon) !important; }

/* ---------- formularios ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.contact__side { display: grid; gap: 1.25rem; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
.contactform form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .92rem; font-weight: 650; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem .9rem;
    font: inherit; font-size: 1rem; color: var(--text);
    background: var(--night); border: 1px solid var(--line-2); border-radius: var(--r-md);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA2C8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #6E76A0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(143, 123, 255, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 600; }
.field--check label { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-weight: 400; }
.field--check input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; padding: 0; accent-color: var(--violet); }
.field--check span { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.field--check a { color: var(--violet-2); }
.contactform .btn { justify-self: start; }
.sent { margin-bottom: 1.25rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(127, 224, 176, .35); border-radius: var(--r-md); background: rgba(127, 224, 176, .07); }
.sent h2 { font-size: 1.3rem; margin-bottom: .25rem; }
.sent p { color: var(--muted); }
.tsslot { min-height: 72px; }

.newsform { display: flex; gap: .5rem; max-width: 440px; }
.newsform input[type="email"] { flex: 1; min-width: 0; min-height: 44px; padding: .55rem .9rem; font: inherit; font-size: .97rem; color: var(--text); background: var(--night); border: 1px solid var(--line-2); border-radius: 999px; }
.newsform input[type="email"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(143, 123, 255, .25); }
.newsform .btn { min-height: 44px; }
.newsform__msg { margin-top: .6rem; color: var(--ok); font-size: .9rem; }
.newsform__msg--err { color: var(--error); }
@media (max-width: 420px) { .newsform { flex-direction: column; } .newsform .btn { width: 100%; } }

/* ---------- pie ---------- */
.footer { margin-top: var(--section); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; background: var(--night-2); border-top: 1px solid var(--line); }
.section--alt + .footer, .section--alt:last-child { margin-top: 0; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__brand p { max-width: 420px; margin-top: .9rem; color: var(--muted); font-size: .97rem; }
.footer__mail { display: inline-flex; align-items: center; gap: .5em; margin-top: .9rem; color: var(--text); text-decoration: none; font-size: .97rem; }
.footer__mail:hover { color: var(--violet-2); }
.footer__news h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--text); }
.footer__news p { margin: .5rem 0 1rem; color: var(--muted); font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0; }
.footer__col h2 { margin-bottom: .8rem; font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--text); }
.footer__col ul { display: grid; gap: .5rem; }
.footer__col a { color: var(--text); text-decoration: none; font-size: .97rem; }
.footer__col a:hover { color: var(--violet-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer__contactline { display: inline-flex; align-items: center; gap: .5em; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .footer__top { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- aviso de cookies ---------- */
.cookiebar {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
    max-width: 760px; margin-inline: auto; padding: 1rem 1.25rem;
    background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-lg);
    box-shadow: 0 18px 50px rgba(3, 5, 14, .5); font-size: .93rem;
}
.cookiebar p { flex: 1 1 320px; color: var(--muted); }
.cookiebar a { color: var(--violet-2); }

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

/* ============================================================
   REDISENO 2026-11 · segunda vuelta
   Fraunces (titulos, ejes SOFT y WONK para darle caracter) y Figtree
   (texto). Grano, cielo de estrellas, horizontes con luna, tarjetas
   vivas y entradas al hacer scroll. Las entradas solo ocultan algo si
   existe html.js (lo pone /js/early.js); sin JS todo se ve.
   ============================================================ */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
    --sans: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --stars:
        radial-gradient(1px 1px at 12% 18%, rgba(238, 240, 255, .7) 50%, transparent 51%),
        radial-gradient(1px 1px at 68% 9%, rgba(238, 240, 255, .55) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 38% 62%, rgba(255, 207, 63, .5) 50%, transparent 51%),
        radial-gradient(1px 1px at 86% 44%, rgba(238, 240, 255, .5) 50%, transparent 51%),
        radial-gradient(1px 1px at 24% 84%, rgba(143, 123, 255, .6) 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 30%, rgba(238, 240, 255, .35) 50%, transparent 51%);
}
html { overflow-x: clip; }
body { font-family: var(--sans); background-color: var(--night); background-image: var(--stars); background-size: 420px 420px; }
body::after {
    content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
    background-image: var(--grain); background-size: 180px; opacity: .05; mix-blend-mode: overlay;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; font-variation-settings: "SOFT" 60, "WONK" 0; letter-spacing: -.015em; }
h1 { font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1; }
h2 { font-variation-settings: "SOFT" 80, "WONK" 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin-bottom: .6rem; color: var(--moon); font-size: .95rem; font-weight: 700; }
.eyebrow .moon { width: 1.1em; height: 1.1em; }
.moon--lg { width: 1.6rem; height: 1.6rem; }
.section__more { margin-top: 1.75rem; }

/* ---------- Botones: microinteracciones ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ic { transition: transform .3s var(--spring); }
.btn--moon { background: var(--moon); color: #1a1405; }
.btn--moon:hover { background: #ffe07a; }
.btn--ghost { backdrop-filter: blur(6px); }
.textlink .ic { transition: transform .3s var(--spring); }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Navegacion ---------- */
.nav__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); border: 1px solid var(--line); transition: color .2s, border-color .2s, transform .3s var(--spring); }
.nav__icon:hover { color: var(--text); border-color: var(--violet); transform: rotate(-8deg) scale(1.06); }
.nav__icon .ic { width: 1.15rem; height: 1.15rem; }
.nav__links a { position: relative; }
@media (max-width: 1100px) { .nav__icon { display: none; } }

/* ---------- Horizonte con luna ---------- */
.horizon { position: relative; height: clamp(44px, 7vw, 96px); pointer-events: none; }
.horizon__land { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon__far { fill: rgba(23, 28, 56, .75); }
.horizon__near { fill: var(--night); }
.horizon__moon { position: absolute; right: 14%; top: -8%; width: clamp(18px, 2.2vw, 28px); }
.horizon__moon .moon { width: 100%; height: auto; }
.horizon--hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.horizon--flip { transform: scaleY(-1); margin-bottom: calc(-1 * clamp(44px, 7vw, 96px)); z-index: 3; }
.horizon--flip .horizon__moon { display: none; }
.horizon--flip .horizon__far { fill: rgba(14, 18, 38, .55); }

/* ---------- Heroe de la portada ---------- */
.xhero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(94vh, 900px); min-height: min(94svh, 900px); margin-top: calc(-1 * var(--head-h)); padding: calc(var(--head-h) + 3rem) 0 clamp(5rem, 11vw, 8.5rem); overflow: hidden; }
.xhero__bg { position: absolute; inset: 0; z-index: -1; }
.xhero__art, .xhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xhero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.xhero__video.is-playing { opacity: 1; }
.xhero__shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(14, 18, 38, .92) 0%, rgba(14, 18, 38, .55) 42%, rgba(14, 18, 38, .05) 75%),
    linear-gradient(0deg, var(--night) 0%, rgba(14, 18, 38, 0) 45%),
    linear-gradient(180deg, rgba(14, 18, 38, .7) 0%, rgba(14, 18, 38, 0) 22%); }
.xhero__inner { position: relative; max-width: 1160px; }
.xhero__title { margin: .35rem 0 .2rem; font-size: clamp(3.4rem, 12vw, 9rem); line-height: .92; font-weight: 900; font-style: italic; letter-spacing: -.035em; color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.xhero__line { max-width: 34rem; margin-top: 1.1rem; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.5; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.xhero__ea { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.2rem; }
.xhero__ea .status { padding: .35rem .8rem; border-radius: 999px; background: rgba(14, 18, 38, .6); border: 1px solid rgba(255, 207, 63, .35); backdrop-filter: blur(8px); }
.xhero__chip { color: var(--muted); font-size: .9rem; font-weight: 600; }
.xhero .btns { margin-top: 1.6rem; align-items: center; }
.xhero__more { margin-left: .5rem; color: #fff; }
@media (max-width: 720px) {
    .xhero { min-height: 88svh; }
    .xhero__shade { background: linear-gradient(0deg, var(--night) 8%, rgba(14, 18, 38, .75) 55%, rgba(14, 18, 38, .45) 100%); }
    .xhero__more { margin-left: 0; }
}

/* ---------- Como se juega ---------- */
.how__list { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); margin-top: 2.5rem; list-style: none; }
.how__item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.how__item:nth-child(even) .how__shot { order: 2; }
.how__shot { position: relative; border-radius: var(--r-md, 16px); overflow: hidden; border: 1px solid var(--line-2); }
.how__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.how__text h3 { margin: .6rem 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.how__text p { color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
@media (max-width: 760px) {
    .how__item { grid-template-columns: 1fr; }
    .how__item:nth-child(even) .how__shot { order: 0; }
}

/* ---------- Tarjeta viva ---------- */
.pgrid { gap: 1.5rem; }
.pcard { transition: border-color .2s; }
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.pcard__media { position: relative; overflow: hidden; }
.pcard__media .cover { aspect-ratio: 16 / 9; transition: transform .8s var(--ease), filter .5s; }
.pcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.pcard__video.is-playing { opacity: 1; }
.pcard__phase { position: absolute; top: .75rem; right: .75rem; z-index: 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(14, 18, 38, .72); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255, 207, 63, .25), 0 0 24px rgba(255, 207, 63, .25); transition: transform .5s var(--spring); }
.pcard__count { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; padding: .25rem .7rem; border-radius: 999px; background: var(--moon); color: #1a1405; font-size: .8rem; font-weight: 750; }
.pcard__title { font-size: 1.55rem; }
.pcard .typecover { aspect-ratio: 16 / 9; }

/* ---------- Proximamente ---------- */
.soon { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }
.soon__bg { position: absolute; inset: 0; z-index: -1; }
.soon__art, .soon__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.soon__video.is-playing { opacity: 1; }
.soon__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 29, .94) 0%, rgba(10, 13, 29, .7) 50%, rgba(10, 13, 29, .35) 100%), linear-gradient(0deg, var(--night) 0%, transparent 30%); }
.soon__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.soon__title { font-size: clamp(2.8rem, 8vw, 5.5rem); font-style: italic; font-weight: 900; line-height: .95; }
.soon__text { max-width: 34rem; margin-top: 1rem; font-size: 1.12rem; color: #dfe3ff; }
.soon .btns { margin-top: 1.5rem; align-items: center; }
.soon__count { justify-self: center; display: grid; justify-items: center; gap: .35rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; background: radial-gradient(circle at 35% 30%, rgba(143, 123, 255, .35), rgba(23, 28, 56, .85) 70%); border: 1px solid rgba(143, 123, 255, .4); box-shadow: 0 0 80px -20px rgba(143, 123, 255, .6); text-align: center; }
.soon__n { font-family: var(--serif); font-weight: 900; font-size: clamp(5rem, 14vw, 9rem); line-height: .85; color: var(--moon); font-variation-settings: "SOFT" 100, "WONK" 1; text-shadow: 0 0 40px rgba(255, 207, 63, .45); }
.soon__unit { font-weight: 700; font-size: 1.05rem; }
.soon__date { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .soon__inner { grid-template-columns: 1fr; } .soon__count { justify-self: start; } }

/* ---------- El estudio: pato y luna ---------- */
.studio-band { position: relative; overflow: hidden; }
.studio-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.studio-band h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 1rem; }
@media (max-width: 820px) { .studio-band__grid { grid-template-columns: 1fr; } }
.mscene { display: grid; justify-items: center; gap: 1.25rem; }
.mscene__sky { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.mscene__stars { position: absolute; inset: -10%; background: var(--stars); background-size: 140px 140px; border-radius: 50%; opacity: .9; }
.mscene__moon { --phase: .82; position: absolute; left: 14%; right: 14%; bottom: 4%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--moon) 45%, #e0a91c 100%); box-shadow: 0 0 60px rgba(255, 207, 63, calc(.15 + var(--phase) * .4)), 0 0 140px rgba(255, 207, 63, calc(var(--phase) * .25)); }
.mscene__moon i { position: absolute; border-radius: 50%; background: rgba(176, 120, 10, .28); box-shadow: inset 2px 3px 0 rgba(120, 80, 0, .2); }
.mscene__moon i:nth-child(1) { width: 22%; height: 22%; left: 20%; top: 52%; }
.mscene__moon i:nth-child(2) { width: 13%; height: 13%; left: 58%; top: 64%; }
.mscene__moon i:nth-child(3) { width: 9%; height: 9%; left: 64%; top: 30%; }
.mscene__shade { position: absolute; inset: -2%; border-radius: 50%; background: radial-gradient(circle at 60% 50%, #121735, #0b0f24); box-shadow: -10px 0 18px rgba(11, 15, 36, .8); transform: translateX(calc(var(--phase) * 108%)); }
.mscene__duck { position: absolute; left: 50%; bottom: 66%; width: 52%; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); animation: dd-breathe 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.mscene__z { position: absolute; right: 16%; top: 2%; font-family: var(--serif); font-style: italic; color: var(--violet-2); }
.mscene__z b { position: absolute; font-weight: 700; opacity: 0; animation: dd-z 4.5s ease-in-out infinite; }
.mscene__z b:nth-child(1) { font-size: 1rem; }
.mscene__z b:nth-child(2) { font-size: 1.4rem; animation-delay: 1.5s; }
.mscene__z b:nth-child(3) { font-size: 1.8rem; animation-delay: 3s; }
.mscene__phases { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; color: var(--muted); }
@keyframes dd-breathe { 0%, 100% { transform: translateX(-50%) scaleY(1); } 50% { transform: translateX(-50%) scaleY(1.03); } }
@keyframes dd-z { 0% { opacity: 0; transform: translate(0, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(22px, -40px); } }

/* ---------- Discord y contacto ---------- */
.callout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.25rem; }
.callout__discord, .callout__contact { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.callout__discord { background: #1c1d4a; border-color: rgba(143, 123, 255, .35); }
.callout h2 { position: relative; margin-bottom: .6rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.callout p { position: relative; color: var(--muted); }
.callout .btn, .callout .btns { position: relative; margin-top: 1.25rem; }
.callout__ic { width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; color: var(--violet-2); }
@media (max-width: 820px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Modal del trailer ---------- */
.tmodal { width: min(1100px, 94vw); max-width: none; max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: 18px; overflow: visible; background: #000; color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.tmodal::backdrop { background: rgba(5, 7, 16, .86); backdrop-filter: blur(6px); }
.tmodal[open] { animation: dd-pop .45s var(--spring); }
.tmodal__video { display: block; width: 100%; height: auto; max-height: 86vh; border-radius: 18px; background: #000; }
.tmodal__close { position: absolute; top: -3.1rem; right: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
.tmodal__close:hover { border-color: var(--moon); }
@keyframes dd-pop { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Ficha de producto ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__art { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.04); filter: saturate(1.1); }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 38, .55) 0%, rgba(14, 18, 38, .75) 55%, var(--night) 100%), linear-gradient(90deg, rgba(14, 18, 38, .85), rgba(14, 18, 38, .1)); }
.phero--art { background: none; }
.phero--art .phero__tagline { color: #dfe3ff; }
.phero__info h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-style: italic; font-weight: 900; line-height: .98; }
.phero__media { border: 0; border-radius: 22px; box-shadow: 0 0 0 1px var(--line-2); }
.pvideo { position: relative; display: block; border-radius: inherit; overflow: hidden; }
.pvideo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.pvideo__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: var(--moon); color: #1a1405; transition: transform .35s var(--spring); }
.pvideo:hover .pvideo__play { transform: scale(1.12); }
.pvideo__play .ic { width: 1.6rem; height: 1.6rem; margin-left: 4px; }
.pvideo__label { position: absolute; left: 1rem; bottom: .9rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(14, 18, 38, .75); font-size: .82rem; font-weight: 700; }
.hl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-top: 1.5rem; list-style: none; }
.hl__item { padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.hl__item h3 { margin: .35rem 0 .45rem; font-size: 1.3rem; }
.hl__item p { color: var(--muted); font-size: .98rem; }
.ea { margin-bottom: 2.75rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-md, 16px); background: rgba(255, 207, 63, .05); border: 1px solid rgba(255, 207, 63, .3); }
.ea__lead { color: #dfe3ff; }
.ea__list { display: grid; gap: .75rem; margin-top: 1rem; padding-left: 1.3rem; }
.ea__list li::marker { color: var(--moon); font-family: var(--serif); font-weight: 800; }
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin-bottom: 1rem; }
.reqs h3 { grid-column: 1 / -1; font-size: 1.1rem; }
.reqs__col { padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.reqs__col h4 { margin-bottom: .6rem; font-size: 1rem; color: var(--moon); }
.reqs__col dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .35rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.reqs__col dt { color: var(--muted); }
.reqs__col .finetext { margin-bottom: .4rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 420px) { .reqs__col dl > div { grid-template-columns: 1fr; gap: 0; } }
.steambox { background: var(--surface); border-color: rgba(143, 123, 255, .35); }
.steambox h2 { display: flex; align-items: center; gap: .5rem; }
.steambox .btn { width: 100%; margin: 1rem 0 1.1rem; }
.shots { gap: 1rem; }
.shots__item { border-radius: 16px; }
.lightbox__slide { animation: dd-pop .35s var(--ease); }
.lightbox__slide figcaption { margin-top: .75rem; color: var(--muted); font-size: .92rem; text-align: center; }

/* ---------- Pie ---------- */
.footer { position: relative; }
.footer__sky { position: absolute; right: 8%; top: -22px; width: 44px; }
.footer__moon { width: 100%; height: auto; }
.footer__social { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.1rem; list-style: none; }
.footer__social a { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); text-decoration: none; transition: color .2s, transform .3s var(--spring); }
.footer__social a:hover { color: var(--text); transform: translateX(3px); }
.footer__social .ic { width: 1.1rem; height: 1.1rem; }

/* ---------- Transiciones entre paginas ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: dd-vt-out .25s ease both; }
::view-transition-new(root) { animation: dd-vt-in .35s var(--ease) both; }
@keyframes dd-vt-out { to { opacity: 0; } }
@keyframes dd-vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    @view-transition { navigation: none; }
}

/* Portada: la cabecera flota transparente sobre el heroe hasta hacer scroll */
.is-home .nav:not(.is-scrolled):not(.is-menu) { background: linear-gradient(180deg, rgba(14, 18, 38, .7), rgba(14, 18, 38, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { transition: border-color .2s, background-color .3s; }

/* ===== Cabecera en píldoras (como Proyecto Ruedo): logo a la izquierda, nav centrada, acciones a la derecha ===== */
.nav, .nav.is-scrolled, .is-home .nav:not(.is-scrolled):not(.is-menu) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { padding-top: 12px; pointer-events: none; }
.nav__inner { max-width: none; width: 100%; padding-inline: clamp(16px, 2.4vw, 36px); min-height: calc(var(--head-h) - 12px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
.nav__inner > *, .mmenu { pointer-events: auto; }
.brand, .nav__links, .nav__actions .lang, .nav__icon {
    background: rgba(23, 28, 56, .78); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(5, 7, 18, .35);
    -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.brand { justify-self: start; height: 52px; padding: 0 18px 0 7px; border-radius: 999px; transition: border-color .2s; }
.brand:hover { border-color: var(--line-2); }
.brand img { width: 38px; height: 38px; }
.nav__links { margin: 0; height: 52px; align-items: center; padding: 5px; gap: 2px; border-radius: 999px; }
.nav__links a { padding: 0 1rem; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav__links a:hover { background: rgba(255, 255, 255, .05); }
.nav__links a[aria-current] { background: var(--surface-2); }
.nav__links a[aria-current]::after { display: none; }
.nav__actions { justify-self: end; gap: 8px; }
.nav__actions .lang { height: 52px; align-items: center; padding: 5px; }
.nav__actions .lang a { height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.nav__icon { width: 52px; height: 52px; }
.nav__steam { height: 52px; border-radius: 999px; padding-inline: 1.2rem; }
.nav__burger { background: rgba(23, 28, 56, .78); border: 1px solid var(--line); border-radius: 50%; width: 48px; height: 48px; margin-right: 0; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__burger span { left: 14px; right: 14px; }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child, .nav__burger[aria-expanded="true"] span:last-child { top: 23px; }
@media (max-width: 1180px) { .nav__links a { padding: 0 .75rem; font-size: .93rem; } }
@media (max-width: 1100px) {
    .nav__inner { display: flex; justify-content: space-between; }
    .brand { height: 48px; padding-right: 14px; }
    .brand img { width: 34px; height: 34px; }
}

/* ============================================================
   Rediseño 3: tipografía Bricolage, carriles de juegos, linterna
   ============================================================ */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
:root { --serif: "Bricolage Grotesque", "Figtree", "Segoe UI", system-ui, sans-serif; }
h1, h2, h3, h4, h1 *, h2 * { font-family: var(--serif); font-style: normal; font-variation-settings: normal; }
h1, h2 { font-weight: 780; font-stretch: 88%; letter-spacing: -.03em; line-height: 1; }
h3, h4 { font-weight: 700; font-stretch: 92%; letter-spacing: -.015em; }
.brand__name { font-weight: 800; font-stretch: 85%; font-variation-settings: normal; letter-spacing: -.02em; }
.mscene__z { font-style: normal; }
.xhero__title, .soon__title { font-style: normal; font-weight: 800; font-stretch: 75%; letter-spacing: -.035em; line-height: .84; }
.xhero__title { font-size: clamp(4rem, 13.5vw, 11.5rem); }
.soon__title { font-size: clamp(3.2rem, 9vw, 6.5rem); }

/* Carriles: los juegos van en fila y se desliza, no crece hacia abajo */
.rail { --gap: 1.25rem; position: relative; }
.rail__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.rail__filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s var(--spring); }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--moon); border-color: var(--moon); color: var(--night); }
.chip__n { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .8em; }
.chip[aria-pressed="true"] .chip__n { background: rgba(14, 18, 38, .16); }
.rail__nav { display: flex; gap: .5rem; margin-left: auto; }
.rail__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background .25s, opacity .25s, transform .2s var(--spring); }
.rail__btn[data-dir="-1"] svg { transform: scaleX(-1); }
.rail__btn:hover:not(:disabled) { background: var(--violet); border-color: var(--violet); }
.rail__btn:active:not(:disabled) { transform: scale(.9); }
.rail__btn:disabled { opacity: .3; cursor: default; }
.rail.is-static .rail__nav, .rail.is-static .rail__progress { display: none; }
.rail__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 28vw, 360px); gap: var(--gap);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
    padding: 14px 2px 22px; margin: -14px -2px 0; scrollbar-width: none; cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline: 2px solid var(--moon); outline-offset: 4px; border-radius: var(--r-lg); }
.rail.is-drag .rail__track { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag .rail__item { pointer-events: none; }
.rail__item { scroll-snap-align: start; display: flex; }
.rail__item > * { width: 100%; }
.rail__item[hidden] { display: none; }
.rail__progress { position: relative; height: 4px; margin-top: .25rem; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rail__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: var(--moon); transition: transform .15s linear, width .3s; }

/* Pato de la luna: dormido, respira despacio */
.mscene__duck { bottom: 64%; width: 56%; }

@media (max-width: 760px) {
    .rail__track { grid-auto-columns: 82%; }
    .rail__nav { display: none; }
    .xhero__title { font-size: clamp(3.4rem, 17vw, 6rem); }
}

/* REDISENO 4 */
.btn--soon { border: 1px dashed var(--line-2); color: var(--muted, #b9bed6); background: rgba(255, 255, 255, .03); cursor: default; }
.btn--soon:hover { transform: none; }
.pcard__kind { margin: 0 0 .35rem; color: var(--muted); font-size: .88rem; font-weight: 600; }

/* Menos scroll: rejillas anchas y bloques compactos */
.container { width: min(1280px, 100% - 2.5rem); }
.pfacts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; font-size: .9rem; font-weight: 650; }
.pfacts > span { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem; border-radius: 999px; background: rgba(14, 18, 38, .55); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.pfacts__count { padding: .1rem .55rem; border-radius: 999px; background: rgba(255, 200, 58, .16); color: var(--moon); font-size: .8rem; font-weight: 800; }
.facts-list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.langs { margin-top: .75rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.langs summary { display: flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; cursor: pointer; font-weight: 700; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: .5rem; height: .5rem; margin-left: .25rem; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.langs[open] summary::after { transform: rotate(225deg); }
.langs__n { padding: .05rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .8rem; }
.langs__hint { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 600; }
.langs__list { columns: 11rem auto; column-gap: 1.5rem; padding: 0 1.1rem 1rem; list-style: none; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.hl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .85rem; }
.hl__item { padding-top: 1rem; }
.hl__item h3 { font-size: 1.15rem; }
.hl__item p { font-size: .94rem; }
@media (min-width: 861px) { .pbody { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (min-width: 1100px) { .pbody .prose--lg { columns: 2; column-gap: 2.5rem; max-width: none; } .pbody .prose--lg > p { break-inside: avoid; margin: 0 0 1rem; } }
.reqbox { margin-bottom: .75rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, .02); }
.reqbox summary { padding: .7rem 1.1rem; cursor: pointer; font-weight: 700; }
.reqbox .reqs { padding: 0 .75rem .25rem; margin-bottom: .5rem; }
/* Galeria: la primera captura grande y un icono de ampliar en todas */
.shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots--n5 .shots__item:first-child, .shots--n6 .shots__item:first-child { grid-column: span 2; grid-row: span 2; }
.shots--n5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots--n2, .shots--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots__item { position: relative; }
.shots__item img { height: 100%; }
.shots__zoom { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(14, 18, 38, .7); color: #fff; backdrop-filter: blur(6px); opacity: .85; transform: scale(.9); transition: opacity .25s, transform .3s var(--spring); }
.shots__zoom .ic { width: 1.05rem; height: 1.05rem; }
@media (max-width: 700px) { .shots, .shots--n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shots--n5 .shots__item:first-child, .shots--n6 .shots__item:first-child { grid-row: auto; } }
/* Portada: "como se juega" en tres columnas, no en zigzag */
.how__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 2rem; }
.how__item, .how__item:nth-child(even) { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.how__item:nth-child(even) .how__shot { order: 0; }
.how__text h3 { display: inline; margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.how__text p { margin-top: .5rem; font-size: 1rem; }
/* Estudio: la historia a dos columnas y los proyectos en rejilla */
@media (min-width: 980px) { .studio-strip .prose { columns: 2; column-gap: 2.5rem; max-width: none; } .studio-strip .prose > p { break-inside: avoid; margin: 0 0 1rem; } }
.values { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.projlist { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); column-gap: 2rem; border-top: 0; }
.projlist li { border-top: 1px solid var(--line); border-bottom: 0; }

/* /REDISENO 4 */

/* Tipografía de títulos: Fredoka (redonda; Rubik queda en /fonts/rubik.woff2 como alternativa) */
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
:root { --serif: "Fredoka", "Figtree", "Segoe UI", system-ui, sans-serif; }
h1, h2 { font-weight: 700; font-stretch: normal; letter-spacing: -.012em; line-height: 1.02; }
h3, h4 { font-weight: 600; font-stretch: normal; letter-spacing: -.005em; }
.brand__name { font-weight: 700; font-stretch: normal; letter-spacing: -.01em; }
.xhero__title, .soon__title { font-weight: 700; font-stretch: normal; letter-spacing: -.02em; line-height: .95; }
.xhero__title { font-size: clamp(3.6rem, 10.5vw, 9.5rem); }
@media (max-width: 760px) { .xhero__title { font-size: clamp(3.2rem, 15vw, 5.4rem); } }

/* Tactil: sin elevacion ni zoom pegados tras un toque */
@media (hover: none) {
    .pcard:hover, .ncard:hover, .shots__item:hover { transform: none; }
    .pcard:hover .pcard__media .cover, .shots__item:hover img, .how__shot:hover { transform: none; }
}
/* /REDISENO 4 · animaciones */

/* ==== Carril de juegos en carteles (2026-11) ==== */
.rail--poster .rail__track { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); padding-top: 18px; margin-top: -18px; }
@media (max-width: 1100px) { .rail--poster .rail__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.4); } }
@media (max-width: 760px) { .rail--poster .rail__track { grid-auto-columns: 78%; } }
.rail--poster .pcard { aspect-ratio: 4 / 5.4; border-radius: 22px; background: #0d1124; isolation: isolate; }
.rail--poster .pcard__media { position: absolute; inset: 0; border: 0; z-index: 0; }
.rail--poster .pcard__media .cover, .rail--poster .pcard__media .typecover { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.rail--poster .pcard__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 24, .35) 0%, transparent 22%, transparent 38%, rgba(8, 10, 24, .82) 66%, #080a18 100%); }
.rail--poster .pcard__count { top: .85rem; bottom: auto; left: .85rem; }
.rail--poster .pcard__body { position: relative; z-index: 2; margin-top: auto; flex: 0 0 auto; gap: .45rem; padding: 1.2rem 1.3rem 1.35rem; }
.rail--poster .pcard__status { justify-content: flex-start; gap: .35rem .7rem; }
.rail--poster .pcard__date { color: rgba(238, 240, 255, .75); }
.rail--poster .pcard__title { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.rail--poster .pcard__tags { display: none; }
.rail--poster .pcard__text { -webkit-line-clamp: 3; color: rgba(238, 240, 255, .82); font-size: .93rem; }
.rail--poster .pcard__steam { color: #fff; }
.rail--poster .pcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .rail--poster .pcard__text, .rail--poster .pcard__steam { max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden;
        transition: max-height .45s var(--ease), opacity .3s, transform .45s var(--ease); }
    .rail--poster .pcard__body { gap: .35rem; }
    .rail--poster .pcard:hover .pcard__text, .rail--poster .pcard:focus-within .pcard__text { max-height: 5.2em; opacity: 1; transform: none; }
    .rail--poster .pcard:hover .pcard__steam, .rail--poster .pcard:focus-within .pcard__steam { max-height: 2em; opacity: 1; transform: none; transition-delay: .06s; }
}
@media (max-width: 760px) { .rail--poster .pcard { aspect-ratio: 4 / 6; } .rail--poster .pcard__text { -webkit-line-clamp: 2; } .rail--poster .pcard__date { display: none; } }

/* ==== Sin lunas: estado en etiquetas de texto (2026-11) ==== */
.pcard__phase, .horizon__moon, .footer__sky, .legend, .status .moon, .eyebrow .moon, .filters .moon, .chip .moon { display: none !important; }
.status { gap: 0; padding: .3em .8em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); font-size: .78rem; font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
.status--released { color: #ffe3a1; background: rgba(255, 207, 63, .13); border-color: rgba(255, 207, 63, .32); }
.status--coming_soon { color: #d6ceff; background: rgba(143, 123, 255, .18); border-color: rgba(143, 123, 255, .4); }
.status--in_dev { color: #c3c7dc; }
.status__note { font-weight: 500; opacity: .85; }
.rail--poster .status { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rail--poster .pcard__count, .pcard__count { padding: .3em .8em; border-radius: 999px; font-size: .75rem; font-weight: 750; background: rgba(14, 18, 38, .62); color: #ffe3a1; border: 1px solid rgba(255, 207, 63, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pfacts__count { border: 1px solid rgba(255, 207, 63, .3); }

/* Estudio sin luna: el pato duerme sobre una nube */
.mscene__moon, .mscene__phases { display: none !important; }
.mscene__sky { aspect-ratio: 5/4; }
.mscene__sky::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18%; bottom: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,123,255,.32), rgba(143,123,255,.08) 60%, transparent); filter: blur(6px); }
.mscene__sky::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 12%; height: 22%; border-radius: 999px; background: radial-gradient(60% 120% at 30% 100%, #d9d3ff 60%, transparent 61%), radial-gradient(50% 140% at 62% 100%, #e9e5ff 62%, transparent 63%), radial-gradient(40% 110% at 85% 100%, #cfc7ff 60%, transparent 61%); opacity: .92; filter: drop-shadow(0 18px 24px rgba(10,8,40,.55)); animation: dd-cloud 7s ease-in-out infinite; }
.mscene__duck { z-index: 1; bottom: 26%; width: 58%; }
.mscene__z { z-index: 1; top: 8%; }
@keyframes dd-cloud { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .mscene__sky::after { animation: none; } }
.moonduck__moon { display: none !important; }
.moonduck { aspect-ratio: 5/4; }
.moonduck::before { content: ""; position: absolute; inset: 10% 6% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,123,255,.3), transparent); }
.moonduck::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 24%; background: radial-gradient(60% 120% at 30% 100%, #d9d3ff 60%, transparent 61%), radial-gradient(50% 140% at 62% 100%, #e9e5ff 62%, transparent 63%), radial-gradient(40% 110% at 85% 100%, #cfc7ff 60%, transparent 61%); filter: drop-shadow(0 18px 24px rgba(10,8,40,.55)); }
.moonduck__duck { z-index: 1; top: auto; bottom: 20%; }
.moonduck__z { z-index: 1; }

/* Heroe con los ultimos juegos y pestanas abajo */
.xhero--multi { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.xhero__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.xhero__layer.is-on { opacity: 1; }
.xhero--multi .xhero__inner { display: grid; width: 100%; }
.xslide { grid-area: 1 / 1; align-self: end; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.xslide:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(22px); pointer-events: none; transition: opacity .3s, transform .3s, visibility 0s .3s; }
.xhero--multi .xhero__title { font-size: clamp(3.2rem, 8.6vw, 8.2rem); }
.xtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: clamp(1.8rem, 4.5vh, 3rem); }
.xtab { position: relative; display: flex; align-items: center; gap: .9rem; padding: .55rem .9rem .55rem .55rem; border-radius: 18px; background: rgba(14, 18, 38, .52); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; text-decoration: none; overflow: hidden; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.xtab img { flex: none; width: clamp(84px, 8vw, 112px); aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 11px; opacity: .6; filter: saturate(.7); transition: opacity .3s, filter .3s; }
.xtab__txt { display: grid; gap: .2rem; min-width: 0; }
.xtab__txt b { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xtab__txt small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.xtab:hover { background: rgba(14, 18, 38, .72); border-color: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.xtab:hover img { opacity: .9; filter: none; }
.xtab.is-on { background: rgba(14, 18, 38, .78); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.xtab.is-on img { opacity: 1; filter: none; }
.xtab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.xtab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.xtab.is-on .xtab__bar { animation: dd-xbar 8s linear forwards; }
.xhero.is-paused .xtab.is-on .xtab__bar, .xhero.is-off .xtab.is-on .xtab__bar { animation-play-state: paused; }
@keyframes dd-xbar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .xtab.is-on .xtab__bar { animation: none; transform: scaleX(1); } .xhero__layer, .xslide { transition: none; } }
@media (max-width: 760px) {
    .xtabs { gap: .5rem; }
    .xtab { flex-direction: column; align-items: stretch; gap: .45rem; padding: .4rem .4rem .6rem; border-radius: 14px; }
    .xtab img { width: 100%; border-radius: 9px; }
    .xtab__txt { padding-inline: .2rem; }
    .xtab__txt b { font-size: .84rem; }
    .xtab__txt small { display: none; }
}

/* Carteles tambien en el catalogo de juegos */
.is-posters .pgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (max-width: 760px) { .is-posters .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } .is-posters .pcard__text, .is-posters .pcard__steam, .is-posters .pcard__kind { display: none; } .is-posters .pcard__body { padding: .9rem; } .is-posters .pcard__title { font-size: 1.25rem; } }
.is-posters .pcard { aspect-ratio: 4 / 5.4; border-radius: 22px; background: #0d1124; isolation: isolate; }
.is-posters .pcard__media { position: absolute; inset: 0; border: 0; z-index: 0; }
.is-posters .pcard__media .cover, .is-posters .pcard__media .typecover { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.is-posters .pcard__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 24, .35) 0%, transparent 22%, transparent 38%, rgba(8, 10, 24, .82) 66%, #080a18 100%); }
.is-posters .pcard__count { top: .85rem; bottom: auto; left: .85rem; }
.is-posters .pcard__body { position: relative; z-index: 2; margin-top: auto; flex: 0 0 auto; gap: .45rem; padding: 1.2rem 1.3rem 1.35rem; }
.is-posters .pcard__status { justify-content: flex-start; gap: .35rem .7rem; }
.is-posters .pcard__date { color: rgba(238, 240, 255, .75); }
.is-posters .pcard__title { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.is-posters .pcard__tags { display: none; }
.is-posters .pcard__text { -webkit-line-clamp: 3; color: rgba(238, 240, 255, .82); font-size: .93rem; }
.is-posters .pcard__steam { color: #fff; }
.is-posters .pcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .is-posters .pcard__text, .is-posters .pcard__steam { max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden;
        transition: max-height .45s var(--ease), opacity .3s, transform .45s var(--ease); }
    .is-posters .pcard__body { gap: .35rem; }
    .is-posters .pcard:hover .pcard__text, .is-posters .pcard:focus-within .pcard__text { max-height: 5.2em; opacity: 1; transform: none; }
    .is-posters .pcard:hover .pcard__steam, .is-posters .pcard:focus-within .pcard__steam { max-height: 2em; opacity: 1; transform: none; transition-delay: .06s; }
}
@media (max-width: 760px) { .is-posters .pcard { aspect-ratio: 4 / 6; } .is-posters .pcard__text { -webkit-line-clamp: 2; } .is-posters .pcard__date { display: none; } }
.is-posters .status { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 760px) { .is-posters .pcard__title { font-size: clamp(1rem, 5vw, 1.2rem); overflow-wrap: anywhere; } .is-posters .status__note { display: none; } }

/* Ritmo entre secciones y cuenta atras vistosa (v81) */
:root { --section: clamp(4.5rem, 9vw, 7.5rem); }
.container { width: min(1280px, 100% - clamp(2.5rem, 7vw, 6rem)); }
.section { position: relative; }
.section--tight { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.section__head { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section__more { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
main > .section:not(.section--alt) + .section:not(.section--alt)::before {
    content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0;
    width: min(1280px, 100% - clamp(2.5rem, 7vw, 6rem)); height: 1px; pointer-events: none;
    background: var(--line);
}

.pcard__count, .rail--poster .pcard__count, .is-posters .pcard__count, .pfacts__count { display: inline-flex; align-items: baseline; gap: .3em; padding: .3em .8em; border: 0; border-radius: 999px; background: rgba(14, 18, 38, .78); color: #ffe3a1; font-size: .78rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pcard__count b, .pfacts__count b { font-weight: 800; font-variant-numeric: tabular-nums; }
.pcard__count i, .pfacts__count i { display: none; }
.pfacts__count { font-size: .82rem; margin-left: .15rem; }

/* Tarjetas con mas aire y cabecera alineada con el contenido (v82) */
.pgrid { gap: clamp(1.25rem, 2.4vw, 2rem); }
.rail { --gap: clamp(1rem, 2vw, 1.75rem); }
.pcard__body { gap: .9rem; padding: clamp(1.35rem, 2vw, 1.75rem) clamp(1.35rem, 2vw, 1.8rem) clamp(1.5rem, 2.2vw, 1.9rem); }
.pcard__kind { margin: 0; }
.pcard__status { gap: .5rem .9rem; }
.pcard__title { line-height: 1.1; margin: .15rem 0 0; }
.pcard__text { line-height: 1.6; }
.pcard__tags { gap: .45rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pcard__tags li { padding: .25rem .7rem; }
.pcard__steam { margin-top: .1rem; }
.pcard__count, .rail--poster .pcard__count, .is-posters .pcard__count { top: 1rem; bottom: auto; left: 1rem; }
.pcard__phase { top: 1rem; right: 1rem; }
.rail--poster .pcard__body, .is-posters .pcard__body { gap: .6rem; padding: 1.5rem 1.6rem 1.7rem; }
.rail--poster .pcard__tags, .is-posters .pcard__tags { border-top: 0; padding-top: .25rem; }
@media (max-width: 640px) {
    .pcard__body { gap: .7rem; padding: 1.2rem 1.2rem 1.35rem; }
    .rail--poster .pcard__body, .is-posters .pcard__body { gap: .4rem; padding: 1rem 1rem 1.15rem; }
    .pcard__count, .rail--poster .pcard__count, .is-posters .pcard__count { top: .7rem; left: .7rem; font-size: .7rem; }
}
.nav__inner { width: min(1280px, 100% - clamp(2.5rem, 7vw, 6rem)); margin-inline: auto; padding-inline: 0; gap: clamp(12px, 1.5vw, 20px); }
.nav__links { gap: 4px; padding: 5px 6px; }
.nav__actions { gap: 10px; }

/* ============================================================
   v84: anillo de cuenta atras, selector de idioma, barra de
   progreso al hacer scroll y ajustes para tablet y movil
   ============================================================ */

/* Selector ES / EN con pastilla que se desliza */
.lang { position: relative; isolation: isolate; }
.lang a { position: relative; z-index: 1; transition: color .25s; }
.lang a[aria-current] { background: transparent; color: var(--night, #0a0d1d); }
.lang::before { content: ""; position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--moon); transition: transform .35s var(--ease); }
.lang:has(a[data-lang="en"][aria-current])::before { transform: translateX(100%); }
.mmenu .lang::before { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); }
.nav__actions { gap: 10px; }
.nav__actions .lang { padding: 5px; gap: 0; }
.nav__actions .lang a { min-width: 2.9rem; padding: 0 .8rem; }
.nav__actions .nav__icon { margin-left: 2px; }

/* Tablet: cabecera y rejillas */
@media (min-width: 761px) and (max-width: 1100px) {
    .soon__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .nav__inner { width: calc(100% - 32px); }
}
@media (max-width: 520px) {
    .section__head { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .soon { padding-top: 4.5rem; }
}
