/* ============================================================
   WALLET ENTERPRISE PREMIUM — archivo independiente
   Carga de último para ganar todos los conflictos
   ============================================================ */

/* ── El container principal siempre sobre el canvas ── */
.container {
    position: relative !important;
    z-index: 1 !important;
}

body {
    background: #01030a !important;
}

/* ============================================================
   FOOTER — Rediseño completo limpio y blanco
   ============================================================ */

.bank-footer {
    background: linear-gradient(180deg, rgba(2,6,18,0.96) 0%, rgba(1,3,10,0.99) 100%) !important;
    border-top: none !important;
    margin-top: 80px !important;
    position: relative !important;
    z-index: 2 !important;
}

.bank-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #00d4ff 25%, #a855f7 50%, #d4af37 75%, transparent) !important;
}

/* ── Parte superior ── */
.bank-footer-top {
    padding: 56px 0 44px !important;
    gap: 48px !important;
}

/* ── Brand ── */
.bank-footer-logo {
    width: 38px !important;
    height: 38px !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 8px rgba(0,212,255,0.4)) !important;
}

.bank-footer-brand-name {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
    font-style: normal !important;
    font-family: 'Segoe UI', sans-serif !important;
}

.bank-footer-brand-sub {
    font-size: 0.65rem !important;
    color: rgba(0, 212, 255, 0.65) !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    font-family: 'Segoe UI', sans-serif !important;
    margin-top: 4px !important;
}

/* ── Columnas de navegación ── */
.bank-footer-col-title {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #00d4ff !important;
    margin-bottom: 14px !important;
    font-family: 'Segoe UI', sans-serif !important;
    display: block !important;
}

.bank-footer-col {
    gap: 11px !important;
}

.bank-footer-col a {
    font-size: 0.84rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    font-family: 'Segoe UI', sans-serif !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: block !important;
}

.bank-footer-col a:hover {
    color: #ffffff !important;
    padding-left: 6px !important;
}

/* ── Redes sociales ── */
.bank-social-btn {
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.9rem !important;
    background: rgba(0, 212, 255, 0.04) !important;
    transition: all 0.25s ease !important;
}

.bank-social-btn:hover {
    border-color: #00d4ff !important;
    color: #00d4ff !important;
    background: rgba(0, 212, 255, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.2) !important;
}

/* ── Divisor ── */
.bank-footer-divider {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, transparent) !important;
}

/* ── Parte inferior ── */
.bank-footer-bottom {
    padding: 28px 0 44px !important;
    align-items: center !important;
}

.bank-footer-legal p {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 0 8px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    font-family: 'Segoe UI', sans-serif !important;
}

.bank-footer-legal p strong {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 700 !important;
}

.bank-footer-disclaimer {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.32) !important;
    line-height: 1.6 !important;
}

/* ── Badges ── */
.bank-footer-badges {
    gap: 10px !important;
}

.bank-footer-badge {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-family: 'Segoe UI', sans-serif !important;
    background: rgba(255, 255, 255, 0.03) !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.bank-footer-badge:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
    color: #fff !important;
    background: rgba(0, 212, 255, 0.06) !important;
}

.bank-footer-badge i {
    color: #00d4ff !important;
    opacity: 1 !important;
    font-size: 0.7rem !important;
}

/* ============================================================
   CERTIFICACIONES — perfecto en mobile y desktop
   ============================================================ */

.bank-certs-strip {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, rgba(0,6,20,0.95), rgba(0,3,12,0.98)) !important;
    border: 1px solid rgba(0,212,255,0.18) !important;
    border-radius: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

/* Línea superior degradada */
.bank-certs-strip::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #00d4ff 0%, #a855f7 35%, #d4af37 65%, #06d6a0 100%) !important;
    z-index: 1 !important;
}

/* Sweep animado */
.bank-certs-strip::after {
    content: '' !important;
    position: absolute !important;
    top: 0; left: -100% !important;
    width: 55%; height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.05), transparent) !important;
    animation: certSweep 6s ease-in-out infinite !important;
    pointer-events: none !important;
}

@keyframes certSweep {
    0%   { left: -100%; }
    100% { left: 160%;  }
}

/* Etiqueta superior */
.bank-certs-label {
    display: block !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    letter-spacing: 3.5px !important;
    text-transform: uppercase !important;
    color: rgba(0,212,255,0.65) !important;
    font-family: 'Segoe UI', sans-serif !important;
    padding: 18px 22px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,212,255,0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Lista de pills */
.bank-certs-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    flex: unset !important;
    width: 100% !important;
}

/* Pill individual */
.bank-cert-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 0 !important;
    padding: 16px 12px !important;
    font-family: 'Segoe UI', sans-serif !important;
    text-align: center !important;
    position: relative !important;
    transition: background 0.22s ease, color 0.22s ease !important;
    cursor: default !important;
}

/* Quitar borde derecho en columna 2 */
.bank-cert-pill:nth-child(even) {
    border-right: none !important;
}

/* Quitar borde inferior en últimas 2 pills */
.bank-cert-pill:nth-last-child(-n+2) {
    border-bottom: none !important;
}

/* Si hay número impar (el último ocupa 2 cols) */
.bank-cert-pill:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* Colores de acento por posición */
.bank-cert-pill:nth-child(1) { border-top-left-radius: 0 !important; }
.bank-cert-pill:nth-child(1)::before { background: #06d6a0 !important; }
.bank-cert-pill:nth-child(2)::before { background: #00d4ff !important; }
.bank-cert-pill:nth-child(3)::before { background: #d4af37 !important; }
.bank-cert-pill:nth-child(4)::before { background: #a855f7 !important; }
.bank-cert-pill:nth-child(5)::before { background: #388bfd !important; }

.bank-cert-pill::before {
    content: '' !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 6px currentColor !important;
    animation: certDotPulse 2s ease-in-out infinite !important;
}

.bank-cert-pill:nth-child(1)::before { animation-delay: 0s;    }
.bank-cert-pill:nth-child(2)::before { animation-delay: 0.4s;  }
.bank-cert-pill:nth-child(3)::before { animation-delay: 0.8s;  }
.bank-cert-pill:nth-child(4)::before { animation-delay: 1.2s;  }
.bank-cert-pill:nth-child(5)::before { animation-delay: 1.6s;  }

@keyframes certDotPulse {
    0%,100% { opacity: 0.5; transform: scale(1);   }
    50%      { opacity: 1;   transform: scale(1.4); }
}

.bank-cert-pill:hover {
    background: rgba(255,255,255,0.04) !important;
    color: #ffffff !important;
}

/* ── DESKTOP: fila horizontal ── */
@media (min-width: 768px) {
    .bank-certs-strip {
        flex-direction: row !important;
        align-items: center !important;
    }

    .bank-certs-label {
        white-space: nowrap !important;
        border-bottom: none !important;
        border-right: 1px solid rgba(0,212,255,0.12) !important;
        padding: 24px 24px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .bank-certs-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        flex: 1 !important;
    }

    .bank-cert-pill {
        flex: 1 !important;
        padding: 24px 10px !important;
        border-bottom: none !important;
        border-right: 1px solid rgba(255,255,255,0.05) !important;
        font-size: 0.65rem !important;
    }

    .bank-cert-pill:last-child {
        border-right: none !important;
        grid-column: unset !important;
    }

    .bank-cert-pill:nth-child(even) {
        border-right: 1px solid rgba(255,255,255,0.05) !important;
    }

    .bank-cert-pill:last-child:nth-child(odd) {
        grid-column: unset !important;
    }

    .bank-cert-pill:hover {
        transform: translateY(-1px) !important;
        box-shadow: inset 0 -2px 0 rgba(0,212,255,0.4) !important;
    }
}

/* ── SECCIÓN BASE ── */
#wallet-section {
    background: linear-gradient(160deg, #01030a 0%, #04091a 40%, #060f24 75%, #030710 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 60px 40px !important;
    margin: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* ── FONDO ANIMADO ── */
.wep-bg {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.wep-aurora {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(90px) !important;
    pointer-events: none !important;
}
.wep-aurora-1 {
    width: 600px; height: 500px;
    top: -15%; left: -8%;
    background: radial-gradient(circle, rgba(0,212,255,0.14) 0%, transparent 70%) !important;
    animation: weAurora1 18s ease-in-out infinite;
}
.wep-aurora-2 {
    width: 700px; height: 500px;
    bottom: -10%; right: -8%;
    background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%) !important;
    animation: weAurora2 22s ease-in-out infinite 5s;
}
.wep-aurora-3 {
    width: 450px; height: 450px;
    top: 25%; left: 38%;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%) !important;
    animation: weAurora3 16s ease-in-out infinite 10s;
}

@keyframes weAurora1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(70px,50px) scale(1.12)} }
@keyframes weAurora2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-60px,-35px) scale(1.15)} }
@keyframes weAurora3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(35px,-45px) scale(0.88)} }

.wep-grid {
    position: absolute !important;
    inset: -60px !important;
    background-image:
        linear-gradient(rgba(0,212,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.045) 1px, transparent 1px) !important;
    background-size: 60px 60px !important;
    animation: weGridPan 28s linear infinite;
}
@keyframes weGridPan { 0%{transform:translate(0,0)} 100%{transform:translate(60px,60px)} }

.wep-scanline {
    position: absolute !important;
    top: -2%; left: 0; right: 0;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7) 30%, rgba(0,212,255,0.7) 70%, transparent) !important;
    box-shadow: 0 0 18px rgba(0,212,255,0.5) !important;
    animation: weScan 9s linear infinite;
    z-index: 1 !important;
}
@keyframes weScan { 0%{top:-2%;opacity:0} 4%{opacity:1} 96%{opacity:1} 100%{top:102%;opacity:0} }

.wep-node {
    position: absolute !important;
    width: 8px !important; height: 8px !important;
    border-radius: 50% !important;
}
.wep-node::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid currentColor;
    animation: weRing 3s ease-out infinite;
}
@keyframes weRing { 0%{transform:scale(1);opacity:0.6} 100%{transform:scale(3.5);opacity:0} }

.wep-node-1 { top:14%;left:5%;  background:#00d4ff !important;color:rgba(0,212,255,.5) !important;box-shadow:0 0 16px rgba(0,212,255,1) !important;animation:weF1 10s ease-in-out infinite; }
.wep-node-2 { top:55%;left:93%; background:#d4af37 !important;color:rgba(212,175,55,.5) !important;box-shadow:0 0 16px rgba(212,175,55,1) !important;animation:weF2 13s ease-in-out infinite 2s; }
.wep-node-3 { top:78%;left:20%; background:#06d6a0 !important;color:rgba(6,214,160,.5) !important;box-shadow:0 0 16px rgba(6,214,160,1) !important;animation:weF3 9s ease-in-out infinite 4s; }
.wep-node-4 { top:30%;left:82%; background:#a855f7 !important;color:rgba(168,85,247,.5) !important;box-shadow:0 0 16px rgba(168,85,247,1) !important;animation:weF1 11s ease-in-out infinite 6s; }

@keyframes weF1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(22px,-15px)} 66%{transform:translate(-12px,10px)} }
@keyframes weF2 { 0%,100%{transform:translate(0,0)} 40%{transform:translate(-20px,14px)} 70%{transform:translate(16px,-10px)} }
@keyframes weF3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(26px,-18px)} }

.wep-chart {
    position: absolute !important;
    bottom: 0; left: 0;
    width: 100% !important; height: 140px !important;
    z-index: 0 !important;
}
.wep-chart-fill { stroke: none; }
.wep-fill-1 { fill: url(#chartGrad1); opacity: 0; animation: weFillIn 3.5s ease-out forwards 1s; }
.wep-fill-2 { fill: url(#chartGrad2); opacity: 0; animation: weFillIn 3.5s ease-out forwards 2s; }
@keyframes weFillIn { to { opacity: 1; } }

.wep-chart-line {
    fill: none; stroke: #00d4ff; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1500; stroke-dashoffset: 1500;
    animation: weDraw 5s ease-out forwards 0.5s;
}
.wep-chart-line-2 { stroke: #d4af37 !important; animation-delay: 1.5s; }
@keyframes weDraw { to { stroke-dashoffset: 0; } }

/* ── CONTAINER ── */
#wallet-section .wallet-container {
    position: relative !important;
    z-index: 2 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
}

/* ============================================================
   TICKER BAR
   ============================================================ */
.wps-ticker-bar {
    display: flex !important;
    align-items: center !important;
    background: rgba(0,4,14,0.88) !important;
    border: 1px solid rgba(0,212,255,0.18) !important;
    border-radius: 12px !important;
    margin-bottom: 28px !important;
    overflow: hidden !important;
    height: 46px !important;
    position: relative !important;
    z-index: 3 !important;
}

.wps-live-badge {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 20px !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 2.5px !important;
    color: #06d6a0 !important;
    border-right: 1px solid rgba(0,212,255,0.14) !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    background: rgba(6,214,160,0.05) !important;
}

.wps-live-dot {
    width: 7px !important; height: 7px !important;
    background: #06d6a0 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px rgba(6,214,160,1) !important;
    animation: weLivePulse 1.2s ease-in-out infinite;
    display: inline-block !important;
}
@keyframes weLivePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.65)} }

.wps-ticker-scroll {
    flex: 1 !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.wps-ticker-inner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 24px !important;
    white-space: nowrap !important;
    animation: weTicker 30s linear infinite !important;
    font-size: 0.78rem !important;
    font-family: 'Courier New', monospace !important;
    padding: 0 20px !important;
}
@keyframes weTicker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.tick-item { color: rgba(255,255,255,0.55) !important; }
.tick-item strong { color: #fff !important; font-weight: 700 !important; }
.tick-sep  { color: rgba(0,212,255,0.3) !important; }
.tick-up   { color: #06d6a0 !important; font-weight: 700 !important; }
.tick-down { color: #ef476f !important; font-weight: 700 !important; }
.tick-neu  { color: rgba(255,255,255,0.3) !important; }

/* ============================================================
   METRIC CARDS
   ============================================================ */
.wps-cards-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    margin-bottom: 44px !important;
    position: relative !important;
    z-index: 3 !important;
}

.wps-card {
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
    cursor: default !important;
    min-height: 160px !important;
}

.wps-card-green  { background: linear-gradient(145deg, rgba(2,12,10,0.97), rgba(6,214,160,0.06)) !important; }
.wps-card-gold   { background: linear-gradient(145deg, rgba(12,10,2,0.97), rgba(212,175,55,0.06)) !important; }
.wps-card-blue   { background: linear-gradient(145deg, rgba(2,6,16,0.97), rgba(56,139,253,0.06)) !important; }
.wps-card-purple { background: linear-gradient(145deg, rgba(6,2,16,0.97), rgba(168,85,247,0.06)) !important; }

.wps-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 3px !important;
    border-radius: 20px 20px 0 0 !important;
    z-index: 2 !important;
}
.wps-card-green::before  { background: linear-gradient(90deg, #06d6a0, rgba(6,214,160,0.1)) !important; }
.wps-card-gold::before   { background: linear-gradient(90deg, #d4af37, rgba(212,175,55,0.1)) !important; }
.wps-card-blue::before   { background: linear-gradient(90deg, #388bfd, rgba(56,139,253,0.1)) !important; }
.wps-card-purple::before { background: linear-gradient(90deg, #a855f7, rgba(168,85,247,0.1)) !important; }

.wps-card:hover { transform: translateY(-6px) !important; }
.wps-card-green:hover  { box-shadow: 0 16px 50px rgba(6,214,160,0.25) !important;  border-color: rgba(6,214,160,0.35) !important; }
.wps-card-gold:hover   { box-shadow: 0 16px 50px rgba(212,175,55,0.25) !important; border-color: rgba(212,175,55,0.35) !important; }
.wps-card-blue:hover   { box-shadow: 0 16px 50px rgba(56,139,253,0.25) !important; border-color: rgba(56,139,253,0.35) !important; }
.wps-card-purple:hover { box-shadow: 0 16px 50px rgba(168,85,247,0.25) !important; border-color: rgba(168,85,247,0.35) !important; }

.wps-card-glow {
    position: absolute !important;
    width: 180px !important; height: 180px !important;
    border-radius: 50% !important;
    filter: blur(55px) !important;
    top: -50px; right: -50px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: weGlowPulse 4s ease-in-out infinite;
}
.wps-card-green  .wps-card-glow { background: rgba(6,214,160,0.18) !important; }
.wps-card-gold   .wps-card-glow { background: rgba(212,175,55,0.15) !important; animation-delay: 1s; }
.wps-card-blue   .wps-card-glow { background: rgba(56,139,253,0.16) !important; animation-delay: 2s; }
.wps-card-purple .wps-card-glow { background: rgba(168,85,247,0.16) !important; animation-delay: 3s; }
@keyframes weGlowPulse { 0%,100%{opacity:0.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.18)} }

.wps-card-inner {
    padding: 22px 22px 18px !important;
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.wps-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
}

.wps-card-label {
    font-size: 0.64rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255,255,255,0.32) !important;
    font-weight: 700 !important;
    font-family: 'Segoe UI', sans-serif !important;
}

.wps-trend {
    font-size: 0.57rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
}
.wps-trend-up {
    background: rgba(6,214,160,0.12) !important;
    color: #06d6a0 !important;
    border: 1px solid rgba(6,214,160,0.3) !important;
}

.wps-card-main { margin-bottom: 8px !important; }

.wps-card-value {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    font-family: 'Courier New', monospace !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
}
.wps-green  { color: #06d6a0 !important; text-shadow: 0 0 25px rgba(6,214,160,0.5) !important; }
.wps-gold   { color: #d4af37 !important; text-shadow: 0 0 25px rgba(212,175,55,0.5) !important; }
.wps-blue   { color: #388bfd !important; text-shadow: 0 0 25px rgba(56,139,253,0.5) !important; }
.wps-purple { color: #a855f7 !important; text-shadow: 0 0 25px rgba(168,85,247,0.5) !important; }

.wps-card-sub {
    font-size: 0.67rem !important;
    color: rgba(255,255,255,0.22) !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.3px !important;
}

/* Sparkline area chart */
.wps-spark-svg {
    width: 100% !important;
    height: 34px !important;
    margin-bottom: 10px !important;
    display: block !important;
    overflow: visible !important;
}
.wps-spark-line {
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-dasharray: 300 !important;
    stroke-dashoffset: 300 !important;
    animation: weDraw 2.5s ease-out forwards 0.6s;
}
.wps-sl-green { stroke: #06d6a0 !important; }

/* Bar chart rectangles */
.wps-bbar {
    opacity: 0;
    animation: weBarIn 0.5s ease-out forwards;
}
.wps-bbar:nth-child(1){ animation-delay:0.2s; }
.wps-bbar:nth-child(2){ animation-delay:0.4s; }
.wps-bbar:nth-child(3){ animation-delay:0.6s; }
.wps-bbar:nth-child(4){ animation-delay:0.8s; }
.wps-bbar:nth-child(5){ animation-delay:1.0s; }
.wps-bb-purple { fill: rgba(168,85,247,0.7) !important; }
@keyframes weBarIn {
    from { opacity:0; transform:scaleY(0); transform-origin:100% 100%; }
    to   { opacity:1; transform:scaleY(1); transform-origin:100% 100%; }
}

/* Donut */
.wps-donut-wrap {
    position: relative !important;
    width: 42px !important; height: 42px !important;
    flex-shrink: 0 !important;
}
.wps-donut { width: 42px !important; height: 42px !important; transform: rotate(-90deg) !important; }
.wps-donut-bg  { fill: none !important; stroke: rgba(212,175,55,0.14) !important; stroke-width: 3.5 !important; }
.wps-donut-arc { fill: none !important; stroke-width: 3.5 !important; stroke-linecap: round !important; }
.wps-arc-gold  {
    stroke: #d4af37 !important;
    stroke-dasharray: 0 94.2 !important;
    filter: drop-shadow(0 0 5px rgba(212,175,55,0.7)) !important;
    animation: weDonutFill 2.2s ease-out forwards 0.8s;
}
@keyframes weDonutFill { to { stroke-dasharray: 55 94.2; } }

.wps-donut-val {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    color: #d4af37 !important;
    font-family: 'Courier New', monospace !important;
}

/* Stars */
.wps-stars { display: flex !important; gap: 4px !important; align-items: center !important; }
.wps-star  { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: rgba(56,139,253,0.12) !important; }
.wps-star-on {
    background: #388bfd !important;
    box-shadow: 0 0 7px rgba(56,139,253,0.9) !important;
    animation: weStarPulse 2.5s ease-in-out infinite;
}
.wps-star-on:nth-child(1){ animation-delay:0s; }
.wps-star-on:nth-child(2){ animation-delay:0.2s; }
.wps-star-on:nth-child(3){ animation-delay:0.4s; }
.wps-star-on:nth-child(4){ animation-delay:0.6s; }
.wps-star-on:nth-child(5){ animation-delay:0.8s; }
@keyframes weStarPulse { 0%,100%{opacity:0.45;transform:scale(1)} 50%{opacity:1;transform:scale(1.5)} }

/* Progress bar */
.wps-card-footer {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: auto !important;
}
.wps-bar-track {
    flex: 1 !important;
    height: 5px !important;
    background: rgba(255,255,255,0.06) !important;
    border-radius: 5px !important;
    overflow: hidden !important;
}
.wps-bar-fill {
    height: 100% !important;
    border-radius: 5px !important;
    position: relative !important;
    overflow: hidden !important;
}
.wps-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
    animation: weShimmer 2.5s linear infinite;
}
@keyframes weShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }

.wps-bf-green  { background: linear-gradient(90deg, #06d6a0, rgba(6,214,160,0.4)) !important; }
.wps-bf-gold   { background: linear-gradient(90deg, #d4af37, rgba(212,175,55,0.4)) !important; }
.wps-bf-blue   { background: linear-gradient(90deg, #388bfd, rgba(56,139,253,0.4)) !important; }
.wps-bf-purple { background: linear-gradient(90deg, #a855f7, rgba(168,85,247,0.4)) !important; }

.wps-bar-pct {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.28) !important;
    font-family: 'Courier New', monospace !important;
    flex-shrink: 0 !important;
    width: 32px !important;
    text-align: right !important;
}

/* ============================================================
   WALLET HEADER
   ============================================================ */
#wallet-section .wallet-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    margin-bottom: 36px !important;
    position: relative !important;
    z-index: 3 !important;
}

.wh-divider-line {
    flex: 1 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent) !important;
}

.wh-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.wh-icon-ring {
    width: 62px !important; height: 62px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(0,212,255,0.14), rgba(212,175,55,0.08)) !important;
    border: 1px solid rgba(0,212,255,0.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #00d4ff !important;
    box-shadow: 0 0 35px rgba(0,212,255,0.2), inset 0 1px 0 rgba(255,255,255,0.1) !important;
    animation: weIconPulse 3s ease-in-out infinite;
}
@keyframes weIconPulse { 0%,100%{box-shadow:0 0 20px rgba(0,212,255,0.15)} 50%{box-shadow:0 0 45px rgba(0,212,255,0.35)} }

.wh-title {
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 6px !important;
    text-transform: uppercase !important;
    background: linear-gradient(90deg, #ffffff 0%, #00d4ff 30%, #d4af37 60%, #a855f7 85%, #ffffff 100%) !important;
    background-size: 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 0 !important;
    animation: weTitleMove 5s linear infinite;
    line-height: 1.1 !important;
}
@keyframes weTitleMove { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }

#wallet-section .wallet-status {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.72rem !important;
    color: rgba(255,255,255,0.38) !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

#wallet-section .wallet-status-dot {
    width: 8px !important; height: 8px !important;
    background: #06d6a0 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px rgba(6,214,160,1) !important;
    animation: weDotPulse 1.4s ease-in-out infinite;
    display: inline-block !important;
}
@keyframes weDotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

/* ============================================================
   PORTFOLIO — Activos en Cartera  (colores visibles)
   ============================================================ */

/* ── Header "Activos en Cartera" ── */
.wallet-portfolio {
    background: rgba(2, 8, 22, 0.82) !important;
    border: 1px solid rgba(0, 212, 255, 0.15) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    position: relative !important;
    z-index: 3 !important;
    overflow: hidden !important;
}

.wallet-portfolio::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #00d4ff, #a855f7, #d4af37) !important;
    border-radius: 20px 20px 0 0 !important;
}

.portfolio-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 28px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
}

.portfolio-header h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: #ffffff !important;
    font-family: 'Segoe UI', sans-serif !important;
    font-style: normal !important;
    margin: 0 !important;
}

.portfolio-total {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
}

.portfolio-total-label {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 600 !important;
}

.portfolio-total-value {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    font-family: 'Courier New', monospace !important;
    color: #d4af37 !important;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
    letter-spacing: -1px !important;
}

/* ── Tabla de activos ── */
.bk-assets-table {
    border: 1px solid rgba(0, 212, 255, 0.12) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: rgba(0, 5, 18, 0.6) !important;
}

.bk-assets-thead {
    background: rgba(0, 212, 255, 0.06) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.12) !important;
    padding: 14px 24px !important;
}

.bk-th {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: rgba(0, 212, 255, 0.7) !important;
    font-family: 'Segoe UI', sans-serif !important;
    text-transform: uppercase !important;
}

.bk-asset-row {
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: background 0.2s !important;
}

.bk-asset-row:hover {
    background: rgba(0, 212, 255, 0.05) !important;
}

.bk-asset-badge {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    font-size: 1.1rem !important;
}

.bk-asset-symbol {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #ffffff !important;
    font-family: 'Segoe UI', sans-serif !important;
}

.bk-asset-name {
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: 'Segoe UI', sans-serif !important;
    text-transform: none !important;
    font-style: normal !important;
}

.bk-asset-balance {
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-family: 'Courier New', monospace !important;
    color: #ffffff !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
}

.bk-asset-usd {
    font-size: 1rem !important;
    font-weight: 700 !important;
    font-family: 'Courier New', monospace !important;
    color: #d4af37 !important;
    font-style: normal !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

/* ── Sección de Contratos ── */
.bk-contracts-section {
    margin-top: 32px !important;
}

.bk-contracts-eyebrow {
    font-size: 0.6rem !important;
    letter-spacing: 3px !important;
    color: rgba(0, 212, 255, 0.5) !important;
    font-family: 'Segoe UI', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.bk-contracts-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-family: 'Segoe UI', sans-serif !important;
    font-style: normal !important;
    letter-spacing: 0.5px !important;
}

.bk-contracts-header-line {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), transparent) !important;
}

/* ── Tarjetas de contrato ── */
.bk-contract-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 22px 20px 18px !important;
    background: rgba(5, 10, 30, 0.8) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.bk-contract-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.bk-contract-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(0, 212, 255, 0.25) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.bk-contract-card--active {
    border-color: rgba(45, 212, 191, 0.35) !important;
    background: rgba(45, 212, 191, 0.05) !important;
}

.bk-contract-card--active::before {
    background: linear-gradient(90deg, #2dd4bf, rgba(45, 212, 191, 0.2)) !important;
}

.bk-contract-code {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
    font-family: 'Courier New', monospace !important;
}

.bk-contract-status {
    font-size: 0.62rem !important;
    letter-spacing: 1px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
}

.bk-contract-status--active {
    color: #2dd4bf !important;
    text-shadow: 0 0 8px rgba(45, 212, 191, 0.6) !important;
}

.bk-status-dot {
    width: 6px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.bk-status-dot--active {
    background: #2dd4bf !important;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.9) !important;
    animation: weDotPulse 1.4s ease-in-out infinite !important;
}

.bk-contract-label {
    font-size: 0.65rem !important;
    letter-spacing: 1px !important;
    color: rgba(255, 255, 255, 0.35) !important;
    font-family: 'Segoe UI', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
}

.bk-contract-amount {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    font-family: 'Courier New', monospace !important;
    color: #ffffff !important;
    font-style: normal !important;
    letter-spacing: -0.5px !important;
    line-height: 1 !important;
}

.bk-contract-usd {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    font-family: 'Courier New', monospace !important;
    color: #d4af37 !important;
    letter-spacing: 0.5px !important;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .wps-cards-row { grid-template-columns: repeat(2, 1fr) !important; }
    .bk-contracts-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    .wps-cards-row { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .wps-card-inner { padding: 16px 14px 14px !important; }
    .wps-card-value { font-size: 1.5rem !important; }
    .wh-title { font-size: 1.7rem !important; letter-spacing: 3px !important; }
    #wallet-section { padding: 40px 20px !important; }
    .bk-contracts-grid { grid-template-columns: 1fr !important; }
    .wallet-portfolio { padding: 20px !important; }
}
