/* ========== ESCALA NEOROBOTINO MODERN CSS ========== */ :root { /* Colores principales - INVERTIDOS */ --buy-green: #ff4757; /* COMPRA ahora ROJO */ --sell-red: #00ff88; /* VENTA ahora VERDE */ --neutral-blue: #4a90e2; --warning-yellow: #feca57; --deep-dark: #0a0a0a; --dark-surface: #1a1a1a; --glass-white: rgba(255, 255, 255, 0.08); --glass-green: rgba(0, 255, 136, 0.1); --glass-red: rgba(255, 71, 87, 0.1); --text-primary: #ffffff; --text-secondary: #b8bcc8; --animation-curve: cubic-bezier(0.4, 0, 0.2, 1); } /* ========== PARTICLE SYSTEM ========== */ .particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; } .particle { position: absolute; width: 2px; height: 2px; background: var(--neutral-blue); border-radius: 50%; box-shadow: 0 0 4px var(--neutral-blue); animation: floatParticle 15s linear infinite; opacity: 0.4; } .particle.green { background: var(--sell-red); /* Ahora verde para venta */ box-shadow: 0 0 4px var(--sell-red); } .particle.red { background: var(--buy-green); /* Ahora rojo para compra */ box-shadow: 0 0 4px var(--buy-green); } @keyframes floatParticle { 0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; } 10% { opacity: 0.4; } 90% { opacity: 0.4; } 100% { transform: translateY(-100vh) translateX(50px) rotate(360deg); opacity: 0; } } /* ========== CARDS MEJORADAS ========== */ .card { background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s var(--animation-curve); position: relative; } /* Efecto shine sin rotación */ .card::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent ); transition: left 0.8s; pointer-events: none; } .card:hover::after { left: 100%; } .card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); } /* Cards específicas BUY/SELL - COLORES INVERTIDOS */ #export-escala-buy .card { border-color: rgba(255, 71, 87, 0.2); /* COMPRA ahora rojo */ background: linear-gradient(135deg, rgba(255, 71, 87, 0.03) 0%, rgba(26, 26, 26, 0.8) 100% ); } #export-escala-buy .card:hover { box-shadow: 0 15px 40px rgba(255, 71, 87, 0.15); border-color: rgba(255, 71, 87, 0.4); } #export-escala-sell .card { border-color: rgba(0, 255, 136, 0.2); /* VENTA ahora verde */ background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(26, 26, 26, 0.8) 100% ); } #export-escala-sell .card:hover { box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15); border-color: rgba(0, 255, 136, 0.4); } /* ========== TÍTULOS ANIMADOS ========== */ h3, h5 { position: relative; transition: all 0.3s ease; } #export-escala-buy h3 { color: var(--buy-green); /* COMPRA ahora rojo */ text-shadow: 0 0 20px rgba(255, 71, 87, 0.5); } #export-escala-sell h3 { color: var(--sell-red); /* VENTA ahora verde */ text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); } /* ========== BOTONES MEJORADOS ========== */ .btn { position: relative; overflow: hidden; transition: all 0.3s var(--animation-curve); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; } .btn-light { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.2); } .btn-light:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1); color: var(--text-primary); } /* Ripple effect en botones */ .btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn:active::before { width: 300px; height: 300px; } /* ========== TABLA DINÁMICA ========== */ #escala-buy table, #escala-sell table { width: 100%; background: rgba(0, 0, 0, 0.3); border-radius: 8px; overflow: hidden; margin-top: 1rem; } #escala-buy table th, #escala-sell table th { background: rgba(255, 255, 255, 0.05); padding: 1rem; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } #escala-buy table td, #escala-sell table td { padding: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease; } #escala-buy table tr:hover td { background: rgba(255, 71, 87, 0.05); /* COMPRA ahora rojo */ } #escala-sell table tr:hover td { background: rgba(0, 255, 136, 0.05); /* VENTA ahora verde */ } /* ========== MODAL ENHANCEMENTS ========== */ .modal-content { background: rgba(20, 20, 20, 0.95) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); animation: modalEntry 0.3s ease-out; } @keyframes modalEntry { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* ========== LOADING ANIMATION ========== */ .loading-animation { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: var(--neutral-blue); animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ========== FADE IN ANIMATIONS ========== */ .fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.6s var(--animation-curve); } .fade-in-up.visible { opacity: 1; transform: translateY(0); } /* ========== CLOSE BUTTON ENHANCEMENT ========== */ .zmdi-close { transition: all 0.3s ease; cursor: pointer; opacity: 0.7; } .zmdi-close:hover { transform: rotate(90deg); opacity: 1; color: var(--sell-red); /* Mantiene el color original para cerrar */ } /* ========== TIME LABELS ========== */ #time1, #time2 { font-size: 0.8em; opacity: 0.7; font-weight: normal; margin-left: 1rem; } /* ========== GRID BACKGROUND ========== */ .content-wrapper::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 50px 50px; z-index: -1; pointer-events: none; } /* ========== HOVER GLOW ========== */ .glow-hover { transition: all 0.3s ease; } .glow-hover:hover { filter: brightness(1.2); text-shadow: 0 0 20px currentColor; } /* ========== PULSE EFFECT ========== */ .pulse { animation: pulse 2s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } } /* ========== RESPONSIVE ========== */ @media (max-width: 768px) { .particles-container { display: none; } .card { margin-bottom: 1rem; } h3 { font-size: 1.5rem; } table { font-size: 0.85rem; } .btn { padding: 0.5rem 1rem; font-size: 0.85rem; } } /* ========== SCROLLBAR PERSONALIZADO ========== */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--deep-dark); } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--buy-green), var(--sell-red)); /* Gradiente invertido */ border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--neutral-blue); }