:root {
    --bg-color: #ffffff;
    --text-main: #2c2c2c;
    --text-muted: #888888;
    --text-en: #a0a0a0;
    --accent-color: #1a1a1a;
    --link-color: #000000;
    --tag-bg: #f5f5f5;
    --keyword-color: #10b981; /* 现代高级感翡翠绿 */
}

/* 自动适配暗黑模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-main: #e0e0e0;
        --text-muted: #999999;
        --text-en: #777777;
        --accent-color: #ffffff;
        --link-color: #ffffff;
        --tag-bg: #2a2a2a;
        --keyword-color: #34d399; /* 暗色模式下的亮绿色 */
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 640px;
    width: 100%;
    padding: 40px 30px;
    animation: fadeIn 0.8s ease-out forwards;
}

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

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    gap: 24px;
}

.avatar {
    width: 88px;
    height: 88px;
    border-radius: 0; /* 严格保持方形无留白 */
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.title-section h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.title-section p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.content-section {
    margin-bottom: 48px;
}

.content-section p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 300;
}

/* 英文翻译文本样式 */
.en-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-en);
    margin-top: 2px;
    line-height: 1.6;
}

/* 关键字绿色高亮 */
.keyword {
    color: var(--keyword-color);
    font-weight: 500;
}

/* 极简项目列表与绿色下划线 */
.project-list {
    margin-top: 16px;
    margin-bottom: 28px;
    list-style: none;
}

.project-list li {
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 300;
}

.project-list strong {
    font-weight: 600;
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--keyword-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.project-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.skills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.skill-tag {
    padding: 6px 14px;
    background-color: var(--tag-bg);
    color: var(--text-main);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: monospace;
    transition: background-color 0.3s ease;
}

.links-section {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--tag-bg);
    padding-top: 32px;
}

.links-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.links-section a:hover {
    color: var(--link-color);
    transform: translateY(-1px);
}
