.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.skeleton-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0c29;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.skeleton-content {
    text-align: center;
}

.skeleton-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
}

.scramble-line {
    height: 28px;
    margin: 15px auto;
    border-radius: 6px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #e0e0ff;
    font-family: 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
    background: rgba(26, 21, 56, 0.4);
    border: 1px solid rgba(224, 224, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 8px rgba(224, 224, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.scramble-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 224, 255, 0.15), transparent);
    animation: shimmer 2s infinite;
}

/* 确保文字在动画期间可见 */
.scramble-line > * {
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.scramble-line.short {
    width: 200px;
    font-size: 14px;
    letter-spacing: 2px;
}

.skeleton-container.hide {
    opacity: 0;
    pointer-events: none;
}