/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #fcfcfc;
    color: #333;
    line-height: 1.8;
}

/* 语言按钮样式 */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background-color: #3d7ed9;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    z-index: 1000;
}

.lang-toggle:hover {
    background-color: #555;
}

/* 容器布局 */
.container {
    display: flex;
    max-width: 1100px;
    margin: 80px auto;
    background: #fff;
    min-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 左侧栏 (40%) */
.sidebar {
    flex: 0 0 40%;
    background-color: #f8f9fa;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 40px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-links ul {
    list-style: none;
}

.nav-links li {
    margin-bottom: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #000;
    padding-left: 10px;
}

/* 右侧内容 */
.main-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.bio-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #444;
}

/* 响应式：手机端变单栏 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0;
    }
    .sidebar {
        padding: 40px;
        align-items: center;
        text-align: center;
    }
}