/* ADS-B Radar Display - Sci-Fi Theme */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000508;
    /*cursor: none;*/
    font-family: 'Share Tech Mono', monospace;
    color: #b2ebf2;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

#radar-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Canvas layers - stacked, fill viewport */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#mapLayer      { z-index: 1; }
#effectsLayer  { z-index: 2; }
#trailLayer    { z-index: 3; }
#aircraftLayer { z-index: 4; }
#hudLayer      { z-index: 5; }

/* CRT-like ambient glow effect on the whole page */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 229, 255, 0.02) 0%,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
}
