.currency-wrapper {
    position: relative;
}

.currency-floating {
    position: absolute;
    right: -20px;
    bottom: -20px;

    font-weight: bold;
    font-size: 1.4rem;

    pointer-events: none;
    opacity: 0;

    animation: currencyFloat 1s ease-out forwards;
}

.currency-floating.positive {
    color: #52ff8f;

    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 6px rgba(82, 255, 143, 0.8),
        0 0 12px rgba(82, 255, 143, 0.45);
}

.currency-floating.negative {
    color: #ff5a5a;

    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 6px rgba(255, 90, 90, 0.8),
        0 0 12px rgba(255, 90, 90, 0.45);
}

@keyframes currencyFloat {
    0% {
        opacity: 0;
        transform: translateY(0px) scale(0.8);
    }

    15% {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-25px) scale(1.05);
    }
}