/* RA0 Cursor Stardust — lightweight decorative effect */
.ra0-stardust-particle {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 0 5px currentColor, 0 0 12px currentColor;
    will-change: transform, opacity;
    animation: ra0StardustFade var(--life, 850ms) cubic-bezier(.16,.72,.26,1) forwards;
}

@keyframes ra0StardustFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.25) rotate(0deg);
        filter: blur(1px);
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15) rotate(35deg);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translate(
            calc(-50% + var(--dx)),
            calc(-50% + var(--dy))
        ) scale(.05) rotate(var(--spin));
        filter: blur(1.5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ra0-stardust-particle { display: none !important; animation: none !important; }
}
