/* store.css — Diseño nuevo de la tienda (inicio + catálogo). Colores de la marca:
   fondo #0b0c10, azul #007bff/#4aa3ff, verde #00c46a, rojo #ff3b3b, dorado #ffd700 */

:root {
  --sx-bg: #0b0c10;
  --sx-bg-2: #0f1117;
  --sx-card: #12141c;
  --sx-card-2: #171a24;
  --sx-line: #1f2433;
  --sx-line-2: #2a3147;
  --sx-text: #eef1f7;
  --sx-muted: #9aa3b8;
  --sx-dim: #626b82;
  --sx-blue: #007bff;
  --sx-blue-2: #4aa3ff;
  --sx-green: #00c46a;
  --sx-red: #ff3b3b;
  --sx-gold: #ffd700;
  --sx-pink: #ff4da6;
  --sx-radius: 16px;
  --sx-max: 1280px;
}

[hidden] { display: none !important; }
.store-body { background: var(--sx-bg); color: var(--sx-text); }
.store-body a { color: inherit; }

/* ── Botones ───────────────────────────────────────────────────────────── */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.sx-btn:hover { transform: translateY(-2px); }
.sx-btn-primary { background: linear-gradient(135deg, #1a8cff, #0062d6); color: #fff !important; box-shadow: 0 10px 28px rgba(0, 123, 255, .35); }
.sx-btn-primary:hover { box-shadow: 0 14px 34px rgba(0, 123, 255, .5); }
.sx-btn-hot { background: linear-gradient(135deg, #ff9d00, #ff4da6); color: #fff !important; box-shadow: 0 10px 28px rgba(255, 77, 166, .35); }
.sx-btn-ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff !important; backdrop-filter: blur(6px); }
.sx-btn-ghost:hover { background: rgba(255, 255, 255, .13); }
.sx-btn-gold { background: linear-gradient(135deg, #ffd700, #ff9500); color: #141414 !important; }
.sx-btn-wa { background: #25d366; color: #fff !important; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }

/* ── Portada (diapositivas) ────────────────────────────────────────────── */
/* Pantalla completa: en el inicio el menú va oculto encima del hero (ver .hero-page más abajo) */
/* Pantalla completa (el menú va transparente encima). La foto llena todo; el enfoque elegido decide qué se recorta */
.sx-hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #07080c; }

/* Degradado ligero solo del lado donde va el texto (cambia con la posición, ver más abajo) */
.sx-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 9, 20, .72) 0%, rgba(5, 9, 20, .35) 28%, rgba(5, 9, 20, 0) 48%);
}

/* Texto sin caja: tamaño pequeño y sombra para que se lea sobre la foto */
.sx-info {
  position: absolute; z-index: 2;
  left: max(90px, calc((100% - var(--sx-max)) / 2 + 24px)); top: 50%; transform: translateY(-50%);
  max-width: 420px; display: grid; gap: 8px; justify-items: start;
}
.sx-info-title, .sx-info-sub, .sx-info-price { text-shadow: 0 2px 14px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .6); }
.sx-info .sx-kicker {
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 4px 11px;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 11px; letter-spacing: 1px;
}
.sx-info-title { color: #fff; font-size: clamp(22px, 1.75vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.3px; text-wrap: balance; hyphens: none; overflow-wrap: normal; word-break: keep-all; }
.sx-info-sub { margin: 0; color: #e3e8f1; font-size: 14px; line-height: 1.55; }
.sx-info-price { margin: 0; color: #fff; font-size: 15px; font-weight: 700; }
.sx-info-price s { color: #8a93a6; font-weight: 400; margin-right: 6px; }
/* Mismo tamaño y estilo en todos los juegos; el color sale de la paleta de cada foto (--accent, lo pone js/home.js) */
.sx-info-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 20px; border-radius: 999px;
  background: var(--accent, #0057ff); color: var(--accent-text, #fff);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: background .2s, color .2s, transform .2s;
}
.sx-info-cta i { font-size: 12px; transition: transform .2s; }
.sx-slide:hover .sx-info-cta { background: var(--accent-hover, #1a6bff); color: var(--accent-hover-text, #fff); transform: translateY(-2px); }
.sx-slide:hover .sx-info-cta i { transform: translateX(4px); }
/* Preventas: contador y abono dentro de la tarjeta, en tamaño pequeño */
.sx-info .sx-price-line { margin: 0; font-size: 14px; }
.sx-info .sx-price-line.is-big strong { font-size: 18px; }
.sx-info .sx-cd > div { min-width: 44px; padding: 4px; }
.sx-info .sx-cd b { font-size: 16px; }
.sx-info .sx-btn { pointer-events: none; } /* el clic lo recibe toda la diapositiva */

/* ── Diseño por diapositiva (admin > Portada del inicio) ── */
/* Posición del texto: donde la foto esté más despejada; el degradado ligero se va al mismo lado */
.sx-slide.is-pos-right .sx-info { left: auto; right: max(90px, calc((100% - var(--sx-max)) / 2 + 24px)); justify-items: end; text-align: right; }
.sx-slide.is-pos-right::after { background: linear-gradient(270deg, rgba(5, 9, 20, .72) 0%, rgba(5, 9, 20, .35) 28%, rgba(5, 9, 20, 0) 48%); }
.sx-slide.is-pos-bottom-left .sx-info { top: auto; bottom: 70px; transform: none; }
.sx-slide.is-pos-bottom-left::after { background: radial-gradient(ellipse 55% 55% at 0% 100%, rgba(5, 9, 20, .8), rgba(5, 9, 20, .35) 45%, rgba(5, 9, 20, 0) 75%); }
.sx-slide.is-pos-bottom-right .sx-info { top: auto; bottom: 70px; transform: none; left: auto; right: max(90px, calc((100% - var(--sx-max)) / 2 + 24px)); justify-items: end; text-align: right; }
.sx-slide.is-pos-bottom-right::after { background: radial-gradient(ellipse 55% 55% at 100% 100%, rgba(5, 9, 20, .8), rgba(5, 9, 20, .35) 45%, rgba(5, 9, 20, 0) 75%); }
/* Ancho del texto */
.sx-slide.is-w-narrow .sx-info { max-width: 340px; }
.sx-slide.is-w-medium .sx-info { max-width: 420px; }
.sx-slide.is-w-wide .sx-info { max-width: 540px; }

/* Inicio: el menú va transparente sobre el hero (se ve el logo encima de la foto) y se pinta al bajar (js/home.js) */
.hero-page .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(5, 9, 20, .55), rgba(5, 9, 20, 0));
  backdrop-filter: none; border-bottom-color: transparent; box-shadow: none;
  transition: background .3s ease, border-color .3s ease;
}
.hero-page.show-header .site-header { background: rgba(14, 16, 24, .9); backdrop-filter: blur(8px); border-bottom-color: #2f3a55; }
.sx-hero-track { position: absolute; inset: 0; }
.sx-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.sx-slide.is-active { opacity: 1; visibility: visible; }
.sx-slide-bg { position: absolute; inset: 0; background: #111 center / cover no-repeat; transform: scale(1.06); transition: transform 7s ease; }
/* La foto es una imagen real: se adapta siempre a la pantalla sin recortar lo importante */
/* La foto llena todo el hero (cover); usa fotos horizontales 16:9 para que casi no se recorte */
img.sx-slide-bg { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sx-slide-blur { position: absolute; inset: -30px; background: #07080c center / cover no-repeat; filter: blur(28px) brightness(.45); transform: scale(1.1); }
/* Sin zoom sobre la foto real: agrandarla la haría verse más borrosa */
.sx-slide img.sx-slide-bg { transform: none; transition: none; }
.sx-slide.is-active .sx-slide-bg { transform: scale(1); }
.sx-slide-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, .96) 0%, rgba(7, 8, 12, .82) 34%, rgba(7, 8, 12, .25) 68%, rgba(7, 8, 12, .1) 100%),
    linear-gradient(0deg, var(--sx-bg) 0%, rgba(11, 12, 16, 0) 30%);
}
.sx-slide-inner { position: relative; z-index: 1; height: 100%; max-width: var(--sx-max); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; }
.sx-slide-text { max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sx-slide.is-active .sx-slide-text > * { animation: sxUp .7s both; }
.sx-slide.is-active .sx-slide-text > *:nth-child(2) { animation-delay: .08s; }
.sx-slide.is-active .sx-slide-text > *:nth-child(3) { animation-delay: .16s; }
.sx-slide.is-active .sx-slide-text > *:nth-child(n+4) { animation-delay: .24s; }
@keyframes sxUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sx-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  background: rgba(0, 123, 255, .15); border: 1px solid rgba(74, 163, 255, .4); color: #8cc4ff;
}
.sx-kicker.is-pink { background: rgba(255, 77, 166, .14); border-color: rgba(255, 77, 166, .45); color: #ff8cc6; }
.sx-kicker.is-red { background: rgba(255, 59, 59, .16); border-color: rgba(255, 59, 59, .5); color: #ff8a8a; }
.sx-kicker.is-green { background: rgba(0, 196, 106, .14); border-color: rgba(0, 196, 106, .45); color: #4ee59c; }
.sx-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: sxPulse 1.8s infinite; }
@keyframes sxPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 166, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 77, 166, 0); } }
.sx-title { margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -1px; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.sx-title span { background: linear-gradient(135deg, #4aa3ff, #00e0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sx-sub { margin: 0; font-size: 16px; line-height: 1.6; color: #c4cada; max-width: 480px; }
.sx-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.sx-price-line { font-size: 15px; color: #c4cada; }
.sx-price-line strong { color: #fff; font-weight: 800; }
.sx-price-line.is-big s { color: var(--sx-dim); font-size: 18px; }
.sx-price-line.is-big strong { font-size: 34px; color: #21ffe2; text-shadow: 0 0 24px rgba(33, 255, 226, .3); }
.sx-price-line small { color: var(--sx-muted); font-size: 14px; }
.sx-cd { display: flex; gap: 8px; }
.sx-cd > div { min-width: 62px; padding: 8px 6px; text-align: center; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.sx-cd b { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sx-cd small { font-size: 10px; color: var(--sx-muted); text-transform: uppercase; letter-spacing: 1px; }
.sx-hero-arrow {
  position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 12, 18, .55); color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s;
}
.sx-hero-arrow:hover { background: rgba(0, 123, 255, .6); }
.sx-hero-arrow.is-prev { left: 18px; }
.sx-hero-arrow.is-next { right: 18px; }
.sx-hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.sx-hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.sx-hero-dots button.is-active { width: 28px; background: var(--hero-accent, var(--sx-blue-2)); }

/* ── Franja de confianza ───────────────────────────────────────────────── */
.sx-trust {
  position: relative; z-index: 4; max-width: var(--sx-max); margin: 48px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.sx-trust-item {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px;
  background: rgba(18, 20, 28, .92); border: 1px solid var(--sx-line); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.sx-trust-item > i { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-size: 18px; color: var(--sx-blue-2); background: rgba(0, 123, 255, .12); }
.sx-trust-item:nth-child(2) > i { color: #b18cff; background: rgba(139, 92, 246, .14); }
.sx-trust-item:nth-child(3) > i { color: var(--sx-green); background: rgba(0, 196, 106, .12); }
.sx-trust-item:nth-child(4) > i { color: #25d366; background: rgba(37, 211, 102, .12); }
.sx-trust-item strong { display: block; font-size: 14px; color: #fff; }
.sx-trust-item small { display: block; font-size: 12px; color: var(--sx-muted); line-height: 1.35; }

/* ── Contenedor ────────────────────────────────────────────────────────── */
.sx-main { max-width: var(--sx-max); margin: 0 auto; padding: 0 24px; }
.sx-main > * { margin-top: 64px; } /* más aire entre secciones */
.sx-main > .sx-chips { margin-top: 30px; }

.sx-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.sx-chips::-webkit-scrollbar { display: none; }
.sx-chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--sx-card); border: 1px solid var(--sx-line); color: var(--sx-text) !important; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s;
}
.sx-chip i { color: var(--sx-blue-2); }
.sx-chip:hover { border-color: var(--sx-blue); background: rgba(0, 123, 255, .1); transform: translateY(-1px); }
.sx-chip.is-hot { background: linear-gradient(135deg, rgba(255, 59, 59, .18), rgba(255, 157, 0, .14)); border-color: rgba(255, 90, 60, .45); }
.sx-chip.is-hot i { color: #ff7a4d; }

/* Promo 3x2 */
.sx-promo {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--sx-radius); text-decoration: none;
  background: linear-gradient(120deg, rgba(0, 196, 106, .16), rgba(0, 123, 255, .14)); border: 1px solid rgba(0, 196, 106, .4);
}
.sx-promo-badge { flex-shrink: 0; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; font-size: 22px; font-weight: 900; color: #06210f; background: linear-gradient(135deg, #00e57a, #00b35f); box-shadow: 0 8px 22px rgba(0, 196, 106, .35); }
.sx-promo-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sx-promo-txt strong { font-size: 18px; color: #fff; }
.sx-promo-txt span { font-size: 13.5px; color: var(--sx-muted); }
.sx-promo-cta { font-weight: 800; color: #4ee59c; white-space: nowrap; }

/* ── Filas de juegos ───────────────────────────────────────────────────── */
.sx-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sx-row-head h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.sx-row-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--sx-muted); }
.sx-row-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sx-row-link { font-size: 14px; font-weight: 700; color: var(--sx-blue-2) !important; text-decoration: none; white-space: nowrap; }
.sx-row-link:hover { text-decoration: underline; }
.sx-countdown { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 10px; font-size: 13px; color: #ff8a8a; background: rgba(255, 59, 59, .1); border: 1px solid rgba(255, 59, 59, .3); }
.sx-countdown b { font-variant-numeric: tabular-nums; color: #fff; }
.sx-scroller { position: relative; }
.sx-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px;
}
.sx-track::-webkit-scrollbar { display: none; }
.sx-track > * { scroll-snap-align: start; }
.sx-arrow {
  position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--sx-line-2); background: rgba(15, 17, 23, .92); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
  transition: opacity .2s, background .2s;
}
.sx-arrow:hover { background: var(--sx-blue); }
.sx-arrow.is-prev { left: -14px; }
.sx-arrow.is-next { right: -14px; }
.sx-arrow.is-hidden { opacity: 0; pointer-events: none; }

/* ── Tarjeta de producto (inicio + catálogo) ───────────────────────────── */
.pc {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-decoration: none;
  background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 14px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.pc:hover { transform: translateY(-4px); border-color: rgba(74, 163, 255, .55); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 123, 255, .15); }
.pc.is-out { opacity: .55; }
.pc-img { position: relative; aspect-ratio: 3 / 4; background: #0d0f15; overflow: hidden; }
/* La imagen entera se ve siempre (contain); el fondo difuminado llena los bordes */
.pc-img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.pc-img-blur { position: absolute; inset: -12px; background: center / cover no-repeat; filter: blur(16px) brightness(.5); transform: scale(1.1); }
.pc:hover .pc-img img { transform: scale(1.05); }
.pc-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(0deg, rgba(18, 20, 28, .9), transparent); pointer-events: none; }
.pc-badges { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 1; display: flex; justify-content: space-between; gap: 6px; }
.pc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; line-height: 1; }
.pc-badge.is-off { background: var(--sx-red); color: #fff; box-shadow: 0 4px 14px rgba(255, 59, 59, .4); font-size: 13.5px; }
.pc-badge.is-new { background: var(--sx-blue); color: #fff; }
.pc-badge.is-out { background: #3a3f4d; color: #d6d9e0; }
.pc-badge.is-plus { margin-left: auto; background: #00439c; color: #fff; font-size: 11px; }
.pc-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 13px; flex: 1; }
.pc-plats { display: flex; gap: 5px; }
.pc-plats span { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #8cc4ff; background: rgba(0, 123, 255, .12); border: 1px solid rgba(0, 123, 255, .22); }
.pc-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--sx-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
/* Tema del combo (lo escribe el admin): "Juegos de pareja", "Pelea y aventura"... */
.pc-theme { align-self: flex-start; font-size: 11px; font-weight: 700; color: #4ee59c; background: rgba(0, 196, 106, .12); border: 1px solid rgba(0, 196, 106, .3); padding: 3px 9px; border-radius: 999px; }
.pc-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 7px; }
.pc-price small { width: 100%; font-size: 11px; color: var(--sx-muted); line-height: 1.2; }
.pc-price strong { font-size: 18px; font-weight: 800; color: #21ffe2; }
.pc-price s { font-size: 12.5px; color: var(--sx-dim); }

/* Cargando */
.pc.is-skeleton { pointer-events: none; }
.pc.is-skeleton .pc-img, .pc.is-skeleton i {
  background: linear-gradient(90deg, #12141c 0%, #1b1f2b 50%, #12141c 100%); background-size: 200% 100%; animation: sxShimmer 1.3s infinite;
}
.pc.is-skeleton i { display: block; height: 12px; border-radius: 6px; }
.pc.is-skeleton i:nth-child(1) { width: 40%; }
.pc.is-skeleton i:nth-child(2) { width: 90%; height: 14px; }
.pc.is-skeleton i:nth-child(3) { width: 55%; height: 18px; margin-top: 6px; }
@keyframes sxShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Cómo comprar + Primaria / Secundaria ──────────────────────────────── */
.sx-section-head { text-align: center; margin-bottom: 34px; }
.sx-section-sub { margin: 10px auto 0; max-width: 520px; font-size: 15px; color: var(--sx-muted); }
.sx-how-sub { margin: 46px 0 18px; text-align: center; font-size: 20px; font-weight: 800; color: #fff; }
.sx-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--sx-blue-2); margin-bottom: 6px; }
.sx-section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: #fff; }
.sx-how { padding: 52px 44px; border-radius: 22px; background: radial-gradient(120% 120% at 50% 0%, rgba(0, 123, 255, .12), transparent 60%), var(--sx-bg-2); border: 1px solid var(--sx-line); }
.sx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.sx-step { position: relative; padding: 32px 26px; border-radius: 16px; background: var(--sx-card); border: 1px solid var(--sx-line); text-align: center; }
.sx-step-n { position: absolute; top: 12px; left: 14px; font-size: 12px; font-weight: 900; color: var(--sx-dim); }
.sx-step > i { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 10px; font-size: 22px; color: #fff; background: linear-gradient(135deg, #1a8cff, #0062d6); box-shadow: 0 10px 24px rgba(0, 123, 255, .3); }
.sx-step:nth-child(2) > i { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 24px rgba(139, 92, 246, .3); }
.sx-step:nth-child(3) > i { background: linear-gradient(135deg, #00d47a, #00a35a); box-shadow: 0 10px 24px rgba(0, 196, 106, .3); }
.sx-step strong { display: block; font-size: 16px; color: #fff; margin-bottom: 4px; }
.sx-step p { margin: 0; font-size: 13.5px; color: var(--sx-muted); line-height: 1.5; }
.sx-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 0; }
.sx-version { padding: 26px 28px; border-radius: 16px; background: var(--sx-card); border: 1px solid var(--sx-line); }
.sx-version.is-primary { border-color: rgba(74, 163, 255, .4); }
.sx-version.is-secondary { border-color: rgba(0, 196, 106, .4); }
.sx-version-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sx-version-tag { font-size: 15px; font-weight: 800; padding: 5px 14px; border-radius: 999px; }
.is-primary .sx-version-tag { color: #8cc4ff; background: rgba(0, 123, 255, .14); }
.is-secondary .sx-version-tag { color: #4ee59c; background: rgba(0, 196, 106, .14); }
.sx-version-head small { font-size: 12px; color: var(--sx-muted); }
.sx-version ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sx-version li { font-size: 14px; color: #d3d8e4; display: flex; gap: 9px; }
.sx-version li i { margin-top: 3px; font-size: 12px; color: var(--sx-green); }
.sx-version li i.fa-triangle-exclamation { color: #ffb020; }
.sx-versions-help { text-align: center; margin: 26px 0 0; font-size: 14px; color: var(--sx-muted); }
.sx-versions-help a { color: #25d366; font-weight: 700; text-decoration: none; }

/* ── GamerCoins + PS Plus ──────────────────────────────────────────────── */
.sx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sx-duo-card { position: relative; overflow: hidden; padding: 26px; border-radius: 20px; border: 1px solid var(--sx-line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sx-duo-card.is-coins { background: radial-gradient(120% 100% at 100% 0%, rgba(255, 215, 0, .14), transparent 55%), var(--sx-bg-2); border-color: rgba(255, 215, 0, .25); }
.sx-duo-card.is-plus { background: radial-gradient(120% 100% at 100% 0%, rgba(0, 67, 156, .4), transparent 55%), var(--sx-bg-2); border-color: rgba(74, 163, 255, .25); }
.sx-duo-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; }
.is-coins .sx-duo-icon { color: #1b1400; background: linear-gradient(135deg, #ffd700, #ff9500); }
.is-plus .sx-duo-icon { color: #fff; background: linear-gradient(135deg, #0070d1, #00439c); }
.sx-duo-card h3 { margin: 4px 0 0; font-size: 22px; font-weight: 800; color: #fff; }
.is-coins h3 span { color: var(--sx-gold); }
.is-plus h3 span { color: var(--sx-blue-2); }
.sx-duo-card > p { margin: 0; font-size: 14px; color: var(--sx-muted); }
.sx-duo-list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d3d8e4; }
.sx-duo-list b { color: var(--sx-gold); }
.sx-plus-tiers { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.sx-plus-tier { position: relative; padding: 14px 12px; border-radius: 14px; text-decoration: none; background: rgba(255, 255, 255, .04); border: 1px solid var(--sx-line-2); transition: border-color .2s, transform .2s; }
.sx-plus-tier:hover { border-color: var(--sx-blue-2); transform: translateY(-2px); }
.sx-plus-tier.is-star { border-color: rgba(255, 215, 0, .5); }
.sx-plus-tier span { position: absolute; top: -9px; left: 10px; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--sx-gold); color: #1b1400; }
.sx-plus-tier strong { display: block; font-size: 15px; color: #fff; }
.sx-plus-tier small { display: block; font-size: 11.5px; color: var(--sx-muted); margin-top: 2px; }
.sx-duo-note { font-size: 12.5px !important; }
.sx-duo-note i { color: #25d366; }

/* ── Preguntas frecuentes / soporte ────────────────────────────────────── */
.sx-faq { padding-bottom: 60px; }
.sx-faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.sx-faq-item { border-radius: 14px; background: var(--sx-card); border: 1px solid var(--sx-line); overflow: hidden; }
.sx-faq-item[open] { border-color: rgba(74, 163, 255, .4); }
.sx-faq-item summary { list-style: none; cursor: pointer; padding: 17px 52px 17px 20px; position: relative; font-size: 15px; font-weight: 700; color: #fff; }
.sx-faq-item summary::-webkit-details-marker { display: none; }
.sx-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--sx-blue-2); transition: transform .2s; }
.sx-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sx-faq-item p { margin: 0; padding: 0 20px 18px; font-size: 14px; line-height: 1.65; color: #c4cada; }
.sx-faq-item p a { color: var(--sx-blue-2); }
.sx-support-cta {
  max-width: 860px; margin: 18px auto 0; padding: 18px 22px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(37, 211, 102, .12), rgba(37, 211, 102, .04)); border: 1px solid rgba(37, 211, 102, .3);
}
.sx-support-cta strong { display: block; font-size: 16px; color: #fff; }
.sx-support-cta span { font-size: 13.5px; color: var(--sx-muted); }

/* La sección de reseñas existente: separarla del resto */
.store-body .reviews-section { margin-top: 56px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sx-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; }
  .sx-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  /* Celular: un poco menos alto; textos más pequeños abajo, encima de los puntos */
  .sx-hero { height: 78vh; height: 78svh; min-height: 460px; }
  /* En celular todas las posiciones van abajo, a lo ancho, con el degradado desde abajo (no tapan el personaje) */
  .sx-hero .sx-slide .sx-info { left: 16px; right: 16px; top: auto; bottom: 40px; transform: none; max-width: none; gap: 6px; justify-items: start; text-align: left; }
  .sx-hero .sx-slide .sx-info-title { font-size: clamp(18px, 5.4vw, 22px); }
  .sx-info-cta { padding: 9px 16px; font-size: 13px; }
  .sx-hero .sx-slide .sx-info-sub { font-size: 13px; }
  .sx-hero .sx-slide::after { background: linear-gradient(0deg, rgba(5, 9, 20, .85) 0%, rgba(5, 9, 20, .4) 35%, rgba(5, 9, 20, 0) 60%); }
  .sx-slide-inner { padding: 70px 20px 70px; align-items: flex-end; }
  .sx-slide-shade { background: linear-gradient(0deg, rgba(7, 8, 12, .98) 8%, rgba(7, 8, 12, .7) 50%, rgba(7, 8, 12, .25) 100%); }
  .sx-hero-arrow { display: none; }
  .sx-track { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; }
  .sx-steps, .sx-versions, .sx-duo { grid-template-columns: 1fr; }
  .sx-arrow { display: none; }
}
@media (max-width: 640px) {
  .sx-main { padding: 0 14px; }
  .sx-main > * { margin-top: 44px; }
  .sx-trust { margin-top: 14px; padding: 0 14px; gap: 8px; }
  .sx-trust-item { padding: 12px; gap: 10px; }
  .sx-trust-item > i { width: 36px; height: 36px; font-size: 15px; }
  .sx-trust-item strong { font-size: 13px; }
  .sx-trust-item small { display: none; }
  .sx-trust-item { align-items: center; }
  .sx-title { font-size: 32px; }
  .sx-sub { font-size: 14.5px; }
  .sx-btn { height: 46px; padding: 0 18px; font-size: 14px; }
  .sx-track { grid-auto-columns: 46%; }
  .sx-row-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sx-how { padding: 32px 18px; }
  .sx-promo { flex-wrap: wrap; }
  .sx-plus-tiers { grid-template-columns: 1fr; }
  .sx-cd > div { min-width: 54px; }
  .sx-cd b { font-size: 20px; }
}

/* Tarjeta de juego en preventa (se reserva, no se compra) */
.pc.is-preorder { border-color: rgba(255, 77, 166, .35); }
.pc.is-preorder:hover { border-color: rgba(255, 77, 166, .7); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 77, 166, .2); }
.pc-badge.is-pre { background: linear-gradient(135deg, #ff9d00, #ff4da6); color: #fff; box-shadow: 0 4px 14px rgba(255, 77, 166, .4); }
.pc.is-preorder .pc-price strong { color: #ff8cc6; }
.pc-reserve {
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border-radius: 9px;
  font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff9d00, #ff4da6);
}
/* ══ COMBOS Y SAGAS ══ */
.pc.is-combo { border-color: rgba(0, 196, 106, .35); }
.pc.is-combo:hover { border-color: rgba(0, 196, 106, .7); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 196, 106, .2); }
.pcb-stack { background: radial-gradient(120% 90% at 50% 0%, rgba(0, 196, 106, .18), #0d0f15 70%); }
.pcb-stack img { position: absolute; width: 58%; height: 70%; top: 17%; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); border: 2px solid rgba(255, 255, 255, .08); transition: transform .3s; }
.pcb-stack .pcb-c0 { left: 21%; z-index: 3; }
.pcb-stack .pcb-c1 { left: 5%; z-index: 2; transform: rotate(-8deg) scale(.9); opacity: .9; }
.pcb-stack .pcb-c2 { left: 37%; z-index: 1; transform: rotate(8deg) scale(.9); opacity: .9; }
.pc.is-combo:hover .pcb-c1 { transform: rotate(-12deg) scale(.9) translateX(-6px); }
.pc.is-combo:hover .pcb-c2 { transform: rotate(12deg) scale(.9) translateX(6px); }
.pc.is-combo .pc-img img:only-of-type { left: 21%; }
.pc-badge.is-combo { background: linear-gradient(135deg, #00d47a, #00a35a); color: #04170c; }
.pc.is-combo .pc-price strong { color: #4ee59c; }
.pc-save { margin-top: 6px; font-size: 12px; font-weight: 700; color: #4ee59c; }

/* Página del combo */
.cb-page { max-width: 1100px; margin: 0 auto; padding: 24px 24px 70px; }
.cb-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sx-muted) !important; text-decoration: none; margin-bottom: 18px; }
.cb-back:hover { color: #fff !important; }
.cb-state { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--sx-muted); }
.cb-state > i { font-size: 34px; color: var(--sx-blue-2); }
.cb-state h2 { margin: 0; color: #fff; }
.cb-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding: 28px; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(0, 196, 106, .14), transparent 55%), var(--sx-bg-2); border: 1px solid var(--sx-line); }
.cb-covers { position: relative; height: 380px; }
.cb-covers img { position: absolute; width: 48%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); border: 2px solid rgba(255, 255, 255, .08); }
.cb-covers .cbc-0 { left: 26%; top: 6%; z-index: 4; }
.cb-covers .cbc-1 { left: 2%; top: 14%; z-index: 3; transform: rotate(-9deg); }
.cb-covers .cbc-2 { left: 50%; top: 14%; z-index: 2; transform: rotate(9deg); }
.cb-covers .cbc-3 { left: 26%; top: 22%; z-index: 1; transform: rotate(3deg); opacity: .6; }
.cb-covers[data-n="2"] .cbc-0 { left: 10%; } .cb-covers[data-n="2"] .cbc-1 { left: 44%; transform: rotate(7deg); }
.cb-info { display: flex; flex-direction: column; gap: 12px; }
.cb-kind { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #4ee59c; background: rgba(0, 196, 106, .14); border: 1px solid rgba(0, 196, 106, .4); }
.cb-info h1 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.1; color: #fff; }
.cb-desc { margin: 0; font-size: 15px; line-height: 1.6; color: #c4cada; }
.cb-plats { display: flex; gap: 6px; }
.cb-plats span { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 7px; color: #8cc4ff; background: rgba(0, 123, 255, .12); border: 1px solid rgba(0, 123, 255, .25); }
.cb-buy { margin-top: 6px; padding: 18px; border-radius: 16px; background: var(--sx-card); border: 1px solid var(--sx-line); display: flex; flex-direction: column; gap: 12px; }
.cb-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-versions:empty { display: none; }
.cb-version { padding: 10px; border-radius: 12px; cursor: pointer; text-align: left; background: transparent; border: 1px solid var(--sx-line-2); color: var(--sx-text); font-family: inherit; }
.cb-version strong { display: block; font-size: 14px; }
.cb-version small { font-size: 12.5px; color: var(--sx-muted); }
.cb-version.is-on { border-color: var(--sx-blue); background: rgba(0, 123, 255, .12); }
.cb-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cb-price-row small { display: block; font-size: 13px; color: var(--sx-muted); }
.cb-price-row s { color: var(--sx-dim); }
.cb-price-row strong { font-size: 34px; font-weight: 900; color: #4ee59c; }
.cb-save { padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #4ee59c; background: rgba(0, 196, 106, .12); border: 1px solid rgba(0, 196, 106, .35); }
.cb-add { width: 100%; }
.cb-ask { text-align: center; font-size: 13.5px; font-weight: 600; color: #25d366 !important; text-decoration: none; }
.cb-list { margin-top: 30px; }
.cb-list h2 { margin: 0 0 14px; font-size: 20px; font-weight: 800; color: #fff; }
.cb-list h2 i { color: #4ee59c; margin-right: 8px; }
.cb-game { display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin-bottom: 8px; border-radius: 14px; text-decoration: none; background: var(--sx-card); border: 1px solid var(--sx-line); transition: border-color .2s; }
.cb-game:hover { border-color: var(--sx-blue-2); }
.cb-game img { width: 52px; height: 66px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cb-game-title { flex: 1; font-size: 15px; font-weight: 600; color: var(--sx-text); }
.cb-game-price { font-size: 14px; color: var(--sx-muted); text-decoration: line-through; }
.cb-game > i { color: var(--sx-dim); }
@media (max-width: 820px) {
  .cb-hero { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .cb-covers { height: 280px; }
  .cb-page { padding: 16px 14px 60px; }
}
/* ══ INICIO DE SESIÓN / REGISTRO ══ */
.remember-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font-size: 14px; color: #c4cada; cursor: pointer; user-select: none; }
.remember-row input { width: 18px; height: 18px; accent-color: #007bff; cursor: pointer; }
/* ── Banner del concurso de clips (index) ── */
.sx-contest { display: flex; align-items: center; gap: 22px; margin: 10px auto 40px; padding: 24px 28px; border-radius: 20px;
  background: linear-gradient(110deg, rgba(255, 215, 0, .14), rgba(224, 68, 122, .12) 60%, rgba(77, 163, 255, .08)), var(--sx-card, #12151d);
  border: 1px solid rgba(255, 215, 0, .35); }
.sx-contest-icon { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #0b0f1a; background: #ffd700; }
.sx-contest-text { flex: 1; display: grid; gap: 4px; }
.sx-contest-text span { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #ffd700; }
.sx-contest-text h2 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: #fff; }
.sx-contest-text p { margin: 0; font-size: 14px; color: var(--sx-muted, #9aa3b5); }
.sx-contest .sx-btn { flex: none; }
@media (max-width: 760px) { .sx-contest { flex-direction: column; align-items: flex-start; padding: 20px; } }
