* {
    margin: 0;
    padding: 0;
}
#world {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#controls {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 5px;
    font-family: monospace;
    z-index: 1000;
}

#speed-display {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 20px;
    font-family: monospace;
    z-index: 1000;
}

#coords-display {
    position: absolute;
    bottom: 50px; /* Position it above the speed display */
    right: 20px;
    color: white;
    font-size: 16px;
    font-family: monospace;
    z-index: 1000;
}

#kill-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-family: monospace;
    z-index: 1003;
}

#hit-counter {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-family: monospace;
    z-index: 1003;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

#crosshair::before, #crosshair::after {
    content: '';
    position: absolute;
    background-color: white;
}

#crosshair::before {
    width: 2px;
    height: 10px;
    left: 9px;
    top: -12px;
}

#crosshair::after {
    height: 2px;
    width: 10px;
    top: 9px;
    left: -12px;
}

#radar {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 50%;
    overflow: hidden;
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
}

#radar .concentric-circle {
    position: absolute;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 50%;
}

#radar .concentric-circle:nth-child(1) { width: 40px; height: 40px; }
#radar .concentric-circle:nth-child(2) { width: 80px; height: 80px; }
#radar .concentric-circle:nth-child(3) { width: 120px; height: 120px; }
#radar .concentric-circle:nth-child(4) { width: 160px; height: 160px; }
#radar .concentric-circle:nth-child(5) { width: 200px; height: 200px; }

#radar .blip {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: red;
    border-radius: 50%;
}

#radar::before, #radar::after {
    content: '';
    position: absolute;
    background-color: rgba(0, 255, 0, 0.5);
}

#radar::before { /* Vertical line */
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#radar::after { /* Horizontal line */
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}
