@font-face {
    font-family: 'MiSans';
    src: url('../fonts/MiSans/MiSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('../fonts/MiSans/MiSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('../fonts/MiSans/MiSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --text-color: #333;
    --link-color: #0066cc;
    --meta-color: #666;
}

body {
    font-family: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
    animation: fadeInUp 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards; /* 页面入场动画 - 加速 */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px); /* 减少位移距离，感觉更快 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.page-exit {
    animation: fadeOut 0.15s ease-in forwards; /* 出场动画极速 */
}

a, button, input {
    outline: none; /* 移除焦点轮廓 */
    -webkit-tap-highlight-color: transparent;
}

a:active, a:focus {
    background-color: transparent;
    outline: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.name-block h1 {
    font-family: 'MiSans', sans-serif;
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 5px 0;
}

.subtitle {
    font-family: 'MiSans', sans-serif;
    font-size: 14px;
    color: var(--meta-color);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #000;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 1;
}

/* Main Sections */
h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 0px solid #eee; /* Optional separator */
}

/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 15px;
}

.about-image {
    flex: 0 0 200px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Slight rounded corners as per modern taste, or 0 for strict screenshot match */
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Ensure square-ish */
}

/* Selected Work */
.selected-work {
    margin-bottom: 40px;
}

.work-item {
    margin-bottom: 25px;
    padding-left: 0;
}

.work-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Bullet style simulation */
.work-item::before {
    content: "•";
    float: left;
    margin-left: -15px;
    font-weight: bold;
    color: #333;
}
.work-item {
    padding-left: 15px; /* Offset for bullet */
}

.work-meta {
    font-size: 14px;
    color: var(--meta-color);
    margin-bottom: 4px;
}

.work-desc {
    font-size: 14px;
    margin-bottom: 4px;
}

.work-links {
    font-size: 13px;
}

.work-links a {
    color: var(--link-color);
    text-decoration: none;
}

.work-links a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 60px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .about-section {
        flex-direction: column-reverse; /* Text below image on mobile usually, or text above? Screenshot has text left. Let's stack them. */
        /* Actually common pattern: Image top, text bottom on mobile. Or Text top, image bottom.
           Let's stick to standard flow: Text then Image? No, usually Image is prominent.
           Let's try Text top, Image bottom based on HTML order.
        */
        flex-direction: column; 
        gap: 20px;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 150px; /* Smaller image on mobile */
        margin-bottom: 20px;
    }

    .container {
        padding: 20px;
    }

    header {
        margin-bottom: 40px;
    }
}
