/* ══════════════════════════════════════════════════════════════
   3S RECARGAS — Tema "Neón Glass" (rediseño 2026)
   Se carga DESPUÉS de main.css y re-tematiza todo el lado público.
   Tokens: fondo #000, glass translúcido, neón rojo #FF0000,
   fuentes Outfit (display/números) + Space Grotesk (texto).
   ══════════════════════════════════════════════════════════════ */

:root {
    --nx-red: #FF0000;
    --nx-red-dark: #c80000;
    --nx-amber: #fbbf24;
    --nx-green: #10b981;
    --nx-text: #f1f5f9;
    --nx-muted: #cbd5e1;
    --nx-dim: #94a3b8;
    --nx-font-display: 'Outfit', sans-serif;
    --nx-font-sans: 'Space Grotesk', sans-serif;
}

/* ── Base ─────────────────────────────────────────────────── */
html { background: #000; }

body {
    /* Transparente para que se vea la capa fija de fondo (body::before).
       El !important le gana al background de main.css. */
    background: transparent !important;
    color: var(--nx-text);
    font-family: var(--nx-font-sans) !important;
}

/* Capa fija de fondo: reemplaza a background-attachment: fixed en el body,
   que fuerza repintados lentos al hacer scroll (sobre todo en móviles).
   El fondo personalizado del admin (inline en base.html) sobreescribe
   esta misma capa. */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    background-color: #000;
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(255, 0, 0, .10), transparent 55%),
        radial-gradient(ellipse at 85% 110%, rgba(120, 0, 255, .08), transparent 55%);
}

body::selection, body ::selection { background: var(--nx-red); color: #fff; }

/* (franja de acento superior eliminada a pedido del usuario) */

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #05070a; }
::-webkit-scrollbar-thumb { background: var(--nx-red); border-radius: 3px; }

.nx-no-scrollbar::-webkit-scrollbar { display: none; }
.nx-no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Paneles glass (tokens de los mockups) ────────────────── */
.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.002) 40%, rgba(10,15,28,0.008) 100%);
    backdrop-filter: blur(8px) saturate(200%) brightness(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(200%) brightness(1.2);
    border: 1px solid rgba(255,255,255,0.18);
    border-top: 1px solid rgba(255,255,255,0.35);
    border-left: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 15px 35px rgba(0,0,0,0.15),
        inset 0 1px 2px rgba(255,255,255,0.25),
        inset 0 -1.5px 2px rgba(0,0,0,0.02),
        0 0 30px rgba(255,0,0,0.08);
}

.glass-subpanel {
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.001) 100%);
    backdrop-filter: blur(6px) saturate(190%);
    -webkit-backdrop-filter: blur(6px) saturate(190%);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 4px 15px rgba(0,0,0,0.05);
}

.ios-glass-card {
    background: rgba(20,20,25,0.06);
    backdrop-filter: blur(12px) saturate(190%);
    -webkit-backdrop-filter: blur(12px) saturate(190%);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.1);
}

.ios-glass-card-active {
    background: rgba(255,0,0,0.08);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1.5px solid rgba(255,0,0,0.8);
    border-top: 1.5px solid rgba(255,255,255,0.4);
    box-shadow: 0 0 25px rgba(255,0,0,0.4), inset 0 1.5px 2px rgba(255,255,255,0.3);
}

.glass-input,
.nx-store input[type="text"],
.nx-store input[type="email"],
.nx-store input[type="tel"],
.nx-store select,
.nx-checkout input[type="text"],
.nx-checkout select {
    background: rgba(0,0,0,0.35) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-top: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 1px 1px rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 12px;
    font-family: var(--nx-font-display);
    font-weight: 700;
    letter-spacing: .04em;
    outline: none;
}

.nx-store input::placeholder,
.nx-checkout input::placeholder { color: #94a3b8; font-weight: 600; }

.nx-store input:focus,
.nx-checkout input:focus {
    border-color: rgba(255,0,0,0.65) !important;
    box-shadow: 0 0 0 3px rgba(255,0,0,0.15), inset 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* ── Botones neón ─────────────────────────────────────────── */
.red-glow-pill {
    background: linear-gradient(135deg, rgba(255,0,0,1) 0%, rgba(200,0,0,0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255,0,0,0.6), inset 0 1.5px 2px rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.red-glow-pill:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(255,0,0,0.75), inset 0 1.5px 2px rgba(255,255,255,0.5);
}

.red-glow-pill:disabled { opacity: .45; cursor: not-allowed; }

.red-glow-border {
    border: 1.5px solid rgba(255,0,0,0.8);
    background: linear-gradient(135deg, rgba(255,0,0,0.15) 0%, rgba(185,0,0,0.05) 100%);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 25px rgba(255,0,0,0.4), inset 0 1.5px 2px rgba(255,255,255,0.3);
}

@keyframes nx-pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(255,0,0,0.6); }
    50% { box-shadow: 0 0 30px rgba(255,0,0,1); }
}
.nx-animate-glow { animation: nx-pulse-glow 2.5s infinite ease-in-out; }

@keyframes nx-tutorial-blink {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255,0,0,0.4), inset 0 0 5px rgba(255,0,0,0.2);
        border-color: rgba(255,0,0,0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,0,0,0.95), 0 0 10px rgba(255,255,255,0.5), inset 0 0 10px rgba(255,0,0,0.6);
        border-color: rgba(255,255,255,0.9);
        transform: scale(1.03);
    }
}
.nx-tutorial-blink { animation: nx-tutorial-blink 1.5s infinite ease-in-out; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 14px 0 0 !important;
    position: relative !important;
}

/* Tres columnas: hueco, logo, botón. El hueco mide lo mismo que el botón,
   así el logo queda centrado en el header y no desplazado hacia un lado. */
.header-inner {
    max-width: 480px !important;
    margin: 0 auto;
    padding: 0 12px 10px !important;
    display: grid !important;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.header-spacer { display: block; }

.header-inner .logo-link {
    justify-self: center;
    min-width: 0;
}
.header-inner .nav-toggle { justify-self: end; }

.logo-img { max-height: 40px !important; }

.logo-text,
.footer-logo-text {
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    font-style: italic;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff !important;
    font-size: 18px !important;
    background: linear-gradient(60deg, #cbd5e1, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span,
.footer-logo-text span {
    color: var(--nx-red) !important;
    -webkit-text-fill-color: var(--nx-red);
    font-style: normal;
    margin-left: 2px;
}

.header-actions { display: flex; gap: 6px; align-items: center; }

/* ── Hamburguesa + panel lateral ──────────────────────────── */
/* Las acciones se amontonaban en el header, sobre todo en teléfono.
   Ahora el header lleva solo el logo y este botón. */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,.02), rgba(255,255,255,.005));
    border: 1px solid rgba(255,0,0,.4);
    backdrop-filter: blur(6px) saturate(190%);
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0,0,0,.35);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
    border-color: var(--nx-red);
    box-shadow: 0 0 14px rgba(255,0,0,.35);
    background: rgba(255,0,0,.08);
}
.nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 17px;
}
.nav-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}
/* Abierto: las barras se cruzan en una X. */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s ease;
}
.site-drawer-overlay[hidden] { display: none; }
.site-drawer-overlay.is-open { opacity: 1; }

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1110;
    width: min(84vw, 310px);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #14070a 0%, #090408 100%);
    border-left: 1px solid rgba(255,0,0,.35);
    box-shadow: -18px 0 44px rgba(0,0,0,.6);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22,.75,.28,1);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.site-drawer.is-open { transform: translateX(0); }

.site-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-drawer-title {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}
.site-drawer-close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.site-drawer-close:hover { border-color: var(--nx-red); background: rgba(255,0,0,.12); }

.site-drawer-nav { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 24px; }

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    color: #fff;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.drawer-item:hover,
.drawer-item:focus-visible {
    border-color: rgba(255,0,0,.5);
    background: rgba(255,0,0,.07);
}
.drawer-item:active { transform: scale(.985); }

.drawer-item-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.drawer-item-icon svg { width: 17px; height: 17px; }
.drawer-icon-home { background: rgba(148,163,184,.18); color: #cbd5e1; }
.drawer-icon-redeem { background: rgba(16,185,129,.2); color: #34d399; }
.drawer-icon-points { background: rgba(59,130,246,.2); color: #60a5fa; }
.drawer-icon-ranking { background: rgba(245,158,11,.2); color: #fbbf24; }
.drawer-icon-mini { background: rgba(168,85,247,.2); color: #c084fc; }
.drawer-icon-user,
.drawer-icon-login { background: rgba(255,0,0,.2); color: var(--nx-red); }

.drawer-item-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.drawer-item-text strong {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .01em;
}
.drawer-item-text small {
    font-size: 10.5px;
    color: rgba(255,255,255,.45);
    line-height: 1.35;
}

.drawer-sep {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: 8px 4px;
}

body.drawer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .site-drawer, .site-drawer-overlay, .nav-toggle-bars span { transition: none; }
}

.header-action-btn,
.header-action-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    backdrop-filter: blur(6px) saturate(190%);
    border: 1px solid rgba(255,0,0,0.4) !important;
    color: #fff !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    letter-spacing: .04em;
    text-transform: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.header-action-btn:hover,
.header-action-link:hover {
    border-color: var(--nx-red) !important;
    box-shadow: 0 0 14px rgba(255,0,0,.35);
    background: rgba(255,0,0,.06) !important;
}

.header-action-icon {
    width: 17px; height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.header-action-icon svg { width: 11px; height: 11px; }
.header-action-icon-ranking { background: rgba(245,158,11,.2); color: #fbbf24; }
.header-action-icon-support { background: rgba(16,185,129,.18); color: #34d399; }
.header-action-icon-points { background: rgba(59,130,246,.2); color: #60a5fa; }
.header-action-icon-user,
.header-action-icon-login { background: rgba(255,0,0,.2); color: var(--nx-red); }

/* ── Flash messages ───────────────────────────────────────── */
.flash-container { max-width: 480px; margin: 10px auto 0; padding: 0 12px; }
.flash {
    border-radius: 12px !important;
    font-family: var(--nx-font-display);
    font-weight: 700;
    backdrop-filter: blur(8px);
}

/* ── Footer ───────────────────────────────────────────────── */
.main-footer {
    background: transparent !important;
    border-top: none !important;
    margin-top: 34px !important;
    padding: 0 16px 90px !important;
}

.footer-grid {
    max-width: 480px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 22px !important;
    grid-template-columns: none !important;
}

.footer-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { max-height: 44px; }

.footer-description {
    color: var(--nx-muted) !important;
    font-size: 13px !important;
    max-width: 320px;
    font-family: var(--nx-font-display);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.5;
}

.footer-rif {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: rgba(15,23,42,.9) !important;
    border: 1px solid rgba(51,65,85,.8) !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    font-family: var(--nx-font-display);
    font-weight: 700;
    font-size: 13px !important;
    letter-spacing: .05em;
    box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.footer-rif svg { width: 13px; height: 13px; color: #94a3b8; }

.footer-heading {
    color: var(--nx-red) !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    letter-spacing: .18em !important;
    font-size: 14px !important;
}

.footer-social-list { display: flex !important; flex-direction: row !important; gap: 12px; justify-content: center; }

.footer-social-link {
    width: 44px; height: 44px;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;           /* oculta el texto, deja solo el ícono */
    gap: 0 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.45);
    transition: transform .2s ease;
    border: none !important;
    padding: 0 !important;
}
.footer-social-link:hover { transform: translateY(-3px) scale(1.05); }
.footer-social-link svg { width: 20px !important; height: 20px !important; }

.footer-social-list .footer-social-link:nth-child(1) { background: #fff; color: #0f172a !important; }
.footer-social-list .footer-social-link:nth-child(2) { background: linear-gradient(50deg, #f59e0b, var(--nx-red), #9333ea); color: #fff !important; }
.footer-social-list .footer-social-link:nth-child(3) { background: #020617; border: 1px solid #1e293b !important; color: #22d3ee !important; }
.footer-social-list .footer-social-wa { background: linear-gradient(90deg, var(--nx-red), #dc2626) !important; color: #fff !important; }

.footer-contact-list { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 0 !important; margin: 0 !important; }
.footer-contact-list li {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--nx-dim) !important;
    font-size: 12px !important;
    font-family: var(--nx-font-display);
    font-weight: 600;
}
.footer-contact-list svg { width: 13px; height: 13px; color: var(--nx-red); }

/* Centrado del footer en TODOS los anchos (las media queries de main.css
   lo alineaban a la izquierda en teléfonos) */
.main-footer .footer-grid,
.main-footer .footer-col,
.main-footer .footer-col-center,
.main-footer .footer-col-right {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.main-footer .footer-heading {
    text-align: center !important;
    width: 100%;
    margin: 0 auto !important;
}

.main-footer .footer-social-list {
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 auto !important;
    flex-wrap: wrap;
}

.main-footer .footer-social-link,
.main-footer .footer-social-wa {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
}

.main-footer .footer-contact-list li {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
}

.copyright-bar {
    max-width: 480px;
    margin: 26px auto 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 11px !important;
    padding-top: 16px !important;
    text-align: center;
    font-family: var(--nx-font-display);
}
.copyright-bar .brand-name { color: var(--nx-red) !important; }

/* ── Botón flotante WhatsApp ──────────────────────────────── */
.nx-wa-float {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 900;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--nx-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.4);
    transition: transform .25s ease;
    animation: nx-pulse-glow 2.5s infinite ease-in-out;
}
.nx-wa-float:hover { transform: scale(1.1); }
.nx-wa-float svg { width: 28px; height: 28px; }

/* ══════════════════════════════════════════════════════════
   TIENDA (index) — layout de una sola columna centrada
   ══════════════════════════════════════════════════════════ */
.nx-store {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

/* Banner promo */
.nx-promo-banner {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
    cursor: pointer;
    display: block;
}
.nx-promo-banner img {
    width: 100%;
    aspect-ratio: 50 / 11;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.nx-promo-banner:hover img { transform: scale(1.05); }

/* Tabs de categorías */
.nx-store .categories-bar { background: transparent !important; border: none !important; padding: 0 !important; position: static !important; }
.nx-store .categories-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px !important;
    border-radius: 16px;
    max-width: none !important;
    overflow: hidden;
}

.nx-store .cat-btn {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px 6px !important;
    border-radius: 6px !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    font-size: 11.5px !important;
    letter-spacing: .03em;
    color: var(--nx-muted) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    cursor: pointer;
    transition: all .3s ease;
    white-space: nowrap;
    text-transform: none;
}
.nx-store .cat-btn:hover { color: #fff !important; }
.nx-store .cat-btn.active {
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,0.95)) !important;
    color: #fff !important;
    border: 1px solid rgba(255,80,80,0.8) !important;
    box-shadow: 0 0 20px rgba(255,0,0,0.6), inset 0 1.5px 2px rgba(255,255,255,0.5) !important;
}

/* Kicker de secciones */
.nx-kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .05em;
    color: #fff;
    padding: 0 4px;
}
.nx-kicker .nx-kicker-ico { color: var(--nx-red); font-size: 13px; }

/* Carrusel de juegos */
.nx-store .games-section { background: transparent !important; border: none !important; padding: 0 !important; }
.nx-store .games-carousel { position: relative; }
.nx-store .games-viewport {
    overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
    padding: 3px 2px 6px;
    scroll-behavior: smooth;
}
.nx-store .games-viewport::-webkit-scrollbar { display: none; }
.nx-store .games-viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.nx-store .games-grid {
    display: flex !important;
    gap: 8px;
    grid-template-columns: none !important;
}

.nx-store .game-card {
    flex: 0 0 112px;
    width: 112px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 12px !important;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: rgba(20,20,25,0.06) !important;
    backdrop-filter: blur(12px) saturate(190%);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
    padding: 0 !important;
}
.nx-store .game-card:hover { border-color: rgba(255,0,0,.55) !important; transform: translateY(-2px); }

.nx-store .game-card.active {
    background: rgba(255,0,0,0.08) !important;
    border: 1.5px solid rgba(255,0,0,0.8) !important;
    border-top: 1.5px solid rgba(255,255,255,0.4) !important;
    box-shadow: 0 0 25px rgba(255,0,0,0.4), inset 0 1.5px 2px rgba(255,255,255,0.3) !important;
}

.nx-store .game-img-wrapper {
    width: 100%;
    height: 64px !important;
    overflow: hidden;
    position: relative;
    background: #0b0f19;
}
.nx-store .game-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease;
}
.nx-store .game-card:hover .game-img-wrapper img { transform: scale(1.06); }

.nx-store .game-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--nx-font-display);
    font-size: 26px; font-weight: 900;
    color: var(--nx-red);
    background: radial-gradient(circle at top, rgba(255,0,0,.18), transparent 70%);
}

.nx-store .game-title {
    background: rgba(0,0,0,.6) !important;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 7px 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: var(--nx-font-display);
    text-align: center;
    color: #e2e8f0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nx-store .game-card.active .game-title { color: #fff !important; }

.nx-store .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,0,0,.5) !important;
    background: rgba(0,0,0,.75) !important;
    color: #fff !important;
    font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255,0,0,.3);
}
.nx-store .carousel-nav.prev { left: -6px; }
.nx-store .carousel-nav.next { right: -6px; }
.nx-store .carousel-nav.is-hidden, .nx-store .carousel-nav:disabled { opacity: 0; pointer-events: none; }

/* Tarjetas de paso */
.nx-step-card {
    border-radius: 16px;
    padding: 12px;
}

.nx-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.nx-step-head-left { display: flex; align-items: center; gap: 8px; }

.nx-step-num {
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    flex: 0 0 auto;
}

.nx-step-title {
    font-family: var(--nx-font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .03em;
    color: #fff;
    margin: 0;
}

.nx-auto-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .08em;
    color: #fcd34d;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.4);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

/* Player ID */
.nx-player-row { display: flex; gap: 8px; align-items: stretch; }
.nx-player-row input { flex: 1; padding: 11px 14px; font-size: 14px; min-width: 0; }

.nx-store .verify-btn {
    min-width: 104px;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    font-family: var(--nx-font-display) !important;
    padding: 0 12px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: var(--nx-muted) !important;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}
.nx-store .verify-btn:disabled { opacity: .85; cursor: default; }

.nx-store .player-nickname { font-family: var(--nx-font-display); font-size: 13px !important; }

.nx-store .form-hint {
    color: var(--nx-dim) !important;
    font-size: 11px !important;
    margin-top: 8px;
}

.nx-zone-group { margin-top: 8px; }
.nx-zone-group label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}
.nx-zone-group input { width: 100%; padding: 10px 14px; }

/* Código de descuento */
.nx-discount-row { display: flex; gap: 8px; }
.nx-discount-row input {
    flex: 1;
    text-transform: uppercase;
    padding: 10px 12px;
    font-size: 12px;
    letter-spacing: .06em;
    border-radius: 6px;
    min-width: 0;
}
.nx-discount-row .nx-apply-btn {
    padding: 0 18px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 6px;
}

.nx-store .discount-apply-feedback { font-size: 12px; font-weight: 700; margin: 6px 2px 0; min-height: 0; }
.nx-store .discount-apply-feedback.is-success { color: #34d399; }
.nx-store .discount-apply-feedback.is-error { color: #fb7185; }

/* El cliente confundía esta casilla con la de la referencia de pago. */
.nx-store .nx-discount-hint {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255,255,255,.42);
    margin: 4px 2px 0;
}

.nx-discount-help {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    flex: 0 0 auto;
}

/* Paquetes */
.nx-store .packages-panel {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.nx-store .packages-panel-header { display: none !important; }
.nx-store .panel-hint { display: none !important; }

.nx-store .packages-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

.nx-store .pkg-section-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px !important;
    font-weight: 900 !important;
    font-family: var(--nx-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fcd34d !important;
    background: transparent !important;
    border: none !important;
    padding: 4px 2px 0 !important;
    margin: 0 !important;
}
.nx-store .pkg-section-label span { color: #fcd34d; }
.nx-store .pkg-section-help {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(252,211,77,.5);
    background: rgba(252,211,77,.12);
    color: #fcd34d;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
}
.nx-store .pkg-section-sep { grid-column: 1 / -1; height: 1px; background: rgba(255,255,255,.1); margin: 4px 0; border: none !important; }

.nx-store .package-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 12px 4px !important;
    border-radius: 10px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%),
        linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 4px 15px rgba(0,0,0,0.05) !important;
    cursor: pointer;
    transition: all .2s ease;
    color: #fff;
    min-height: 88px;
}
.nx-store .package-item:hover {
    border-color: rgba(255,0,0,.4) !important;
    background: rgba(255,255,255,.08) !important;
}
.nx-store .package-item.selected {
    border: 2px solid var(--nx-red) !important;
    background: linear-gradient(135deg, rgba(255,0,0,0.15) 0%, rgba(185,0,0,0.05) 100%) !important;
    box-shadow: 0 0 25px rgba(255,0,0,0.4), inset 0 1.5px 2px rgba(255,255,255,0.3) !important;
    transform: scale(1.02);
}

/* Agotado: se ve apagado, no se puede elegir y el cursor lo dice.
   Sin pointer-events:none, que antes cancelaba el propio cursor.
   El apagado va sobre el contenido y no sobre la tarjeta entera, porque
   opacity en el padre también apagaría la píldora "AGOTADO". */
.nx-store .package-item.is-out-of-stock {
    cursor: not-allowed;
    user-select: none;
    background: rgba(255,255,255,.015) !important;
}
.nx-store .package-item.is-out-of-stock .pkg-info,
.nx-store .package-item.is-out-of-stock img {
    opacity: .4;
    filter: grayscale(.75);
}
.nx-store .package-item.is-out-of-stock:hover {
    border-color: rgba(255,255,255,0.1) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%) !important;
}
/* Fuera de horario el paquete se apaga menos: no está agotado, solo hay
   que volver más tarde. */
.nx-store .package-item.is-closed-now .pkg-info,
.nx-store .package-item.is-closed-now img {
    opacity: .5;
    filter: grayscale(.5);
}

/* Aviso encima del bloque de paquetes manuales cuando está cerrado. */
.nx-store .pkg-closed-notice {
    grid-column: 1 / -1;
    margin: 2px 0 6px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .35);
    color: #fcd34d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

/* Píldora roja "AGOTADO" sobre la esquina de la tarjeta. */
.nx-store .pkg-stock-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(180deg, #ff2b39 0%, #d31421 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 2px 8px rgba(211,20,33,.55);
    z-index: 2;
}

/* "CERRADO" en ámbar: es temporal, no es lo mismo que agotado. */
.nx-store .pkg-stock-badge.is-closed {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    color: #2a1a00;
    box-shadow: 0 2px 8px rgba(217,119,6,.5);
}

.nx-store .package-item img,
.nx-store .pkg-img-placeholder {
    width: 30px; height: 30px;
    border-radius: 8px;
    object-fit: cover;
}
/* Sin imagen: la tarjeta queda solo con texto, como el mockup */
.nx-store .pkg-img-placeholder { display: none !important; }

.nx-store .pkg-info { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
.nx-store .pkg-info h4 {
    font-size: 12.5px !important;
    font-weight: 900 !important;
    font-family: var(--nx-font-display);
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: rgba(255,255,255,.92);
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden;
}
.nx-store .pkg-info .price {
    font-size: 14.5px !important;
    font-weight: 900 !important;
    font-family: var(--nx-font-display);
    color: var(--nx-red) !important;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.nx-store .pkg-info .price-usd {
    font-size: 10px;
    color: #64748b;
    text-decoration: line-through;
}
/* Puntos que deja la compra. Va en dorado para que no compita con el precio
   en rojo: es un premio, no una segunda cifra que el cliente deba comparar. */
.nx-store .pkg-info .pkg-points {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 1px;
    font-size: 9.5px;
    font-weight: 800;
    font-family: var(--nx-font-display);
    line-height: 1;
    color: #ffc73d;
    text-shadow: 0 0 8px rgba(255, 190, 0, .3);
    white-space: nowrap;
}
.nx-store .pkg-info .pkg-points::before {
    content: '★';
    font-size: 10px;
    line-height: 1;
}

.nx-store .pkg-loading { grid-column: 1 / -1; display: flex; justify-content: center; padding: 22px 0; }
.nx-store .spinner {
    width: 26px; height: 26px;
    border: 3px solid rgba(255,0,0,.2);
    border-top-color: var(--nx-red);
    border-radius: 50%;
    animation: nx-spin 0.8s linear infinite;
}
@keyframes nx-spin { to { transform: rotate(360deg); } }

.nx-store .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--nx-dim);
    font-size: 13px;
    padding: 18px 0;
}

/* Total */
.nx-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    margin-top: 8px;
}
.nx-total-row > span:first-child {
    font-family: var(--nx-font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nx-muted);
}
.nx-total-values {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 19px;
    color: #fff;
    letter-spacing: .02em;
}
.nx-total-values .total-bs { display: none; }

/* Métodos de pago */
.nx-store .payment-card-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.nx-store .payment-card { display: block; cursor: pointer; }
.nx-store .payment-card input { position: absolute; opacity: 0; pointer-events: none; }

.nx-store .payment-card-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    transition: all .25s ease;
    min-height: 46px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 4px 15px rgba(0,0,0,0.05);
}
.nx-store .payment-card:hover .payment-card-inner { border-color: rgba(255,0,0,.4) !important; }

.nx-store .payment-card input:checked + .payment-card-inner {
    border: 2px solid var(--nx-red) !important;
    background: linear-gradient(135deg, rgba(255,0,0,0.15) 0%, rgba(185,0,0,0.05) 100%) !important;
    box-shadow: 0 0 25px rgba(255,0,0,0.4), inset 0 1.5px 2px rgba(255,255,255,0.3) !important;
}

.nx-store .payment-card-check { display: none !important; }
.nx-store .payment-logo {
    max-height: 26px !important;
    max-width: 100% !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.nx-store .payment-text {
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: .04em;
    color: #fff;
    text-align: center;
    line-height: 1.15;
}

/* ── DATOS PARA EL PAGO (caja en el index) ────────────────── */
.nx-paybox { position: relative; overflow: hidden; }

.nx-paybox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.nx-paybox-title {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
.nx-paybox-title .accent { color: var(--nx-amber); }

.nx-tutorial-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(80,0,0,.4);
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 11.5px;
    cursor: pointer;
    border: 1.5px solid rgba(255,0,0,0.8);
}
.nx-tutorial-btn .yt { color: #ef4444; }

.nx-pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 8px;
}
.nx-pay-row:last-child { margin-bottom: 0; }

.nx-pay-row .nx-pay-val {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #f1f5f9;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: .06em;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nx-pay-row .nx-pay-ico { color: var(--nx-dim); font-size: 12px; flex: 0 0 auto; width: 14px; text-align: center; }

.nx-copy-btn {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 6px;
    flex: 0 0 auto;
}

.nx-pay-amount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.25);
    margin-bottom: 0;
}
.nx-pay-amount-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(80,0,0,.6);
}
.nx-pay-amount-pill span {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: .02em;
    color: #fff;
}

.nx-pay-label {
    font-size: 10px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin: 10px 0 5px;
}
.nx-pay-label:first-child { margin-top: 0; }

.nx-copyall-btn {
    width: 100%;
    margin-top: 10px;
    padding: 9px 0;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 6px;
}

/* Aviso Binance */
.nx-binance-alert {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.4);
    background: rgba(245,158,11,.1);
    margin-bottom: 10px;
}
.nx-binance-alert .warn { color: var(--nx-amber); font-size: 13px; margin-top: 1px; }
.nx-binance-alert p { margin: 0; font-size: 11px; color: var(--nx-muted); line-height: 1.4; }
.nx-binance-alert p strong.title { display: block; color: var(--nx-amber); font-family: var(--nx-font-display); letter-spacing: .06em; font-size: 11px; }
.nx-binance-alert .hl { color: #fcd34d; font-weight: 700; }
.nx-binance-alert .ul { color: #fff; font-weight: 700; text-decoration: underline; }

.nx-code-row {
    border-color: rgba(245,158,11,.6) !important;
    background: rgba(245,158,11,.1);
    box-shadow: 0 0 15px rgba(245,158,11,.25);
}
.nx-code-row .nx-pay-val { color: #fcd34d; letter-spacing: .18em; font-size: 15px; }

/* Divisor entre el comprobante y los datos del cliente (mismo contenedor) */
.nx-inner-divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 14px 0;
}

/* Datos de contacto */
.nx-contact-grid { display: flex; flex-direction: column; gap: 10px; }
.nx-field label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}
.nx-field label .label-accent { color: var(--nx-red); text-transform: none; }
.nx-field input { width: 100%; padding: 11px 14px; font-size: 13px; }

/* Selector de teléfono */
.nx-store .phone-field-stack { position: relative; }
.nx-store .phone-input-shell { display: flex; gap: 6px; align-items: stretch; }
.nx-store .phone-prefix-box { position: relative; flex: 0 0 auto; }

.nx-store .phone-country-trigger {
    height: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.5) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff;
    cursor: pointer;
    font-family: var(--nx-font-display);
    font-weight: 800;
    font-size: 12px;
}
.nx-store .phone-country-display { display: inline-flex; align-items: center; gap: 6px; }
.nx-store .phone-country-flag { border-radius: 2px; }
.nx-store .phone-country-code { font-weight: 800; }
.nx-store .phone-country-select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }

.nx-store .phone-input-shell input[type="tel"] { flex: 1; min-width: 0; padding: 10px 14px; font-size: 13px; }

.nx-store .phone-country-menu {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    left: 0;
    width: min(280px, 90vw);
    max-height: 260px;
    overflow-y: auto;
    border-radius: 14px;
    background: rgba(8,10,16,.97);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 22px 50px rgba(0,0,0,.6);
    padding: 6px;
}
.nx-store .phone-field-stack.is-open .phone-country-menu { display: block; }

.nx-store .phone-country-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: 12.5px;
    cursor: pointer;
}
.nx-store .phone-country-option:hover { background: rgba(255,0,0,.12); }
.nx-store .phone-country-option.is-selected { background: rgba(255,0,0,.18); color: #fff; }
.nx-store .phone-country-option-main { display: inline-flex; align-items: center; gap: 8px; }
.nx-store .phone-country-option strong { font-family: var(--nx-font-display); }

.nx-store .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--nx-muted);
    cursor: pointer;
}
.nx-store .checkbox-row input { accent-color: var(--nx-red); width: 15px; height: 15px; }

/* Botón principal confirmar */
.nx-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 0;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255,0,0,0.8), inset 0 1.5px 2px rgba(255,255,255,0.5);
}
.nx-submit-btn .price-accent { color: #fcd34d; }

/* ── Sección de confirmación integrada (comprobante) ─────── */
.nx-confirm-section { display: flex; flex-direction: column; gap: 12px; }

.nx-proof-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.nx-timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12px;
    color: #34d399;
}

.nx-dropzone {
    border: 2px dashed var(--nx-red);
    background: rgba(80,0,0,.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255,0,0,0.25), inset 0 1.5px 2px rgba(255,255,255,0.15);
    transition: border-color .25s ease;
}
.nx-dropzone:hover { border-color: #ff5a5a; }
.nx-dropzone input[type="file"] { display: none; }

.nx-drop-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-drop-left { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.nx-drop-ico {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: rgba(255,0,0,.3);
    border: 1px solid var(--nx-red);
    display: flex; align-items: center; justify-content: center;
    color: var(--nx-red);
    flex: 0 0 auto;
    overflow: hidden;
}
.nx-drop-ico svg { width: 18px; height: 18px; }
.nx-drop-ico img { width: 100%; height: 100%; object-fit: cover; }
.nx-drop-ico.has-img { border-color: #34d399; background: #05131078; }
.nx-drop-copy { overflow: hidden; }
.nx-drop-copy .t1 {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-drop-copy .t1.ok { color: #34d399; text-transform: none; }
.nx-drop-copy .t2 { font-size: 11px; color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-drop-btn { padding: 7px 14px; font-size: 11.5px; border-radius: 6px; flex: 0 0 auto; }

.nx-extract-card {
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 11.5px;
}
.nx-extract-card .lbl { color: var(--nx-dim); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 9.5px; }
.nx-extract-card .val { font-family: var(--nx-font-display); font-weight: 900; font-size: 14px; letter-spacing: .1em; color: #fff; margin: 2px 0; }
.nx-extract-card .st { color: var(--nx-muted); }
.nx-extract-card.is-loading .st { color: var(--nx-amber); }
.nx-extract-card.is-success { border-color: rgba(16,185,129,.4); }
.nx-extract-card.is-success .val { color: #34d399; }
.nx-extract-card.is-warning { border-color: rgba(245,158,11,.4); }
.nx-extract-card.is-error { border-color: rgba(244,63,94,.4); }

.nx-proof-warning {
    font-size: 10px;
    color: #fda4af;
    line-height: 1.45;
    margin: 0;
}

/* ── Modales / popups retematizados ───────────────────────── */
.overlay-modal { background: rgba(0,0,0,.85) !important; backdrop-filter: blur(6px); }
.overlay-modal-card,
.store-popup-card,
.payment-warning-card {
    background:
        linear-gradient(135deg, rgba(30,32,40,.97) 0%, rgba(10,12,18,.98) 100%) !important;
    border: 1px solid rgba(255,0,0,.45) !important;
    border-top: 1px solid rgba(255,255,255,.25) !important;
    box-shadow: 0 25px 70px rgba(0,0,0,.7), 0 0 40px rgba(255,0,0,.12) !important;
    border-radius: 20px !important;
    color: var(--nx-text);
}

.store-popup-header,
.payment-warning-head {
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
}

.store-popup-confirm,
.payment-warning-ack,
.support-submit-btn {
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95)) !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(255,0,0,.6), inset 0 1.5px 2px rgba(255,255,255,.5) !important;
    color: #fff !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
}

/* ── Popup "Únete a nuestra comunidad" (recurrente) ────────── */
.community-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.community-popup-card {
    position: relative;
    width: min(100%, 360px);
    padding: 28px 22px 22px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30,32,40,.97) 0%, rgba(10,12,18,.98) 100%);
    border: 1px solid rgba(255,0,0,.45);
    border-top: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 25px 70px rgba(0,0,0,.7), 0 0 40px rgba(255,0,0,.15);
    color: var(--nx-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.community-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 4px 9px;
    color: #fff;
    cursor: pointer;
}
.community-popup-close:disabled { opacity: .55; cursor: not-allowed; }
.community-popup-close-count {
    font-size: 11px;
    font-weight: 800;
    min-width: 12px;
}
.community-popup-close[disabled] .community-popup-close-x { display: none; }
.community-popup-close:not([disabled]) .community-popup-close-count { display: none; }
.community-popup-icon {
    width: 56px; height: 56px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255,0,0,.9), rgba(150,0,0,.85));
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,0,0,.5);
    margin-top: 4px;
}
.community-popup-card h3 {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    margin: 0;
}
.community-popup-lead {
    font-size: 13px;
    color: var(--nx-muted);
    line-height: 1.5;
    margin: 0 0 4px;
}
.community-popup-join {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95));
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: 0 4px 20px rgba(255,0,0,.6), inset 0 1.5px 2px rgba(255,255,255,.5);
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    font-size: 13.5px;
}
.community-popup-continue {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    color: var(--nx-text);
    font-size: 13px;
    font-weight: 700;
}
.community-popup-mute {
    background: none;
    border: none;
    color: var(--nx-dim);
    font-size: 11.5px;
    padding: 2px;
    text-decoration: underline;
}

/* ── Banner de opt-in de notificaciones (paso 1 de 2) ──────── */
.push-prompt-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1150;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30,32,40,.97) 0%, rgba(10,12,18,.98) 100%);
    border: 1px solid rgba(255,0,0,.4);
    box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 30px rgba(255,0,0,.12);
    animation: pushPromptSlideUp .35s ease;
}
@keyframes pushPromptSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.push-prompt-icon { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.push-prompt-copy { flex: 1; min-width: 0; }
.push-prompt-copy strong { display: block; font-family: var(--nx-font-display); font-weight: 900; font-size: 13px; color: #fff; margin-bottom: 3px; }
.push-prompt-copy span { display: block; font-size: 12px; color: var(--nx-muted); line-height: 1.4; }
.push-prompt-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; }
.push-prompt-accept {
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95));
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .04em;
    white-space: nowrap;
    cursor: pointer;
}
.push-prompt-dismiss {
    background: none;
    border: none;
    color: var(--nx-dim);
    font-size: 13px;
    cursor: pointer;
    padding: 2px 6px;
}
@media (max-width: 480px) {
    .push-prompt-banner { left: 10px; right: 10px; bottom: 10px; }
}

/* ── Modal "Canjear Puntos" ─────────────────────────────────── */
/* ─── Canjear puntos: caja tipo CS2 ───────────────────────────────────────
   Ventana de cristal negro con aura roja que late, tira horizontal de cajas
   y un laser central que marca la que toca. El resultado lo decide el
   servidor; aqui solo se anima hasta la casilla que ya vino resuelta. */
@keyframes pointsIosPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 0, 0, .25), inset 0 0 15px rgba(255, 0, 0, .15); }
    50%      { box-shadow: 0 0 50px rgba(255, 0, 0, .45), inset 0 0 25px rgba(255, 0, 0, .25); }
}

@keyframes pointsPureAura {
    0%, 100% { box-shadow: 0 0 35px rgba(255, 0, 0, .4), inset 0 0 20px rgba(255, 0, 0, .2); }
    50%      { box-shadow: 0 0 65px rgba(255, 0, 0, .65), inset 0 0 35px rgba(255, 0, 0, .4); }
}

@keyframes pointsShakeBox {
    0%, 100% { transform: rotate(0deg) scale(1); }
    20% { transform: rotate(-12deg) scale(1.12); }
    40% { transform: rotate(12deg) scale(1.12); }
    60% { transform: rotate(-8deg) scale(1.12); }
    80% { transform: rotate(8deg) scale(1.12); }
}

@keyframes pointsPopIn {
    0%   { transform: scale(.3); opacity: 0; }
    70%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.points-modal-card {
    width: min(100%, 512px);
    background: rgba(8, 8, 8, .85) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 0, 0, .35) !important;
    border-top: 1px solid rgba(255, 0, 0, .35) !important;
    border-radius: 44px !important;
    box-shadow: 0 0 30px rgba(255, 0, 0, .25), inset 0 0 15px rgba(255, 0, 0, .15) !important;
    animation: pointsIosPulse 4s infinite ease-in-out;
}

/* Mientras la caja se abre, toda la ventana respira mas fuerte. */
.points-modal-card.is-rolling { animation: pointsPureAura 1.2s infinite ease-in-out; }

.points-modal-card .overlay-modal-header {
    background: rgba(3, 3, 3, .95);
    border-bottom: 1px solid rgba(255, 0, 0, .2);
    align-items: center;
    padding: 24px;
    margin-bottom: 24px;
}

/* La X cuadrada del diseno, no la redonda gris del resto de modales. */
.points-modal-card .overlay-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #121212;
    border: 1px solid rgba(255, 0, 0, .3);
    color: #9ca3af;
    font-size: 15px;
    transition: all .25s ease;
}

.points-modal-card .overlay-close-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.points-modal-card .overlay-modal-header h2 {
    font-family: var(--nx-font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.points-modal-hint { font-size: 12.5px; color: var(--nx-muted); line-height: 1.5; margin: 0 0 14px; padding: 0 24px; }
.points-modal-hint strong { color: #fff; }
.points-form-group { padding: 0 24px; margin-bottom: 14px; }
.points-form-group label { display: block; font-size: 11px; color: var(--nx-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; font-weight: 700; }
.points-form-group select,
.points-form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(2, 2, 2, .9);
    border: 1px solid rgba(255, 0, 0, .25);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
}

.points-modal-error {
    margin: 0 24px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 0, 0, .12);
    border: 1px solid rgba(255, 0, 0, .35);
    color: #ff8080;
    font-size: 12px;
}

/* El resultado del giro vive en su propio modal; este parrafo quedo solo
   para los avisos de la API (saldo insuficiente, fallo de conexion). */
.points-modal-result {
    margin: 0 24px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 0, 0, .12);
    border: 1px solid rgba(255, 0, 0, .35);
    color: #ff8080;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
}

.points-modal-result.is-miss {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
    color: var(--nx-muted);
}

.points-primary-btn,
.points-secondary-btn {
    display: block;
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 16px;
    border-radius: 16px;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .06em;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
}

.points-primary-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #990000 100%);
    border: 0;
    box-shadow: 0 0 30px rgba(255, 0, 0, .5);
    color: #fff;
}

.points-primary-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff3333 0%, #ff0000 50%, #b30000 100%);
    box-shadow: 0 0 45px rgba(255, 0, 0, .75);
}

.points-primary-btn:disabled { opacity: .5; cursor: not-allowed; }

.points-secondary-btn {
    background: #121212;
    border: 1px solid rgba(255, 0, 0, .3);
    color: #d1d5db;
    margin-bottom: 0;
}

.points-secondary-btn:hover:not(:disabled) { background: #1a1a1a; }

.points-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 8px 24px 14px;
}

.points-modal-actions .points-secondary-btn,
.points-modal-actions .points-primary-btn { width: auto; margin: 0; }

.points-status-msg {
    margin: 0 24px 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--nx-muted);
}

.points-status-msg b { color: #ff0000; font-weight: 800; }

.points-balance-card {
    margin: 0 24px 14px;
    padding: 16px;
    border-radius: 16px;
    background: #050505;
    border: 1px solid rgba(255, 0, 0, .25);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.points-balance-label { display: block; font-family: var(--nx-font-display); font-weight: 800; font-size: 16px; color: #fff; }
.points-balance-id { display: block; margin-top: 2px; font-size: 11.5px; color: #9ca3af; }
.points-balance-amount { text-align: right; }
.points-balance-amount strong {
    display: block;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1;
}
.points-balance-amount span { font-size: 10.5px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; }

/* Tira horizontal tipo apertura de caja (CS2). El item que cae bajo el
   laser central es el resultado real; el resto es solo relleno visual. */
.points-strip-viewport {
    position: relative;
    margin: 0 24px 16px;
    padding: 16px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #020202;
    border: 1px solid rgba(255, 0, 0, .4);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, .95);
    transition: box-shadow .3s ease;
}

.points-strip-viewport.is-rolling { animation: pointsPureAura 1.2s infinite ease-in-out; }

.points-strip-pointer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    margin-left: -3px;
    background: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, .85);
    z-index: 30;
    pointer-events: none;
    transition: all .3s ease;
}

.points-strip-viewport.is-rolling .points-strip-pointer {
    box-shadow: 0 0 30px rgba(255, 0, 0, .9);
    transform: scaleY(1.1);
}

.points-strip-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    will-change: transform;
}

.points-strip-item {
    flex: 0 0 auto;
    width: 112px;
    height: 128px;
    border-radius: 16px;
    background: #0c0c0c;
    border: 1px solid rgba(255, 0, 0, .15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    transition: all .3s ease;
}

.points-strip-item .icon { font-size: 36px; line-height: 1; margin-bottom: 8px; }
.points-strip-item .label { font-size: 12px; font-weight: 700; color: #d1d5db; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }

.points-strip-item.is-winner {
    border-color: #ff0000;
    background: #1c0808;
    box-shadow: 0 0 30px rgba(255, 0, 0, .7);
}

/* Modal del resultado del giro, con el regalo que se abre por pasos. */
.points-result-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity .3s ease;
}

.points-result-modal.is-open { display: flex; }
.points-result-modal.is-visible { opacity: 1; }

.points-result-card {
    position: relative;
    width: min(100%, 384px);
    background: #080808;
    border: 1px solid rgba(255, 0, 0, .6);
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 0, 0, .35);
    overflow: hidden;
    transform: scale(.95);
    transition: transform .3s ease;
}

.points-result-modal.is-visible .points-result-card { transform: scale(1); }

.points-result-glow {
    position: absolute;
    top: -64px;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, .25);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.points-gift-stage {
    position: relative;
    margin: 20px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-gift-emoji {
    font-size: 72px;
    line-height: 1;
    transition: transform .3s ease;
}

.points-gift-emoji.is-shaking { animation: pointsShakeBox .5s ease-in-out infinite; }
.points-gift-emoji.is-popping { animation: pointsPopIn .5s cubic-bezier(.175, .885, .32, 1.275) forwards; }

.points-result-title {
    position: relative;
    font-family: var(--nx-font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .02em;
    color: #fff;
    margin: 0 0 8px;
}

.points-result-text {
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0 0 24px;
}

.points-result-close {
    position: relative;
    width: 100%;
    padding: 13px 0;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #990000 100%);
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .08em;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 0, 0, .5);
    transition: all .25s ease;
}

.points-result-close:hover {
    background: linear-gradient(135deg, #ff3333 0%, #ff0000 50%, #b30000 100%);
    box-shadow: 0 0 45px rgba(255, 0, 0, .75);
}

@media (prefers-reduced-motion: reduce) {
    .points-modal-card,
    .points-modal-card.is-rolling,
    .points-strip-viewport.is-rolling,
    .points-gift-emoji { animation: none !important; }
}

/* Modal video tutorial */
.nx-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.nx-video-modal.is-open { display: flex; }
.nx-video-card {
    width: min(100%, 460px);
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(30,32,40,.97), rgba(10,12,18,.98));
    border: 1px solid rgba(255,0,0,.5);
    box-shadow: 0 25px 70px rgba(0,0,0,.75);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nx-video-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-video-card-head h3 {
    font-family: var(--nx-font-display);
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    display: flex; align-items: center; gap: 8px;
    margin: 0;
}
.nx-video-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: none;
    font-size: 13px;
    cursor: pointer;
}
.nx-video-close:hover { background: rgba(255,255,255,.2); }
.nx-video-card video {
    width: 100%;
    border-radius: 14px;
    background: #000;
    border: 1px solid rgba(255,255,255,.1);
    max-height: 60vh;
}

/* ══════════════════════════════════════════════════════════
   CHECKOUT (página de confirmación / fallback)
   ══════════════════════════════════════════════════════════ */
.nx-checkout {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nx-checkout .back-link {
    color: var(--nx-muted);
    font-size: 12.5px;
    font-weight: 700;
    font-family: var(--nx-font-display);
    text-decoration: none;
    display: inline-block;
    padding: 2px 4px;
}
.nx-checkout .back-link:hover { color: #fff; }

.nx-summary-head { display: flex; gap: 12px; align-items: center; }
.nx-summary-img {
    width: 52px; height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.15);
}
.nx-summary-img img { width: 100%; height: 100%; object-fit: cover; }
.nx-summary-img .ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,0,0,.15);
    color: var(--nx-red);
    font-weight: 900;
    font-family: var(--nx-font-display);
    font-size: 20px;
}
.nx-summary-info { overflow: hidden; }
.nx-summary-info .g {
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nx-dim);
    font-weight: 800;
    font-family: var(--nx-font-display);
}
.nx-summary-info h2 {
    font-size: 16px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    color: #fff;
    margin: 1px 0;
    line-height: 1.15;
}
.nx-summary-info .nick { font-size: 12px; color: #34d399; font-weight: 700; }
.nx-summary-info .pid { font-size: 11px; color: var(--nx-dim); }

.nx-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--nx-muted);
    padding: 6px 2px 0;
}
.nx-price-line strong { color: #fff; }
.nx-price-line .big {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 20px;
    color: var(--nx-red);
}
.nx-price-line .striked { text-decoration: line-through; color: #64748b; }
.nx-price-line .disc { color: #34d399; font-weight: 800; }

/* reutilizar clases del checkout viejo dentro del tema */
.nx-checkout .copy-inline-btn,
.nx-checkout .copy-payment-btn {
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95)) !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255,0,0,.5), inset 0 1px 1px rgba(255,255,255,.4);
}

.nx-checkout .reference-timer {
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    color: #34d399 !important;
    font-size: 16px !important;
}

.nx-checkout .reference-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin: 10px 0 5px;
}

.nx-checkout .reference-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--nx-muted);
}

.nx-checkout .reference-dots { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.nx-checkout .reference-dots .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.nx-checkout .reference-dots .dot.active { background: var(--nx-red); box-shadow: 0 0 8px rgba(255,0,0,.7); }
.nx-checkout .reference-dots .dot-count { font-size: 11px; color: var(--nx-dim); margin-left: 4px; }

.nx-checkout .ref-hint { font-size: 10.5px; color: var(--nx-dim); margin-top: 8px; line-height: 1.45; }

.nx-checkout .binance-auto-title {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .04em;
    color: #fff;
    text-transform: uppercase;
}
.nx-checkout .binance-auto-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 10px 0; }
.nx-checkout .binance-auto-alert p {
    color: var(--nx-amber);
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12px;
    margin: 0 0 6px;
}
.nx-checkout .binance-auto-text { font-size: 12px; color: var(--nx-muted); line-height: 1.5; }
.nx-checkout .binance-auto-text strong { color: #fff; text-decoration: underline; }

.nx-checkout .binance-wallet-label {
    font-size: 10px;
    font-weight: 900;
    font-family: var(--nx-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin: 12px 0 5px;
}
.nx-checkout .binance-wallet-row,
.nx-checkout .binance-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001));
}
.nx-checkout .binance-code-row {
    border-color: rgba(245,158,11,.6);
    background: rgba(245,158,11,.1);
    box-shadow: 0 0 15px rgba(245,158,11,.25);
    margin-top: 12px;
}
.nx-checkout .binance-wallet-display,
.nx-checkout .binance-code-display {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .14em;
    color: #fff;
    background: transparent;
    overflow-wrap: anywhere;
}
.nx-checkout .binance-code-display { color: #fcd34d; letter-spacing: .2em; }
.nx-checkout .binance-auto-notes { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.nx-checkout .binance-auto-notes p { font-size: 11px; color: var(--nx-dim); line-height: 1.5; margin: 0; }
.nx-checkout .binance-auto-notes strong { color: #fcd34d; }

.nx-checkout .spinner-sm {
    width: 15px; height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nx-spin .8s linear infinite;
    display: inline-block;
}

/* Página de checkout clásica retematizada (fallback) */
.nx-checkout-page { background: transparent !important; padding: 10px 0 30px !important; }
.nx-checkout.checkout-container {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    grid-template-columns: none !important;
    max-width: 480px !important;
    padding: 0 10px;
}

.nx-checkout .summary-card,
.nx-checkout .reference-card,
.nx-checkout .proof-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.002) 40%, rgba(10,15,28,0.008) 100%) !important;
    backdrop-filter: blur(8px) saturate(200%) brightness(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(200%) brightness(1.2);
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-top: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), inset 0 1px 2px rgba(255,255,255,0.25), 0 0 30px rgba(255,0,0,0.08) !important;
    color: var(--nx-text);
    padding: 14px !important;
}

.nx-checkout .form-title,
.nx-checkout .payment-info-headbar h3,
.nx-checkout .proof-card-header h3 {
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 14px !important;
}

.nx-checkout .summary-game-name { color: var(--nx-dim) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-family: var(--nx-font-display); }
.nx-checkout .summary-pkg-name { color: #fff !important; font-family: var(--nx-font-display) !important; font-weight: 900 !important; }
.nx-checkout .summary-price { color: var(--nx-red) !important; font-family: var(--nx-font-display) !important; font-weight: 900 !important; font-size: 20px !important; }
.nx-checkout .summary-price-row { color: var(--nx-muted); }
.nx-checkout .summary-desc { color: var(--nx-dim) !important; }

.nx-checkout .payment-detail-row {
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001)) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
    padding: 9px 12px !important;
    margin-bottom: 8px;
}
.nx-checkout .payment-detail-value,
.nx-checkout .payment-detail-value-main {
    color: #f1f5f9 !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
    font-size: 12.5px !important;
}
.nx-checkout .payment-detail-icon { color: var(--nx-dim) !important; }

.nx-checkout .proof-dropzone {
    border: 2px dashed var(--nx-red) !important;
    background: rgba(80,0,0,.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 25px rgba(255,0,0,0.25), inset 0 1.5px 2px rgba(255,255,255,0.15);
}
.nx-checkout .proof-dropzone-title { color: #fff !important; font-family: var(--nx-font-display); font-weight: 900; text-transform: uppercase; font-size: 12px !important; }
.nx-checkout .proof-dropzone-subtitle { color: var(--nx-muted) !important; font-size: 11px !important; }
.nx-checkout .proof-icon { color: var(--nx-red) !important; }
.nx-checkout .proof-upload-btn {
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95)) !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 14px rgba(255,0,0,.5);
}
.nx-checkout .proof-file-name { color: var(--nx-dim) !important; font-size: 11px; }
.nx-checkout .proof-warning { color: #fda4af !important; font-size: 10px !important; }
.nx-checkout .proof-subtitle { color: var(--nx-muted) !important; }
.nx-checkout .badge-required {
    background: rgba(255,0,0,.15) !important;
    border: 1px solid rgba(255,0,0,.5) !important;
    color: #ff8080 !important;
    border-radius: 999px !important;
    font-family: var(--nx-font-display);
    font-weight: 800;
}

.nx-checkout .submit-btn {
    background: linear-gradient(135deg, rgba(255,0,0,1), rgba(200,0,0,.95)) !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-family: var(--nx-font-display) !important;
    font-weight: 900 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255,0,0,0.8), inset 0 1.5px 2px rgba(255,255,255,0.5) !important;
    width: 100%;
    padding: 13px 0 !important;
}
.nx-checkout .submit-btn:disabled { opacity: .45; }

.nx-checkout .back-link { color: var(--nx-muted) !important; }

.nx-checkout .proof-extracted-reference {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    padding: 10px 12px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001));
}
.nx-checkout .proof-extracted-reference-label { color: var(--nx-dim); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.nx-checkout .proof-extracted-reference-value { font-family: var(--nx-font-display); font-weight: 900; letter-spacing: .1em; color: #34d399; }
.nx-checkout .proof-extracted-reference-status { color: var(--nx-muted); font-size: 11px; }

/* video modal del checkout viejo */
.payment-method-video-modal { background: rgba(0,0,0,.88) !important; }
.payment-method-video-card {
    background: linear-gradient(135deg, rgba(30,32,40,.97), rgba(10,12,18,.98)) !important;
    border: 1px solid rgba(255,0,0,.5) !important;
    border-radius: 20px !important;
}

/* ══════════════════════════════════════════════════════════
   ORDER STATUS — mockups de "orden finalizada"
   ══════════════════════════════════════════════════════════ */
.nx-order-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 10px 50px;
    font-family: var(--nx-font-display);
}

.nx-order-card {
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.nx-order-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.nx-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: var(--nx-red);
    border: 1px solid #ef4444;
    color: #fff;
    box-shadow: 0 0 15px rgba(255,0,0,.8);
}
.nx-order-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.nx-order-badge.is-waiting {
    background: rgba(245,158,11,.25);
    border-color: rgba(245,158,11,.6);
    color: #fbbf24;
    box-shadow: none;
    animation: nx-badge-pulse 1.6s infinite ease-in-out;
}
.nx-order-badge.is-waiting .dot { background: #fbbf24; }
.nx-order-badge.is-rejected {
    background: rgba(244,63,94,.2);
    border-color: rgba(244,63,94,.6);
    color: #fb7185;
    box-shadow: none;
}
.nx-order-badge.is-rejected .dot { background: #fb7185; }

@keyframes nx-badge-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.nx-order-mode {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}

.nx-order-heading {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* Caja del timer ámbar */
.nx-timer-box {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.4);
    background: rgba(245,158,11,.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nx-timer-box .l1 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
.nx-timer-box .l1 .cnt { color: #fbbf24; }
.nx-timer-box .l2 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fbbf24;
    margin: 0;
}

/* Resumen jugador/paquete */
.nx-order-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.nx-sum-cell { padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.nx-sum-cell .h {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
}
.nx-sum-cell .h .ico { color: var(--nx-red); font-size: 10px; }
.nx-sum-cell .v {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    color: var(--nx-red);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Timeline de estado en tiempo real */
.nx-track-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
}

.nx-order .processing-flow { background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.nx-order .processing-title { display: none !important; }

.nx-order .nx-track {
    position: relative;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-top: 4px;
}
.nx-order .nx-track::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #334155;
}

.nx-order .processing-step {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
    gap: 1px;
    opacity: .6;
    transition: opacity .3s ease;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nx-order .processing-step.is-done,
.nx-order .processing-step.is-active { opacity: .95; }

.nx-order .processing-step .step-icon {
    position: absolute;
    left: -24px;
    top: 1px;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    background: #1e293b;
    border: 1px solid #475569;
    color: #cbd5e1;
    z-index: 2;
    transition: all .3s ease;
}
.nx-order .processing-step.is-done .step-icon {
    background: var(--nx-green);
    border-color: var(--nx-green);
    color: #fff;
    box-shadow: 0 0 10px rgba(16,185,129,.8);
}
.nx-order .processing-step.is-active .step-icon {
    background: rgba(245,158,11,.25);
    border-color: #f59e0b;
    color: #fbbf24;
    animation: nx-badge-pulse 1.4s infinite ease-in-out;
}
.nx-order .processing-step.is-error .step-icon {
    background: rgba(244,63,94,.2);
    border-color: #fb7185;
    color: #fb7185;
}

.nx-order .processing-step .step-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}
.nx-order .processing-step .step-sub {
    font-size: 11px;
    color: var(--nx-muted);
    font-family: var(--nx-font-sans);
    font-weight: 500;
}

/* PIN / código */
.nx-pin-section {
    border-radius: 12px;
    border: 1px solid rgba(255,0,0,.4);
    padding: 16px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,0,0,.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nx-pin-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}
.nx-pin-label .k { color: var(--nx-red); }
.nx-pin-code {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .12em;
    color: var(--nx-red);
    cursor: pointer;
    user-select: all;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
.nx-pin-code:hover { color: #ff6b6b; }
.nx-pin-help {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.nx-pin-help .q { font-size: 11px; font-weight: 700; color: var(--nx-muted); }
.nx-pin-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1e293b, #000);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}
.nx-pin-video-btn .p { color: #ef4444; font-size: 9px; }

/* Binance wait */
.nx-binance-wait {
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.5);
    background: rgba(245,158,11,.08);
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.nx-binance-wait h3 { color: #fbbf24; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.nx-binance-wait .desc { font-size: 12px; color: var(--nx-muted); margin: 0; line-height: 1.5; font-family: var(--nx-font-sans); }
.nx-binance-wait .codebox {
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(245,158,11,.35);
    border-radius: 10px;
    padding: 10px 20px;
    min-width: 180px;
}
.nx-binance-wait .codebox .lbl { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin: 0 0 3px; }
.nx-binance-wait .codebox .code { font-size: 20px; font-weight: 900; letter-spacing: .22em; color: #fbbf24; margin: 0; }
.nx-binance-wait .note { font-size: 10.5px; color: #94a3b8; margin: 0; }
.nx-binance-wait .hour { font-size: 26px; animation: nx-spin 1.6s linear infinite; }

/* WhatsApp manual */
.nx-manual-wa {
    border-radius: 12px;
    border: 1px solid rgba(16,185,129,.4);
    background: rgba(16,185,129,.07);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}
.nx-manual-wa h3 { font-size: 13px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.nx-manual-wa p { font-size: 11.5px; color: var(--nx-muted); margin: 0; font-family: var(--nx-font-sans); }
.nx-manual-wa button {
    width: 100%;
    padding: 11px 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #059669, #15803d);
    border: 1px solid rgba(52,211,153,.4);
    color: #fff;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(16,185,129,.5);
}

/* Botones inferiores */
.nx-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 4px;
}
.nx-order-actions .wa-btn,
.nx-order-actions .back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 8px;
    border-radius: 12px;
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}
.nx-order-actions .wa-btn {
    background: linear-gradient(90deg, #059669, #15803d);
    color: #fff;
    border: 1px solid rgba(52,211,153,.4);
    box-shadow: 0 0 15px rgba(16,185,129,.5);
}
.nx-order-actions .wa-btn:hover { background: linear-gradient(90deg, #10b981, #16a34a); }
.nx-order-actions .back-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.001));
    border: 1px solid rgba(255,0,0,.4);
    color: var(--nx-red);
}
.nx-order-actions .back-btn:hover { border-color: var(--nx-red); color: #fff; }

.nx-order-hint { text-align: center; font-size: 11px; color: var(--nx-dim); font-family: var(--nx-font-sans); }
.nx-order-hint .btn-link {
    background: none;
    border: none;
    color: var(--nx-red);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-size: 11px;
}

/* Notas de rechazo */
.nx-reject-note {
    border-radius: 12px;
    border: 1px solid rgba(244,63,94,.4);
    background: rgba(244,63,94,.08);
    padding: 12px;
    font-size: 12px;
    color: #fda4af;
    line-height: 1.5;
    font-family: var(--nx-font-sans);
}

/* auth pages heredan glass */
.auth-card, .profile-card {
    background: linear-gradient(135deg, rgba(30,32,40,.9), rgba(10,12,18,.95)) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 18px !important;
}

.nx-store .cat-btn span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* responsive fino */
@media (max-width: 520px) {
    /* Menos padding en teléfono: todo más compacto para llegar antes
       a los métodos de pago al seleccionar un paquete */
    .nx-store { padding: 6px 8px 24px; gap: 8px; }
    .nx-store .nx-step-card { padding: 10px; }
    .nx-store section[style*="margin-bottom:12px"] { margin-bottom: 8px !important; }
    .nx-store .nx-step-head { margin-bottom: 8px; }
    .nx-store .categories-inner { padding: 6px !important; gap: 5px; }
    .nx-store .cat-btn { padding: 9px 4px !important; font-size: 11px !important; }
    .nx-store .packages-grid { gap: 5px !important; }
    .nx-store .package-item { min-height: 76px; padding: 9px 4px !important; }
    .nx-store .nx-total-row { padding: 8px 12px; margin-top: 6px; }
    .nx-store .payment-card-inner { padding: 10px 4px !important; min-height: 42px; }
    .nx-store .nx-pay-row { padding: 8px 10px; margin-bottom: 6px; }
    .nx-store .nx-player-row input { padding: 10px 12px; }
    .nx-store .form-hint { margin-top: 6px; }
    .nx-store .games-viewport { padding-bottom: 4px; }
    .nx-kicker { font-size: 12px; }
    .site-header { padding: 8px 0 0 !important; }
    .header-inner { padding: 0 10px 8px !important; }
}

@media (max-width: 380px) {
    .nx-store .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .nx-store .payment-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .header-action-label { display: none; }
}

/* ─── Página de canje (/redimir) ──────────────────────────────────────────
   Reutiliza los mismos cristales, rojos y tipografías de la tienda: el
   cliente llega aquí desde el menú y no debería sentir que cambió de web. */
.rdm-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 12px 40px;
}

.rdm-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.72);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}
.rdm-back:hover { border-color: var(--nx-red); color: #fff; }

.rdm-card { padding: 22px 18px 18px; }

.rdm-head { text-align: center; margin-bottom: 22px; }
.rdm-kicker {
    display: inline-block;
    font-family: var(--nx-font-display);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nx-red);
    margin-bottom: 8px;
}
.rdm-title {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 8px;
}
.rdm-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 34ch;
}

.rdm-step { display: flex; flex-direction: column; gap: 10px; }
.rdm-step[hidden] { display: none; }

.rdm-label {
    font-family: var(--nx-font-display);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}

/* El código es lo único importante de esta pantalla: se escribe grande,
   en monoespaciada y espaciado, como se lee en un video. */
.rdm-code-input {
    font-family: "Space Grotesk", ui-monospace, monospace !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 12px !important;
}

.rdm-btn {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-radius: 12px;
    font-family: var(--nx-font-display);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.rdm-btn:disabled { opacity: .5; cursor: default; }
.rdm-btn-link { display: block; }
.rdm-btn-sm { width: auto; padding: 11px 18px; font-size: 11.5px; flex: 0 0 auto; }

.rdm-link-btn {
    background: none;
    border: 0;
    color: rgba(255,255,255,.5);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rdm-link-btn:hover { color: #fff; }

.rdm-feedback {
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
    min-height: 15px;
    line-height: 1.4;
}
.rdm-feedback.is-error { color: #fb7185; }
.rdm-feedback.is-success { color: #34d399; }

/* Premio confirmado, arriba del paso del ID. */
.rdm-prize {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    background: rgba(16,185,129,.09);
    border: 1px solid rgba(16,185,129,.35);
    margin-bottom: 4px;
}
.rdm-prize-check {
    width: 30px; height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(16,185,129,.22);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}
.rdm-prize-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rdm-prize-text strong {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 14px;
    color: #fff;
}
.rdm-prize-text small { font-size: 11px; color: rgba(255,255,255,.5); }

.rdm-nick {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #34d399;
}
.rdm-nick[hidden] { display: none; }

/* Resultado */
.rdm-result { align-items: center; text-align: center; gap: 12px; }
.rdm-done-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 2px;
}
.rdm-done-icon.is-ok { background: rgba(16,185,129,.18); color: #34d399; border: 1px solid rgba(16,185,129,.4); }
.rdm-done-icon.is-wait { background: rgba(245,158,11,.18); color: #fbbf24; border: 1px solid rgba(245,158,11,.4); }
.rdm-done-title {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    margin: 0;
}
.rdm-done-text {
    font-size: 12.5px;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
    margin: 0;
    max-width: 36ch;
}
.rdm-order {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 16px;
    border-radius: 11px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.1);
}
.rdm-order[hidden] { display: none; }
.rdm-order span {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
.rdm-order strong {
    font-family: "Space Grotesk", monospace;
    font-size: 15px;
    color: var(--nx-red);
    letter-spacing: .06em;
}

/* Historial: enlace discreto, no un segundo formulario compitiendo. */
.rdm-history-trigger {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.07);
    text-align: center;
}
.rdm-text-link {
    background: none;
    border: 0;
    color: rgba(255,255,255,.42);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 2px 4px;
}
.rdm-text-link:hover { color: var(--nx-red); }

.rdm-modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(5px);
}
.rdm-modal[hidden] { display: none; }
.rdm-modal-card {
    width: min(100%, 400px);
    max-height: 86vh;
    overflow-y: auto;
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #14070a 0%, #0a0508 100%);
    border: 1px solid rgba(255,0,0,.3);
    box-shadow: 0 24px 60px rgba(0,0,0,.7);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rdm-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rdm-modal-head h3 {
    font-family: var(--nx-font-display);
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    margin: 0;
}
.rdm-modal-close {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}
.rdm-modal-close:hover { border-color: var(--nx-red); }

.rdm-history-row { display: flex; gap: 8px; align-items: stretch; }
/* Los canjes necesitan aire entre sí: pegados se leen como un bloque. */
.rdm-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}
/* Sin resultados todavía: la línea divisoria sobra. */
.rdm-history-list:empty { display: none; }
.rdm-history-empty {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    text-align: center;
    margin: 6px 0;
}
.rdm-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
}

/* Paginador del historial */
.rdm-history-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}
.rdm-history-pager[hidden] { display: none; }
.rdm-pager-btn {
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}
.rdm-pager-btn:hover:not(:disabled) { border-color: var(--nx-red); color: var(--nx-red); }
.rdm-pager-btn:disabled { opacity: .35; cursor: default; }
.rdm-pager-info {
    font-family: "Space Grotesk", monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255,255,255,.5);
    min-width: 46px;
    text-align: center;
}
.rdm-history-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rdm-history-main strong { font-size: 12.5px; font-weight: 800; color: #fff; }
.rdm-history-main small { font-size: 10.5px; color: rgba(255,255,255,.45); }
.rdm-history-tag {
    flex: 0 0 auto;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
}
.rdm-history-tag.is-ok { background: rgba(16,185,129,.16); color: #34d399; }
.rdm-history-tag.is-wait { background: rgba(245,158,11,.16); color: #fbbf24; }

@media (max-width: 380px) {
    .rdm-code-input { font-size: 18px !important; letter-spacing: .12em !important; }
    .rdm-title { font-size: 22px; }
}

/* ─── Autoservicio de mini influencers (/minis) ───────────────────────────
   Reusa el kit de /redimir (.rdm-back/.rdm-kicker/.rdm-title/.rdm-sub/
   .rdm-label/.rdm-feedback/.rdm-btn/.rdm-link-btn) para la tipografía y
   los botones: es la misma "página de formulario simple" que esa, solo
   con secciones nuevas (tabs, panel de estado, listas). */
.mn-page { max-width: 620px; margin: 0 auto; padding: 14px 12px 40px; }
.mn-page .rdm-card { padding: 22px 18px 18px; }

.mn-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 18px;
}
.mn-tab {
    flex: 1 1 0;
    border: 0;
    background: none;
    padding: 10px 6px;
    border-radius: 9px;
    font-family: var(--nx-font-display);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    cursor: pointer;
}
.mn-tab.is-active { background: var(--nx-red); color: #fff; }
.mn-tab-panel[hidden] { display: none; }

.mn-field-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) {
    .mn-field-grid.mn-cols-2 { grid-template-columns: 1fr 1fr; }
}

/* Estado de la solicitud (pending/rejected) mostrado en vez del panel. */
.mn-status-banner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 13px;
    text-align: center;
}
.mn-status-banner.is-pending { background: rgba(245,158,11,.09); border: 1px solid rgba(245,158,11,.35); }
.mn-status-banner.is-rejected { background: rgba(239,68,68,.09); border: 1px solid rgba(239,68,68,.35); }
.mn-status-banner strong { font-family: var(--nx-font-display); font-size: 15px; color: #fff; }
.mn-status-banner span { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* Perfil: código + link para compartir + saldo. */
.mn-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mn-stat {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}
.mn-stat span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.mn-stat strong { font-family: "Space Grotesk", monospace; font-size: 18px; color: #fff; }
.mn-stat strong.is-accent { color: var(--nx-red); }

.mn-code-row { display: flex; align-items: center; gap: 8px; }
.mn-copy-btn {
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.04);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

/* Progreso de rango */
.mn-progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mn-progress-head strong { font-family: var(--nx-font-display); font-size: 13px; color: #fff; }
.mn-progress-head small { font-size: 11px; color: rgba(255,255,255,.5); }
.mn-progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.mn-progress-fill { height: 100%; background: linear-gradient(90deg, var(--nx-red-dark), var(--nx-red)); border-radius: 999px; }

.mn-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.mn-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.mn-section-head h3 { font-family: var(--nx-font-display); font-size: 14px; font-weight: 900; color: #fff; margin: 0; }
.mn-section-head p { font-size: 11.5px; color: rgba(255,255,255,.5); margin: 2px 0 0; }

.mn-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mn-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 11px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}
.mn-list-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mn-list-main strong { font-size: 12.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.mn-list-main small { font-size: 10.5px; color: rgba(255,255,255,.45); }
.mn-list-empty { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; padding: 14px 0; }
.mn-list-del {
    flex: 0 0 auto;
    border: 0;
    background: none;
    color: rgba(255,255,255,.35);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.mn-list-del:hover { color: #fb7185; }

@media (max-width: 380px) {
    .mn-stat-row { grid-template-columns: 1fr; }
}
