/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2 {
    color: #667eea;
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* 个人信息容器 */
.profile-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 照片样式 */
.profile-img {
    display: block;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 5px solid #667eea;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* 简介部分 */
.intro-section p {
    font-size: 1.1em;
    text-align: center;
    color: #555;
    margin-bottom: 20px;
}

/* 兴趣列表 */
.interests-section ul {
    list-style-type: none;
    margin-left: 20px;
}

.interests-section li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.interests-section li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 工作经验样式 */
.experience-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.job {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.job-period {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.job-details {
    list-style-type: none;
    padding-left: 5px;
}

.job-details li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.job-details li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 0.8;
}

/* 联系按钮 */
.contact-section {
    text-align: center;
    margin-top: 30px;
}

.contact-btn {
    display: inline-block;
    background-color: #667eea;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #777;
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .profile-img {
        max-width: 150px;
    }
    
    .profile-container {
        padding: 20px;
    }
}