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

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-header {
    display: flex;
    justify-content: space-between;
    width: 800px;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.lives {
    transition: color 0.3s;
}

.lives-flash {
    color: #ff4a4a;
    font-weight: bold;
    transform: scale(1.2);
    transition: all 0.3s;
}

canvas {
    background-color: #000;
    border: 2px solid #444;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-10px, 0); }
    20% { transform: translate(10px, 0); }
    30% { transform: translate(-8px, 0); }
    40% { transform: translate(8px, 0); }
    50% { transform: translate(-5px, 0); }
    60% { transform: translate(5px, 0); }
    70% { transform: translate(-3px, 0); }
    80% { transform: translate(3px, 0); }
    90% { transform: translate(-1px, 0); }
    100% { transform: translate(0, 0); }
} 