/* ========== 页面跳转呼吸过渡效果（公共） ========== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 59, 43, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: pageTransitionPulse 0.4s ease-out forwards;
}

.page-transition-overlay.active {
    display: flex;
}

@keyframes pageTransitionPulse {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    50% {
        opacity: 1;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

.page-transition-overlay::after {
    content: "✨ 加载中 ✨";
    font-size: 16px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    animation: textFade 0.3s ease-out 0.1s both;
}

@keyframes textFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== 卡片呼吸光晕动画（无抖动） ========== */
@keyframes cardPulse {
    0% { 
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 0 0 0 rgba(27, 59, 43, 0.4);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 12px rgba(27, 59, 43, 0);
    }
    100% { 
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 0 0 0 rgba(27, 59, 43, 0);
    }
}

.card-pulse {
    animation: cardPulse 0.5s ease-out;
}