/* ═══ Juega en Digital · diseño Arcade (escaparate del kit de marca 1.0) ═══
   Basado en 03-web/demo/tienda.css del kit. Lo que solo vale para la portada va bajo .arcade. */
:root {
  --ink: var(--jed-ink, #300D20);
  --cream: var(--jed-cream, #FFF1D8);
  --paper: var(--jed-paper, #FFFAF0);
  --red: var(--jed-red, #DC351F);
  --deep-red: var(--jed-red-deep, #A72015);
  --muted: #6F4F59;
  --line: #CEBCAA;
  --display: var(--jed-display, 'Barlow Condensed', 'Arial Narrow', sans-serif);
  --sans: var(--jed-sans, 'DM Sans', Arial, sans-serif);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body.arcade { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.45 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
.arcade h1, .arcade h2, .arcade h3, .arcade p { margin: 0; }
.arcade a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.footer a:focus-visible, .hero a:focus-visible { outline-color: var(--cream); }
img { display: block; max-width: 100%; }
.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }
.screen-reader, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 8; top: 10px; left: 12px; background: white; padding: 10px 16px; }
.shell { width: min(100% - clamp(32px, 7.8vw, 144px), 1392px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); background: var(--cream); }
.mast-inner, .main-nav, .nav-action, .cart-button, .footer-inner { display: flex; align-items: center; }
.mast-inner { min-height: 92px; justify-content: space-between; gap: 18px; }
.brand-home { display: inline-flex; flex: none; }
.brand-home img { width: 153px; height: 65px; object-fit: contain; object-position: left center; }
.main-nav { gap: clamp(16px, 3.4vw, 50px); font-size: 14px; font-weight: 700; }
.catalog-nav, .nav-action { padding-block: 10px; }
.catalog-nav:hover, .nav-action:hover { color: var(--deep-red); }
.nav-action { gap: 8px; border: 0; background: none; }
.nav-action[aria-pressed="true"] .icon { fill: var(--red); }
.cart-button { gap: 9px; border: 1.5px solid var(--ink); border-radius: 4px; padding: 8px 10px 8px 15px; color: var(--paper); background: var(--ink); font-weight: 700; }
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; margin-left: 4px; border-radius: 2px; background: var(--cream); color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.content { padding-top: clamp(16px, 2.15vw, 32px); }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: var(--jed-radius-card, 16px); box-shadow: 4px 5px 0 var(--red); min-height: clamp(370px, 39vw, 530px); }
.hero-art { position: absolute; z-index: -2; inset: 0; background: var(--ink) right center / auto 100% no-repeat; }
.hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--ink) 0%,rgba(48,13,32,.98) 19%,rgba(48,13,32,.93) 27%,rgba(48,13,32,.62) 39%,rgba(48,13,32,.09) 65%,transparent 82%); }
.hero-copy { width: min(48%, 565px); padding: clamp(28px,4vw,62px); padding-right: 0; }
.hero-kicker, .section-kicker, .genre, .detail-genre, .platform-caption { font-size: 11px; font-weight: 800; letter-spacing: .135em; line-height: 1.5; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 10px; }
.dash { width: 25px; height: 5px; background: var(--red); transform: skewX(-19deg); }
.arcade h1, .arcade h2, .arcade h3 { font-family: var(--display); font-weight: 700; line-height: .95; text-wrap: balance; }
.arcade h1 { font-size: clamp(76px, 8.2vw, 143px); letter-spacing: -.035em; margin: 13px 0 15px; text-transform: uppercase; line-height: .81; }
.hero-dot { color: #FF654D; }
.hero-desc { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.43; max-width: 355px; text-wrap: pretty; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 18px; border: 2px solid transparent; border-radius: var(--jed-radius, 8px); font-weight: 800; font-size: 14px; line-height: 1.35; }
.primary { color: var(--ink); background: var(--cream); }
.hero-copy .action { margin-top: clamp(20px, 2.15vw, 33px); }
.primary:hover { background: white; }
.dark-action { color: var(--cream); background: var(--deep-red); }
.dark-action:hover { background: #83170F; }
.cart-button:hover { background: #51243A; }
.catalog { padding: clamp(46px, 5vw, 80px) 0 clamp(50px, 6vw, 88px); scroll-margin-top: 20px; }
.catalog:focus { outline: none; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-kicker { color: var(--deep-red); font-size: 10px; }
.arcade h2 { font-size: clamp(42px, 4.4vw, 73px); letter-spacing: -.035em; margin-top: 5px; }
.arcade h2 span { color: var(--red); }
.filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filters button { font-size: 13px; font-weight: 700; background: transparent; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filters button:hover { border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,260px),1fr)); gap: clamp(14px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; }
.game { display: flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: var(--jed-radius-card, 16px); background: var(--cream); position: relative; min-width: 0; overflow: hidden; }
.card-cover { position: relative; }
.card-cover > img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center 30%; border-bottom: 1.5px solid var(--ink); background: var(--line); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); }
.fav-button { position: absolute; top: 10px; right: 10px; z-index: 1; }
.fav-button:hover, .close:hover { background: var(--cream); }
.fav-button[aria-pressed="true"] .icon { color: var(--deep-red); fill: var(--deep-red); }
.card-body { padding: clamp(14px,1.4vw,23px); flex: 1; display: flex; flex-direction: column; }
.genre, .detail-genre { color: var(--deep-red); }
.arcade h3 { font-size: clamp(26px,2.2vw,34px); letter-spacing: -.02em; margin: 5px 0 8px; overflow-wrap: anywhere; }
.platform-line { color: var(--muted); font-weight: 550; font-size: 13px; }
.card-bottom { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 750; font-size: 20px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.card-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0 5px 8px; border: 0; background: transparent; font-weight: 750; font-size: 13px; }
.card-link:hover { color: var(--deep-red); }
.card-link .icon { width: 17px; }
.empty { padding: 32px 0; color: var(--muted); }
.footer { color: var(--cream); background: var(--ink); padding: 24px 0; }
.footer-inner { gap: 30px; justify-content: space-between; }
.footer img { width: 144px; max-height: 56px; object-fit: contain; object-position: left center; }
.footer p, .footer a { font-size: 12px; }
.footer a { font-weight: 700; }
.footer a:hover { text-decoration: underline; }
.footer a span { margin-left: 4px; }
dialog.detalle { padding: 0; margin: auto; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); width: min(570px, calc(100vw - 28px)); max-height: 90vh; max-height: 90dvh; overflow: auto; }
dialog.detalle::backdrop { background: rgba(28,5,18,.69); }
.detail-inner, .cart-inner { position: relative; }
.close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.detail-image { width: 100%; height: clamp(125px,24vh,230px); object-fit: cover; border-bottom: 1px solid var(--ink); }
.detail-copy, .cart-inner { padding: clamp(20px, 3vw, 32px); }
.detail-copy h2 { margin: 5px 0 12px; font-size: clamp(38px,4vw,56px); padding-right: 40px; }
.detail-copy > p:not(.detail-genre) { color: #5E414D; }
.platform-caption { display: block; margin-top: 20px; }
.detail-copy select { width: 100%; padding: 11px 12px; margin: 6px 0 0; border-radius: 3px; border: 1px solid #8E7880; background-color: var(--paper); font-weight: 600; font-size: 15px; }
.detail-actions { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-actions .price { font-size: 25px; }
@media (max-width: 800px) {
  .catalog-heading { align-items: start; flex-direction: column; }
  .grid { gap: 12px; }
  .hero-art { background-size: auto 100%; }
  .card-body { padding: 12px; }
  .hero-copy { width: 52%; }
  .platform-line { font-size: 12px; }
  .card-bottom { flex-wrap: wrap; }
  .cart-label { display: none; }
}
@media (max-width: 620px) {
  .mast-inner { min-height: 72px; gap: 12px; }
  .brand-home img { width: 47px; height: 51px; }
  .main-nav { gap: 10px; font-size: 12px; }
  .nav-action { padding-inline: 3px; min-width: 28px; justify-content: center; }
  .fav-label { display: none; }
  .cart-button { gap: 4px; padding: 6px 7px; }
  .count { min-width: 19px; height: 21px; margin-left: 0; }
  .hero { min-height: 0; padding-top: 46%; }
  .hero-art { inset: 0 0 auto; height: 57%; background-size: cover; background-position: center 42%; }
  .hero-tint { background: linear-gradient(0deg,var(--ink) 0%,var(--ink) 46%, rgba(48,13,32,.96) 50%,rgba(48,13,32,.55) 60%,rgba(48,13,32,0) 76%); }
  .hero-copy { width: 100%; padding: 0 20px 23px; }
  .hero-kicker { font-size: 10px; }
  h1 { margin-block: 8px 12px; font-size: clamp(53px,12.2vw,70px); line-height: .93; }
  h1 br { display: none; }
  .hero-desc { max-width: 330px; font-size: 14px; }
  .hero-copy .action { margin-top: 15px; }
  .catalog { padding-block: 40px; }
  .catalog-heading { margin-bottom: 16px; gap: 15px; }
  .filters { gap: 4px; }
  .filters button { padding: 7px 9px; font-size: 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .arcade h3 { font-size: 22px; }
  .card-body { padding: 12px !important; }
  .platform-line { display: none; }
  .card-bottom { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card-link { padding-left: 0; }
  .card-bottom { margin-top: 12px; padding-top: 8px; }
  .footer-inner { flex-wrap: wrap; gap: 13px 20px; }
  .footer-inner img { width: 144px; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 24px); }
  .brand-home img { width: 43px; }
  .main-nav { gap: 6px; }
  .filters button { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── añadidos de la tienda real ── */
.cart-button { color: var(--paper) !important; }
.masthead .nav-ayuda { }
.content > .aviso { margin-bottom: 16px; }
.hero .action .icon, .card-link .icon { width: 18px; }
.arcade h1.largo { font-size: clamp(54px, 6vw, 100px); }
.arcade h1.muy-largo { font-size: clamp(40px, 4.4vw, 72px); line-height: .9; }
@media (min-width: 621px) { .hero.con-juego .hero-art { background-position: right center; background-size: auto 100%; } }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--jed-radius, 8px); background: var(--paper); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); min-height: 44px; outline: none; }
.search:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--deep-red); }
.count-line { color: var(--muted); font-size: 14px; margin: 0 0 14px !important; }
.filters button { min-height: 40px; }
.game { transition: transform .15s ease, box-shadow .15s ease; }
.game:hover { transform: translate(-2px, -2px); box-shadow: 4px 5px 0 var(--red); }
.game:focus-within { box-shadow: 4px 5px 0 var(--red); }
.game .stretch::after { content: ""; position: absolute; inset: 0; }
.game .fav-button { z-index: 2; }
.game h3 a:focus-visible { outline: none; }
.game:has(h3 a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.card-link { position: relative; z-index: 1; pointer-events: none; }
.badge { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: var(--red); color: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.price small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-right: 2px; }
.price s { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.price .agotado { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.game.sold-out .card-cover img { filter: grayscale(1) contrast(.85); opacity: .65; }
#ver-mas { display: flex; margin: 26px auto 0; border-color: var(--ink); background: var(--cream); color: var(--ink); min-height: 48px; }
#ver-mas:hover { background: var(--ink); color: var(--cream); }
/* ficha */
.detail-lead { color: #5E414D; }
dialog.detalle { width: min(640px, calc(100vw - 24px)); }
.detail-copy .datos { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0 0; font-size: 14px; }
.detail-copy .datos dt { color: var(--muted); } .detail-copy .datos dd { margin: 0; }
.detail-copy .compra { margin-top: 20px; box-shadow: 4px 5px 0 var(--red); }
.detail-copy .compra h3 { font-size: 28px; margin: 0 0 8px; }
.detail-copy .video { margin-top: 18px; border-radius: var(--jed-radius, 8px); overflow: hidden; }
.detail-more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 6px; }
.detail-more summary { cursor: pointer; font-weight: 800; min-height: 44px; display: flex; align-items: center; }
.detail-more p { margin: 0 0 10px !important; color: #5E414D; }
.detail-more ul { margin: 0; padding-left: 20px; }
/* pie */
.footer { margin-top: 0; }
.footer-inner { flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a, .footer .arriba { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--cream); }
@media (max-width: 620px) {
  .nav-ayuda { display: none; }
  .search { flex-basis: 100%; }
  .detail-copy .compra { padding: 16px 14px; }
}
.cart-button { min-height: 44px; }
.arcade .acepto a, .arcade .compra .enlace { color: var(--deep-red); text-decoration: underline; }
.card-cover > img { height: auto; }
.arcade .action.primary { color: var(--ink); }
.arcade .action.primary:hover { background: #fff; }
/* páginas interiores (cuenta, pedido, ayuda y legales) con la misma cabecera y pie */
body.pagina { background: var(--paper); }
body.pagina .masthead a, body.pagina .footer a { text-decoration: none; }
body.pagina .catalog-nav { color: var(--ink); }
body.pagina .hoja { padding-top: clamp(20px, 4vw, 40px); padding-bottom: 64px; }
body.pagina .cart-button .icon { stroke: currentColor; }

/* ═══ Rumbo y movimiento (DIRECCION-DISENO.md, aprobado por el dueño el 19/11/2026) ═══
   Carátulas ENTERAS · portada: héroe, novedades y catálogo · un solo momento: el revelado de la carátula destacada.
   Movimiento (Emil Kowalski): lo frecuente no se anima; lo que hace el usuario responde con salida suave. */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --t-micro: 150ms; --t-ui: 200ms; --t-modal-in: 240ms; --t-modal-out: 180ms; }

/* héroe: texto a la izquierda y la carátula entera, grande, a la derecha (encima en el móvil) */
.hero { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 64px); padding: clamp(24px, 4vw, 56px); min-height: 0; }
.hero .hero-copy { width: auto; padding: 0; max-width: 600px; }
.hero:not(.con-juego) { min-height: clamp(370px, 39vw, 530px); }
.hero.con-juego .hero-art { display: none; }
.hero-cover { margin: 0; width: clamp(260px, 32vw, 460px); aspect-ratio: 1; border: 2px solid var(--cream); border-radius: var(--jed-radius-card, 16px); overflow: hidden; background: #1E0714; box-shadow: 6px 7px 0 var(--red); }
.hero-cover img { width: 100%; height: 100%; object-fit: contain; }
.hero-dato { margin-top: 14px !important; font-size: 13px; font-weight: 700; color: #F5C9A8; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.15vw, 30px); }
.hero-copy .hero-acciones .action { margin-top: 0; }
.action.ghost { color: var(--cream); border-color: rgba(255,241,216,.55); background: transparent; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 16px 16px 24px; }
  .hero-cover { order: -1; width: 100%; max-width: 360px; justify-self: center; }
  .hero-acciones .action { flex: 1 1 100%; }
}

/* carátulas enteras: cuadradas y sin recortar en tarjetas y ficha */
.card-cover > img { aspect-ratio: 1 / 1; object-fit: contain; object-position: center; background: #1E0714; }
.detail-image { height: auto; aspect-ratio: 1 / 1; max-height: min(48vh, 420px); object-fit: contain; background: #1E0714; }

/* novedades: una fila de carátulas */
.novedades { padding-top: clamp(46px, 5vw, 80px); }
.grid-novedades { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-novedades .platform-line, .grid-novedades .card-link { display: none; }
.grid-novedades h3 { font-size: clamp(20px, 1.6vw, 26px) !important; }
@media (max-width: 1100px) { .grid-novedades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .grid-novedades { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .grid-novedades::-webkit-scrollbar { display: none; }
  .grid-novedades > li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ── movimiento ── */
/* tarjetas: solo con ratón; sube 2px, crece la sombra y la carátula se acerca dentro de su marco */
.game { transition: none; }
.card-cover { overflow: hidden; }
.card-cover > img { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .game { transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out); }
  .game:hover { transform: translateY(-2px); box-shadow: 4px 6px 0 var(--red); }
  .game:hover .card-cover > img { transform: scale(1.03); }
  .game:hover .card-link .icon { transform: translateX(3px); }
}
.game:hover { transform: none; }
@media (hover: hover) and (pointer: fine) { .game:hover { transform: translateY(-2px); } }
.game:active { transform: translateY(1px) !important; transition-duration: 100ms; }
.card-link .icon, .action .icon { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .action:hover .icon { transform: translateX(3px); } }

/* botones: color al pasar, se hunden al pulsar */
.action, .cart-button, .filters button, .boton, .icon-button { transition: background-color var(--t-micro) ease, color var(--t-micro) ease, border-color var(--t-micro) ease, transform 100ms var(--ease-out); }
.action:active, .cart-button:active, .filters button:active, .boton:active:not([disabled]), .icon-button:active { transform: translateY(1px) scale(.98); }
.filters button { transition-property: background-color, color, border-color; }

/* favorito: el corazón late una vez al marcarlo */
@keyframes latido { 0% { transform: scale(1); } 45% { transform: scale(1.2); } 100% { transform: scale(1); } }
.fav-button.late .icon { animation: latido 200ms var(--ease-out); }

/* ficha en ventana: entra desde 8px y con opacidad; el fondo a la vez; sale más deprisa */
@keyframes ficha-entra { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ficha-sale { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes fondo-entra { from { opacity: 0; } to { opacity: 1; } }
@keyframes fondo-sale { from { opacity: 1; } to { opacity: 0; } }
dialog.detalle[open] { animation: ficha-entra var(--t-modal-in) var(--ease-out); }
dialog.detalle[open]::backdrop { animation: fondo-entra var(--t-modal-in) var(--ease-out); }
dialog.detalle.cerrando { animation: ficha-sale var(--t-modal-out) var(--ease-out) forwards; }
dialog.detalle.cerrando::backdrop { animation: fondo-sale var(--t-modal-out) var(--ease-out) forwards; }
/* en el móvil la ficha es una hoja que sube desde abajo */
@keyframes hoja-entra { from { transform: translateY(100%); } to { transform: none; } }
@keyframes hoja-sale { from { transform: none; } to { transform: translateY(100%); } }
@media (max-width: 620px) {
  dialog.detalle { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; border-radius: 16px 16px 0 0; border-bottom: 0; }
  dialog.detalle[open] { animation: hoja-entra 280ms var(--ease-out); }
  dialog.detalle.cerrando { animation: hoja-sale var(--t-modal-out) var(--ease-out) forwards; }
}

/* héroe: entra una vez al cargar, escalonado */
@keyframes sube { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
[data-enter] > * { animation: sube 450ms var(--ease-out) both; }
[data-enter] > :nth-child(2) { animation-delay: 60ms; } [data-enter] > :nth-child(3) { animation-delay: 120ms; }
[data-enter] > :nth-child(4) { animation-delay: 180ms; } [data-enter] > :nth-child(5) { animation-delay: 240ms; }

/* el momento: la carátula destacada se revela una vez, como una foto en la cubeta (1,6 s) */
@keyframes revelado {
  0% { opacity: .25; filter: grayscale(1) contrast(.6) brightness(1.25); transform: scale(1.04); }
  45% { opacity: 1; filter: grayscale(1) contrast(1.15) brightness(.95); }
  100% { opacity: 1; filter: none; transform: none; }
}
.hero-cover:not([hidden]) img { animation: revelado 1.6s var(--ease-out) 150ms both; }

/* reducir movimiento: todo quieto y nada oculto */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, dialog.detalle::backdrop { animation: none !important; transition: none !important; }
  .game:hover, .game:active { transform: none !important; }
}

/* ═══ Pulido (impeccable audit + polish, 19/11/2026): tipografía, espaciado y contraste ═══ */
/* tipografía: titular del héroe con tope de 6rem y escala clara; nada funcional por debajo de 12px */
.arcade h1 { font-size: clamp(56px, 7vw, 96px); line-height: .9; letter-spacing: -.03em; margin: 0 0 16px; }
.arcade h1.largo { font-size: clamp(48px, 5.6vw, 84px); }
.arcade h1.muy-largo { font-size: clamp(38px, 4.2vw, 64px); }
.arcade h2 { font-size: clamp(40px, 4vw, 64px); letter-spacing: -.03em; margin: 0; }
.hero-desc { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; max-width: 42ch; color: #F7E4CC; }
.hero-dato { font-size: 14px; color: #F5C9A8; }
.genre, .detail-genre { font-size: 12px; letter-spacing: .08em; }
.platform-line { font-size: 14px; }
.price small, .price s { font-size: 13px; }
.filters button { font-size: 14px; }
.count-line { font-size: 15px; }
.footer-links a, .footer .arriba { font-size: 14px; }
.badge { background: var(--deep-red); font-size: 12px; }                 /* crema sobre rojo profundo: 6,58:1 (antes 4,12:1) */
.filters button { border-color: #8E7880; }                                /* borde de control ≥3:1 sobre el papel */
.search input::placeholder { color: var(--muted); opacity: 1; }
.hero:not(.con-juego) .hero-art { background: var(--ink); }               /* sin halo radial decorativo */

/* espaciado: más aire encima de cada título que debajo; grupos juntos, secciones separadas */
.novedades { padding-top: clamp(56px, 6vw, 96px); }
.catalog { padding-top: clamp(56px, 6vw, 96px); }
.catalog-heading { margin-bottom: clamp(16px, 1.6vw, 24px); }
@media (min-width: 801px) { .catalog-heading { align-items: flex-end; } }
.catalog-tools { margin-bottom: 12px; }
.count-line { margin-bottom: 18px !important; }
.card-body { gap: 0; }
.arcade .game h3 { margin: 6px 0 6px; }
.card-bottom { margin-top: auto; padding-top: 12px; }
.platform-line { margin-bottom: 14px !important; }
.hero-acciones { margin-top: 28px; }
.detail-copy .detail-genre + h2 { margin-top: 6px; }
.detail-copy .datos { margin-top: 16px; }
.detail-copy .compra { margin-top: 24px; }

/* superficies del navegador con la paleta de la marca */
::selection { background: var(--red); color: var(--cream); }
input, textarea { caret-color: var(--deep-red); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--deep-red); }
.price, .opcion .cuanto { font-variant-numeric: tabular-nums; }
:focus-visible { outline-offset: 3px; }
/* QA 19/11/2026: enlaces de la cabecera con zona táctil de 44px también en el móvil */
.catalog-nav, .nav-action { min-height: 44px; display: inline-flex; align-items: center; }
/* si una carátula no carga, se ve el marco limpio (sin icono roto ni texto alternativo encima) */
img.sin-imagen { visibility: hidden; }

/* ═══ Más animación de entrada y de scroll (aprobado por el dueño el 19/11/2026: todo menos el paralaje) ═══
   Solo con html.anim (lo pone JS si no hay «reducir movimiento»): sin JS todo se ve quieto y completo. */
@keyframes baja { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes encaja { from { box-shadow: 0 0 0 var(--red); transform: translate(6px, 7px); } to { box-shadow: 6px 7px 0 var(--red); transform: none; } }
@keyframes cae { 0% { transform: translateY(-0.9em); opacity: 0; } 55% { transform: translateY(0); opacity: 1; } 72% { transform: translateY(-0.18em); } 86% { transform: translateY(0); } 93% { transform: translateY(-0.05em); } 100% { transform: none; } }
@keyframes inclina { 0% { transform: rotate(0); } 30% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
/* 1. cabecera */
.anim .mast-inner > * { animation: baja 320ms var(--ease-out) both; }
.anim .mast-inner > :nth-child(2) { animation-delay: 70ms; }
/* 2. destacado: la sombra encaja como un cartucho y el punto rojo cae y rebota */
.anim .hero-cover:not([hidden]) { animation: encaja 520ms var(--ease-out) 380ms both; }
.anim .hero-dot { display: inline-block; animation: cae 700ms var(--ease-out) 520ms both; }
/* 4. títulos que se descubren de abajo arriba */
.anim h2[data-reveal] { clip-path: inset(0 0 100% 0); transform: translateY(18px); }
.anim h2[data-reveal].visto { clip-path: inset(0 -0.2em -0.3em 0); transform: none; transition: clip-path 600ms var(--ease-out), transform 600ms var(--ease-out); }
/* 3 y 5. tarjetas: aparecen por filas, una vez (novedades al cargar; catálogo al hacer scroll y con «Ver más») */
.anim li[data-reveal] { opacity: 0; transform: translateY(16px); }
.anim li[data-reveal].visto { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out) var(--retardo, 0ms), transform 420ms var(--ease-out) var(--retardo, 0ms); }
/* 7. pie: el mando se inclina y vuelve al llegar abajo */
.anim .footer[data-reveal].visto .logo-pie { transform-origin: 25% 80%; animation: inclina 700ms var(--ease-out) 120ms both; }
@media (prefers-reduced-motion: reduce) {
  .anim h2[data-reveal], .anim li[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ═══ Estructura de tienda (inspirada en la del proveedor, con la marca Arcade) · 20/11/2026 ═══ */
/* franja de garantías */
.franja { background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 700; }
.franja-inner { display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap; padding-block: 8px; }
.franja-inner span + span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 14px; vertical-align: 2px; }
@media (max-width: 620px) { .franja-inner { gap: 4px 14px; font-size: 12px; } .franja-inner span:nth-child(3) { display: none; } .franja-inner span + span::before { margin-right: 10px; } }

/* cabecera: logo · buscador · cuenta; debajo, el menú de secciones */
.mast-inner { gap: clamp(12px, 3vw, 32px); }
.busca-cab { flex: 1; max-width: 560px; display: flex; align-items: center; min-height: 44px; border: 1.5px solid var(--ink); border-radius: var(--jed-radius, 8px); background: var(--paper); }
.busca-cab input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; min-height: 42px; font: inherit; color: var(--ink); outline: none; }
.busca-cab input::placeholder { color: var(--muted); opacity: 1; }
.busca-cab button { width: 44px; min-height: 42px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; border-radius: 0 var(--jed-radius, 8px) var(--jed-radius, 8px) 0; }
.busca-cab:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.menu-tienda { display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.menu-tienda::-webkit-scrollbar { display: none; }
.menu-tienda a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .menu-tienda a:hover { color: var(--deep-red); } }
@media (max-width: 620px) {
  .mast-inner { flex-wrap: wrap; min-height: 0; padding-block: 10px; }
  .busca-cab { order: 3; flex-basis: 100%; max-width: none; }
  .menu-tienda { gap: 4px 18px; }
}

/* accesos rápidos */
.accesos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.accesos a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--paper); transition: background-color var(--t-micro) ease, color var(--t-micro) ease; }
@media (hover: hover) { .accesos a:hover { background: var(--ink); color: var(--cream); } }
@media (max-width: 620px) { .accesos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .accesos::-webkit-scrollbar { display: none; } .accesos a { flex: none; } }

/* cabeceras de sección con «Ver todo» */
.ver-todo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; font-size: 14px; color: var(--deep-red) !important; }
.grid-cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* cuenta atrás */
.cuenta-atras { display: flex; gap: 6px; margin: 10px 0 0; }
.cuenta-atras span { flex: 1; display: grid; justify-items: center; padding: 6px 4px; border-radius: 6px; background: var(--ink); color: var(--cream); line-height: 1; }
.cuenta-atras b { font: 700 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.cuenta-atras small { font-size: 11px; font-weight: 700; margin-top: 3px; color: #F5C9A8; }
.cuenta-atras.en-heroe { max-width: 280px; margin-top: 18px; }
.cuenta-atras.en-heroe span { background: rgba(255, 241, 216, .1); border: 1px solid rgba(255, 241, 216, .25); padding: 10px 6px; }
.cuenta-atras.en-heroe b { font-size: 32px; }

/* explora por consola */
.plataformas { padding-top: clamp(56px, 6vw, 96px); }
.plataformas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(16px, 1.6vw, 24px); }
.plataforma { position: relative; display: grid; gap: 6px; align-content: end; min-height: clamp(180px, 20vw, 260px); padding: clamp(18px, 2.4vw, 32px); border: 2px solid var(--ink); border-radius: var(--jed-radius-card, 16px); background: var(--ink); color: var(--cream) !important; text-decoration: none; box-shadow: 4px 5px 0 var(--red); overflow: hidden; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out); }
.plataforma.ps4 { background: var(--deep-red); }
.plataforma::after { content: ""; position: absolute; right: -6%; top: -18%; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 18px solid rgba(255, 241, 216, .08); }
.plat-nombre { font: 700 clamp(34px, 4vw, 56px)/.95 var(--display); letter-spacing: -.02em; }
.plat-cuenta { font-size: 15px; color: #F5C9A8; }
.plat-boton { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .plataforma:hover { transform: translateY(-2px); box-shadow: 4px 7px 0 var(--red); } .plataforma:hover .plat-boton .icon { transform: translateX(3px); } }
.plat-boton .icon { transition: transform var(--t-ui) var(--ease-out); }
@media (max-width: 620px) { .plataformas-grid { grid-template-columns: 1fr; } }

/* ventajas */
.ventajas { padding: clamp(56px, 6vw, 96px) 0 clamp(56px, 6vw, 96px); }
.ventajas-grid { list-style: none; margin: clamp(16px, 1.6vw, 24px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.ventajas-grid li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--jed-radius-card, 16px); background: var(--cream); }
.ventajas-grid .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--deep-red); stroke-width: 1.7; }
.arcade .ventajas-grid h3 { margin: 0; font-size: 24px; }
.ventajas-grid p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .ventajas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ventajas-grid { grid-template-columns: 1fr; } }

/* pie en columnas */
.pie-columnas { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px 32px; padding-block: 40px 32px; }
.pie-columnas h2 { font: 800 12px/1.4 var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; color: #F5C9A8; margin: 0 0 8px !important; }
.pie-columnas nav, .pie-columnas > div { display: grid; align-content: start; }
.pie-columnas a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--cream) !important; text-decoration: none; }
@media (hover: hover) { .pie-columnas a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.pie-columnas p { font-size: 14px; color: #E9CFC0; max-width: 34ch; }
.pie-marca img { width: 150px; height: auto; margin-bottom: 12px; }
@media (max-width: 860px) { .pie-columnas { grid-template-columns: 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }
@media (max-width: 420px) { .pie-columnas { grid-template-columns: 1fr; } }
.footer { padding: 0; }
/* calendario de lanzamientos */
.calendario { padding-top: clamp(56px, 6vw, 96px); }
.calendario-meses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(16px, 1.6vw, 24px); }
.mes { border: 1.5px solid var(--ink); border-radius: var(--jed-radius-card, 16px); background: var(--cream); padding: 18px 20px; }
.arcade .mes h3 { margin: 0 0 8px; font-size: 26px; }
.mes ol { list-style: none; margin: 0; padding: 0; }
.mes li + li { border-top: 1px solid var(--line); }
.mes a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; min-height: 52px; color: var(--ink); text-decoration: none; }
.mes time { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--ink); color: var(--cream); font: 700 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.cal-nombre { font-weight: 700; min-width: 0; }
.cal-precio { font-weight: 700; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) { .mes a:hover .cal-nombre { color: var(--deep-red); text-decoration: underline; text-underline-offset: .2em; } }
