/* ============================================================
   0928.love — Wedding Parallax Site
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --rose-gold: #B76E79;
    --rose-gold-light: #D4A0A7;
    --rose-gold-dark: #8B4A55;
    --gold: #D4A574;
    --gold-light: #E8D5B7;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE4;
    --pink: #F4E0E0;
    --pink-light: #FAEFEF;
    --brown: #3D2C2C;
    --brown-light: #6B5555;
    --white: #FFFFFF;
    --black: #1a1a1a;
    --text: #3D2C2C;
    --text-muted: #8B7B7B;

    --font-cn: 'Noto Serif SC', 'STSong', 'SimSun', serif;
    --font-en: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --nav-height: 70px;
    --max-width: 1200px;
    --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-cn);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--brown);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.section-subtitle {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--rose-gold);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.06em;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0 24px;
}

.nav.scrolled {
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.nav-logo {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.nav.scrolled .nav-logo { color: var(--rose-gold); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    transition: var(--transition);
    position: relative;
}

.nav.scrolled .nav-links a { color: var(--brown-light); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--rose-gold); }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav-toggle span { background: var(--brown); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background:
        linear-gradient(135deg, #3D2C2C 0%, #6B3A3A 25%, #8B5A5A 50%, #B76E79 75%, #D4A574 100%);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 20, 20, 0.45) 0%,
        rgba(30, 20, 20, 0.25) 50%,
        rgba(30, 20, 20, 0.5) 100%
    );
    z-index: 1;
}

/* Particles Canvas */
.particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-en);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-cn);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8D5B7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.name-groom, .name-bride {
    font-family: var(--font-cn);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.name-and {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--gold-light);
}

.hero-date {
    font-family: var(--font-en);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    color: var(--gold-light);
}

/* Hero Countdown */
.hero-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.cd-item {
    text-align: center;
    min-width: 60px;
}

.cd-num {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--white);
}

.cd-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 2px;
}

.cd-sep {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--gold-light);
    opacity: 0.7;
    padding-bottom: 14px;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

/* Reveal for absolutely positioned elements — use opacity only */
.scroll-hint.reveal {
    transform: translateX(-50%) translateY(30px);
}

.scroll-hint.reveal.visible {
    transform: translateX(-50%) translateY(0);
}

.scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    opacity: 0.7;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   INVITATION SECTION
   ============================================================ */
.invitation {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(183, 110, 121, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        var(--cream);
    will-change: transform;
    z-index: 1;
}

.invitation-card {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(183, 110, 121, 0.15);
    border-radius: 8px;
    padding: 70px 50px;
    box-shadow: 0 20px 60px rgba(61, 44, 44, 0.06);
}

.invitation-ornament {
    font-size: 1.8rem;
    color: var(--rose-gold);
    opacity: 0.6;
}

.top-ornament { margin-bottom: 30px; }
.bottom-ornament { margin-top: 30px; }

.invitation-pretext {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.invitation-names {
    font-family: var(--font-cn);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.inv-and {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--rose-gold);
    font-weight: 400;
}

.invitation-request {
    font-family: var(--font-cn);
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.invitation-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--rose-gold), transparent);
}

.divider-icon {
    color: var(--rose-gold);
    font-size: 0.9rem;
}

.invitation-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.inv-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.inv-detail i {
    color: var(--rose-gold);
    font-size: 0.9rem;
    width: 20px;
}

.invitation-closing {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rose-gold);
    letter-spacing: 0.1em;
}

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.countdown-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.countdown-bg {
    position: absolute;
    inset: -10%;
    background:
        linear-gradient(135deg, #2a1a1a 0%, #3D2C2C 30%, #6B3A3A 60%, #4a2a2a 100%);
    will-change: transform;
    z-index: 0;
}

/* Subtle pattern overlay */
.countdown-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(183, 110, 121, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
}

.countdown-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 10, 0.5);
    z-index: 1;
}

.countdown-section .section-title {
    color: var(--cream);
    margin-bottom: 50px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 4vw, 40px);
    flex-wrap: wrap;
}

.countdown-box {
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 30px clamp(20px, 4vw, 40px);
    min-width: clamp(80px, 15vw, 130px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 165, 116, 0.4);
}

.countdown-number {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-unit {
    font-family: var(--font-cn);
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
}

.countdown-sub {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
    font-family: var(--font-cn);
    font-size: 1rem;
    letter-spacing: 0.08em;
}

/* ============================================================
   OUR STORY SECTION
   ============================================================ */
.story {
    padding: 120px 0;
    background: var(--cream);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        var(--rose-gold) 5%,
        var(--rose-gold) 95%,
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item.left { justify-content: flex-start; padding-right: calc(50% + 40px); }
.timeline-item.right { justify-content: flex-end; padding-left: calc(50% + 40px); }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--rose-gold);
    border: 3px solid var(--cream);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--rose-gold);
    z-index: 2;
}

.timeline-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(61, 44, 44, 0.06);
    transition: transform 0.3s ease;
    width: 100%;
}

.timeline-card:hover { transform: translateY(-4px); }

.timeline-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-cn);
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.1em;
}

/* Placeholder image gradients */
.img-placeholder-1 {
    background: linear-gradient(135deg, #B76E79 0%, #D4A0A7 50%, #E8C4C4 100%);
}
.img-placeholder-2 {
    background: linear-gradient(135deg, #D4A574 0%, #E8C9A4 50%, #F0DBC0 100%);
}
.img-placeholder-3 {
    background: linear-gradient(135deg, #8B6B7A 0%, #B7909E 50%, #D4B5C0 100%);
}
.img-placeholder-4 {
    background: linear-gradient(135deg, #6B3A3A 0%, #9B5A5A 50%, #C08080 100%);
}

.timeline-text {
    padding: 24px 28px;
}

.timeline-text h3 {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 4px;
}

.timeline-date {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--rose-gold);
    margin-bottom: 8px;
}

.timeline-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
.schedule {
    position: relative;
    padding: 120px 0;
    background: var(--cream-dark);
    overflow: hidden;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(61, 44, 44, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-gold), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.schedule-card:hover::before { transform: scaleX(1); }
.schedule-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(61, 44, 44, 0.1); }

.schedule-time {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 8px;
}

.schedule-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.schedule-card h4 {
    font-family: var(--font-cn);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
}

.schedule-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   VENUE SECTION
   ============================================================ */
.venue {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.venue-bg {
    position: absolute;
    inset: -10%;
    background:
        linear-gradient(170deg, #2a2a2a 0%, #3D2C2C 40%, #4a3535 100%);
    will-change: transform;
    z-index: 0;
}

.venue-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 15, 0.55);
    z-index: 1;
}

.venue .section-title { color: var(--cream); }
.venue .section-subtitle { color: var(--gold-light); }

.venue-content {
    text-align: center;
    margin-bottom: 50px;
}

.venue-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.venue-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.venue-content h3 {
    font-family: var(--font-cn);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 12px;
}

.venue-desc {
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

.venue-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.venue-img-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.venue-img-main:hover { transform: scale(1.02); }

.venue-img-main img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.venue-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--white);
    font-size: 0.85rem;
    text-align: center;
}

.venue-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.venue-info-card {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.venue-info-card:hover { transform: translateY(-4px); }

.venue-info-card i {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.venue-info-card h4 {
    font-family: var(--font-cn);
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 8px;
}

.venue-info-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.6;
}

.btn-map {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 16px;
    background: rgba(183, 110, 121, 0.3);
    color: var(--cream);
    border: 1px solid rgba(183, 110, 121, 0.4);
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.btn-map:hover {
    background: var(--rose-gold);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-map:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-cn);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(61, 44, 44, 0.15);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Placeholder gallery gradients */
.gallery-placeholder-1 { background: linear-gradient(135deg, #E8D5C4, #D4B896); }
.gallery-placeholder-2 { background: linear-gradient(135deg, #C9A9B8, #B78D9E); }
.gallery-placeholder-3 { background: linear-gradient(135deg, #F0DBC0, #E8C9A4); }
.gallery-placeholder-4 { background: linear-gradient(135deg, #D4B5C0, #C4A0AE); }
.gallery-placeholder-5 { background: linear-gradient(135deg, #E0C8C8, #D4A0A7); }
.gallery-placeholder-6 { background: linear-gradient(135deg, #F5E0D0, #ECD0B8); }
.gallery-placeholder-7 { background: linear-gradient(135deg, #C8B0B8, #B898A4); }
.gallery-placeholder-8 { background: linear-gradient(135deg, #E8D0C8, #D8B8A8); }

.gallery-more {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-cn);
    color: var(--rose-gold);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

/* ============================================================
   RSVP SECTION
   ============================================================ */
.rsvp {
    position: relative;
    padding: 120px 0;
    background: var(--pink-light);
    overflow: hidden;
}

.rsvp-content {
    max-width: 550px;
    margin: 0 auto;
}

.rsvp-card {
    background: var(--white);
    border-radius: 8px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(61, 44, 44, 0.05);
}

.rsvp-intro {
    font-family: var(--font-cn);
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.rsvp-contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
    text-align: left;
}

.rsvp-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
    padding: 10px 16px;
    background: var(--pink-light);
    border-radius: 6px;
}

.rsvp-contact i {
    color: var(--rose-gold);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.rsvp-qr {
    padding-top: 24px;
    border-top: 1px solid rgba(183, 110, 121, 0.15);
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    background: var(--cream);
    border: 2px dashed var(--rose-gold);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--rose-gold);
}

.qr-placeholder i {
    font-size: 2rem;
}

.qr-placeholder span {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.rsvp-qr p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--brown);
    padding: 80px 0;
    text-align: center;
}

.footer-content {
    color: rgba(255,255,255,0.8);
}

.footer-names {
    font-family: var(--font-cn);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.footer-heart {
    color: var(--rose-gold);
    margin: 0 8px;
}

.footer-date {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.footer-venue {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-url {
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--rose-gold-light);
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: var(--font-en);
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }
.reveal:nth-child(7) { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        padding: 40px;
        gap: 24px;
        transition: right 0.4s ease;
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        color: var(--brown) !important;
        font-size: 1.1rem;
    }

    .nav-toggle { display: flex; }

    /* Timeline mobile */
    .timeline-line { left: 20px; }
    .timeline-item.left,
    .timeline-item.right {
        padding: 0 0 0 56px;
        justify-content: flex-start;
    }
    .timeline-dot { left: 20px; }
    .timeline-img { height: 140px; }

    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
    }

    /* Venue images stack */
    .venue-images {
        grid-template-columns: 1fr;
    }

    /* Schedule grid mobile */
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .schedule-card { padding: 24px 16px; }
    .schedule-time { font-size: 1.3rem; }

    /* Invitation card */
    .invitation-card { padding: 40px 24px; margin: 0 16px; }

    /* Hero */
    .hero-title { font-size: 2.8rem; }
    .cd-item { min-width: 50px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 130px;
        gap: 8px;
    }

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

    .countdown-grid { gap: 10px; }
    .countdown-box { padding: 20px 16px; min-width: 60px; }
    .countdown-number { font-size: 2rem; }

    .hero-countdown { gap: 4px; }
    .cd-item { min-width: 45px; }
}
