* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 700px;
    padding: 40px 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    padding-bottom: 60px;
    animation: fadeIn 0.6s ease;
}

/* 返回链接 */
.back-link {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #2c3e50;
    border-color: #2c3e50;
    transform: translateX(-3px);
}

/* 关于区域 */
.about-section {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.page-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-block {
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-block p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

/* 联系链接 */
.contact-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #ffffff;
    border-color: #2c3e50;
    transform: translateY(-2px);
}

.contact-link .icon {
    font-size: 18px;
}

/* 技术标签 */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.footer p {
    margin: 5px 0;
    font-size: 13px;
    color: #999;
}

.footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #2c3e50;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .info-block h2 {
        font-size: 18px;
    }
    
    .info-block p {
        font-size: 14px;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-link {
        justify-content: center;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .page-title {
        color: #ffffff;
    }
    
    .back-btn {
        color: #999;
        border-color: #3c3c3c;
    }
    
    .back-btn:hover {
        color: #e0e0e0;
        border-color: #e0e0e0;
    }
    
    .info-block {
        border-bottom-color: #3c3c3c;
    }
    
    .info-block h2 {
        color: #ffffff;
    }
    
    .info-block p {
        color: #999;
    }
    
    .contact-link {
        background: #2c2c2c;
        border-color: #3c3c3c;
        color: #e0e0e0;
    }
    
    .contact-link:hover {
        background: #333333;
        border-color: #e0e0e0;
    }
    
    .tag {
        background: #2c2c2c;
        border-color: #3c3c3c;
        color: #999;
    }
    
    .tag:hover {
        background: #e0e0e0;
        color: #1a1a1a;
        border-color: #e0e0e0;
    }
    
    .footer {
        border-top-color: #3c3c3c;
    }
    
    .footer a:hover {
        color: #ffffff;
    }
}
