/* * УЛЬТРА-ПЛАВНА АНІМАЦІЯ (GPU-Accelerated)
 */

@keyframes floatUpY {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    10% { opacity: 1; }
    70% { opacity: 0.9; }
    100% { transform: translate3d(0, -90vh, 0); opacity: 0; }
}

@keyframes floatSwayX {
    0% { transform: translate3d(-50%, 0, 0) scale(0.2) rotate(0deg); }
    20% { transform: translate3d(calc(-50% + (var(--sway) * 0.3)), 0, 0) scale(var(--scale-max)) rotate(calc(var(--rot) * 0.5)); }
    100% { transform: translate3d(calc(-50% + var(--sway)), 0, 0) scale(calc(var(--scale-max) * 0.8)) rotate(var(--rot)); }
}

.floating-wrapper {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    will-change: transform, opacity;
    animation: floatUpY var(--dur) ease-out forwards;
}

.floating-symbol {
    display: inline-block;
    will-change: transform;
    animation: floatSwayX var(--dur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 20px rgba(253, 224, 71, var(--glow));
}

@keyframes sparkParticle {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
    100% { transform: translate3d(var(--tx), var(--ty), 0) scale(0); opacity: 0; }
}

.pray-spark {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    background: #fde047;
    box-shadow: 0 0 8px #fef08a, 0 0 15px #eab308;
    z-index: 99998;
    will-change: transform, opacity;
    animation: sparkParticle var(--dur) ease-out forwards;
}

@keyframes buttonRipple {
    0% { transform: translate3d(-50%, -50%, 0) scale(0.5); opacity: 0.8; border-width: 4px; }
    100% { transform: translate3d(-50%, -50%, 0) scale(3); opacity: 0; border-width: 0px; }
}

.pray-ripple {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    border: solid #fde047;
    z-index: 99997;
    will-change: transform, opacity;
    animation: buttonRipple 0.8s ease-out forwards;
}

@keyframes divinePulse {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0; }
}

.divine-light-overlay {
    background: radial-gradient(ellipse at 50% -20%, rgba(253, 224, 71, 0.3) 0%, rgba(253, 224, 71, 0.08) 40%, rgba(0,0,0,0) 80%);
    mix-blend-mode: screen;
    will-change: opacity;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 99990;
    opacity: 0;
}

.dark .divine-light-overlay {
    background: radial-gradient(ellipse at 50% -20%, rgba(253, 224, 71, 0.2) 0%, rgba(250, 204, 21, 0.05) 40%, rgba(0,0,0,0) 80%);
}

.divine-active {
    animation: divinePulse 2.5s ease-in-out forwards;
}