body {
    margin: 0;
    padding: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.radar-container {
    position: relative;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #001100 0%, #000000 100%);
    border: 2px solid #00ff00;
    border-radius: 50%;
    box-shadow: 
        0 0 20px #00ff00,
        inset 0 0 20px #001100;
}

.radar-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.radar-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.range-circle {
    position: absolute;
    border: 1px solid #00ff00;
    border-radius: 50%;
    opacity: 0.4;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.range-circle:nth-child(1) { width: 20%; height: 20%; }
.range-circle:nth-child(2) { width: 40%; height: 40%; }
.range-circle:nth-child(3) { width: 60%; height: 60%; }
.range-circle:nth-child(4) { width: 80%; height: 80%; }
.range-circle:nth-child(5) { width: 100%; height: 100%; }

.crosshairs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.crosshairs::before,
.crosshairs::after {
    content: '';
    position: absolute;
    background: #00ff00;
    opacity: 0.4;
}

.crosshairs::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.crosshairs::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.sweep-line {
    position: absolute;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, #00ff00, transparent);
    top: 50%;
    left: 50%;
    transform-origin: left center;
    animation: radar-sweep 3s linear infinite;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-contacts {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.blip {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff00;
    animation: blip-fade 4s ease-in-out infinite;
}

@keyframes blip-fade {
    0%, 75% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

.info-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #00ff00;
    font-size: 12px;
    text-shadow: 0 0 5px #00ff00;
}

.sweep-trail {
    position: absolute;
    width: 50%;
    height: 2px;
    top: 50%;
    left: 50%;
    transform-origin: left center;
    background: linear-gradient(to right, rgba(0,255,0,0.3), transparent);
    animation: radar-sweep 3s linear infinite;
    animation-delay: -0.1s;
}

.bearing-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #00ff00;
    font-size: 10px;
    opacity: 0.6;
}

.bearing-mark {
    position: absolute;
    transform-origin: center;
}

.center-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #00ff00;
}
