* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    position: relative;
    width: 800px;
    height: 600px;
}

canvas {
    background: #000;
    border: 2px solid #333;
    border-radius: 8px;
}

.hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: flex;
    gap: 20px;
    font-size: 1.2em;
    text-shadow: 0 0 10px #0ff;
}

.menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 2em;
    border-radius: 15px;
    border: 2px solid #0ff;
}

.menu h1 {
    color: #0ff;
    margin-bottom: 1em;
    font-size: 2.5em;
    text-shadow: 0 0 10px #0ff;
}

#startBtn {
    background: #0ff;
    color: #000;
    border: none;
    padding: 1em 2em;
    font-size: 1.2em;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1em 0;
}

#startBtn:hover {
    background: #fff;
    transform: scale(1.1);
}

.high-score {
    color: #0ff;
    font-size: 1.2em;
    margin-top: 1em;
}

.mobile-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 20px;
}

.mobile-controls button {
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid #0ff;
    color: #0ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 800px) {
    .game-container {
        width: 100%;
        height: 100vh;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    canvas {
        width: 100%;
        height: 100%;
    }
} 