/**
 * Developed by: GrounnyDev.com
 * Shared motion for visual themes
 */

@keyframes theme-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(22px, -18px) scale(1.06); }
    66% { transform: translate(-14px, 12px) scale(0.96); }
}

@keyframes theme-shimmer-slide {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes theme-glow-pulse {
    0%, 100% { opacity: 0.55; filter: blur(60px); }
    50% { opacity: 0.9; filter: blur(70px); }
}

@keyframes theme-petal-fall {
    0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
    15% { opacity: 0.85; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

@keyframes theme-star-twinkle {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

@keyframes theme-matrix-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes theme-bubble-rise {
    0% { transform: translateY(20px) scale(0.9); opacity: 0; }
    20% { opacity: 0.7; }
    100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

@keyframes theme-velvet-shine {
    0% { transform: translateX(-120%) skewX(-12deg); }
    100% { transform: translateX(220%) skewX(-12deg); }
}

@keyframes theme-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes theme-btn-glow {
    0%, 100% { box-shadow: 0 8px 24px var(--theme-glow, rgba(37, 99, 235, 0.35)); }
    50% { box-shadow: 0 12px 36px var(--theme-glow-strong, rgba(37, 99, 235, 0.55)); }
}

.theme-fx-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.theme-fx-petal {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50% 0 50% 50%;
    background: rgba(249, 168, 212, 0.75);
    animation: theme-petal-fall linear infinite;
}

.theme-fx-petal:nth-child(1) { left: 12%; animation-duration: 14s; animation-delay: 0s; }
.theme-fx-petal:nth-child(2) { left: 35%; animation-duration: 18s; animation-delay: -4s; width: 8px; height: 8px; }
.theme-fx-petal:nth-child(3) { left: 58%; animation-duration: 12s; animation-delay: -2s; }
.theme-fx-petal:nth-child(4) { left: 78%; animation-duration: 16s; animation-delay: -7s; width: 12px; height: 12px; }
.theme-fx-petal:nth-child(5) { left: 90%; animation-duration: 20s; animation-delay: -1s; }

.theme-fx-star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    animation: theme-star-twinkle ease-in-out infinite;
}

.theme-fx-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.15);
    animation: theme-bubble-rise ease-in-out infinite;
}

.theme-fx-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.08), transparent);
    animation: theme-matrix-scan 6s linear infinite;
}
