/* ─── No Man's Space — Styles ────────────────────────────────────────── */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(ellipse at 30% 20%, #0d1b2a 0%, #0a0f1a 50%, #000 100%);
    font-family: 'Outfit', sans-serif;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* ─── Canvas ─────────────────────────────────────────────────────────── */

canvas {
    display: block;
    background: #000;
    border-radius: 6px;
    box-shadow:
        0 0 60px rgba(0, 100, 255, 0.2),
        0 0 120px rgba(0, 60, 180, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 100, 255, 0.15);
    position: relative;
    z-index: 1;
}

/* ─── CRT Scanline Overlay ───────────────────────────────────────────── */

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    mix-blend-mode: multiply;
}

/* Subtle vignette around edges */
.crt-overlay::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
}