:root {
    --live-red: #ff0050;
    --brand-lime: #c1ff72;
}

/* Live Status Enhancements */
.premium-live-border {
    position: relative;
}

.premium-live-border::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--live-red);
    border-radius: inherit;
    animation: premiumPulsing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    opacity: 0.5;
    pointer-events: none;
    z-index: 10;
}

@keyframes premiumPulsing {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

.live-dot-new {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: var(--live-red);
    border-radius: 50%;
    border: 3px solid white;
    z-index: 30;
    box-shadow: 0 0 15px var(--live-red);
}

.live-dot-new::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--live-red);
    animation: ripple 1.5s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Float Animation for Crown */
@keyframes float {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -15px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Smooth Fade Ups */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Ripple Rings for Avatar */
.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 3px solid var(--live-red);
    border-radius: 50%;
    opacity: 0;
    z-index: 5;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple-spread 2.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
}

.ripple-ring:nth-child(2) {
    animation-delay: 1.2s;
}

@keyframes ripple-spread {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* 3D Level Badge */
.level-badge-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: var(--brand-lime);
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.5px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.4);
    border: 3px solid white;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: perspective(100px) rotateX(5deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.level-badge-premium iconify-icon {
    font-size: 16px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.level-badge-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}