/* css/theme.css */

/* ⚡ Hardware-Accelerated Glassmorphism ⚡ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    /* Force GPU rendering for smoother scrolling on mobile */
    transform: translateZ(0); 
    will-change: transform, opacity;
}

/* Dark Mode Glass */
html.dark .glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Live Market Number Updates */
.live-value {
    font-variant-numeric: tabular-nums; /* Prevents text shifting when numbers change */
    transition: color 0.3s ease;
}

/* Base Terminal Colors */
:root {
    --brand-primary: #4f46e5;
    --brand-success: #10b981;
    --brand-danger: #f43f5e;
    --brand-warning: #f59e0b;
}

/* Text Selection Highlighting */
::selection {
    background: var(--brand-primary);
    color: white;
}