body {
    font-family: Arial, sans-serif;
    background-color: #2e2e2e;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    background-color: #1b1b1b;
    padding: 40px;
    min-height: 92vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;

    animation: fadeUp 0.6s ease-out forwards;
}

.bio{
    color: #b6b6b6;
    margin-top: -5vh;
}

.links {
    position: fixed;    
    left: 40px;

    display: flex;
    flex-direction: column;
    gap: 16px;

    z-index: 10;
}

.links a {
    position: relative;
    display: block;

    font-size: 1.4rem;
    /* 放大 */
    font-weight: 500;
    letter-spacing: 0.02em;

    color: #ffffff;
    text-decoration: none;
    padding-right: 14px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.links a:hover {
    color: #65ddc9;
    transform: translateX(6px);
}

.links a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;

    width: 6px;
    height: 1px;
    background-color: #ffffff;

    opacity: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
}


.links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
}

.profile-pic {
    margin-top: 40px;
    display: flex;
    justify-content: center;

    animation: fadeUp 0.8s ease-out forwards;
}

.profile-pic img {
    width: clamp(200px, 26vw, 300px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-pic img:hover {
    transform: scale(1.03);
}

.social {
    margin-top: 8px;
}

.social img {
    width: 36px;
    margin: 0 12px;
    opacity: 0.85;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.social img:hover {
    transform: translateY(-2px) scale(1.05);
    opacity: 1;
}

.page-footer {
    padding: 10px 0;
    font-size: 0.75rem;
    color: #6f6f6f;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .links {
        position: static;
        margin-bottom: 24px;
        align-items: center;
    }

    .links a {
        font-size: 1.1rem;
        padding-right: 0;
    }

    .links a::before {
        display: none;
    }

    .container {
        padding: 24px;
    }

    .profile-pic {
        margin-top: 24px;
    }

    .profile-pic img {
        width: 220px;
        height: 220px;
    }

    .social img {
        width: 28px;
        margin: 0 6px;
    }
}