/* Neural Nexus Styles */
body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: 'JetBrains Mono', monospace;
}

#graph-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#nexus-hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    pointer-events: none; /* Allow click-through */
}

.hud-panel {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    backdrop-filter: blur(8px);
    padding: 15px;
    border-radius: 4px;
    pointer-events: auto;
    color: #e2e8f0;
    max-width: 300px;
    margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.hud-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #06b6d4; /* Cyan */
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    padding-bottom: 5px;
}

#node-info {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 10;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 4px;
    color: #94a3b8;
}

.stat-val {
    color: #fff;
    font-weight: bold;
}

/* Controls */
.controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.nexus-btn {
    background: rgba(0,0,0,0.5);
    border: 1px solid #06b6d4;
    color: #06b6d4;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nexus-btn:hover {
    background: #06b6d4;
    color: #000;
    box-shadow: 0 0 10px #06b6d4;
}

/* Loading Overlay */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.loader-text {
    color: #06b6d4;
    font-size: 1.2rem;
    margin-top: 15px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
