/* 个人名片页面样式 */

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

.profile-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px 40px 40px;
    text-align: center;
    width: 100%;
    max-width: 420px;
}

.profile-card__avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.profile-card__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid #e8e8e8;
    object-fit: cover;
}

.profile-card__avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a90d9;
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    border: 3px solid #e8e8e8;
}

.profile-card__name {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.profile-card__bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 28px;
    word-break: break-word;
}

.profile-card__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-card__link {
    display: block;
    padding: 12px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.15s;
}

.profile-card__link:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.profile-card__link:active {
    transform: translateY(0);
}

.profile-page__footer {
    margin-top: 32px;
    font-size: 12px;
    color: #999;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .profile-card {
        padding: 36px 24px 28px;
        border-radius: 12px;
    }

    .profile-card__avatar {
        width: 80px;
        height: 80px;
    }

    .profile-card__avatar--initial {
        font-size: 30px;
    }

    .profile-card__name {
        font-size: 20px;
    }

    .profile-card__bio {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .profile-card__link {
        padding: 10px 16px;
        font-size: 13px;
    }
}
