/* Custom Mario-themed animations */
@keyframes marioJump {
    0% { transform: translateY(0); }
    50% { transform: translateY(-100px); }
    100% { transform: translateY(0); }
}

@keyframes obstacleMove {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.jump-animation {
    animation: marioJump 0.5s ease;
}

.obstacle-animation {
    animation: obstacleMove 2s linear infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #gameControls {
        flex-direction: column;
    }
}