@import url('./design-tokens.css');
/* Glass Refraction & Immersive Visuals v1.0 */

:root {
    --glass-blur: 5px; /* Weiter reduziert für maximale Performance */
    --glass-opacity: 0.1;
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --neural-glow: rgba(100, 149, 237, 0.3);
}

body {
    overflow: hidden; /* Prevent scrollbars during intro zoom */
}

/* Glass Panels with Clean Transparency (No Blur for Performance) */
.glass-panel, .base-window, .unified-window {
    background: rgba(10, 15, 25, 0.45); /* Reduziert von 0.85 für bessere Transparenz-Kompatibilität */
    border: var(--glass-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.glass-panel:hover, .unified-window:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

/* NeuralActivity Glow for Topbar */
.neural-central-node.searching::after {
    content: '';
    position: absolute;
    top: -10%; left: -10%; width: 120%; height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neural-glow) 0%, transparent 70%);
    animation: neural-pulse 2s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

@keyframes neural-pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(0.8); opacity: 0.3; }
}

.neural-central-node.discovery-pending::after {
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    animation: discovery-alert 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes discovery-alert {
    from { opacity: 0.4; transform: scale(1); }
    to { opacity: 0.9; transform: scale(1.3); filter: brightness(1.5); }
}

/* Neural Dashboard Logo Activity */
#brand-logo {
    transition: all 0.5s ease;
    border: 2px solid transparent;
}

#brand-logo.searching {
    box-shadow: 0 0 20px rgba(100, 149, 237, 0.6);
    border-color: rgba(100, 149, 237, 1);
    animation: branding-pulse 1.5s infinite ease-in-out;
}

#brand-logo.discovery-pending {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 215, 0, 1);
    animation: branding-pulse 1s infinite alternate ease-in-out;
}

@keyframes branding-pulse {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.05); filter: brightness(1.3); }
}

/* Canvas-Sichtbarkeit während Ladesequenz */
body.loading .main-canvas {
    opacity: 0;
}

body.loaded .main-canvas {
    opacity: 1;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fade-in-zoom {
    from { opacity: 0; }
    to { opacity: 1; }
}




