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

body {
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.font-geist-mono {
    font-family: monospace;
    letter-spacing: -0.05em;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
}

#crosshair::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

#crosshair::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.warning-flash {
    animation: flash 0.5s infinite alternate;
}

@keyframes flash {
    from {
        background-color: rgba(255, 0, 0, 0.5);
    }
    to {
        background-color: rgba(255, 0, 0, 0);
    }
}
