/* ===== 鼠标光标效果 ===== */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower.active {
    width: 50px;
    height: 50px;
    border-color: var(--color-secondary);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.05s ease-out;
}

/* ===== 鼠标拖尾粒子 ===== */
.trail-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    animation: particle-fade 1s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* ===== 漂浮星星 ===== */
.floating-star {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9997;
    animation: star-float 1.5s ease-out forwards;
}

@keyframes star-float {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg) scale(0);
    }
}

/* ===== 流星效果 ===== */
.shooting-star {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
}

/* ===== 流星粒子 ===== */
.meteor-particle {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9995;
}

/* ===== 爆炸粒子 ===== */
.explosion-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
}

/* ===== 爆炸闪光 ===== */
.explosion-flash {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
}

/* ===== 桌面端隐藏默认光标 ===== */
@media (pointer: fine) {
    body {
        cursor: none;
    }
}


