* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none; /* Verhindert das Scrollen am Handy beim Wischen */
}

body {
    background-color: #050505;
    color: #0ff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#game-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    pointer-events: none; /* Klicks gehen durch das UI aufs Canvas... */
    z-index: 10;
}

/* ...außer bei Buttons! */
#ui button {
    pointer-events: auto;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cyber-btn {
    background: rgba(0, 255, 255, 0.1);
    color: #0ff;
    border: 2px solid #0ff;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px #0ff;
    transition: 0.2s;
}

.cyber-btn:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

#pause-screen {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 5, 0.8);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

canvas {
    background-color: #0a0a12;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    cursor: crosshair;
    max-width: 100vw;
    max-height: 100vh;
}