* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: none;
}

#gameCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a472a 0%, #0d1b0e 50%, #2d5a1e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#menu h1 {
    font-size: 80px;
    color: #4aff4a;
    text-shadow: 0 0 20px #00ff00, 0 0 40px #00aa00, 4px 4px 0 #003300;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

#menu p {
    font-size: 22px;
    color: #aaffaa;
    margin-bottom: 30px;
}

#startBtn, #restartBtn {
    font-size: 36px;
    padding: 15px 60px;
    background: #4aff4a;
    color: #0d1b0e;
    border: 4px solid #00aa00;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s;
}

#startBtn:hover, #restartBtn:hover {
    background: #7fff7f;
    transform: scale(1.05);
    box-shadow: 0 0 30px #4aff4a;
}

.controls-info {
    margin-top: 30px;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 15px;
    border: 2px solid #4aff4a;
}

.controls-info p {
    font-size: 18px;
    color: #88ff88;
    margin: 5px 0;
}

#hud {
    position: fixed;
    top: 15px; left: 15px;
    z-index: 10;
    display: none;
}

#hud div {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    margin: 4px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #4aff4a;
}

#health div, #health { color: #ff4a4a; }
#score { border-color: #ffdd4a !important; }
#wave { border-color: #4aafff !important; }

#hp { color: #ff6666; }
#pts { color: #ffdd4a; }
#wv { color: #4aafff; }
#zLeft { color: #ff66ff; }

#crosshair {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 0 5px #000, 0 0 10px #000;
    display: none;
    font-weight: bold;
}

#gameOver {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#gameOver h1 {
    font-size: 60px;
    color: #ff4a4a;
    text-shadow: 0 0 20px #ff0000;
    margin-bottom: 20px;
}

#gameOver p {
    font-size: 30px;
    color: #ffdd4a;
    margin-bottom: 30px;
}
