/* ========== 时间光带垂落动画 ========== */
@keyframes timelineFlow {
    0% {
        height: 0;
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    100% {
        height: 100vh;
        opacity: 0.4;
    }
}

/* ========== 通用渐入上升动画 ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 纯淡入动画 ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== 星光呼吸动画 ========== */
@keyframes starBreath {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ========== 光晕缓慢脉动 ========== */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px var(--gold-glow); }
    50% { box-shadow: 0 0 50px var(--gold-glow-strong); }
}

/* 一级卡片常驻呼吸光晕 */
.hero-card.level-1.visible {
    animation: glowPulse 4s ease-in-out infinite;
}


/* ========== 减少动画适配 ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}