body { 
    background-color: #000; 
    color: #fff; 
    overflow: hidden; /* Canvas handles scroll */
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: all; 
}

#ui-layer {
    position: relative;
    z-index: 10;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(13, 13, 22, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(97, 97, 226, 0.4);
    box-shadow: 0 0 20px rgba(97, 97, 226, 0.1);
    transform: translateY(-2px);
}

.holo-border {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(100, 211, 227, 0.5), transparent) 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

.loader {
    border: 2px solid rgba(255,255,255,0.1);
    border-left-color: #6161E2;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Nav Active State */
.nav-active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 2px solid #64D3E3;
}