@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    touch-action: none;
}
.game-container {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    overflow: hidden;
    position: relative;
}

canvas {
    display: block;
    background-color: #0a192f;
}

@keyframes cloudMove {
    0% { transform: translateX(-100px) translateY(0); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(20px); }
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(5px);
    animation: cloudMove linear infinite;
}

#startButton, #restartButton {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

#startButton:hover, #restartButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

#startButton:active, #restartButton:active {
    transform: translateY(1px);
}

#startButton::after, #restartButton::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.3s;
}

#startButton:hover::after, #restartButton:hover::after {
    left: 100%;
}

#gameUI {
    pointer-events: none;
}
#score, #lives {
    font-size: 1.5rem;
    color: #f8f32b;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s;
}
