/* Coin Rain Container */
#coin-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through */
    z-index: 9999;
    overflow: hidden;
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #b8860b);
    border-radius: 50%;
    border: 2px solid #daa520;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    will-change: transform, top;
    animation: fall linear forwards;
}

/* Inner detail of coin to make it look less flat */
.coin::before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b8860b;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 16px;
}

@keyframes fall {
    0% {
        top: -50px;
        transform: rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        top: 100vh;
        transform: rotate(360deg);
        opacity: 0.8;
    }
}