/* Avatar Decorations */
.avatar-wrapper {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.avatar-decoration-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Slightly larger than the avatar to create a frame effect */
    width: 110%;
    height: 110%;
    pointer-events: none;
    z-index: 2;
}

/* ... existing code ... */

@keyframes deco-glitch-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-50%, -50%) translate(-2px, 0);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(-50%, -50%) translate(1px, 0);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-50%, -50%) translate(1px, 0);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(-50%, -50%) translate(-1px, 0);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-50%, -50%) translate(2px, 0);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(-50%, -50%) translate(-2px, 0);
    }
}

/* ... rest of the file ... */

.avatar-wrapper img:not(.avatar-decoration-overlay) {
    position: relative;
    z-index: 1;
}

/* Avatar Decorations Animations */
.avatar-decoration-overlay.deco-rgb {
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(168, 85, 247, 0.5);
    animation: deco-rgb 5s linear infinite;
}

.avatar-decoration-overlay.deco-glow {
    border-radius: 50%;
    box-shadow: 0 0 5px 2px rgba(168, 85, 247, 0.5);
    animation: deco-glow 2s ease-in-out infinite alternate;
}

.avatar-decoration-overlay.deco-spin {
    border-radius: 50%;
    border: 2px dashed rgba(168, 85, 247, 0.8);
    animation: deco-spin 10s linear infinite;
}

.avatar-decoration-overlay.deco-pulse {
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.8);
    animation: deco-pulse 3s ease-in-out infinite;
}

@keyframes deco-rgb {
    0% {
        box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.5);
        border: 2px solid rgba(255, 0, 0, 0.5);
    }

    33% {
        box-shadow: 0 0 10px 2px rgba(0, 255, 0, 0.5);
        border: 2px solid rgba(0, 255, 0, 0.5);
    }

    66% {
        box-shadow: 0 0 10px 2px rgba(0, 0, 255, 0.5);
        border: 2px solid rgba(0, 0, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.5);
        border: 2px solid rgba(255, 0, 0, 0.5);
    }
}

@keyframes deco-glow {
    from {
        box-shadow: 0 0 5px 2px rgba(168, 85, 247, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        box-shadow: 0 0 15px 5px rgba(168, 85, 247, 0.8);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes deco-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes deco-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
        box-shadow: 0 0 10px 10px rgba(168, 85, 247, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

.avatar-decoration-overlay.deco-gold {
    box-shadow: 0 0 15px 2px rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: deco-pulse-gold 3s infinite;
}

.avatar-decoration-overlay.deco-blue {
    box-shadow: 0 0 15px 5px rgba(0, 123, 255, 0.6);
    border-radius: 50%;
    animation: deco-burn-blue 1s infinite alternate;
}

@keyframes deco-pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@keyframes deco-burn-blue {
    from {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.6), 0 0 20px rgba(0, 123, 255, 0.4);
    }

    to {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8), 0 0 30px rgba(0, 123, 255, 0.6);
    }
}

/* --- UNIQUE DECORATIONS (PURE CSS) --- */

/* 1. Winter Snow (Simple CSS Snowflakes) */
.avatar-decoration-overlay.deco-snow {
    border: 3px solid #a2d9ff;
    box-shadow: 0 0 15px #a2d9ff;
    border-radius: 50%;
}

.avatar-decoration-overlay.deco-snow::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        -10px 10px 0 #fff,
        -20px 5px 0 -1px #fff,
        5px 15px 0 -1px #fff;
    animation: deco-snow-fall 3s linear infinite;
    opacity: 0.8;
}

/* 2. Galaxy Stars (CSS Clip-path Stars) */
.avatar-decoration-overlay.deco-stars {
    border: 2px dashed rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    animation: deco-spin 20s linear infinite;
}

.avatar-decoration-overlay.deco-stars::before,
.avatar-decoration-overlay.deco-stars::after {
    content: '';
    position: absolute;
    background: #ffd700;
    width: 12px;
    height: 12px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: deco-twinkle 1.5s infinite alternate;
}

.avatar-decoration-overlay.deco-stars::before {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.avatar-decoration-overlay.deco-stars::after {
    bottom: -6px;
    right: 10%;
    animation-delay: 0.5s;
    width: 8px;
    height: 8px;
}

/* 3. King's Crown (CSS Triangle Crown) */
.avatar-decoration-overlay.deco-crown {
    border: 3px solid #ffd700;
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.5);
    border-radius: 50%;
}

.avatar-decoration-overlay.deco-crown::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: #ffd700;
    clip-path: polygon(0% 100%, 20% 40%, 40% 100%, 60% 20%, 80% 100%, 100% 40%, 100% 100%);
    box-shadow: 0 0 10px #ffd700;
    animation: deco-float 3s ease-in-out infinite;
}

/* 4. Burning Fire (CSS Flame Shape) */
.avatar-decoration-overlay.deco-fire {
    border: 2px solid #ff4500;
    box-shadow: 0 0 20px #ff4500, inset 0 0 15px #ff0000;
    border-radius: 50%;
    animation: deco-pulse 2s infinite;
}

.avatar-decoration-overlay.deco-fire::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 50% 100%, #ffff00, #ff4500);
    border-radius: 50% 0 50% 50%;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 0 0 10px #ff4500;
    animation: deco-fire-flicker 0.1s infinite alternate;
}

/* 5. Party Mode (CSS Confetti) */
.avatar-decoration-overlay.deco-party {
    border: 3px solid #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    border-radius: 50%;
}

.avatar-decoration-overlay.deco-party::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 6px;
    height: 10px;
    background: #00ffff;
    transform: rotate(45deg);
    box-shadow:
        -40px 10px 0 #ffff00,
        -20px 80px 0 #ff0000,
        -80px 40px 0 #00ff00;
    animation: deco-confetti 1s infinite;
}

/* Updated Animations Helper */
@keyframes deco-float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes deco-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes deco-shake {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

/* 12. Manga Speed Lines */
.avatar-decoration-overlay.deco-speed {
    border: 2px solid #000;
    border-radius: 50%;
    overflow: hidden;
    background: repeating-conic-gradient(from 0deg,
            transparent 0deg 10deg,
            rgba(0, 0, 0, 0.1) 10deg 20deg);
    animation: deco-shake-centered 0.2s infinite;
}

/* ... skipped ... */

/* 18. Halloween (Spooky Vibes) */
.avatar-decoration-overlay.deco-halloween {
    border: 2px solid #ff4500;
    border-bottom-color: #800080;
    box-shadow: 0 0 15px #ff4500, inset 0 0 10px #800080;
    border-radius: 50%;
    animation: deco-spin 10s linear infinite;
}

.avatar-decoration-overlay.deco-halloween::before {
    content: '👻';
    font-size: 22px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: deco-float-centered 4s ease-in-out infinite alternate;
}

.avatar-decoration-overlay.deco-halloween::after {
    content: '🎃';
    font-size: 18px;
    position: absolute;
    bottom: -10px;
    right: 10%;
    animation: deco-shake 3s infinite;
}

@keyframes deco-twinkle {
    from {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes deco-snow-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes deco-fire-flicker {
    0% {
        transform: translateX(-50%) rotate(-45deg) scale(1.0);
    }

    100% {
        transform: translateX(-50%) rotate(-40deg) scale(1.1);
    }
}

@keyframes deco-confetti {
    0% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5) translateY(10px);
    }
}

/* --- DISCORD-STYLE ADVANCED ANIMATIONS --- */

/* 6. Cyberpunk Glitch */
.avatar-decoration-overlay.deco-glitch {
    border: 2px solid cyan;
    box-shadow: -2px 0 magenta, 2px 0 cyan;
    border-radius: 50%;
    animation: deco-glitch-anim 2s infinite linear alternate-reverse;
}

.avatar-decoration-overlay.deco-glitch::before,
.avatar-decoration-overlay.deco-glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.5;
}

.avatar-decoration-overlay.deco-glitch::before {
    border: 2px solid magenta;
    animation: deco-glitch-anim-2 3s infinite linear alternate-reverse;
}

.avatar-decoration-overlay.deco-glitch::after {
    border: 2px solid yellow;
    animation: deco-glitch-anim-3 1.5s infinite linear alternate-reverse;
}

/* 7. Magic Aura (Rotating Runes) */
.avatar-decoration-overlay.deco-magic {
    border: 2px solid transparent;
    border-top: 2px solid #bd00ff;
    border-bottom: 2px solid #00ddff;
    border-radius: 50%;
    box-shadow: 0 0 10px #bd00ff;
    animation: deco-spin 4s linear infinite;
}

.avatar-decoration-overlay.deco-magic::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px dashed #00ddff;
    border-radius: 50%;
    animation: deco-spin-centered 8s linear infinite reverse;
}

.avatar-decoration-overlay.deco-magic::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px dotted #bd00ff;
    border-radius: 50%;
    animation: deco-spin-centered 12s linear infinite;
}

/* 8. Electric Lightning */
.avatar-decoration-overlay.deco-lightning {
    border: 2px solid rgba(255, 255, 0, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 15px #ff0;
    animation: deco-electric 0.5s infinite;
}

.avatar-decoration-overlay.deco-lightning::before,
.avatar-decoration-overlay.deco-lightning::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.avatar-decoration-overlay.deco-lightning::before {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    animation: deco-spin-centered 0.5s linear infinite;
}

.avatar-decoration-overlay.deco-lightning::after {
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    animation: deco-spin-centered 0.5s linear infinite reverse;
}

/* 9. Radar Scan */
.avatar-decoration-overlay.deco-radar {
    border: 2px solid #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0, inset 0 0 10px #0f0;
    background:
        linear-gradient(90deg, transparent 49%, #0f0 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, #0f0 50%, transparent 51%);
    background-size: 100% 100%;
}

.avatar-decoration-overlay.deco-radar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.5) 0%, transparent 50%);
    transform-origin: 0 0;
    border-radius: 0 100% 0 0;
    animation: deco-radar-sweep 2s infinite linear;
}

@keyframes deco-glitch-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-50%, -50%) translate(-2px, 0);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(-50%, -50%) translate(1px, 0);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-50%, -50%) translate(1px, 0);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(-50%, -50%) translate(-1px, 0);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-50%, -50%) translate(2px, 0);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(-50%, -50%) translate(-2px, 0);
    }
}

@keyframes deco-electric {

    0%,
    100% {
        box-shadow: 0 0 5px #ff0;
        border-color: rgba(255, 255, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px #fff;
        border-color: #fff;
    }
}

@keyframes deco-radar-sweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- ANIME STYLE ANIMATIONS --- */

/* 10. Super Saiyan Aura */
.avatar-decoration-overlay.deco-saiyan {
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px #ffd700, 0 0 30px #ffae00;
    border-radius: 50%;
    animation: deco-saiyan-pulse 0.2s infinite alternate;
}

.avatar-decoration-overlay.deco-saiyan::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.8), transparent 70%);
    transform: translateX(-50%) scaleY(1.2);
    opacity: 0.6;
    border-radius: 50%;
    z-index: -1;
    animation: deco-saiyan-rise 1s infinite linear;
    filter: blur(5px);
}

/* 11. Kawaii Sparkles */
.avatar-decoration-overlay.deco-kawaii {
    border: 3px solid #ff69b4;
    box-shadow: 0 0 15px #ffb6c1;
    border-radius: 50%;
    animation: deco-kawaii-bounce 2s infinite;
}

.avatar-decoration-overlay.deco-kawaii::before,
.avatar-decoration-overlay.deco-kawaii::after {
    content: '✨';
    font-size: 20px;
    position: absolute;
    animation: deco-kawaii-pop 1.5s infinite;
}

.avatar-decoration-overlay.deco-kawaii::before {
    top: -10px;
    right: 0;
    animation-delay: 0s;
}

.avatar-decoration-overlay.deco-kawaii::after {
    bottom: 0;
    left: -10px;
    animation-delay: 0.7s;
}

/* 12. Manga Speed Lines */
.avatar-decoration-overlay.deco-speed {
    border: 2px solid #000;
    border-radius: 50%;
    overflow: hidden;
    background: repeating-conic-gradient(from 0deg,
            transparent 0deg 10deg,
            rgba(0, 0, 0, 0.1) 10deg 20deg);
    animation: deco-shake-centered 0.2s infinite;
}

.avatar-decoration-overlay.deco-speed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.8) 41%, transparent 70%);
    animation: deco-zoom-lines 0.5s infinite linear;
}

/* 13. Blue Energy (Rasengan style) */
.avatar-decoration-overlay.deco-energy {
    border: 2px solid #00eaff;
    box-shadow: 0 0 20px #00eaff, inset 0 0 15px #0077ff;
    border-radius: 50%;
    animation: deco-spin 0.5s linear infinite;
}

.avatar-decoration-overlay.deco-energy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 234, 255, 0.5);
    animation: deco-spin 2s linear infinite reverse;
}

@keyframes deco-saiyan-pulse {
    0% {
        box-shadow: 0 0 15px #ffd700, 0 0 30px #ffae00;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        box-shadow: 0 0 25px #ffd700, 0 0 50px #ffae00;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes deco-saiyan-rise {
    0% {
        transform: translateX(-50%) translateY(0) scaleY(1.2);
        opacity: 0.6;
    }

    100% {
        transform: translateX(-50%) translateY(-20px) scaleY(1.5);
        opacity: 0;
    }
}

@keyframes deco-kawaii-pop {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(20deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0;
    }
}

@keyframes deco-zoom-lines {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5) rotate(10deg);
        opacity: 0;
    }
}

@keyframes deco-kawaii-bounce {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

/* --- RAMADHAN THEME ANIMATIONS --- */

/* 14. Ramadhan Moon (Crescent & Star) */
.avatar-decoration-overlay.deco-ramadhan-moon {
    border: 3px solid #00ff7f;
    /* Spring Green */
    box-shadow: 0 0 15px #00ff7f, inset 0 0 10px #006400;
    border-radius: 50%;
    animation: deco-pulse-green 3s infinite ease-in-out;
}

.avatar-decoration-overlay.deco-ramadhan-moon::before {
    content: '🌙';
    font-size: 24px;
    position: absolute;
    top: -15px;
    left: -10px;
    filter: drop-shadow(0 0 5px #ffd700);
    animation: deco-float 3s ease-in-out infinite;
}

.avatar-decoration-overlay.deco-ramadhan-moon::after {
    content: '⭐';
    font-size: 16px;
    position: absolute;
    bottom: 5px;
    right: -5px;
    filter: drop-shadow(0 0 5px #ffd700);
    animation: deco-twinkle 2s infinite alternate;
}

/* 15. Ramadhan Lantern (Fanous Glow) */
.avatar-decoration-overlay.deco-ramadhan-lantern {
    border: 2px solid #ffa500;
    box-shadow: 0 0 20px #ffae00, inset 0 0 15px #8b4500;
    border-radius: 50%;
    animation: deco-glow 2s infinite alternate;
}

.avatar-decoration-overlay.deco-ramadhan-lantern::before {
    content: '🏮';
    font-size: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: deco-swing 3s infinite ease-in-out;
}

/* 16. Ketupat Pattern (Green Diamond) */
.avatar-decoration-overlay.deco-ramadhan-ketupat {
    border: 3px dashed #32cd32;
    box-shadow: 0 0 10px #32cd32;
    border-radius: 50%;
    animation: deco-spin 10s linear infinite;
}

.avatar-decoration-overlay.deco-ramadhan-ketupat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid #228b22;
    border-radius: 10%;
    /* Square-ish for diamond look */
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.5;
    animation: deco-spin-centered 5s linear infinite reverse;
}

@keyframes deco-pulse-green {
    0% {
        box-shadow: 0 0 10px #00ff7f;
    }

    50% {
        box-shadow: 0 0 25px #00ff7f;
    }

    100% {
        box-shadow: 0 0 10px #00ff7f;
    }
}

@keyframes deco-swing {
    0% {
        transform: translateX(-50%) rotate(5deg);
    }

    50% {
        transform: translateX(-50%) rotate(-5deg);
    }

    100% {
        transform: translateX(-50%) rotate(5deg);
    }
}

@keyframes deco-float-centered {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes deco-shake-centered {
    0% {
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(10deg);
    }
}

@keyframes deco-float-centered {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes deco-shake-centered {
    0% {
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(10deg);
    }
}

/* --- ADDITIONAL EVENT THEMES --- */

/* 17. Valentine (Lovely Hearts) */
.avatar-decoration-overlay.deco-valentine {
    border: 3px solid #ff1493;
    box-shadow: 0 0 15px #ff69b4;
    border-radius: 50%;
    animation: deco-pulse 2s infinite;
}

.avatar-decoration-overlay.deco-valentine::before,
.avatar-decoration-overlay.deco-valentine::after {
    content: '❤️';
    font-size: 18px;
    position: absolute;
    animation: deco-float 3s ease-in-out infinite;
}

.avatar-decoration-overlay.deco-valentine::before {
    top: -10px;
    left: 0;
    transform: rotate(-15deg);
}

.avatar-decoration-overlay.deco-valentine::after {
    bottom: 0;
    right: -5px;
    animation-delay: 1.5s;
    transform: rotate(15deg);
}

/* 18. Halloween (Spooky Vibes) */
.avatar-decoration-overlay.deco-halloween {
    border: 2px solid #ff4500;
    border-bottom-color: #800080;
    box-shadow: 0 0 15px #ff4500, inset 0 0 10px #800080;
    border-radius: 50%;
    animation: deco-spin 10s linear infinite;
}

.avatar-decoration-overlay.deco-halloween::before {
    content: '👻';
    font-size: 22px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: deco-float-centered 4s ease-in-out infinite alternate;
}

.avatar-decoration-overlay.deco-halloween::after {
    content: '🎃';
    font-size: 18px;
    position: absolute;
    bottom: -10px;
    right: 10%;
    animation: deco-shake 3s infinite;
}

/* 19. Happy New Year (Fireworks) */
.avatar-decoration-overlay.deco-newyear {
    border: 3px dashed gold;
    box-shadow: 0 0 15px gold, 0 0 30px red, 0 0 45px blue;
    border-radius: 50%;
    animation: deco-spin 5s linear infinite;
}

.avatar-decoration-overlay.deco-newyear::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dotted silver;
    border-radius: 50%;
    opacity: 0.7;
    animation: deco-spin-centered 3s linear infinite reverse;
}

/* 20. Indonesia (Merah Putih) */
.avatar-decoration-overlay.deco-indonesia {
    background: linear-gradient(to bottom, red 50%, white 50%);
    padding: 3px;
    /* Functions as border */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    animation: deco-pulse 3s infinite;
}

.avatar-decoration-overlay.deco-indonesia::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, red 50%, white 50%);
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
}

/* 21. Christmas (Festive Wreath) */
/* 21. Christmas (Festive Wreath) */
.avatar-decoration-overlay.deco-christmas {
    border: 3px dashed #de2916;
    /* Christmas Red */
    box-shadow: 0 0 15px #0f6e3df1, inset 0 0 10px #de2916;
    border-radius: 50%;
    animation: deco-spin-centered 6s linear infinite;
}

.avatar-decoration-overlay.deco-christmas::before {
    content: '🎄';
    font-size: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: deco-float-centered 2s ease-in-out infinite;
}

.avatar-decoration-overlay.deco-christmas::after {
    content: '❄️';
    font-size: 18px;
    position: absolute;
    bottom: -5px;
    right: 0;
    animation: deco-spin 4s linear infinite;
}

/* 22. Birthday (Party Bash) */
/* 22. Birthday (Party Bash) */
.avatar-decoration-overlay.deco-birthday {
    border: 3px double #ff69b4;
    box-shadow: 0 0 20px #87ceeb, 0 0 10px #ffd700;
    border-radius: 50%;
    animation: deco-kawaii-bounce 1s infinite alternate;
}

.avatar-decoration-overlay.deco-birthday::before {
    content: '🎂';
    font-size: 20px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: deco-float-centered 2s ease-in-out infinite;
}

.avatar-decoration-overlay.deco-birthday::after {
    content: '🎈';
    font-size: 22px;
    position: absolute;
    top: -15px;
    right: -5px;
    animation: deco-swing 3s ease-in-out infinite reverse;
}

/* 23. Summer (Sunny Vibes) */
.avatar-decoration-overlay.deco-summer {
    border: 2px solid #ffd700;
    box-shadow: 0 0 25px #ffa500;
    border-radius: 50%;
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 0, 0.3) 0%, transparent 20%);
    animation: deco-pulse 3s infinite;
}

.avatar-decoration-overlay.deco-summer::before {
    content: '☀️';
    font-size: 24px;
    position: absolute;
    top: -20px;
    right: -10px;
    animation: deco-spin-centered 10s linear infinite;
}

.avatar-decoration-overlay.deco-summer::after {
    content: '🌊';
    font-size: 18px;
    position: absolute;
    bottom: -5px;
    left: -5px;
    animation: deco-float-centered 4s ease-in-out infinite;
}