* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background:
        linear-gradient(135deg,
            rgba(255, 183, 197, 0.4) 0%,    /* 温柔粉色 */
            rgba(255, 154, 158, 0.5) 25%,   /* 珊瑚粉 */
            rgba(255, 206, 84, 0.4) 50%,    /* 温暖橙黄 */
            rgba(240, 147, 251, 0.5) 75%,   /* 淡紫色 */
            rgba(174, 198, 207, 0.4) 100%   /* 温柔蓝灰 */
        ),
        url('./photos/zezhi.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* 弹窗样式 */
.modal {
    display: block;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('./photos/seal4.jpg') center center / cover no-repeat,
                linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
    background-blend-mode: overlay;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: #667eea;
}

.modal-content button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #bd2130 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow:
        0 4px 15px rgba(220, 53, 69, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 25px auto 15px;
    letter-spacing: 1px;
    font-family: 'Microsoft YaHei', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-content button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.modal-content button:after {
    content: '';
    position: absolute;
    z-index: -1;
}

.modal-content button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e74c3c 0%, #dc3545 50%, #c82333 100%);
    box-shadow:
        0 6px 20px rgba(220, 53, 69, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content button:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(220, 53, 69, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.15);
}

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

#errorMessage {
    color: #e74c3c;
    margin-top: 10px;
    font-size: 14px;
}

/* 主内容样式 */
.hidden {
    display: none;
}

#mainContent {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
    padding: 60px 40px;
    position: relative;
    z-index: 15;
}

header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: -1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7), 1px 1px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #f8f9ff, #e8f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    letter-spacing: 3px;
    position: relative;
}

header p {
    font-size: 1.3em;
    opacity: 0.98;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.95);
}

/* 时间轴样式 */
.timeline {
    position: relative;
    padding: 20px 0;
    z-index: 10;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    width: 45%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 55%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 26px;
    height: 26px;
    background: linear-gradient(45deg, rgba(255, 182, 193, 0.9), rgba(255, 218, 185, 0.8));
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 20px rgba(255, 182, 193, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.8),
        0 2px 15px rgba(255, 105, 180, 0.2);
    z-index: 10;
    animation: timelineDotGlow 3s ease-in-out infinite;
}

@keyframes timelineDotGlow {
    0%, 100% {
        box-shadow:
            0 4px 20px rgba(255, 182, 193, 0.4),
            0 0 0 2px rgba(255, 255, 255, 0.8),
            0 2px 15px rgba(255, 105, 180, 0.2);
    }
    50% {
        box-shadow:
            0 4px 25px rgba(255, 182, 193, 0.6),
            0 0 0 2px rgba(255, 255, 255, 0.9),
            0 2px 20px rgba(255, 105, 180, 0.4),
            0 0 10px rgba(255, 182, 193, 0.3);
    }
}

.timeline-item:nth-child(odd)::before {
    right: -40px;
}

.timeline-item:nth-child(even)::before {
    left: -40px;
}

.timeline-date {
    color: #667eea;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1em;
    font-weight: 400;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-container {
    position: relative;
    animation: photoFadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--photo-index, 0) * 0.1s);
}

.photo-container img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(0.95);
    border: 2px solid transparent;
}

.photo-container:hover img {
    transform: scale(1.08) translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 182, 193, 0.4),
        0 0 15px rgba(255, 105, 180, 0.2);
    filter: brightness(1.05) saturate(1.1);
    border: 2px solid rgba(255, 182, 193, 0.3);
}

/* 照片微妙呼吸效果 */
.photo-container img {
    animation: photoGlow 6s ease-in-out infinite;
    animation-delay: calc(var(--photo-index, 0) * 0.3s);
}

@keyframes photoGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.15),
            0 0 8px rgba(255, 182, 193, 0.15);
    }
}

.photo-caption {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.85em;
    padding: 8px 12px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

.photo-container:hover .photo-caption {
    opacity: 1;
    transform: translateY(0);
}

/* 兼容旧的photo-grid img选择器 */
.photo-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(0.95);
}

.photo-grid img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

/* CoCo Logo 样式 */
.coco-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1400;
    transition: all 0.3s ease;
}

.coco-logo img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 15px rgba(255, 182, 193, 0.4));
    transition: all 0.3s ease;
    animation: logoBreathing 3s ease-in-out infinite;
}

.coco-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(255, 105, 180, 0.6));
    animation-play-state: paused;
}

/* CoCo Logo 呼吸动画 */
@keyframes logoBreathing {
    0%, 100% {
        filter: drop-shadow(0 4px 15px rgba(255, 182, 193, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 8px 30px rgba(255, 182, 193, 0.9)) drop-shadow(0 0 25px rgba(255, 105, 180, 0.6)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        transform: scale(1.08);
    }
}

/* 音乐控制器样式 */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
}

.music-control button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-control button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.music-control button:active {
    transform: translateY(0);
}

.music-control.paused button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* 音乐控制器动画 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.music-control.playing button {
    animation: pulse 2s infinite;
}

/* 悬停效果增强 */
.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 时间轴线条增强 */
.timeline::before {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 10%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.7) 90%,
        transparent 100%);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.6);
}

/* 背景图片遮罩层 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 192, 203, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(255, 218, 185, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 245, 238, 0.08) 0%, transparent 50%),
        linear-gradient(45deg,
            rgba(255, 183, 197, 0.1) 0%,
            rgba(255, 206, 84, 0.05) 50%,
            rgba(240, 147, 251, 0.08) 100%
        );
    backdrop-filter: blur(0.5px);
    pointer-events: none;
    z-index: 0;
}

/* 背景图片虚化效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

/* 标题动画增强 */
@keyframes titleGlow {
    0%, 100% { text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); }
    50% { text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3); }
}

header h1 {
    animation: titleGlow 4s ease-in-out infinite;
}

/* 时间轴项目交错动画 */
.timeline-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(even) {
    animation-delay: 0.3s;
}

/* 照片网格增强动画 */
.photo-grid img {
    animation: photoFadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--photo-index, 0) * 0.1s);
}

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

/* 音乐控制器增强 */
.music-control button {
    position: relative;
    overflow: hidden;
}

.music-control button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.music-control button:hover::before {
    width: 100px;
    height: 100px;
}

/* 滚动进入动画 */
.timeline-item.animate {
    opacity: 1;
    animation: slideInFromSide 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.timeline-item:nth-child(even).animate {
    animation-name: slideInFromSideRight;
}

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

/* 加载动画 */
.loading-shimmer {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

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

/* 动态粒子效果 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.particle.heart {
    color: #ff6b9d;
    font-size: 12px;
    animation: floatHeart 8s linear infinite;
}

.particle.star {
    color: #ffd93d;
    font-size: 10px;
    animation: floatStar 10s linear infinite;
}

.particle.sparkle {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSparkle 6s linear infinite;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatStar {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

@keyframes floatSparkle {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* 个性化问候语样式 */
.personal-greeting {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    border-radius: 25px;
    font-size: 1.2em;
    color: #2c3e50;
    font-weight: 500;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: greetingSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.personal-greeting.fade-out {
    animation: greetingFadeOut 1s ease-out forwards;
}

@keyframes greetingSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes greetingFadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

/* 彩蛋弹窗样式 */
.easter-egg-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4000;
    animation: easterEggBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.easter-egg-popup.fade-out {
    animation: easterEggFadeOut 1s ease-out forwards;
}

.easter-egg-content {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.95), rgba(255, 218, 185, 0.95));
    backdrop-filter: blur(20px);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.easter-egg-text {
    font-size: 1.2em;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
}

.easter-egg-emoji {
    font-size: 1.5em;
    animation: bounce 1s infinite;
}

@keyframes easterEggBounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes easterEggFadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 彩蛋粒子样式 */
.easter-egg-particle {
    font-size: 16px;
    animation: easterEggExplode 3s ease-out forwards;
}

@keyframes easterEggExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--random-x, 0) * 200px), calc(var(--random-y, 0) * -150px)) scale(0.5);
        opacity: 0;
    }
}

/* 底部温馨结语样式 */
.bottom-message {
    margin: 80px auto 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bottom-message.revealed {
    opacity: 1;
    transform: translateY(0);
}

.bottom-message-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 25px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.bottom-message-main {
    font-size: 1.3em;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bottom-message-heart {
    font-size: 1.2em;
    animation: heartPulse 2s ease-in-out infinite;
}

.bottom-message-sub {
    font-size: 1.1em;
    color: #5a6c7d;
    margin-bottom: 20px;
    font-style: italic;
}

.bottom-message-footer {
    font-size: 0.95em;
    color: #8e9aaf;
    font-weight: 300;
}

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

/* 底部消息粒子效果 */
.bottom-message-particle {
    font-size: 14px;
    animation: bottomMessageFloat 4s ease-out forwards;
}

@keyframes bottomMessageFloat {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        left: 50px !important;
    }
    
    .timeline-item::before {
        left: -30px !important;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .modal-content {
        margin: 25% auto;
        padding: 20px;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
    }
    
    .music-control button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .coco-logo {
        top: 20px;
        left: 20px;
    }

    .coco-logo img {
        width: 60px;
        height: 60px;
    }

    .personal-greeting {
        padding: 15px 25px;
        font-size: 1em;
        margin: 0 20px;
    }

    .photo-caption {
        font-size: 0.75em;
        padding: 6px 8px;
        bottom: 6px;
        left: 6px;
        right: 6px;
    }
}
