/* ========================================
   新版网站 - 手绘风格 & 简洁设计
   ======================================== */

/* 字体导入 */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS变量 */
:root {
    /* 颜色 */
    --color-primary: #2D3142;
    --color-accent: #EF8354;
    --color-secondary: #4F5D75;
    --color-bg: #FAFAFA;
    --color-white: #FFFFFF;
    --color-text: #2D3142;
    --color-text-light: #6B7280;

    /* 便签颜色 */
    --color-sticky-yellow: #FFF4B8;
    --color-sticky-pink: #FFE4E9;
    --color-sticky-blue: #E0F2FE;
    --color-sticky-green: #D1FAE5;

    /* 字体 */
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-hand: 'Caveat', cursive;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   加载动画 - 梦凡's Space 入口
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2D3142 0%, #4F5D75 50%, #2D3142 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 星空背景 */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starsMove 20s linear infinite;
}

@keyframes starsMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: contentFadeIn 1s ease;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 飘飞的便利贴 */
.floating-notes {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 24px;
    animation: noteFloat 8s ease-in-out infinite;
    opacity: 0.6;
}

.note-yellow {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.note-pink {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.note-blue {
    top: 40%;
    left: 20%;
    animation-delay: 2s;
}

.note-green {
    top: 70%;
    left: 70%;
    animation-delay: 3s;
}

.note:nth-child(5) {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.note:nth-child(6) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2.5s;
}

@keyframes noteFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) rotate(-5deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
        opacity: 0.6;
    }
}

/* 主标题 */
.welcome-title {
    margin-bottom: 60px;
}

.space-name {
    font-family: var(--font-hand);
    font-size: 56px;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(239, 131, 84, 0.5),
                 0 0 60px rgba(239, 131, 84, 0.3);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(239, 131, 84, 0.5),
                     0 0 40px rgba(239, 131, 84, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(239, 131, 84, 0.8),
                     0 0 60px rgba(239, 131, 84, 0.5),
                     0 0 80px rgba(239, 131, 84, 0.3);
    }
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.deco-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 60px;
        opacity: 0.5;
    }
    50% {
        width: 100px;
        opacity: 1;
    }
}

.deco-star {
    font-size: 20px;
    color: var(--color-accent);
    animation: starRotate 4s linear infinite;
}

@keyframes starRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 进度条 */
.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(239, 131, 84, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #ffb3d9, var(--color-accent));
    background-size: 200% 100%;
    animation: progressMove 2s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-accent);
}

@keyframes progressMove {
    0% {
        width: 0%;
        background-position: 0% 50%;
    }
    50% {
        width: 70%;
        background-position: 100% 50%;
    }
    100% {
        width: 100%;
        background-position: 200% 50%;
    }
}

.loading-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    animation: messageFade 2s ease-in-out infinite;
}

@keyframes messageFade {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* 主容器 */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ========================================
   导航栏
   ======================================== */
.main-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    overflow-y: auto;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.nav-logo h1 {
    font-family: var(--font-hand);
    font-size: 36px;
    color: var(--color-primary);
    position: relative;
}

.nav-logo h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    transition: var(--transition);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 移动端菜单遮罩 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
}

.nav-link:hover {
    transform: translateX(5px);
}

.nav-link.active {
    color: var(--color-accent);
    font-weight: 600;
}

.nav-icon {
    font-size: 20px;
    margin-right: 12px;
    position: relative;
    z-index: 1;
}

.nav-text {
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* ========================================
   悬浮音乐播放器
   ======================================== */
.floating-music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

/* 播放按钮 */
.music-toggle-btn {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(239, 131, 84, 0.4);
    position: relative;
}

.music-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 131, 84, 0.5);
}

.music-toggle-btn.playing {
    animation: musicPulse 2s ease infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(239, 131, 84, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(239, 131, 84, 0.8),
                    0 0 0 10px rgba(239, 131, 84, 0.2);
    }
}

.music-icon {
    font-size: 24px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.music-toggle-btn.playing .music-icon {
    animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 音乐面板 */
.music-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 220px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.music-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 2px solid var(--color-bg);
}

.panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.panel-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.panel-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.panel-body {
    padding: 16px;
}

.music-name {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.volume-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #E5E7EB;
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* ========================================
   可拖拽便签
   ======================================== */
.sticky-note {
    position: absolute;
    min-width: 140px;
    min-height: 140px;
    padding: 20px;
    background: var(--color-sticky-yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    cursor: move;
    user-select: none;
    z-index: 50;
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-hand);
    font-size: 18px;
    line-height: 1.4;
}

.sticky-note:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    z-index: 51;
}

.sticky-note.dragging {
    opacity: 0.8;
    z-index: 1000;
}

.sticky-note.yellow {
    background: var(--color-sticky-yellow);
}

.sticky-note.pink {
    background: var(--color-sticky-pink);
}

.sticky-note.blue {
    background: var(--color-sticky-blue);
}

.sticky-note.green {
    background: var(--color-sticky-green);
}

/* ========================================
   主内容区域
   ======================================== */
.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 60px 80px;
}

.section {
    display: none;
    min-height: 100vh;
    padding: 40px 0;
    animation: fadeIn 0.6s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ========================================
   Home Section
   ======================================== */
.home-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--color-accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--color-accent);
    opacity: 0.2;
    z-index: -1;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-text-light);
    font-weight: 400;
}

.lottie-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-avatar {
    position: relative;
}

.about-avatar img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.avatar-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-hand);
    font-size: 18px;
    transform: rotate(10deg);
    box-shadow: var(--shadow-md);
}

/* 心情卡片 */
.mood-card {
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.mood-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.mood-card h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.mood-display {
    min-height: 100px;
    margin-bottom: 16px;
}

.mood-text {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 8px;
    font-family: var(--font-hand);
    font-size: 16px;
    white-space: pre-wrap;
}

.mood-date {
    color: var(--color-text-light);
    font-size: 12px;
}

.btn-edit-mood {
    width: 100%;
    padding: 10px;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit-mood:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* 特质便利贴网格 */
.about-right {
    width: 100%;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.trait-note {
    min-height: 100px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: var(--font-hand);
    font-size: 17px;
    line-height: 1.5;
    cursor: default;
    transition: all 0.3s ease;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1), transparent),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
}

.trait-note::before {
    content: '📌';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    opacity: 0.6;
}

.trait-note:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.trait-note:nth-child(odd) {
    transform: rotate(-1deg);
}

.trait-note:nth-child(even) {
    transform: rotate(1deg);
}

.trait-note:nth-child(3n) {
    transform: rotate(-0.5deg);
}

.trait-note.yellow {
    background: var(--color-sticky-yellow);
    animation: floatNote 6s ease-in-out infinite;
}

.trait-note.pink {
    background: var(--color-sticky-pink);
    animation: floatNote 7s ease-in-out infinite;
}

.trait-note.blue {
    background: var(--color-sticky-blue);
    animation: floatNote 8s ease-in-out infinite;
}

.trait-note.green {
    background: var(--color-sticky-green);
    animation: floatNote 9s ease-in-out infinite;
}

@keyframes floatNote {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-5px) rotate(var(--rotation, 0deg));
    }
}

/* 心情编辑器弹窗 */
.mood-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.mood-modal.active {
    display: flex;
}

.mood-modal-content {
    background: var(--color-white);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mood-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 2px solid var(--color-bg);
}

.mood-modal-header h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.mood-modal-body {
    padding: 30px;
}

.mood-textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: var(--transition);
}

.mood-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(239, 131, 84, 0.1);
}

.mood-timestamp {
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-text-light);
    text-align: right;
}

.mood-modal-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--color-bg);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 12px 24px;
    background: var(--color-bg);
    color: var(--color-text);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #E5E7EB;
}

/* ========================================
   碎碎念 Section
   ======================================== */

/* 发表区域 */
.thoughts-editor {
    max-width: 800px;
    margin: 0 auto 60px;
    background: var(--color-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.thoughts-editor h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.thoughts-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thought-input {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
}

.thought-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(239, 131, 84, 0.1);
}

.thought-textarea {
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    min-height: 120px;
    resize: vertical;
    transition: var(--transition);
}

.thought-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(239, 131, 84, 0.1);
}

.thought-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-size: 13px;
    color: var(--color-text-light);
}

/* 时间轴列表 */
.thoughts-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* 时间轴线条 */
.thoughts-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.thought-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px;
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
}

.thought-item:nth-child(n) {
    animation-delay: calc(var(--index) * 0.1s);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 时间点 */
.thought-dot {
    position: absolute;
    left: 22px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.2);
    z-index: 1;
}

/* 内容卡片 */
.thought-card {
    background: var(--color-white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 3px solid var(--color-accent);
}

.thought-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.thought-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.thought-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thought-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

.thought-time {
    font-size: 13px;
    color: var(--color-text-light);
}

.thought-id {
    font-size: 11px;
    color: #9CA3AF;
    font-family: monospace;
}

.thought-text {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 空状态 */
.empty-thoughts {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-light);
}

.empty-thoughts .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* 加载状态 */
.loading-thoughts {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid var(--color-bg);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   更新日志 Section
   ======================================== */
.changelog-container {
    max-width: 1000px;
    margin: 0 auto;
}

.changelog {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.log-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-family: var(--font-hand);
    position: relative;
    padding-left: 20px;
}

.log-title::before {
    content: '📝';
    position: absolute;
    left: -10px;
    font-size: 32px;
}

.log-list {
    list-style: none;
}

.log-item {
    position: relative;
    padding-left: 140px;
    padding-bottom: 30px;
    border-left: 2px solid var(--color-bg);
    margin-left: 60px;
}

.log-item:last-child {
    border-left-color: transparent;
}

.log-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.2);
}

.log-date {
    position: absolute;
    left: -140px;
    top: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-sticky-yellow);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.log-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-version {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(239, 131, 84, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    width: fit-content;
}

.log-text {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 15px;
}

/* 技术栈 */
.tech-stack {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.tech-stack h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 8px 20px;
    background: var(--color-bg);
    border: 2px solid var(--color-secondary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-white);
    padding: 30px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-email {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input,
.form-textarea {
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(239, 131, 84, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(239, 131, 84, 0.3);
}

.btn-primary:hover {
    background: #D96D42;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 131, 84, 0.4);
}

.btn-send {
    width: 100%;
}

/* ========================================
   Diary Section
   ======================================== */
.diary-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.diary-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-diary {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.diary-entry {
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.diary-entry:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.diary-date-display {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
}

.btn-delete-diary {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    padding: 4px 8px;
}

.btn-delete-diary:hover {
    opacity: 1;
    transform: scale(1.2);
}

.diary-text {
    color: var(--color-text);
    line-height: 1.8;
    white-space: pre-wrap;
}

.diary-editor {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.diary-editor h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.diary-date {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
}

.diary-date:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(239, 131, 84, 0.1);
}

.diary-textarea {
    width: 100%;
    min-height: 200px;
    margin-bottom: 16px;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-upload-area {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--color-white);
    border-radius: 16px;
    border: 2px dashed var(--color-accent);
}

.btn-upload-gallery {
    padding: 14px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(239, 131, 84, 0.3);
}

.btn-upload-gallery:hover {
    background: #D96D42;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 131, 84, 0.4);
}

.upload-hint {
    margin-top: 12px;
    color: var(--color-text-light);
    font-size: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.empty-gallery {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.btn-delete-gallery {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .btn-delete-gallery {
    opacity: 1;
}

.btn-delete-gallery:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
}

/* Lightbox 动画 */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ========================================
   Memories & Lofi Sections
   ======================================== */
.memories-iframe-container,
.lofi-iframe-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.memories-iframe,
.lofi-iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

/* iframe错误提示 */
.iframe-error {
    text-align: center;
    padding: 80px 40px;
    color: var(--color-text);
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.iframe-error h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.iframe-error p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* ========================================
   浮动装饰
   ======================================== */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 10%;
    left: 80%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--color-secondary);
    top: 60%;
    left: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--color-accent);
    top: 80%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
    }
    75% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .main-nav {
        width: 240px;
    }

    .main-content {
        margin-left: 240px;
        width: calc(100% - 240px);
        padding: 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 42px;
    }
}

/* 中等平板设备 */
@media (max-width: 900px) {
    .main-nav {
        width: 220px;
        padding: 30px 20px;
    }

    .main-content {
        margin-left: 220px;
        width: calc(100% - 220px);
        padding: 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .traits-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* 移动端显示菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-header {
        margin-bottom: 0;
        width: 100%;
    }

    .nav-logo h1 {
        font-size: 28px;
    }

    /* 默认隐藏菜单 */
    .nav-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: 0;
        opacity: 0;
        transform: translateY(-10px);
    }

    /* 菜单打开状态 */
    .main-nav.menu-open .nav-menu {
        max-height: 500px;
        margin-top: 20px;
        opacity: 1;
        transform: translateY(0);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-bottom: 10px;
    }

    /* 调整导航栏高度 */
    .main-nav.menu-open {
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        padding-bottom: 20px;
    }

    /* 导航链接在移动端的样式 */
    .nav-link {
        padding: 14px 16px;
        margin-bottom: 4px;
        background: var(--color-bg);
        border-radius: 10px;
    }

    .nav-link:hover {
        transform: translateX(0) scale(1.02);
    }

    .nav-link.active {
        background: rgba(239, 131, 84, 0.1);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 80px 20px 20px;
        margin-top: 0;
    }

    .section {
        padding: 20px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-left {
        order: 1;
    }

    .about-right {
        order: 2;
    }

    .traits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trait-note {
        min-height: 80px;
        font-size: 15px;
        padding: 16px;
    }

    .mood-modal-content {
        width: 95%;
        margin: 20px;
    }

    .mood-modal-header,
    .mood-modal-body,
    .mood-modal-footer {
        padding: 20px;
    }

    .mood-modal-footer {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
    }

    /* 碎碎念移动端适配 */
    .thoughts-editor {
        padding: 20px;
        margin-bottom: 40px;
    }

    .thoughts-timeline::before {
        left: 15px;
    }

    .thought-item {
        padding-left: 50px;
    }

    .thought-dot {
        left: 7px;
        width: 14px;
        height: 14px;
    }

    .thought-card {
        padding: 16px 20px;
    }

    .thought-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .diary-container {
        grid-template-columns: 1fr;
    }

    .diary-editor {
        position: relative;
        top: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .sticky-note {
        display: none;
    }

    .lottie-decoration {
        display: none;
    }

    /* iframe适配 */
    .memories-iframe,
    .lofi-iframe {
        height: 600px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-upload-area {
        padding: 20px;
    }

    /* 悬浮音乐播放器移动端 */
    .floating-music-player {
        bottom: 20px;
        right: 20px;
    }

    .music-toggle-btn {
        width: 50px;
        height: 50px;
    }

    .music-icon {
        font-size: 20px;
    }

    .music-panel {
        width: 200px;
    }

    /* 更新日志移动端 */
    .changelog {
        padding: 24px 20px;
    }

    .log-item {
        padding-left: 20px;
        margin-left: 10px;
    }

    .log-date {
        position: relative;
        left: 0;
        display: inline-block;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .log-item::before {
        left: -15px;
    }

    .log-version {
        font-size: 14px;
    }

    .log-text {
        font-size: 14px;
    }

    .tech-stack {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* 优化滚动条 */
    .main-nav::-webkit-scrollbar {
        width: 4px;
    }

    .main-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .main-nav::-webkit-scrollbar-thumb {
        background: var(--color-accent);
        border-radius: 2px;
    }
}

/* ========================================
   小女孩插画装饰
   ======================================== */
.girl-illustration {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    width: 450px;
    height: 550px;
    pointer-events: none;
    z-index: 1;
}

.cute-girl-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* 背景圆圈脉动 */
.bg-circle {
    animation: pulse-bg 3s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        r: 180;
        opacity: 0.3;
    }
    50% {
        r: 190;
        opacity: 0.4;
    }
}

/* 小女孩身体轻微晃动 */
.girl-body {
    transform-origin: 200px 230px;
    animation: sway-girl 4s ease-in-out infinite;
}

@keyframes sway-girl {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(2deg);
    }
}

/* 星星闪烁 */
.sparkle {
    animation: sparkle-twinkle 2s ease-in-out infinite;
}

.sparkle-1 {
    animation-delay: 0s;
}

.sparkle-2 {
    animation-delay: 0.5s;
}

.sparkle-3 {
    animation-delay: 1s;
}

.sparkle-4 {
    animation-delay: 1.5s;
}

@keyframes sparkle-twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* 漂浮装饰元素 */
.float-deco {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.6;
    animation: float-around 8s ease-in-out infinite;
}

.deco-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.deco-2 {
    top: 15%;
    right: 5%;
    animation-delay: 2s;
}

.deco-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: 4s;
}

.deco-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-5px, -25px) rotate(-5deg);
        opacity: 1;
    }
    75% {
        transform: translate(5px, -15px) rotate(3deg);
        opacity: 0.7;
    }
}

/* 移动端适配 */
@media (max-width: 1200px) {
    .girl-illustration {
        width: 350px;
        height: 450px;
        right: 40px;
    }
}

@media (max-width: 768px) {
    .girl-illustration {
        width: 250px;
        height: 320px;
        right: 10px;
        top: 60%;
    }

    .float-deco {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .girl-illustration {
        display: none; /* 小屏幕隐藏插画，避免遮挡内容 */
    }
}

/* ========================================
   底部备案信息
   ======================================== */
.site-footer {
    background: var(--color-white);
    border-top: 1px solid rgba(45, 49, 66, 0.08);
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.icp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--color-bg);
    opacity: 0.7;
}

.icp-link::before {
    content: '🔒';
    font-size: 0.85em;
    opacity: 0.6;
}

.icp-link:hover {
    color: var(--color-accent);
    opacity: 1;
    background: rgba(239, 131, 84, 0.05);
    transform: translateY(-2px);
}

/* 响应式：移动端 */
@media (max-width: 768px) {
    .site-footer {
        padding: 16px 0;
    }

    .icp-link {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .icp-link {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}
