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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.game-container {
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
    color: #ffd700;
    letter-spacing: 8px;
}

.info-bar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.score, .lives, .level {
    padding: 10px 20px;
}

#score {
    color: #00ff88;
    font-weight: bold;
}

#lives {
    color: #ff6b6b;
    font-weight: bold;
}

#level {
    color: #ffd700;
    font-weight: bold;
}

#gameCanvas {
    border: 4px solid #ffd700;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 50px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, #0a0a1a 0%, #1a1a3a 100%);
    display: block;
    margin: 0 auto;
}

.controls-info {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #aaa;
}

.game-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100;
}

.game-message.show {
    opacity: 1;
}

.game-message.win {
    color: #00ff88;
}

.game-message.lose {
    color: #ff6b6b;
}

.game-message.pause {
    color: #ffd700;
}
