* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #ffe6e6, #ffcccc, #ffb3b3);
    color: #5a3e36;
    min-height: 100vh;
    line-height: 1.6;
}

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

header {
    text-align: center;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #d23669;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #7d5d5d;
    margin-bottom: 20px;
}

.love-date {
    font-size: 1.5rem;
    color: #d23669;
    font-weight: bold;
}

.counter-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.days-counter {
    font-size: 4rem;
    color: #d23669;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.counter-label {
    font-size: 1.2rem;
    color: #7d5d5d;
}

.timeline-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #d23669;
    margin-bottom: 30px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #d23669;
    margin: 10px auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #d23669;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    clear: both;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

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

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

.timeline-item:nth-child(even) .timeline-content:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-year {
    font-size: 1.8rem;
    color: #d23669;
    margin-bottom: 10px;
}

.timeline-date {
    font-style: italic;
    margin-bottom: 15px;
    color: #7d5d5d;
}

.timeline-image {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 5px solid #ffb3b3;
    transition: transform 0.3s;
}

.timeline-image:hover {
    transform: scale(1.05);
}

.timeline-marker {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d23669;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #d23669;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.more-photos-section {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.more-btn {
    background: #d23669;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(210, 54, 105, 0.3);
    text-decoration: none;
    display: inline-block;
}

.more-btn:hover {
    background: #b32b5a;
    transform: translateY(-2px);
}

.heart {
    color: #d23669;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.2); }
    10% { transform: scale(1.1); }
    15% { transform: scale(1.3); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: #7d5d5d;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:after {
        border-left: none;
        border-right: 10px solid white;
        left: -10px;
        right: auto;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .days-counter {
        font-size: 3rem;
    }
}
