body {
    background-image: url('https://file.moyublog.com/free_wallpapers_files/dmm5ph3tkv0.jpg'); /* 替换为您的图片URL */
    background-color: #f5f5f5; /* 备用背景颜色 */
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    color: #333;
}


 /* 鼠标效果CSS - 添加到您现有CSS的后面 */
.particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9998;
    opacity: 0.7;
}

.ripple {
    position: fixed;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 9997;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 控制按钮样式（可选） */
.mouse-effect-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0.2rem;
}


/* 博客园鼠标特效CSS */
#star {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

#star div {
    position: absolute;
    background: transparent;
    pointer-events: none;
}

.mouse-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 9998;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.star-trail {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.8;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.6);
}