/* 创建流星的基本样式 */
@keyframes meteor {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0);
    }
    100% {
        opacity: 0;
        transform: translateX(500px) translateY(200px) rotate(360deg);
    }
}

.meteor {
    position: absolute;
    top: -10px; /* 初始位置在页面顶部 */
    left: 50%;
    width: 30px;
    height: 5px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    border-radius: 50%;
    animation: meteor 2.9s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* 炫酷的尾迹 */
}

@keyframes meteorTrail {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8); /* 流星尾迹缩小 */
    }
    100% {
        transform: scale(1);
    }
}

.meteor-tail {
    position: absolute;
    top: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: meteorTrail 5.7s infinite; /* 尾迹效果 */
}