
/* 导入思源宋体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');

/* 简约风格CSS - 纯白背景设计 */
:root {
    /* 色彩系统 - 纯白色主题 */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --background-color: #ffffff;
    --surface-color: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    
    /* 间距系统 - 缩小间距以适应单页 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    
    /* 字体系统 - 使用思源宋体 */
    --font-primary: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
    --font-secondary: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
    --font-mono: 'Source Code Pro', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    
    /* 圆角和过渡 - 移除过渡效果 */
        --border-radius: 8px;
}

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    line-height: 1.4;
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    overflow: hidden;
    height: 100vh;
}

body,
.navigation a,
.navigation-title,
.about h1,
.about h2,
.footer,
.footer p,
.footer a {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--background-color);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 主容器和布局 */
.wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 导航栏样式 - 纯白背景 */
.navigation {
    padding: var(--spacing-sm) 0;
    background-color: var(--background-color);
    flex-shrink: 0;
}

.navigation-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
}

/* 主要内容区域 */
.content {
    flex: 1;
    padding: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered {
    text-align: center;
}

/* 关于部分样式 */
.about {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.avatar {
    margin-bottom: var(--spacing-md);
    display: inline-block;
    position: relative;
}

.avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.about h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-secondary);
}

.about h2 {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

/* 页脚样式 - 纯白背景并居中 */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background-color: var(--background-color);
    text-align: center;
    flex-shrink: 0;
}

.footer p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 - 针对小屏幕优化 */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .about h1 {
        font-size: 1.8rem;
    }
    
    .about h2 {
        font-size: 1rem;
    }
    
    .avatar img {
        width: 100px;
        height: 100px;
    }
    
    .navigation-title {
        font-size: 1.1rem;
    }
    
    html {
        font-size: 13px;
    }
}

/* 暗色模式支持 - 纯白背景 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #2c3e50;
        --secondary-color: #3498db;
        --accent-color: #e74c3c;
        --background-color: #ffffff;
        --surface-color: #ffffff;
        --text-primary: #2c3e50;
        --text-secondary: #7f8c8d;
        --border-color: #ffffff;
        --shadow-light: rgba(0, 0, 0, 0.05);
        --shadow-medium: rgba(0, 0, 0, 0.08);
    }
    
    .navigation {
        background-color: var(--background-color);
    }
}

/* 文字选择和焦点样式 */
::selection {
    background-color: var(--secondary-color);
    color: white;
}

:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* 平滑滚动和更好的用户体验 */
html {
    scroll-padding-top: 60px;
}

/* 移除加载动画，保持静态简约 */
.about {
    animation: none;
}

/* 额外的简约样式优化 - 移除渐变和阴影 */
.content {
    background-color: var(--background-color);
}

.navigation {
    background-color: var(--background-color);
}