* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 个人信息区域 */
.profile-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.avatar-container {
    margin-bottom: 24px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nickname {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.contact {
    font-size: 15px;
    color: #666666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 25px;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.contact:hover {
    background: #eeeeee;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 18px;
}

/* 时间轴区域 */
.timeline-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 32px;
    text-align: left;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: 0.3px;
}

.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 100px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 62px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #666666;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e0e0e0, 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 20px;
    width: 60px;
    text-align: right;
    padding-right: 16px;
}

.date-month {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    line-height: 1.4;
}

.date-time {
    font-size: 12px;
    color: #999999;
    margin-top: 2px;
}

.file-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.file-info:hover {
    background: #fafafa;
    border-color: #cccccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.file-meta {
    font-size: 13px;
    color: #999999;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.file-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.download-btn {
    background: #333333;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-message {
    text-align: center;
    color: #999999;
    padding: 60px 20px;
    font-size: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 20px 12px;
    }

    .container {
        padding: 0;
    }

    .profile-section {
        padding: 32px 24px;
        border-radius: 8px;
    }

    .timeline-section {
        padding: 28px 20px;
        border-radius: 8px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .timeline::before {
        left: 50px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-item::before {
        left: 44px;
        top: 24px;
        width: 12px;
        height: 12px;
    }

    .timeline-date {
        width: 45px;
        padding-right: 10px;
        top: 16px;
    }

    .date-month {
        font-size: 11px;
    }

    .date-time {
        font-size: 10px;
    }

    .file-info {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .file-name {
        font-size: 15px;
        white-space: normal;
    }

    .download-btn {
        width: 100%;
        padding: 12px 24px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .nickname {
        font-size: 22px;
    }
}
