/* ── Network background canvas ───────────────────────────────────── */

.canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Film grain overlay ──────────────────────────────────────────── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.70' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 250px 250px;
}

/* ── Inset border shadow ─────────────────────────────────────────── */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.62);
}

/* ── Ensure page content sits above canvas and overlays ──────────── */

.logo {
    z-index: 2;
}

.container {
    position: relative;
    z-index: 2;
}

footer {
    position: relative;
    z-index: 2;
}