/* PixelUp — Arcade v3 (mobile first) */
body.px-arcade { margin: 0; background: #0D1230; color: #E8ECFF; font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }
body.px-arcade #trp-floater-ls, body.px-arcade .trp-language-switcher-container { display: none !important; }
.pxa { background-color: #0D1230; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; min-height: 100vh; }
.pxa a { color: inherit; }
.pxa-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pxa-narrow { max-width: 860px; }
.pxa h1, .pxa h2, .pxa h3, .pxa-logo, .pxa-btn, .pxa-kicker, .pxa-dpad, .pxa-crt__hud { font-family: 'Silkscreen', monospace; }

/* Encabezado */
.pxa-head { position: sticky; top: 0; z-index: 50; background: rgba(13,18,48,.94); backdrop-filter: blur(6px); border-bottom: 2px solid #1E2766; }
.pxa-head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.pxa-logo { font-weight: 700; font-size: 24px; color: #fff !important; text-decoration: none; }
.pxa-nav { display: none; gap: 26px; font-weight: 500; }
.pxa-nav a { text-decoration: none; color: #E8ECFF !important; }
.pxa-nav a:hover { color: #3DDC84 !important; }
.pxa-right { display: flex; align-items: center; gap: 10px; }
.pxa-hide-m { display: none !important; }

.pxa-lang { position: relative; }
.pxa-lang__cur { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; background: transparent; border: 2px solid #1E2766; color: #fff; font-family: 'Silkscreen', monospace; font-size: 13px; cursor: pointer; }
.pxa-lang__cur i { font-style: normal; font-size: 11px; color: #8C96C8; }
.pxa-lang__opt { position: absolute; right: 0; top: calc(100% + 6px); display: none; align-items: center; gap: 8px; white-space: nowrap; padding: 12px 14px; min-height: 44px; background: #151B45; border: 2px solid #3DDC84; box-shadow: 4px 4px 0 #2563EB; color: #fff !important; text-decoration: none; font-size: 14px; }
.pxa-lang.is-open .pxa-lang__opt { display: flex; }
.pxa svg { flex: none; }
.pxa-lang svg { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }

.pxa-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; background: #3DDC84; border: 0; cursor: pointer; box-shadow: 3px 3px 0 #2563EB; }
.pxa-burger span { display: block; width: 20px; height: 3px; background: #0D1230; transition: transform .2s, opacity .2s; }
.pxa-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.pxa-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pxa-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.pxa-menu { border-top: 2px solid #1E2766; padding: 12px 16px 20px; display: flex; flex-direction: column; background: #0D1230; max-height: calc(100vh - 64px); overflow: auto; }
.pxa-menu[hidden] { display: none; }
.pxa-menu a { display: flex; align-items: center; min-height: 48px; color: #fff !important; text-decoration: none; font-family: 'Silkscreen', monospace; font-size: 18px; border-bottom: 1px solid #1E2766; }
.pxa-menu .pxa-menu__s { font-family: 'Inter', sans-serif; font-size: 16px; min-height: 44px; color: #B7C0EA !important; }
.pxa-menu__t { margin: 16px 0 4px; font-family: 'Silkscreen', monospace; font-size: 13px; color: #FFCF3F; }
.pxa-menu .pxa-btn { margin-top: 18px; justify-content: center; border: 0; }

/* Botones */
.pxa-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; font-size: 16px; text-decoration: none !important; background: #3DDC84; color: #0D1230 !important; box-shadow: 5px 5px 0 #2563EB; transition: transform .15s, box-shadow .15s; }
.pxa-btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #2563EB; }
.pxa-btn--sm { min-height: 44px; font-size: 14px; padding: 0 16px; box-shadow: 3px 3px 0 #2563EB; }
.pxa-btn--ghost { background: transparent; color: #fff !important; border: 2px solid #fff; box-shadow: none; }
.pxa-btn--dark { background: #0D1230; color: #3DDC84 !important; box-shadow: none; }

/* Hero */
.pxa-hero { padding: 48px 0 56px; }
.pxa-kicker { margin: 0 0 16px; font-size: 13px; color: #FFCF3F; }
.pxa-h1 { margin: 0; font-weight: 700; font-size: clamp(34px, 9vw, 92px); line-height: 1.04; color: #fff; max-width: 1100px; }
.pxa-lead { margin: 22px 0 28px; font-size: 18px; line-height: 1.6; color: #B7C0EA; max-width: 680px; }
.pxa-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.pxa-sec { padding: 56px 0; }
.pxa-sec--dark { background: #070A1F; border-top: 2px solid #2563EB; border-bottom: 2px solid #2563EB; }
.pxa-h2 { margin: 0 0 24px; font-size: clamp(24px, 6vw, 40px); color: #fff; line-height: 1.15; }

/* Selección de nivel */
.pxa-sel__head { margin-bottom: 20px; }
.pxa-sel__head .pxa-h2 { margin-bottom: 8px; }
.pxa-sel__sub { margin: 0; color: #B7C0EA; font-size: 16px; }
.pxa-crt { max-width: 860px; margin: 0 auto; }
.pxa-crt__bezel { position: relative; padding: 10px; background: #1A2152; border: 3px solid #E8ECFF; box-shadow: 8px 8px 0 #3DDC84; }
.pxa-crt__screen, .pxa-crt__fallback { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; image-rendering: pixelated; background: #000; cursor: grab; touch-action: pan-y; }
.pxa-crt__fallback { display: none; object-fit: cover; object-position: top; }
.no-canvas .pxa-crt__screen { display: none; } .no-canvas .pxa-crt__fallback { display: block; }
.pxa-crt__scan { position: absolute; inset: 10px; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.pxa-crt__hud { position: absolute; left: 18px; top: 18px; right: 18px; display: flex; justify-content: space-between; pointer-events: none; font-size: 12px; }
.pxa-crt__hud b { background: #0D1230; color: #3DDC84; padding: 4px 8px; font-weight: 400; }
.pxa-crt__hud i { font-style: normal; background: #0D1230; color: #FF5D73; padding: 4px 8px; animation: pxBlink 1.2s steps(2) infinite; }
.pxa-crt__pad { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.pxa-dpad { flex: none; width: 52px; height: 52px; display: grid; place-items: center; background: #151B45; color: #fff; border: 2px solid #E8ECFF; box-shadow: 4px 4px 0 #2563EB; font-size: 18px; cursor: pointer; }
.pxa-dpad:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #2563EB; }
.pxa-crt__info { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pxa-crt__info strong { font-family: 'Silkscreen', monospace; font-size: 18px; color: #fff; }
.pxa-crt__info span { font-size: 14px; color: #B7C0EA; line-height: 1.4; }
.pxa-start { display: flex; justify-content: center; margin: 18px auto 0; width: 100%; max-width: 360px; }
.pxa-blink { animation: pxBlink 1s steps(2) infinite; }
@keyframes pxBlink { 50% { opacity: 0; } }

.pxa-tape { margin-top: 36px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pxa-tape__track { display: flex; gap: 16px; width: max-content; padding: 4px 0 10px; animation: pxTape 40s linear infinite; }
.pxa-tape:hover .pxa-tape__track, .pxa-tape:focus-within .pxa-tape__track { animation-play-state: paused; }
@keyframes pxTape { to { transform: translateX(-50%); } }
.pxa-cart { flex: none; width: 168px; padding: 8px 8px 10px; background: #151B45; border: 2px solid var(--c); box-shadow: 4px 4px 0 var(--c); color: #fff; cursor: pointer; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 8px; }
.pxa-cart img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.pxa-cart span { font-family: 'Silkscreen', monospace; font-size: 11px; line-height: 1.3; }
.pxa-cart.is-on { background: var(--c); color: #0D1230; }

/* Power-ups */
.pxa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pxa-pow { display: flex; flex-direction: column; gap: 8px; background: #151B45; border: 2px solid var(--c); box-shadow: 5px 5px 0 var(--c); padding: 16px; text-decoration: none !important; transition: transform .15s; }
.pxa-pow:hover { transform: translate(-2px, -2px); }
.pxa-ico { width: 36px; height: 36px; image-rendering: pixelated; }
.pxa-pow__code { font-family: 'Silkscreen', monospace; color: var(--c); font-size: 12px; }
.pxa-pow h3 { margin: 0; font-size: 17px; color: #fff; line-height: 1.2; }
.pxa-pow p { margin: 0; color: #B7C0EA; line-height: 1.5; font-size: 14px; }
.pxa-pow__more { margin-top: auto; font-family: 'Silkscreen', monospace; font-size: 12px; color: var(--c); }

/* Pasos */
.pxa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.pxa-steps li { border-left: 6px solid var(--c); padding: 4px 0 4px 16px; display: flex; flex-direction: column; gap: 6px; }
.pxa-steps span { font-family: 'Silkscreen', monospace; color: var(--c); font-size: 13px; }
.pxa-steps strong { font-family: 'Silkscreen', monospace; font-size: 19px; color: #fff; }
.pxa-steps p { margin: 0; color: #B7C0EA; line-height: 1.55; }

/* FAQ */
.pxa-faq { border: 2px solid #1E2766; background: #151B45; margin-bottom: 10px; }
.pxa-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; color: #fff; }
.pxa-faq summary::-webkit-details-marker { display: none; }
.pxa-faq summary::after { content: "+"; font-family: 'Silkscreen', monospace; color: #3DDC84; font-size: 22px; }
.pxa-faq[open] summary::after { content: "–"; }
.pxa-faq p { margin: 0; padding: 0 16px 16px; color: #B7C0EA; line-height: 1.6; }

/* CTA final y pie */
.pxa-sec--cta { padding-top: 24px; }
.pxa-final { background: #3DDC84; color: #0D1230; padding: 28px 20px; box-shadow: 8px 8px 0 #2563EB; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pxa-final h2 { margin: 0; font-size: clamp(24px, 6vw, 46px); line-height: 1.1; color: #0D1230; }
.pxa-foot { padding: 40px 0 24px; color: #8C96C8; font-size: 14px; border-top: 2px solid #1E2766; }
.pxa-foot__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.pxa-foot__grid > * { display: flex; flex-direction: column; gap: 6px; }
.pxa-foot__grid p { margin: 0; line-height: 1.6; }
.pxa-foot__grid p svg { vertical-align: -2px; margin-left: 4px; }
.pxa-foot__t { font-family: 'Silkscreen', monospace; color: #fff; font-size: 14px; margin: 0 0 4px !important; }
.pxa-foot a { color: #B7C0EA !important; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.pxa-foot a:hover { color: #3DDC84 !important; }
.pxa-foot .pxa-logo { color: #fff !important; }
.pxa-foot__b { margin-top: 28px; padding-top: 18px; border-top: 1px solid #1E2766; font-size: 13px; }
.pxa-wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; background: #3DDC84; color: #0D1230 !important; box-shadow: 4px 4px 0 #2563EB; }

/* Página de servicio */
.pxa-crumbs { margin-bottom: 18px; font-size: 14px; color: #8C96C8; }
.pxa-crumbs a { color: #B7C0EA !important; }
.pxa-svc__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pxa-svc__top .pxa-kicker { margin: 0; color: var(--c); }
.pxa-svc__top .pxa-ico { width: 48px; height: 48px; }
.pxa-h1--svc { font-size: clamp(30px, 7vw, 64px); }
.pxa-svc { display: grid; grid-template-columns: 1fr; gap: 28px; }
.pxa-svc__body p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; color: #D4DAF7; }
.pxa-svc__box { align-self: start; background: #151B45; border: 2px solid var(--c); box-shadow: 6px 6px 0 var(--c); padding: 22px; }
.pxa-svc__boxt { margin: 0 0 12px; font-family: 'Silkscreen', monospace; color: var(--c); }
.pxa-svc__box ul { margin: 0 0 18px; padding: 0; list-style: none; }
.pxa-svc__box li { padding: 8px 0 8px 22px; position: relative; color: #E8ECFF; border-bottom: 1px dashed #1E2766; }
.pxa-svc__box li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--c); }

@media (min-width: 700px) {
  .pxa-wrap { padding: 0 24px; }
  .pxa-hero { padding: 80px 0 88px; }
  .pxa-sec { padding: 80px 0; }
  .pxa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pxa-pow { padding: 22px; } .pxa-pow h3 { font-size: 21px; } .pxa-pow p { font-size: 15px; }
  .pxa-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxa-final { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px; }
  .pxa-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .pxa-cart { width: 220px; } .pxa-cart span { font-size: 13px; }
  .pxa-crt__info strong { font-size: 22px; }
  .pxa-svc { grid-template-columns: 1.6fr 1fr; gap: 48px; }
}
@media (min-width: 1000px) {
  .pxa-nav { display: flex; }
  .pxa-hide-m { display: inline-flex !important; }
  .pxa-burger { display: none; }
  .pxa-menu { display: none !important; }
  .pxa-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pxa-steps li { border-left: 0; border-top: 6px solid var(--c); padding: 16px 0 0; }
  .pxa-logo { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pxa-tape__track { animation: none; }
  .pxa-tape { overflow-x: auto; }
  .pxa-blink, .pxa-crt__hud i { animation: none; }
  .pxa-btn, .pxa-pow { transition: none; }
}
