#cookie {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
}

#cookie:hover {
    transform: scale(1.1);
}

#cookie:active {
    transform: scale(0.95);
}


.upgrades {
    margin-top: 32px;
    margin-bottom: 32px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.upgrade-card {
    background: #bdbdbd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px 28px;
    min-width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upgrade-card img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 10px;
    background: #f7f7f7;
    border-radius: 8px;
}

.upgrade-card button {
    margin-top: 10px;
    padding: 8px 18px;
    background: #f5c16c;
    border: none;
    border-radius: 6px;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s;
}

.upgrade-card button:disabled {
    background: #ddd;
    color: #aaa;
    cursor: not-allowed;
}

/* ...existing code... */
.event-notification {
    background: #ffecb3;
    color: #7c4d00;
    border: 2px solid #ffd54f;
    border-radius: 8px;
    padding: 16px 24px;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-10px, 0); }
    40% { transform: translate(10px, 0); }
    60% { transform: translate(-10px, 0); }
    80% { transform: translate(10px, 0); }
    100% { transform: translate(0, 0); }
}

.shake {
    animation: none !important; /* Disable the old shake animation */
    will-change: transform;
}

@keyframes buy-pop {
    0% { transform: scale(1); }
    30% { transform: scale(1.18); }
    60% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

.upgrade-card.buy-animate {
    animation: buy-pop 0.4s;
}