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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    color: #fff;
}

.game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    background: #000011;
}

.hud {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
    pointer-events: none;
}

.game-over, .start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border: 3px solid #fff;
    z-index: 100;
}

.game-over h1, .start-screen h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
}

.game-over p, .start-screen p {
    font-size: 24px;
    margin: 10px 0;
}

.start-screen p {
    font-size: 18px;
    color: #aaa;
}

button {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    background: #ff0;
    color: #000;
    border: 2px solid #fff;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

button:hover {
    background: #ff6;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

.hidden {
    display: none;
}

