/**
 * VIP 会员特效样式
 */

/* VIP头像光环效果 */
.vip-avatar-glow {
    position: relative;
    animation: vip-glow-pulse 2s ease-in-out infinite;
}

.vip-avatar-glow::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347, #FF69B4, #9370DB, #00CED1, #32CD32, #FFD700);
    background-size: 400% 400%;
    animation: vip-rainbow-rotate 3s linear infinite;
    z-index: -1;
}

.vip-avatar-glow::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg,
        rgba(255, 215, 0, 0.4),
        rgba(255, 165, 0, 0.3),
        rgba(255, 105, 180, 0.3),
        rgba(147, 112, 219, 0.3),
        rgba(255, 215, 0, 0.4)
    );
    background-size: 400% 400%;
    animation: vip-rainbow-rotate 3s linear infinite;
    filter: blur(8px);
    z-index: -2;
}

/* 彩虹旋转动画 */
@keyframes vip-rainbow-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 光环脉动效果 */
@keyframes vip-glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
    }
}

/* VIP彩色昵称 */
.vip-nickname-rainbow {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF6347, #FF69B4, #9370DB, #00CED1, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vip-text-shine 3s linear infinite;
    font-weight: 600 !important;
}

/* 文字闪烁动画 */
@keyframes vip-text-shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 头像容器需要相对定位 */
.vip-avatar-container {
    position: relative;
    display: inline-block;
}
