/* ==========================================================================
   FSTORE APEX STUDIO EDITION - LUXURY GAMING TOP-UP INTERFACE
   Diseño de Alta Gama: Vidrio de Obsidiana, Neón Líquido, Flujo Ultra Rápido
   ========================================================================== */

:root {
    --apex-black: #06080e;
    --apex-surface: #0a0e19;
    --apex-glass-panel: rgba(14, 20, 36, 0.82);
    --apex-glass-card: rgba(17, 24, 44, 0.88);
    --apex-glass-card-hover: rgba(26, 38, 68, 0.95);
    
    --apex-border-subtle: rgba(255, 255, 255, 0.08);
    --apex-border-highlight: rgba(0, 242, 254, 0.35);
    
    --apex-cyan: #00f2fe;
    --apex-cyan-glow: rgba(0, 242, 254, 0.35);
    --apex-gold: #f59e0b;
    --apex-gold-bright: #fbbf24;
    --apex-gold-glow: rgba(245, 158, 11, 0.4);
    --apex-emerald: #10b981;
    --apex-rose: #f43f5e;
    
    --apex-text-bright: #f8fafc;
    --apex-text-muted: #8b9bb4;
}

html {
    overflow-x: clip;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: clip;
    max-width: 100% !important;
    width: 100% !important;
    background-color: var(--apex-black);
    color: var(--apex-text-bright);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

/* Fondo dinámico fijado en capa GPU independiente: 0 repaints durante el scroll */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 12%, rgba(0, 242, 254, 0.09) 0%, transparent 40%),
        radial-gradient(circle at 80% 25%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Cabecera Gamer Fija / Sticky al Desplazarse - Capa GPU Acelerada */
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* --------------------------------------------------------------------------
   1. TICKER SUPERIOR OFICIAL
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background: linear-gradient(90deg, #05070d 0%, #0d1527 50%, #05070d 100%);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    font-size: 0.82rem;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 40;
}

.ticker-marquee-viewport {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-marquee-viewport:hover .ticker-marquee-track {
    animation-play-state: paused;
}

.ticker-marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: fstoreTickerScroll 34s linear infinite;
}

@keyframes fstoreTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-marquee-group {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-weight: 500;
}

.ticker-item-link {
    color: #4ade80 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ticker-item-link:hover {
    color: #86efac !important;
}

.ticker-sep {
    color: rgba(0, 242, 254, 0.4);
    font-size: 0.65rem;
}

.ticker-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: livePulseDot 1.8s infinite;
}

@keyframes livePulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* --------------------------------------------------------------------------
   2. HEADER & SEARCH MODAL FIXTURES
   -------------------------------------------------------------------------- */
.btn-nav-search-toggle {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #f8fafc !important;
    border-radius: 10px !important;
    cursor: pointer !important;
}

.btn-nav-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(0, 242, 254, 0.1) !important;
    border: 1px solid rgba(0, 242, 254, 0.35) !important;
    color: #38bdf8 !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    padding: 0 14px !important;
    height: 38px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.btn-nav-track:hover {
    background: rgba(0, 242, 254, 0.22) !important;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.4) !important;
    color: #fff !important;
}

.fstore-search-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 70px;
}

.fstore-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.fstore-search-modal-content {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 580px;
    background: #0d1424;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}

.fstore-search-modal-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fstore-search-modal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
}

.fstore-search-modal-close,
.fstore-search-modal-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.fstore-search-modal-close:hover,
.fstore-search-modal-clear:hover {
    color: #f8fafc;
}

/* --------------------------------------------------------------------------
   3. APEX STUDIO MASTER CONTAINER
   -------------------------------------------------------------------------- */
.apex-studio-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 24px 20px 110px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.apex-studio-container > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   4. ULTRA-COMPACT CINEMATIC HERO & GAME BAR (Elegante y no invasivo)
   -------------------------------------------------------------------------- */
.apex-hero-bar {
    background: linear-gradient(135deg, rgba(14, 20, 36, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.apex-hero-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.6), rgba(245, 158, 11, 0.6), transparent);
}

.apex-hero-game-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.apex-hero-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
    overflow: hidden;
}

.apex-hero-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background: transparent;
    border: none;
    outline: none;
}

.apex-hero-title-group h1 {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apex-hero-server-tag {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apex-server-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.apex-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.apex-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.badge-cyan {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: #38bdf8;
}

.btn-apex-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-apex-back:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.4);
    color: #fff;
}

/* --------------------------------------------------------------------------
   5. PASO 1: BARRA DE IDENTIFICACIÓN RÁPIDA (FULL VELOCIDAD - SIN PERDER ESPACIO)
   -------------------------------------------------------------------------- */
.apex-quick-id-card {
    background: var(--apex-glass-panel);
    border: 1px solid var(--apex-border-subtle);
    border-radius: 18px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: border-color 0.25s ease;
}

.apex-quick-id-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
}

.apex-quick-id-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.apex-step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apex-step-number {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(245, 158, 11, 0.25));
    border: 1.5px solid var(--apex-cyan);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
}

.apex-step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.apex-quick-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

@media (max-width: 640px) {
    .apex-quick-form-row {
        grid-template-columns: 1fr;
    }
}

.apex-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.uid-styled-input {
    width: 100%;
    background: #080c16;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: 'Rajdhani', monospace;
    outline: none;
    transition: all 0.22s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.uid-styled-input:focus {
    border-color: var(--apex-cyan);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.6);
    background: #0b1222;
}

.btn-verify-uid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 24px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-verify-uid:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45);
    transform: translateY(-2px);
}

.validation-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(0, 242, 254, 0.2);
    border-top-color: #00f2fe;
    border-radius: 50%;
    animation: spinValidate 0.7s linear infinite;
}

@keyframes spinValidate {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   UNIFIED PLAYER ID FIELD & DYNAMIC ACTION BUTTON (ESTILO IMÁGENES 1 Y 2)
   -------------------------------------------------------------------------- */
.apex-quick-form-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.uid-unified-box {
    position: relative;
    background: #080c16;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0 16px;
    min-height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.22s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.uid-unified-box:focus-within {
    border-color: #00f2fe;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.6);
    background: #0b1222;
}

.uid-unified-box.is-verified {
    border-color: #10b981 !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    background: #080c16 !important;
}

.uid-unified-box .uid-styled-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    font-family: 'Rajdhani', monospace !important;
}

.uid-verified-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
    width: 100%;
    padding: 6px 0;
}

.uid-verified-nick {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #10b981;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uid-verified-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.verified-nickname-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uid-verified-id {
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'Rajdhani', monospace;
    letter-spacing: 0.8px;
    line-height: 1.2;
}

/* Dynamic Action Button: Azul "Verificar" -> Rojo "Cambiar" */
.btn-uid-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.98rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 52px;
    box-sizing: border-box;
    min-width: 120px;
}

/* Estado Normal: Azul Verificar (Imagen 1) */
.btn-uid-action.btn-verify-state {
    background: #0284c7;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-uid-action.btn-verify-state:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
    transform: translateY(-1px);
}

/* Estado Buscando: Loading */
.btn-uid-action.btn-loading-state {
    background: #0369a1;
    color: #e2e8f0;
    cursor: wait;
    opacity: 0.9;
}

/* Estado Verificado: Rojo Cambiar (Imagen 2) */
.btn-uid-action.btn-change-state {
    background: #ff1744;
    background: linear-gradient(135deg, #ff2a4b 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

.btn-uid-action.btn-change-state:hover {
    background: linear-gradient(135deg, #ff4361 0%, #f43f5e 100%);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
    transform: translateY(-1px);
}

.btn-uid-action:active {
    transform: translateY(0);
}


/* --------------------------------------------------------------------------
   6. PASO 2: ARSENAL DE PAQUETES (CRISTALES DE OBSIDIANA - DISEÑO ELEGANTE WOW)
   -------------------------------------------------------------------------- */
.apex-catalog-card {
    background: var(--apex-glass-panel);
    border: 1px solid var(--apex-border-subtle);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.apex-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.package-filter-tabs {
    display: inline-flex;
    background: #080c16;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 6px;
    margin-bottom: 22px;
    max-width: 100%;
    overflow-x: auto;
}

.package-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.package-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.package-filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.22), rgba(2, 132, 199, 0.38));
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.45);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.25);
}

/* Grilla Simétrica de Tarjetas */
.products-grid.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 1080px) {
    .products-grid.packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .products-grid.packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Ficha Cristales de Diamante (El diseño elegante que hace que el cliente diga WOW) */
.product-card.package-card {
    background: linear-gradient(165deg, rgba(20, 28, 48, 0.85) 0%, rgba(10, 14, 25, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 18px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 210px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.product-card.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.product-card.package-card:hover {
    border-color: rgba(0, 242, 254, 0.55);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.25), 0 0 20px rgba(0, 242, 254, 0.15);
    background: linear-gradient(165deg, rgba(28, 40, 70, 0.9) 0%, rgba(12, 18, 32, 0.98) 100%);
}

.product-card.package-card.selected {
    border: 2px solid #fbbf24 !important;
    background: linear-gradient(165deg, rgba(251, 191, 36, 0.12) 0%, rgba(12, 18, 30, 0.98) 100%) !important;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.45), 0 12px 30px rgba(0, 0, 0, 0.75), inset 0 0 16px rgba(251, 191, 36, 0.10) !important;
    transform: translateY(-4px) scale(1.015);
}

.product-card.package-card.selected::before {
    display: none !important;
    content: none !important;
}

.product-card.package-card.selected::after {
    display: none !important;
    content: none !important;
}

@keyframes checkBadgePop {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    70% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Soporte de Fondo Personalizado para Tarjetas de Paquetes (100% Color Natural sin opacar) */
.product-card.package-card.has-custom-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.product-card.package-card.has-custom-bg .pack-render-wrap {
    position: relative;
    z-index: 2;
}
.product-card.package-card.has-custom-bg .pack-info-bottom {
    position: relative;
    z-index: 2;
}
.product-card.package-card.has-custom-bg .pack-amount {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.9) !important;
}
.product-card.package-card.has-custom-bg .pack-unit {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.9) !important;
}
.product-card.package-card.has-custom-bg:hover {
    border-color: rgba(251, 191, 36, 0.65) !important;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.25), 0 0 20px rgba(251, 191, 36, 0.15) !important;
}
.product-card.package-card.has-custom-bg.selected {
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.45), inset 0 0 18px rgba(251, 191, 36, 0.10) !important;
}


.pack-render-wrap {
    width: 100%;
    flex: 1 1 auto;
    min-height: 105px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 10px;
    position: relative;
    box-sizing: border-box;
}

.pack-render-img {
    max-width: 85%;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    align-self: center;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card.package-card:hover .pack-render-img,
.extra-card:hover .pack-render-img {
    transform: scale(1.10) translateY(-3px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.9));
}

.pack-info-bottom {
    width: 100%;
    text-align: center;
}

.pack-amount-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-bottom: 8px;
}

.pack-amount {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.pack-unit {
    font-size: 0.72rem;
    color: #38bdf8;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pack-pricing-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pack-old-price {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: line-through;
    font-weight: 600;
}

.pack-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--apex-gold);
    font-family: 'Rajdhani', sans-serif;
}

/* --------------------------------------------------------------------------
   7. EXTRAS / PASES Y MEMBRESÍAS VIP
   -------------------------------------------------------------------------- */
.extras-catalog-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.extras-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.extras-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.extras-title-accent {
    width: 5px;
    height: 18px;
    background: var(--apex-gold);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.extras-item-count {
    font-size: 0.8rem;
    color: var(--apex-text-muted);
    font-weight: 700;
}

.extras-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 100% !important;
}

.extra-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    position: relative !important;
    min-height: 250px !important;
    padding: 14px 12px 10px 12px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Badge en la esquina superior izquierda sin invadir el logo central */
.extra-badge-pill,
.extra-discount-pill {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    font-size: 0.70rem !important;
    font-weight: 900 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    letter-spacing: 0.3px !important;
    z-index: 5 !important;
    font-family: 'Rajdhani', sans-serif !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45) !important;
    pointer-events: none !important;
}

.extra-badge-pill {
    background: rgba(0, 242, 254, 0.95) !important;
    color: #06080f !important;
}

.extra-discount-pill {
    background: rgba(239, 68, 68, 0.95) !important;
    color: #fff !important;
}

/* Contenedor del Logo / Imagen del Pase o Membresía - CENTRADO EN EL MEDIO */
.extra-card .pack-render-wrap {
    width: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 90px !important;
    height: auto !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.extra-card .pack-render-img {
    display: block !important;
    margin: auto !important;
    align-self: center !important;
    max-width: 82% !important;
    max-height: 84px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85)) !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease !important;
}

.extra-card:hover .pack-render-img {
    transform: scale(1.10) translateY(-2px) !important;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.95)) !important;
}

/* Área inferior de información (Nombre, Estado, Precios y Acción) - TEXTOS UNIDOS Y COMPACTOS */
.extra-card .pack-info-bottom {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0px !important;
    z-index: 2 !important;
}

.extra-card .pack-amount-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.extra-card .pack-amount {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: 'Rajdhani', sans-serif !important;
    line-height: 1.05 !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.extra-card .extra-avail-status,
.extra-avail-status {
    font-size: 0.58rem !important;
    color: #10b981 !important;
    font-weight: 700 !important;
    margin: 1px 0 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    line-height: 1 !important;
    text-shadow: 0 0 6px rgba(16, 185, 129, 0.5) !important;
}

.extra-avail-status .avail-dot {
    font-size: 0.50rem !important;
    line-height: 1 !important;
    color: #10b981 !important;
}

.extra-card .pack-pricing-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    width: 100% !important;
}

.extra-card .pack-price {
    font-size: 1.02rem !important;
    font-weight: 900 !important;
    color: #f59e0b !important;
    font-family: 'Rajdhani', sans-serif !important;
    line-height: 1 !important;
    margin: 0 !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.35) !important;
}

.extra-card .pack-old-price {
    font-size: 0.66rem !important;
    color: #64748b !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* Botones alineados y compactos */
.btn-ver-opciones,
.btn-extra-select {
    width: 100% !important;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    padding: 4px 6px !important;
    background: rgba(0, 242, 254, 0.12) !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    border-radius: 7px !important;
    color: #38bdf8 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    font-family: 'Rajdhani', sans-serif !important;
    letter-spacing: 0.3px !important;
    line-height: 1.1 !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    text-align: center !important;
}

.btn-ver-opciones:hover,
.btn-extra-select:hover {
    background: rgba(0, 242, 254, 0.28) !important;
    border-color: #00f2fe !important;
    color: #fff !important;
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* Tarjeta seleccionada con botón en oro */
.extra-card.selected .btn-ver-opciones,
.extra-card.selected .btn-extra-select {
    background: linear-gradient(135deg, #fbbf24, #d97706) !important;
    border-color: #fbbf24 !important;
    color: #0b0f19 !important;
    font-weight: 900 !important;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.5) !important;
}

.extra-selected-info {
    font-size: 0.78rem !important;
    color: #00f2fe !important;
    font-weight: 800 !important;
    margin-top: 4px !important;
    display: none;
}

/* --------------------------------------------------------------------------
   8. PASO 3: CONSOLA DE CHECKOUT & PAGO INMEDIATO (VELOCIDAD PURA)
   -------------------------------------------------------------------------- */
.apex-checkout-card {
    background: var(--apex-glass-panel);
    border: 1px solid var(--apex-border-subtle);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.apex-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
}

@media (max-width: 880px) {
    .apex-checkout-grid {
        grid-template-columns: 1fr;
    }
}

.apex-payment-methods-box {
    background: #080c16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
}

.apex-box-title {
    font-size: 1rem;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.apex-payment-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.payment-badge-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(0, 242, 254, 0.45);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.payment-badge-tile:hover {
    border-color: rgba(0, 242, 254, 0.35);
    border-left-color: #00f2fe;
    background: rgba(0, 242, 254, 0.04);
    transform: translateY(-1px);
}

.payment-badge-tile .tile-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.payment-badge-tile strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.payment-badge-tile .tile-subtext {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.3;
}

.payment-badge-tile .tile-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(0, 242, 254, 0.12);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.25);
    flex-shrink: 0;
}

.payment-badge-tile .tile-tag.tile-tag-gold {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.25);
}

.tile-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
    flex-shrink: 0;
}

.icon-yape { background: #732283; color: #fff; }
.icon-plin { background: #00bcd4; color: #fff; }
.icon-wallet { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.icon-banks { background: #1e293b; color: #94a3b8; }

.tile-text strong {
    display: block;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 700;
}

.tile-text span {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* RESUMEN DEL PEDIDO DENTRO DE PASO 3 */
.apex-order-summary-box {
    background: #080c16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-rows-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #94a3b8;
}

.summary-row-label {
    font-weight: 500;
}

.summary-row-value {
    color: #f8fafc;
    font-weight: 700;
}

.sticky-nick-val {
    color: #00f2fe !important;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.summary-row.total-row {
    padding-top: 4px;
}

.summary-total-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.summary-total-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--apex-gold);
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.btn-step-checkout {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-step-checkout:hover:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

.btn-step-checkout:disabled {
    background: #1e293b;
    color: #64748b;
    box-shadow: none;
    cursor: not-allowed;
}

.trust-guarantees-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

/* --------------------------------------------------------------------------
   9. STICKY MOBILE CHECKOUT BAR
   -------------------------------------------------------------------------- */
.sticky-checkout-bar {
    display: none !important;
}

@media (max-width: 768px) {
    .sticky-checkout-bar {
        display: none !important;
    }
}

.sticky-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-info-item {
    display: flex;
    flex-direction: column;
}

.sticky-info-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.sticky-info-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--apex-gold);
    font-family: 'Rajdhani', sans-serif;
}

.btn-sticky-checkout {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
    white-space: nowrap;
}

.btn-sticky-checkout:disabled {
    background: #1e293b;
    color: #64748b;
    box-shadow: none;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   10. MODAL DE EXTRAS (HR VENTAS / FSTORE GAMER STYLE)
   -------------------------------------------------------------------------- */
.fstore-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.fstore-modal-dialog {
    width: 100%;
    max-width: 480px;
    background: #0d1424;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
}

.fstore-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #080c16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fstore-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.fstore-modal-subtitle {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.fstore-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.fstore-modal-close:hover {
    color: #ffffff;
}

.fstore-modal-info-box {
    margin: 14px 22px 6px;
    padding: 10px 14px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fstore-modal-body {
    padding: 14px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 14px;
}

.modal-option-row:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateX(3px);
}

.modal-option-thumb-wrap {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-option-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-option-details {
    flex: 1;
}

.modal-option-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
}

.modal-option-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.modal-option-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--apex-gold);
    font-family: 'Rajdhani', sans-serif;
}

.modal-option-old-price {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: line-through;
}

.modal-btn-buy {
    padding: 8px 18px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
}

.modal-btn-buy:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

/* --------------------------------------------------------------------------
   11. VALIDATION BADGES & UTILITIES
   -------------------------------------------------------------------------- */
.validation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

.validation-badge.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.validation-badge.success strong {
    color: #fbbf24;
    font-size: 1.05rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.validation-badge.error {
    background: rgba(244, 63, 94, 0.12);
    border: 1.5px solid rgba(244, 63, 94, 0.4);
    color: #fb7185;
}

.validation-badge.warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.input-shake {
    animation: shakeInput 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeInput {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.unlocked-pulse {
    animation: unlockPulseAnim 0.75s ease;
}

@keyframes unlockPulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); border-color: #00f2fe; box-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
    100% { transform: scale(1); }
}

.is-hidden {
    display: none !important;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN DE ALTA PRECISIÓN (TABLETS & CELULARES)
   Garantiza que la vista de recarga sea 100% fluida, rápida y táctil en tablets y móviles
   ========================================================================== */

/* Tablets estándar y grandes (iPad, Galaxy Tab 769px - 1080px) */
@media (min-width: 769px) and (max-width: 1080px) {
    .apex-studio-container {
        max-width: 95%;
        margin: 0 auto;
        padding: 20px 18px 90px;
        gap: 18px;
    }

    /* Hero Bar */
    .apex-hero-bar {
        padding: 16px 20px;
        border-radius: 16px;
        gap: 14px;
        flex-wrap: wrap;
    }
    .apex-hero-icon-wrap {
        width: 56px;
        height: 56px;
    }
    .apex-hero-title-group h1 {
        font-size: 1.45rem;
    }
    .apex-hero-badges {
        gap: 8px;
        flex-wrap: wrap;
    }
    .btn-apex-back {
        display: none !important;
    }

    /* Paso 1: Identificación */
    .apex-quick-id-card {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .uid-styled-input {
        padding: 13px 18px;
        font-size: 1.1rem;
    }
    .btn-verify-uid {
        padding: 13px 22px;
        font-size: 0.95rem;
        min-width: 160px;
    }

    /* Paso 2: Arsenal de Paquetes */
    .apex-catalog-card {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .package-filter-tabs {
        max-width: 480px;
        margin-bottom: 20px;
    }
    .package-filter-btn {
        font-size: 0.82rem !important;
        padding: 8px 12px !important;
        gap: 6px !important;
    }
    .products-grid.packages-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
    .product-card.package-card {
        min-height: 210px !important;
        padding: 22px 10px 14px 10px !important;
        border-radius: 15px !important;
    }
    .extra-card {
        min-height: 235px !important;
        padding: 12px 10px 10px 10px !important;
        border-radius: 15px !important;
    }
    .pack-render-wrap {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 80px !important;
        margin-top: auto !important;
        margin-bottom: 8px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .extra-card .pack-render-wrap {
        width: 100% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 85px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .pack-render-img {
        height: 85px !important;
        max-height: 88px !important;
        width: auto !important;
        max-width: 84% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        align-self: center !important;
        border-radius: 8px !important;
    }
    .extra-card .pack-render-img {
        height: auto !important;
        max-height: 80px !important;
        width: auto !important;
        max-width: 82% !important;
        object-fit: contain !important;
        margin: auto !important;
        align-self: center !important;
        border-radius: 8px !important;
    }
    .pack-amount {
        font-size: 1.05rem !important;
    }
    .pack-unit {
        font-size: 0.7rem !important;
    }
    .pack-price {
        font-size: 1.15rem !important;
    }
    .pack-old-price {
        font-size: 0.78rem !important;
    }
    .product-card.package-card.selected::after {
        width: 22px !important;
        height: 22px !important;
        background-size: 12px 12px !important;
        top: 8px !important;
        right: 8px !important;
    }
    .extras-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 14px !important;
    }

    /* Paso 3: Checkout */
    .apex-checkout-card {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .apex-checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .apex-payment-badges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .apex-order-summary-box {
        padding: 20px 18px;
    }
    .btn-step-checkout {
        height: 52px;
        font-size: 1.05rem;
    }
}

/* Celulares y Pantallas Táctiles (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Ticker Superior */
    .top-announcement-bar {
        height: 32px;
        font-size: 0.72rem;
    }
    .ticker-marquee-group {
        gap: 12px;
        padding-right: 12px;
    }
    .ticker-item {
        gap: 6px;
    }

    /* Contenedor Principal */
    .apex-studio-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: 14px 12px calc(80px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 14px !important;
    }

    /* Hero Bar */
    .apex-hero-bar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 14px 12px !important;
        border-radius: 16px !important;
        gap: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .apex-hero-game-meta {
        gap: 12px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .apex-hero-icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .apex-hero-title-group {
        min-width: 0;
        flex: 1 1 auto;
    }
    .apex-hero-title-group h1 {
        font-size: 1.25rem;
        line-height: 1.2;
        margin: 0;
        word-break: break-word;
    }
    .apex-hero-server-tag {
        font-size: 0.72rem;
        flex-wrap: wrap;
        gap: 4px;
        word-break: break-word;
    }
    .apex-hero-badges {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    .apex-badge-pill {
        padding: 4px 8px !important;
        font-size: 0.68rem !important;
        white-space: nowrap !important;
    }
    .btn-apex-back {
        display: none !important;
    }

    /* Paso 1: ID de Jugador */
    .apex-quick-id-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
    .apex-quick-id-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }
    .apex-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .apex-step-title {
        font-size: 1rem;
    }
    .apex-quick-form-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .apex-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .uid-styled-input {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 14px !important;
        font-size: 1.05rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }
    .btn-verify-uid {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .apex-quick-form-row {
        grid-template-columns: 1fr auto !important;
        gap: 10px !important;
    }
    .uid-unified-box {
        padding: 0 12px !important;
        min-height: 48px !important;
    }
    .uid-verified-nick {
        font-size: 1.02rem !important;
    }
    .uid-verified-id {
        font-size: 0.82rem !important;
    }
    .btn-uid-action {
        padding: 10px 18px !important;
        font-size: 0.92rem !important;
        min-height: 48px !important;
        min-width: 95px !important;
    }
    .validation-badge {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 0.85rem !important;
        padding: 10px 14px !important;
    }

    /* Paso 2: Arsenal de Paquetes */
    .apex-catalog-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
    .apex-catalog-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
    }
    #packageLockNotice {
        font-size: 0.75rem;
    }
    .package-filter-tabs {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px !important;
        padding: 3px !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }
    .package-filter-btn {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 7px 4px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.1px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        gap: 4px !important;
    }
    .products-grid.packages-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding-top: 4px !important;
    }
    .product-card.package-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        min-height: 195px !important;
        padding: 20px 8px 12px 8px !important;
        border-radius: 14px !important;
    }
    .extra-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        min-height: 220px !important;
        padding: 10px 8px 8px 8px !important;
        border-radius: 14px !important;
    }
    .extra-card .pack-render-wrap {
        width: 100% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 80px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .extra-card .pack-render-img {
        height: auto !important;
        max-height: 72px !important;
        width: auto !important;
        max-width: 80% !important;
        object-fit: contain !important;
        margin: auto !important;
        align-self: center !important;
        border-radius: 7px !important;
    }
    .extra-card .pack-info-bottom {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0px !important;
    }
    .extra-card .pack-amount-line {
        min-height: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .extra-card .pack-amount {
        font-size: 0.80rem !important;
        line-height: 1.05 !important;
        letter-spacing: 0.2px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .extra-card .extra-avail-status {
        font-size: 0.56rem !important;
        margin: 1px 0 0 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    .extra-card .pack-pricing-line {
        margin: 2px 0 0 0 !important;
        padding: 0 !important;
        gap: 4px !important;
        line-height: 1 !important;
    }
    .extra-card .pack-price {
        font-size: 0.95rem !important;
        line-height: 1 !important;
    }
    .extra-card .pack-old-price {
        font-size: 0.62rem !important;
        line-height: 1 !important;
    }
    .extra-card .btn-ver-opciones,
    .extra-card .btn-extra-select {
        padding: 3px 5px !important;
        font-size: 0.68rem !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        border-radius: 6px !important;
    }
    .pack-amount {
        font-size: 0.98rem !important;
        line-height: 1.1 !important;
    }
    .pack-unit {
        font-size: 0.62rem !important;
        letter-spacing: 0.3px !important;
    }
    .pack-pricing-line {
        padding: 3px 6px !important;
        gap: 5px !important;
        border-radius: 8px !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 3px !important;
    }
    .pack-price {
        font-size: 1.05rem !important;
    }
    .pack-old-price {
        font-size: 0.72rem !important;
    }
    .product-card.package-card.selected::after {
        width: 20px !important;
        height: 20px !important;
        background-size: 11px 11px !important;
        top: 7px !important;
        right: 7px !important;
        padding: 0 !important;
    }

    /* Extras & Pases VIP */
    .extras-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Paso 3: Consola de Pago / Checkout */
    .apex-checkout-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
    .apex-checkout-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .apex-payment-methods-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }
    .apex-payment-badges-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .payment-badge-tile {
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }
    .tile-text strong {
        font-size: 0.82rem;
    }
    .tile-text span {
        font-size: 0.66rem;
    }
    .apex-order-summary-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }
    .summary-total-value {
        font-size: 1.5rem;
    }
    .btn-step-checkout {
        padding: 13px 18px !important;
        font-size: 1.02rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        height: 50px !important;
    }
    .trust-guarantees-strip {
        gap: 8px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .guarantee-chip {
        font-size: 0.72rem !important;
    }

    /* Barra Sticky Inferior de Pago (Oculta) */
    .sticky-checkout-bar {
        display: none !important;
    }
}

/* Smartphones Compactos (<= 480px) */
@media (max-width: 480px) {
    .apex-studio-container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .apex-hero-bar {
        padding: 12px;
        gap: 10px;
    }
    .apex-hero-title-group h1 {
        font-size: 1.15rem;
    }
    .apex-quick-id-card {
        padding: 14px 10px;
    }
    .apex-catalog-card {
        padding: 14px 10px;
    }
    .package-filter-tabs {
        gap: 3px !important;
        padding: 3px !important;
    }
    .package-filter-btn {
        font-size: 0.65rem !important;
        padding: 6px 2px !important;
        letter-spacing: 0px !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }
    .products-grid.packages-grid {
        gap: 8px !important;
    }
    .extra-card {
        padding: 8px 5px 6px 5px !important;
        min-height: 210px !important;
        border-radius: 12px !important;
    }
    .extra-card .pack-render-wrap {
        width: 100% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 75px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .extra-card .pack-render-img {
        height: auto !important;
        max-height: 68px !important;
        width: auto !important;
        max-width: 78% !important;
        object-fit: contain !important;
        margin: auto !important;
        align-self: center !important;
        border-radius: 6px !important;
    }
    .extra-card .pack-info-bottom {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0px !important;
    }
    .extra-card .pack-amount-line {
        min-height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .extra-card .pack-amount {
        font-size: 0.76rem !important;
        line-height: 1.05 !important;
        letter-spacing: 0.2px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .extra-card .extra-avail-status {
        font-size: 0.54rem !important;
        margin: 1px 0 0 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    .extra-card .pack-pricing-line {
        margin: 1px 0 0 0 !important;
        padding: 0 !important;
        gap: 3px !important;
        line-height: 1 !important;
    }
    .extra-card .pack-price {
        font-size: 0.90rem !important;
        line-height: 1 !important;
    }
    .extra-card .pack-old-price {
        font-size: 0.58rem !important;
        line-height: 1 !important;
    }
    .extra-card .btn-ver-opciones,
    .extra-card .btn-extra-select {
        padding: 2px 4px !important;
        font-size: 0.65rem !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }
    .pack-amount {
        font-size: 0.88rem !important;
    }
    .pack-unit {
        font-size: 0.58rem !important;
    }
    .pack-price {
        font-size: 0.98rem !important;
    }
    .pack-old-price {
        font-size: 0.66rem !important;
    }
    .pack-pricing-line {
        padding: 2px 4px !important;
        gap: 4px !important;
    }
    .product-card.package-card.selected::after {
        width: 18px !important;
        height: 18px !important;
        background-size: 10px 10px !important;
        top: 6px !important;
        right: 6px !important;
        padding: 0 !important;
    }
    .extras-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .apex-badge-pill {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* Smartphones ultra compactos (<= 360px) */
@media (max-width: 360px) {
    .products-grid.packages-grid {
        gap: 6px !important;
    }
    .product-card.package-card {
        padding: 16px 4px 8px 4px !important;
        min-height: 175px !important;
    }
    .extra-card {
        padding: 8px 4px 6px 4px !important;
        min-height: 200px !important;
    }
    .pack-render-wrap {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 64px !important;
        margin-top: auto !important;
        margin-bottom: 5px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .extra-card .pack-render-wrap {
        width: 100% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 70px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .pack-render-img {
        height: 62px !important;
        max-height: 66px !important;
        max-width: 76% !important;
        margin: 0 auto !important;
        align-self: center !important;
        border-radius: 6px !important;
    }
    .extra-card .pack-render-img {
        height: auto !important;
        max-height: 64px !important;
        max-width: 76% !important;
        margin: auto !important;
        align-self: center !important;
        border-radius: 5px !important;
    }
    .pack-amount {
        font-size: 0.82rem !important;
    }
    .pack-price {
        font-size: 0.92rem !important;
    }
    .pack-old-price {
        font-size: 0.64rem !important;
    }
    .package-filter-btn {
        font-size: 0.60rem !important;
        padding: 5px 2px !important;
        letter-spacing: -0.2px !important;
        gap: 2px !important;
    }
    .extras-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .btn-sticky-checkout {
        padding: 9px 14px;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   ULTRA-SMOOTH HARDWARE-ACCELERATED SCROLLING OPTIMIZATIONS (60/120 FPS)
   ========================================================================== */
.product-card.package-card,
.product-pack-card,
.extra-card {
    content-visibility: auto;
    contain-intrinsic-size: 210px;
    contain: layout style;
}

.top-announcement-bar,
.mobile-gamer-dock,
.btn-sticky-checkout,
.checkout-summary-dock,
.payment-fixed-bar {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ticker-marquee-track {
    will-change: transform;
    transform: translateZ(0);
}

/* ==========================================================================
   BADGE TARJETA DE CÓDIGO (ROBLOX) - INTEGRADO LIMPIAMENTE EN INFO DE LA CARD
   ========================================================================== */
.roblox-code-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    margin: 6px auto 6px auto;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.18);
    transition: all 0.22s ease;
    white-space: nowrap;
    width: fit-content;
}

.product-pack-card:hover .roblox-code-pill {
    background: rgba(34, 197, 94, 0.22);
    border-color: #00ff88;
    color: #86efac;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.45);
    transform: scale(1.02);
}

.product-pack-card.selected .roblox-code-pill {
    background: rgba(251, 191, 36, 0.16) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    color: #fde047 !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.25) !important;
    transform: scale(1.02);
}

/* ==========================================================================
   GUÍA STEPPER: CÓMO CANJEAR TU CÓDIGO (ROBLOX & MINECRAFT)
   ========================================================================== */
.roblox-redeem-stepper-wrap {
    background: linear-gradient(165deg, rgba(14, 20, 32, 0.98) 0%, rgba(9, 13, 22, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 26px;
    margin-top: 12px;
    margin-bottom: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.roblox-redeem-header {
    margin-bottom: 26px;
}

.roblox-redeem-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.4px;
    margin: 0 0 4px 0;
}

.roblox-redeem-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.roblox-redeem-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Línea horizontal conectora dorada entre los círculos */
.roblox-redeem-line {
    position: absolute;
    top: 16px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: #d97706;
    z-index: 1;
}

.roblox-redeem-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.roblox-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0b0f19;
    border: 2px solid #f59e0b;
    color: #f59e0b;
    font-size: 0.92rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.roblox-step-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.roblox-step-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    font-family: 'Outfit', sans-serif;
}

.roblox-step-desc strong {
    color: #f1f5f9;
}

.roblox-redeem-link {
    color: #f59e0b;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.roblox-redeem-link:hover {
    color: #fbbf24;
}

/* Responsivo en tablets y móviles */
@media (max-width: 768px) {
    .roblox-redeem-stepper-wrap {
        padding: 18px 16px;
    }
    .roblox-redeem-line {
        display: none;
    }
    .roblox-redeem-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
    .roblox-step-num {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    .roblox-step-title {
        font-size: 0.86rem;
    }
    .roblox-step-desc {
        font-size: 0.74rem;
    }
}

@media (max-width: 480px) {
    .roblox-redeem-steps {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: left;
    }
    .roblox-redeem-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }
    .roblox-step-num {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-top: 2px;
    }
}



