/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #87CEEB;
    --primary-yellow: #F9E076;
    --warm-yellow: #FFD93D;
    --soft-orange: #FFB26B;
    --warm-brown: #C4A77D;
    --light-brown: #E8D5B7;
    --cream: #FFF8E7;
    --soft-white: #FFFEF9;
    --text-dark: #5D4E37;
    --text-medium: #8B7355;
    --text-light: #B8A88A;
    --shadow-soft: 0 8px 32px rgba(139, 115, 85, 0.12);
    --shadow-hover: 0 12px 40px rgba(139, 115, 85, 0.18);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.title-divider::before,
.title-divider::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--warm-yellow));
    border-radius: 2px;
}

.title-divider::after {
    background: linear-gradient(90deg, var(--warm-yellow), transparent);
}

.divider-dot {
    width: 10px;
    height: 10px;
    background: var(--warm-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 217, 61, 0.3);
}

/* ===== 左侧固定导航栏 ===== */
.sidebar-nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 900;
    background: rgba(255, 254, 249, 0.88);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 20px 12px;
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    position: relative;
}

.sidebar-item a.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.sidebar-item a.nav-link::after {
    display: none;
}

.sidebar-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.sidebar-text {
    opacity: 0.7;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.sidebar-item a.nav-link:hover {
    color: var(--text-dark);
    background: rgba(255, 217, 61, 0.18);
}

.sidebar-item a.nav-link:hover .sidebar-text {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-item a.nav-link.active {
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.35), rgba(255, 158, 196, 0.25));
}

.sidebar-item a.nav-link.active .sidebar-text {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-item a.nav-link.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 2px;
}

/* 桌面端内容避让侧栏 */
@media (min-width: 769px) {
    .container {
        padding-left: 110px;
    }
}

/* 移动端导航切换按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: fixed;
        top: 16px;
        left: 16px;
        z-index: 1100;
        background: rgba(255, 254, 249, 0.9);
        backdrop-filter: blur(10px);
        padding: 10px 8px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(139, 115, 85, 0.18);
    }
    
    .sidebar-nav {
        top: 0;
        left: 0;
        transform: translateX(-100%);
        height: 100vh;
        padding: 80px 20px 20px;
        border-radius: 0;
        width: 200px;
        transition: transform 0.35s ease;
    }
    
    .sidebar-nav.open {
        transform: translateX(0);
    }
    
    body.nav-open {
        overflow: hidden;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* 移动端遮罩层 */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 850;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

@media (max-width: 768px) {
    .sidebar-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== 首页英雄区 ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../images/ef30-5c32c04e2973fe0e9dfadcf162a43f85.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.balloon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.balloon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    font-size: 1.5rem;
}

.balloon-3 {
    top: 35%;
    left: 20%;
    animation-delay: 2s;
    font-size: 1.2rem;
}

.cloud-1 {
    top: 12%;
    left: 5%;
    font-size: 3rem;
    animation-duration: 8s;
}

.cloud-2 {
    top: 18%;
    right: 10%;
    font-size: 2.5rem;
    animation-duration: 10s;
    animation-delay: 2s;
}

.moon {
    top: 10%;
    right: 8%;
    font-size: 3.5rem;
    animation: moonGlow 4s ease-in-out infinite;
}

.star-1 {
    top: 8%;
    right: 20%;
    font-size: 1rem;
    animation: twinkle 2s ease-in-out infinite;
}

.star-2 {
    top: 15%;
    right: 25%;
    font-size: 0.8rem;
    animation: twinkle 2.5s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes moonGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 230, 150, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 230, 150, 0.8)); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* 山景层 */
.mountain-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    pointer-events: none;
    display: none;
}

.mountain-back {
    background: 
        linear-gradient(135deg, transparent 40%, #E8D5B7 40%, #D4C4A8 60%, transparent 60%),
        linear-gradient(225deg, transparent 30%, #D4C4A8 30%, #C4B498 55%, transparent 55%);
    opacity: 0.6;
    z-index: 1;
}

.mountain-mid {
    height: 35%;
    background: 
        linear-gradient(115deg, transparent 35%, #C4A77D 35%, #B8956A 50%, transparent 50%),
        linear-gradient(245deg, transparent 40%, #B8956A 40%, #A68558 60%, transparent 60%);
    z-index: 2;
}

.mountain-front {
    height: 25%;
    background: linear-gradient(180deg, #F9E076 0%, #FFD93D 100%);
    z-index: 3;
    border-top: 4px solid #E8C820;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-card {
    background: rgba(255, 254, 249, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px 64px;
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 178, 107, 0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border: 3px dashed var(--warm-yellow);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 16px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 217, 61, 0.4);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--warm-yellow);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 6px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ===== 关于我 ===== */
.section-about {
    background: var(--soft-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(232, 213, 183, 0.5);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-card.full-width {
    grid-column: 1 / -1;
}

.about-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--light-brown);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-medium);
    font-weight: 500;
}

.info-value {
    color: var(--text-dark);
}

.edu-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.edu-major {
    color: var(--text-medium);
    margin-bottom: 4px;
}

.edu-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.edu-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.award-badge {
    padding: 4px 12px;
    background: rgba(255, 217, 61, 0.2);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 0.85rem;
}

.project-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.project-item p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===== 专业技能 ===== */
.section-skills {
    background: linear-gradient(180deg, var(--cream) 0%, var(--soft-white) 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--soft-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(232, 213, 183, 0.5);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--light-brown);
}

.skill-icon {
    font-size: 1.8rem;
}

.skill-category-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.skill-info span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.skill-percent {
    color: var(--text-medium);
}

.skill-bar {
    height: 8px;
    background: var(--light-brown);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(249, 224, 118, 0.2));
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 217, 61, 0.3);
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.3), rgba(249, 224, 118, 0.3));
}

/* ===== 工作经验 ===== */
.section-experience {
    background: var(--soft-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--warm-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 0 6px var(--soft-white), 0 0 0 8px var(--warm-yellow);
    z-index: 2;
}

.timeline-content {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(232, 213, 183, 0.5);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.timeline-time {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 4px 12px;
    background: rgba(255, 217, 61, 0.2);
    border-radius: 12px;
}

.timeline-content h4 {
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1rem;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-medium);
}

.timeline-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

/* ===== 自我评价 ===== */
.section-evaluation {
    background: linear-gradient(180deg, var(--cream) 0%, var(--soft-white) 100%);
}

.evaluation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.eval-card {
    background: var(--soft-white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(232, 213, 183, 0.5);
}

.eval-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.eval-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.eval-card:hover .eval-icon {
    transform: scale(1.2) rotate(10deg);
}

.eval-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.eval-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== 兴趣爱好 ===== */
.section-hobbies {
    background: var(--soft-white);
}

.hobbies-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hobby-item {
    text-align: center;
    transition: var(--transition);
}

a.hobby-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--soft-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 12px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(255, 178, 107, 0.3);
}

.hobby-item:hover .hobby-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 28px rgba(255, 178, 107, 0.4);
}

.hobby-item h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hobby-item p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== 阅读好书卡片 ===== */
.reading-showcase {
    margin-top: 48px;
}

.reading-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    gap: 8px;
    margin-bottom: 28px;
}

.book-card {
    display: flex;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(139, 115, 85, 0.18);
}

.book-card.left-img .img-wrap {
    width: 320px;
    flex-shrink: 0;
}

.book-card.left-img .text-wrap {
    flex: 1;
    padding: 28px 32px;
}

.book-card.right-img .img-wrap {
    width: 320px;
    flex-shrink: 0;
    order: 2;
}

.book-card.right-img .text-wrap {
    flex: 1;
    padding: 28px 32px;
    order: 1;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.icon-block {
    width: 24px;
    height: 28px;
    border-radius: 3px;
    flex-shrink: 0;
}

.quote {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--warm-yellow);
    line-height: 1.6;
}

.desc p {
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* ===== 我的私藏CD ===== */
.music-collection {
    margin-top: 56px;
}

.music-page-title {
    text-align: center;
    margin-bottom: 10px;
}

.music-page-title h1 {
    font-size: 1.75rem;
    color: #2e7d32;
    letter-spacing: 2px;
}

.music-page-title p {
    font-size: 0.875rem;
    color: #666;
    margin-top: 8px;
}

.music-container {
    max-width: 900px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.music-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.music-card:hover {
    transform: translateY(-6px);
}

.cd-cover {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #111;
}

.cd-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.music-card:hover .cd-cover img {
    animation: cdSpin 8s linear infinite;
}

@keyframes cdSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cd-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f3f6ef;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.cd-center::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 3;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.music-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

.music-card {
    user-select: none;
}

.song-info {
    margin-top: 18px;
    text-align: center;
}

.song-name {
    font-size: 1rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 4px;
}

.singer-name {
    font-size: 0.8rem;
    color: #666;
}

/* ===== 摄影作品 ===== */
.photo-gallery {
    margin-top: 56px;
}

.photo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    gap: 8px;
    margin-bottom: 32px;
}

.photo-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(139, 115, 85, 0.28);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-item:hover img {
    transform: scale(1.08);
}

/* ===== 联系我 ===== */
.section-contact {
    background: linear-gradient(180deg, var(--cream) 0%, #E8F4F8 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-desc {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--warm-yellow);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 2px;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-medium);
}

.contact-form-card {
    background: var(--soft-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--light-brown);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--warm-yellow);
    box-shadow: 0 0 0 4px rgba(255, 217, 61, 0.2);
}

.submit-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--soft-orange));
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 178, 107, 0.4);
}

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--text-dark);
    color: var(--cream);
    text-align: center;
    padding: 24px 0;
    font-size: 0.9rem;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--warm-yellow);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== 动画类 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .evaluation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 2px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .evaluation-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-container {
        gap: 24px;
    }
    
    .hobby-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    /* 书籍卡片响应式 */
    .book-card {
        flex-direction: column;
    }
    
    .book-card.left-img .img-wrap,
    .book-card.right-img .img-wrap {
        width: 100%;
        height: 200px;
        order: 0;
    }
    
    .book-card.left-img .text-wrap,
    .book-card.right-img .text-wrap {
        padding: 20px;
        order: 0;
    }
    
    .book-title {
        font-size: 1.15rem;
    }
    
    /* 音乐收藏响应式 */
    .music-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .cd-cover {
        width: 160px;
        height: 160px;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .music-container {
        grid-template-columns: 1fr;
        max-width: 220px;
    }
    .cd-cover {
        width: 200px;
        height: 200px;
    }
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 全页面飘动气球 ===== */
.balloons-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.float-balloon {
    position: absolute;
    bottom: -80px;
    left: var(--left, 10%);
    width: var(--size, 34px);
    height: var(--size, 34px);
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 70% 75%, rgba(0, 0, 0, 0.16) 0%, transparent 50%),
        linear-gradient(160deg, var(--c, #FF6B6B) 0%, rgba(0, 0, 0, 0.22) 100%);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 30C16 30 3 21 3 11.5C3 7 6.6 3 11 3C13.8 3 16 5.5 16 8.5C16 5.5 18.2 3 21 3C25.4 3 29 7 29 11.5C29 21 16 30 16 30Z' fill='black'/></svg>") no-repeat center / 100% 100%;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 30C16 30 3 21 3 11.5C3 7 6.6 3 11 3C13.8 3 16 5.5 16 8.5C16 5.5 18.2 3 21 3C25.4 3 29 7 29 11.5C29 21 16 30 16 30Z' fill='black'/></svg>") no-repeat center / 100% 100%;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
    opacity: 0;
    will-change: transform, opacity;
    animation: balloonRise var(--dur, 15s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes balloonRise {
    0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    8%   { opacity: 0.9; }
    25%  { transform: translate(var(--swing, 25px), -28vh) rotate(12deg); }
    50%  { transform: translate(calc(var(--swing, 25px) * -1), -55vh) rotate(-9deg); }
    75%  { transform: translate(var(--swing, 25px), -82vh) rotate(7deg); }
    92%  { opacity: 0.9; }
    100% { transform: translate(0, -115vh) rotate(0deg); opacity: 0; }
}

@media (max-width: 600px) {
    .float-balloon:nth-child(even) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
