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

:root {
    --rose: #e8a0bf;
    --rose-light: #f5d5e5;
    --rose-dark: #c06c94;
    --gold: #d4a373;
    --cream: #fef9f2;
    --text: #3d2c2c;
    --text-light: #7a6565;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2d1b33 0%, #1a1128 40%, #0d0a18 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232, 160, 191, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(212, 163, 115, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--rose);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5rem, 15vw, 12rem);
    color: white;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.scroll-hint {
    font-size: 2rem;
    color: var(--rose);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Letter */
.letter {
    padding: 100px 0 80px;
    text-align: center;
}

.letter .container {
    max-width: 700px;
}

.letter p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.letter .signature {
    margin-top: 40px;
    font-size: 1.3rem;
    color: var(--text);
    font-style: normal;
}

.letter .signature em {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--rose-dark);
}

/* Year sections */
.year-section {
    padding: 80px 0;
}

.year-section:nth-child(even) {
    background: white;
}

.year-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--rose-dark);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.year-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 48px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.photo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.photo-card.featured {
    grid-column: span 2;
}

.photo-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.photo-card.featured img {
    height: 380px;
}

.caption {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.5;
}

/* Footer */
.closing {
    padding: 120px 0;
    background: linear-gradient(135deg, #2d1b33 0%, #1a1128 100%);
    text-align: center;
    color: white;
}

.closing-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
}

.closing-sign {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.closing-sign span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--rose);
    display: block;
    margin-top: 8px;
}

.heart {
    font-size: 3rem;
    color: var(--rose);
    margin-top: 32px;
    animation: heartbeat 1.5s infinite;
}

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

/* Year navigation */
.year-nav {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.year-nav a {
    display: block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}

.year-nav a:hover {
    background: var(--rose);
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-card.featured {
        grid-column: span 1;
    }

    .photo-card.featured img {
        height: 280px;
    }

    .year-nav {
        position: fixed;
        right: auto;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background: rgba(255,255,255,0.95);
        padding: 8px;
        gap: 4px;
        backdrop-filter: blur(10px);
        box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    }

    .year-nav a {
        padding: 6px 8px;
        font-size: 10px;
    }

    .year-section {
        padding: 60px 0;
    }

    .letter {
        padding: 60px 0;
    }

    .closing {
        padding: 80px 0;
    }
}
