/* 全局容器 */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* 1. 个人简介卡片美化 */
.profile-card {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    margin-top: 20px;
    border: 1px solid #f0f0f0;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.profile-avatar:hover {
    transform: rotate(360deg);
}
.profile-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.profile-bio {
    color: #666;
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 15px;
}
.profile-tags span {
    display: inline-block;
    background: #e1f5fe;
    color: #0288d1;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    margin: 0 4px;
}

/* 2. 章节标题美化 */
.section-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
    margin: 40px 0 25px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: #4a90e2;
    border-radius: 2px;
}

/* 3. "我在做什么" 卡片网格 */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.focus-item {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #b3e5fc;
}
.focus-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #eee;
    transition: background 0.3s;
}
.focus-item:hover::before {
    background: #03a9f4;
}
.focus-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.focus-icon {
    font-size: 1.8em;
    margin-right: 12px;
}
.focus-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}
.focus-desc {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
}

/* 4. 喜欢/讨厌 左右布局 */
.preference-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.pref-card {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    padding: 25px;
    position: relative;
}
.pref-likes {
    background-color: #f1f8e9;
    border: 1px solid #dcedc8;
}
.pref-dislikes {
    background-color: #fbe9e7;
    border: 1px solid #ffccbc;
}
.pref-header {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.pref-header.like { color: #2e7d32; }
.pref-header.dislike { color: #c62828; }

.pref-list {
    padding-left: 20px;
    margin: 0;
}
.pref-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

/* 5. 联系方式按钮化 */
.contact-container {
    text-align: center;
    padding: 20px 0;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    margin: 0 10px 10px;
    border-radius: 50px;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.contact-btn.email {
    background: linear-gradient(45deg, #FF512F, #DD2476);
}
.contact-btn.github {
    background: linear-gradient(45deg, #24292e, #4b5563);
}
.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.contact-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

/* 底部 Note */
.site-note {
    margin-top: 50px;
    padding: 20px;
    border-top: 1px dashed #ccc;
    color: #777;
    font-size: 0.9em;
    text-align: center;
}
