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

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
    }
    50% {
        text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

.glow-text {
    animation: glow 2s ease-in-out infinite;
}

.binglebapper-button {
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
}

.binglebapper-button:active {
    transform: scale(0.95);
}

.binglebapper-button:hover {
    box-shadow: 
        0 0 50px rgba(255, 255, 255, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.upgrade-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.upgrade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.achievement-badge {
    transition: all 0.3s ease;
    white-space: nowrap;
}

.achievement-badge:hover {
    transform: scale(1.1);
}

/* Background animations */
body {
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #533483);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .flex {
        flex-direction: column;
    }
    
    .w-1\/4 {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    
    .binglebapper-button {
        width: 200px;
        height: 200px;
    }
}