/* Network Topology Background Animation - CSP Compliant */
/* Unique animated network visualization for PQCrypta Proxy */

.network-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d1520 50%, #0a1525 100%);
}

.network-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlay gradient for better text readability */
.network-bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 15, 0.3) 70%, rgba(10, 10, 15, 0.6) 100%),
        linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.2) 100%);
    pointer-events: none;
}

/* Reduced motion support - animation JS should handle pausing */
@media (prefers-reduced-motion: reduce) {
    /* Canvas remains visible, JS handles animation pausing */
}

/* Performance optimization for lower-end devices */
@media (max-width: 768px) {
    .network-bg-canvas {
        /* Reduce canvas resolution on mobile */
        image-rendering: pixelated;
    }
}
