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

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background-color: #050a20;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background-image: radial-gradient(circle at center, #101540 0%, #050a20 100%);
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(20, 30, 60, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.4), 
                inset 0 0 20px rgba(0, 150, 255, 0.3);
    border: 2px solid #0066aa;
}

.game-header {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.game-header h1 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.7),
                 0 0 20px rgba(0, 100, 255, 0.5);
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(0, 150, 255, 0.3);
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.7);
    margin-top: 5px;
}

.game-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2rem;
    padding: 0 20px;
    background-color: rgba(0, 20, 50, 0.7);
    border-radius: 10px;
    padding: 10px 20px;
    text-shadow: 0 0 5px #00ccff;
}

#gameCanvas {
    background-color: #000;
    border: 3px solid #006699;
    border-radius: 8px;
    width: 600px;
    height: 600px;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
}

.controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

button {
    background-color: #0b2144;
    color: #00ddff;
    border: 2px solid #0088cc;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 5px rgba(0, 200, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.3),
                inset 0 0 5px rgba(0, 150, 255, 0.2);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

button:hover {
    background-color: #0088cc;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.7);
    transform: scale(1.05);
}

.mobile-controls {
    display: none;
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
}

#startButton {
    margin-bottom: 15px;
    width: 140px;
    height: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, #0b2755, #0b2144);
}

#leftButton, #rightButton, #fireButton {
    width: 80px;
    height: 60px;
    font-size: 1.8rem;
    border-radius: 12px;
}

#fireButton {
    background: linear-gradient(to bottom, #991100, #661100);
    color: #ffcc00;
    border-color: #aa3300;
    width: 120px;
}

#fireButton:hover {
    background: linear-gradient(to bottom, #cc2200, #991100);
}

.score, .lives {
    position: relative;
    padding: 5px 15px;
}

/* Responsive Design für mobile Geräte */
@media (max-width: 800px) {
    #gameCanvas {
        width: 350px;
        height: 500px;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .game-container {
        padding: 15px;
    }
    
    .game-header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
} 