/* Additional UI Enhancements for Pro Trading Terminal */ /* Glassmorphism Effects */ .glass-card { background: rgba(17, 24, 39, 0.4); backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } /* Neon Glow Effects */ .neon-text { text-shadow: 0 0 5px rgba(102, 126, 234, 0.5), 0 0 10px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.2); } .neon-border { border: 1px solid var(--primary); box-shadow: 0 0 5px rgba(102, 126, 234, 0.5), 0 0 10px rgba(102, 126, 234, 0.3), inset 0 0 10px rgba(102, 126, 234, 0.1); } /* Price Movement Animations */ .price-up { color: var(--success) !important; animation: priceFlash 0.5s ease; } .price-down { color: var(--danger) !important; animation: priceFlash 0.5s ease; } @keyframes priceFlash { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; transform: scale(1.05); } } /* Market Data Table Enhancements */ .market-table { width: 100%; border-collapse: separate; border-spacing: 0; } .market-table thead { position: sticky; top: 0; z-index: 10; background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(10px); } .market-table th { padding: 15px 12px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); border-bottom: 2px solid var(--border); } .market-table td { padding: 15px 12px; border-bottom: 1px solid var(--border-light); font-size: 14px; } .market-table tbody tr { transition: all 0.2s; } .market-table tbody tr:hover { background: rgba(102, 126, 234, 0.05); transform: scale(1.01); } .market-table .coin-info { display: flex; align-items: center; gap: 10px; } .market-table .coin-icon { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; } .market-table .coin-symbol { font-weight: 700; color: var(--text-primary); } .market-table .coin-name { font-size: 12px; color: var(--text-secondary); } .market-table .price { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 15px; } .market-table .change-positive { color: var(--success); font-weight: 600; } .market-table .change-negative { color: var(--danger); font-weight: 600; } /* Chart Container Enhancements */ .chart-container { position: relative; height: 300px; padding: 20px; background: rgba(17, 24, 39, 0.4); border-radius: 12px; border: 1px solid var(--border); } .chart-container canvas { max-height: 100%; } /* Sentiment Visualization */ .sentiment-meter { width: 100%; height: 20px; background: linear-gradient(90deg, var(--danger) 0%, var(--warning) 25%, var(--text-secondary) 50%, var(--info) 75%, var(--success) 100% ); border-radius: 10px; position: relative; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); } .sentiment-indicator { position: absolute; top: -5px; width: 30px; height: 30px; background: white; border: 3px solid var(--primary); border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); transition: left 0.5s ease; } /* Model Status Grid */ .model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; } .model-card { background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: all 0.3s; position: relative; overflow: hidden; } .model-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-purple); transform: scaleX(0); transition: transform 0.3s; } .model-card:hover::before { transform: scaleX(1); } .model-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2); } .model-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .model-name { font-weight: 600; font-size: 14px; color: var(--text-primary); } .model-badge { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .model-badge.loaded { background: rgba(16, 185, 129, 0.2); color: var(--success); } .model-badge.failed { background: rgba(239, 68, 68, 0.2); color: var(--danger); } .model-badge.loading { background: rgba(245, 158, 11, 0.2); color: var(--warning); } /* News Card */ .news-card { background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 15px; transition: all 0.3s; cursor: pointer; } .news-card:hover { border-color: var(--primary); transform: translateX(5px); box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2); } .news-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; } .news-title { font-weight: 600; font-size: 16px; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; } .news-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; } .news-source { font-weight: 600; color: var(--primary); } .news-content { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; } /* API Explorer */ .api-request-panel { background: rgba(17, 24, 39, 0.6); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; } .api-response { background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border); border-radius: 8px; padding: 15px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #a5d6ff; max-height: 500px; overflow-y: auto; white-space: pre-wrap; word-wrap: break-word; } .api-response .json-key { color: #79c0ff; } .api-response .json-string { color: #a5d6ff; } .api-response .json-number { color: #79c0ff; } .api-response .json-boolean { color: #ff7b72; } /* Skeleton Loading */ .skeleton { background: linear-gradient( 90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75% ); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: 8px; } @keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .skeleton-text { height: 16px; margin-bottom: 10px; } .skeleton-title { height: 24px; width: 60%; margin-bottom: 15px; } /* Empty State */ .empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); } .empty-state-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; } .empty-state-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); } .empty-state-message { font-size: 14px; margin-bottom: 20px; } /* Pulse Animation for Live Data */ .live-indicator { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .live-dot { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: pulse 2s infinite; } /* Responsive Grid Improvements */ @media (max-width: 1200px) { .model-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } } @media (max-width: 768px) { .chart-container { height: 250px; padding: 15px; } .market-table th, .market-table td { padding: 10px 8px; font-size: 12px; } .market-table .coin-icon { width: 24px; height: 24px; } .model-grid { grid-template-columns: 1fr; } .news-card { padding: 15px; } }