/* ============================================================
 *  初始加载屏样式 — 在 Vue 挂载前展示
 * ============================================================ */

#loading-mask {
    position: fixed; left: 0; top: 0; height: 100%; width: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 40%, #1b2838 100%);
    user-select: none; z-index: 9999; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* 脉冲光环 */
.pulse-ring {
    position: relative; width: 80px; height: 80px;
    margin-bottom: 40px;
}
.pulse-ring::before, .pulse-ring::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(56, 120, 207, 0.6);
    animation: pulse-expand 2.4s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1.2s; }
.pulse-core {
    position: absolute; top: 50%; left: 50%;
    width: 16px; height: 16px; margin: -8px 0 0 -8px;
    background: #3878cf; border-radius: 50%;
    box-shadow: 0 0 20px rgba(56, 120, 207, 0.8), 0 0 60px rgba(56, 120, 207, 0.3);
    animation: core-breathe 2s ease-in-out infinite;
}
@keyframes pulse-expand {
    0%   { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes core-breathe {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 20px rgba(56,120,207,0.8), 0 0 60px rgba(56,120,207,0.3); }
    50%      { transform: scale(1.3); box-shadow: 0 0 30px rgba(56,120,207,1),   0 0 80px rgba(56,120,207,0.5); }
}

/* 品牌文字 */
.loading-brand {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 22px; font-weight: 600; letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    text-shadow: 0 0 12px rgba(56, 120, 207, 0.4);
}

/* 进度条 */
.loading-bar-track {
    width: 200px; height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px; overflow: hidden;
}
.loading-bar-fill {
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, #3878cf, transparent);
    border-radius: 1px;
    animation: bar-shimmer 1.8s ease-in-out infinite;
}
@keyframes bar-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* 底部小字 */
.loading-hint {
    position: absolute; bottom: 2em;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px; letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.2);
}
