 /* 鼠标跟踪效果样式 */
 #mouseTracker {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--bili-pink), var(--bili-blue));
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.2s, opacity 0.3s;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    box-shadow: 0 0 15px rgba(251, 114, 153, 0.5);
    display: none;
}

#mouseTracker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--bili-pink), var(--bili-blue));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
}

/* 底部特效样式 */
#bottomEffect {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: 0;
    background: linear-gradient(135deg, var(--bili-pink), var(--bili-blue));
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.particle.small {
    width: 5px;
    height: 5px;
    animation: floatUp 6s ease-in infinite;
}

.particle.medium {
    width: 10px;
    height: 10px;
    animation: floatUp 8s ease-in infinite;
}

.particle.large {
    width: 15px;
    height: 15px;
    animation: floatUp 10s ease-in infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-150px) translateX(var(--random-x)) scale(0);
        opacity: 0;
    }
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(251, 114, 153, 0.3);
    background: rgba(251, 114, 153, 0.1);
    transform: translate(-50%, -50%);
    animation: rippleEffect 2s ease-out infinite;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* 鼠标移动时的光效 */
.light-trail {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--bili-pink), var(--bili-blue));
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}
