@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    /* Theme: Light Sage Green & Champagne Gold (Phong cách cưới thanh lịch châu Âu) */
    --color-bg-base: #faf8f5;
    --color-bg-subtle: #f3eee6;
    --color-card-bg: #ffffff;
    --color-sage: #7d967b;
    --color-sage-light: #e6ede4;
    --color-sage-dark: #3a5338;
    --color-gold: #c5a059;
    --color-gold-light: #f5eedf;
    --color-gold-border: rgba(197, 160, 89, 0.45);
    --color-text-main: #2b332a;
    --color-text-muted: #646e63;
    --color-rose: #d68378;
    --white: #ffffff;
    
    --shadow-sm: 0 4px 15px rgba(58, 83, 56, 0.05);
    --shadow-md: 0 10px 30px rgba(58, 83, 56, 0.08);
    --shadow-lg: 0 20px 50px rgba(58, 83, 56, 0.12);
    --radius-card: 20px;
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-title: 'Playfair Display', serif;
    --font-dance: 'Alex Brush', cursive;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    font-size: 0.95rem;
}

/* =========================================
   COMMON UTILS & TYPOGRAPHY
   ========================================= */
.hidden { display: none !important; }
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

h1, h2, h3, h4 { 
    font-family: var(--font-title); 
    font-weight: 600; 
    color: var(--color-sage-dark); 
    letter-spacing: 0.5px; 
}
.dance-text { 
    font-family: var(--font-dance); 
    text-transform: none; 
    font-size: 3.6rem; 
    color: var(--color-sage-dark); 
    letter-spacing: 0; 
    font-weight: 400; 
    line-height: 1.2;
}
.section-title { 
    text-align: center; 
    font-size: 2rem; 
    margin-bottom: 2.5rem; 
    position: relative; 
    padding-bottom: 18px; 
    color: var(--color-sage-dark);
}
.section-title::after { 
    content: '❦'; 
    position: absolute; 
    bottom: -8px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 1.1rem; 
    color: var(--color-gold); 
}
.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 1px;
    background: var(--color-gold-border);
    transform: translateX(-50%);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: var(--white);
    padding: 13px 32px; border: none; border-radius: 40px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
    cursor: pointer; text-transform: uppercase; letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(58, 83, 56, 0.25);
    transition: all 0.35s ease;
    text-decoration: none;
}
.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(58, 83, 56, 0.35); 
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, #293d27 100%);
}

/* Subtle background overlay */
.bg-floral {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(125, 150, 123, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.06) 0%, transparent 40%);
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* =========================================
   1. WELCOME SCREEN - LUXURY ENVELOPE COVER
   ========================================= */
#welcome-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(135deg, #e7eee5 0%, #dbe4d9 50%, #ccd8ca 100%);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s ease;
    padding: 1rem;
}
#welcome-screen.envelope-open { 
    transform: translateY(-100vh); 
    opacity: 0; 
    pointer-events: none;
}

.welcome-envelope {
    background: var(--white);
    padding: 3.5rem 2.2rem 3rem;
    border-radius: 240px 240px 24px 24px;
    text-align: center;
    width: 100%; max-width: 440px;
    box-shadow: 0 25px 60px rgba(45, 65, 43, 0.18), inset 0 0 0 1px rgba(197, 160, 89, 0.3);
    position: relative;
    border: 8px solid var(--color-sage-light);
    animation: fadeInScale 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.envelope-stamp {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #dfc082 0%, var(--color-gold) 100%);
    border-radius: 50%;
    margin: -10px auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.stamp-monogram {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.envelope-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.welcome-envelope .dance-text {
    font-size: 3.6rem;
    color: var(--color-sage-dark);
    margin: 0.5rem 0;
    line-height: 1.15;
}

.envelope-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin: 1.2rem 0;
}
.divider-line {
    width: 40px; height: 1px; background: var(--color-gold-border);
}
.divider-leaf {
    color: var(--color-gold); font-size: 0.9rem;
}

.welcome-envelope .wedding-date-str {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--color-sage-dark);
    font-weight: 600;
}

.envelope-invitation {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 1.2rem 0 2rem;
    line-height: 1.6;
}

/* Wax Seal Button */
.wax-seal-btn {
    background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.wax-seal-btn:hover { transform: scale(1.06); }
.wax-seal-circle {
    width: 65px; height: 65px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    box-shadow: 0 8px 25px rgba(58, 83, 56, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.4);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--white);
    animation: waxPulse 2.2s infinite ease-in-out;
}
.wax-seal-icon { font-size: 1.2rem; line-height: 1; margin-bottom: 2px; }
.wax-seal-text { font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; }

/* =========================================
   FLOATING BUTTONS & VINYL PLAYER
   ========================================= */
.floating-music { position: fixed; bottom: 24px; left: 24px; z-index: 999; }
.floating-actions { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }

.float-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
    border: 1px solid var(--color-gold-border);
    color: var(--color-sage-dark);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.3, 0, 0, 1);
}
.float-btn:hover { 
    background: var(--color-sage); 
    color: var(--white); 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: var(--shadow-lg);
}

#music-toggle {
    background: linear-gradient(135deg, #2b332a 0%, #1a2219 100%);
    color: var(--color-gold);
    border: 2px solid var(--color-gold-border);
    position: relative;
}
#music-toggle::after {
    content: ''; position: absolute; width: 14px; height: 14px;
    background: var(--color-gold); border-radius: 50%;
    border: 3px solid #2b332a;
}
#music-toggle.playing {
    animation: vinylSpin 6s linear infinite;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}
#music-toggle svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================
   HERO ARCH SECTION
   ========================================= */
#hero {
    position: relative;
    padding: 3.5rem 1.2rem 4rem;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--color-bg-base) 0%, #f4efe7 100%);
}

.hero-arch {
    position: relative; z-index: 2;
    background: var(--white);
    padding: 3.5rem 2rem 2.8rem;
    border-radius: 260px 260px 24px 24px;
    text-align: center;
    width: 100%; max-width: 480px;
    box-shadow: 0 15px 40px rgba(58, 83, 56, 0.08);
    border: 10px solid var(--color-sage-light);
    outline: 1px solid var(--color-gold-border);
    margin-top: 1rem;
}

.hero-title {
    font-size: 1.1rem;
    letter-spacing: 5px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-arch-image {
    width: 100%; height: 380px;
    background: url('assets/images/gallery/IMG_6421.jpg') center 20%/cover no-repeat;
    border-radius: 220px 220px 16px 16px;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 8px 25px rgba(0,0,0,0.08);
    border: 3px solid var(--white);
}

.hero-arch .dance-text {
    font-size: 3.8rem;
    color: var(--color-sage-dark);
    margin: 0.5rem 0;
    line-height: 1.1;
}

/* COUNTDOWN BOXES */
#countdown {
    margin-top: 3.5rem; text-align: center; position: relative; z-index: 2; width: 100%; max-width: 500px;
}
.countdown-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-sage-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}
.cd-timer {
    display: flex; justify-content: center; gap: 14px; margin-top: 1.2rem;
}
.cd-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 10px;
    min-width: 68px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gold-border);
    transition: transform 0.3s ease;
}
.cd-box:hover { transform: translateY(-3px); }
.cd-num {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-sage-dark);
    line-height: 1;
}
.cd-unit {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* =========================================
   MINI WEDDING CALENDAR (THÁNG 12/2026)
   ========================================= */
.calendar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    max-width: 380px;
    margin: 3rem auto 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gold-border);
    text-align: center;
}
.calendar-card h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--color-sage-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    font-size: 0.85rem;
}
.cal-head {
    font-weight: 600;
    color: var(--color-gold);
    padding-bottom: 6px;
    font-size: 0.8rem;
}
.cal-cell {
    padding: 8px 0;
    border-radius: 8px;
    color: var(--color-text-main);
    position: relative;
}
.cal-cell.empty { visibility: hidden; }
.cal-cell.event-day {
    background: var(--color-sage-light);
    color: var(--color-sage-dark);
    font-weight: 700;
}
.cal-cell.wedding-day {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(58, 83, 56, 0.35);
    position: relative;
}
.cal-heart-badge {
    position: absolute;
    top: -6px; right: -4px;
    font-size: 0.75rem;
}
.calendar-legend {
    display: flex; justify-content: center; gap: 16px;
    margin-top: 1.2rem; font-size: 0.8rem; color: var(--color-text-muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-event { background: var(--color-sage-light); border: 1px solid var(--color-sage); }
.dot-wedding { background: var(--color-sage-dark); }

/* =========================================
   2. INTRO SECTION - COUPLE OVAL SHAPE
   ========================================= */
#intro { 
    padding: 5.5rem 1.2rem; 
    background: var(--white); 
    text-align: center; 
}
.quote-box {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    padding: 0 1.5rem;
}
.quote-box::before, .quote-box::after {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-gold);
    line-height: 0;
    vertical-align: -0.4em;
}
.quote-box::before { content: '“'; margin-right: 6px; }
.quote-box::after { content: '”'; margin-left: 6px; }

.intro-grid {
    display: flex; flex-direction: column; gap: 3.5rem; max-width: 900px; margin: 0 auto;
}
.person-card {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
    background: var(--color-bg-base);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gold-border);
    transition: transform 0.35s ease;
}
.person-card:hover { transform: translateY(-4px); }

.person-oval {
    width: 250px; height: 330px;
    border-radius: 50% / 60% 60% 40% 40%;
    border: 4px solid var(--color-sage-light);
    outline: 2px solid var(--color-gold-border);
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.person-oval div {
    width: 100%; height: 100%; 
    border-radius: 50% / 60% 60% 40% 40%;
    background-size: cover; 
    background-position: top center;
}
.person-detail h3 { 
    font-size: 2.1rem; 
    color: var(--color-sage-dark); 
    margin-bottom: 6px; 
    font-family: var(--font-title);
}
.person-tag {
    display: inline-block;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 2px 14px;
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
}
.person-detail p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }
.person-detail strong { color: var(--color-text-main); font-weight: 600; }

/* =========================================
   3. EVENTS SECTION - TICKET PASS STYLE
   ========================================= */
#events { 
    padding: 5.5rem 1.2rem; 
    background: linear-gradient(180deg, var(--color-bg-base) 0%, #f1ebe1 100%); 
    display: flex; flex-direction: column; align-items: center; 
}
.events-wrapper { 
    display: flex; flex-wrap: wrap; gap: 35px; justify-content: center; max-width: 950px; width: 100%; 
}
.event-card {
    flex: 1 1 360px;
    background: var(--white);
    border-radius: 24px;
    text-align: center;
    padding: 0 0 2.5rem 0;
    position: relative;
    margin-top: 80px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gold-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.event-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-lg); 
}
.event-card-circle {
    width: 160px; height: 160px;
    border-radius: 50%;
    background-size: cover; background-position: center;
    border: 6px solid var(--white);
    outline: 2px solid var(--color-gold-border);
    margin: -80px auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.event-detail { padding: 0 2rem; }
.event-detail h3 { 
    font-size: 1.8rem; 
    color: var(--color-sage-dark); 
    margin-bottom: 1.5rem; 
}
.event-detail p { 
    border-bottom: 1px dashed var(--color-sage-light); 
    padding: 12px 0; 
    color: var(--color-text-main); 
}
.event-detail p:last-of-type { border-bottom: none; }

.map-container { 
    max-width: 850px; width: 100%; margin: 4.5rem auto 0; text-align: center; 
    border-radius: 20px; overflow: hidden; background: var(--white); padding: 1.5rem;
    box-shadow: var(--shadow-md); border: 1px solid var(--color-gold-border);
}

/* =========================================
   4. PHOTO ALBUM - MASONRY LOOKBOOK
   ========================================= */
#gallery { 
    padding: 5.5rem 1.2rem; 
    background: var(--white); 
}
.gallery-intro {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}
.gallery-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 14px; 
    max-width: 1050px; 
    margin: 0 auto; 
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: var(--color-sage-light);
}
.gallery-item img { 
    width: 100%; height: 260px; 
    object-fit: cover; 
    object-position: center 4%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.gallery-item:hover img { 
    transform: scale(1.06); 
}
.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    background: rgba(255, 255, 255, 0.9);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
#lightbox {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    background: rgba(18, 26, 17, 0.92); z-index: 2000;
    display: flex; align-items: center; justify-content: center; 
    opacity: 0; visibility: hidden; transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}
#lightbox.active { opacity: 1; visibility: visible; }
#lightbox img { 
    max-width: 90%; max-height: 85vh; 
    border-radius: 12px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.8);
}
.lc-close { 
    position: absolute; top: 24px; right: 28px; color: #fff; font-size: 2.5rem; 
    cursor: pointer; transition: transform 0.2s ease;
}
.lc-close:hover { transform: scale(1.2); }
.lc-prev, .lc-next { 
    position: absolute; top: 50%; transform: translateY(-50%); 
    color: #fff; font-size: 2.8rem; cursor: pointer; padding: 20px; 
    transition: all 0.2s ease;
}
.lc-prev:hover, .lc-next:hover { color: var(--color-gold); transform: translateY(-50%) scale(1.2); }
.lc-prev { left: 15px; } .lc-next { right: 15px; }

/* =========================================
   5. BANKING & QR SECTION
   ========================================= */
#banking { 
    padding: 5.5rem 1.2rem; 
    background: linear-gradient(180deg, var(--color-bg-base) 0%, #f4efe7 100%); 
}
.banking-wrapper { 
    display: flex; flex-wrap: wrap; gap: 35px; justify-content: center; max-width: 750px; margin: 0 auto; 
}
.bank-card {
    flex: 1 1 320px; padding: 3rem 2rem 2.5rem; text-align: center;
    background: var(--white); border-radius: 24px;
    box-shadow: var(--shadow-md); border: 1px solid var(--color-gold-border);
    position: relative;
}
.bank-card h3 { 
    font-size: 1.6rem; color: var(--color-sage-dark); margin-bottom: 0.8rem; 
}
.bank-card .bank-qr { 
    width: 100%; max-width: 230px; height: auto; margin: 1.2rem auto 1.5rem; 
    border-radius: 16px; border: 3px solid var(--color-sage-light); 
    padding: 8px; background: #fff; display: block;
    box-shadow: var(--shadow-sm);
}
.bank-info-line {
    font-size: 0.95rem; color: var(--color-text-muted); margin: 6px 0;
}
.bank-info-line strong {
    color: var(--color-text-main); font-weight: 600;
}

.btn-copy-stk {
    margin-top: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--color-sage-light);
    color: var(--color-sage-dark);
    border: 1px solid var(--color-sage);
    padding: 10px 24px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease;
}
.btn-copy-stk:hover {
    background: var(--color-sage);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 83, 56, 0.2);
}

/* =========================================
   6. GUESTBOOK / RSVP & WISHES
   ========================================= */
#rsvp { 
    padding: 5.5rem 1.2rem 2rem; 
    background: var(--white); 
}
.rsvp-container { 
    max-width: 680px; margin: 0 auto; background: var(--color-bg-base); 
    padding: 2.8rem 2.2rem; border-radius: 24px; box-shadow: var(--shadow-sm); 
    border: 1px solid var(--color-gold-border); 
}
.form-group { margin-bottom: 1.3rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; border: 1px solid #d4ddd2; border-radius: 12px;
    font-family: var(--font-body); font-size: 0.95rem; color: var(--color-text-main);
    background: var(--white); transition: all 0.3s ease; resize: none;
}
.form-group input:focus, .form-group textarea:focus { 
    border-color: var(--color-sage); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(125, 150, 123, 0.2);
}
.form-footer { 
    display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; 
}
.magic-icon {
    width: 44px; height: 44px; background: var(--color-sage-light); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 1.3rem;
}
.btn-submit-wish { 
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    color: white; padding: 13px 32px; border: none; border-radius: 30px;
    font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1px; cursor: pointer; 
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(58, 83, 56, 0.25);
}
.btn-submit-wish:hover { 
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, #293d27 100%);
    transform: translateY(-2px);
}
.btn-submit-wish:disabled { background: #b0bfaf; cursor: not-allowed; box-shadow: none; }

#wishes { padding: 0 1.2rem 5.5rem; background: var(--white); }
#wishes-container { 
    max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px;
    max-height: 480px; overflow-y: auto; padding-right: 8px;
}
#wishes-container::-webkit-scrollbar { width: 5px; }
#wishes-container::-webkit-scrollbar-thumb { background: var(--color-sage-light); border-radius: 10px; }

.wish-card {
    background: var(--color-bg-base); padding: 1.4rem 1.6rem; border-radius: 16px;
    border: 1px solid rgba(197, 160, 89, 0.25); box-shadow: var(--shadow-sm);
    position: relative;
}
.wish-card::before {
    content: '“';
    position: absolute; right: 18px; top: 8px;
    font-family: var(--font-title); font-size: 3rem; color: rgba(197, 160, 89, 0.2);
    line-height: 1; pointer-events: none;
}
.wish-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.wish-header p.wish-name { font-weight: 700; color: var(--color-sage-dark); font-size: 1.05rem; }
.wish-header p.wish-time { color: var(--color-text-muted); font-size: 0.8rem; }
.wish-card p.wish-text { color: var(--color-text-main); font-size: 0.95rem; line-height: 1.6; }
.no-wishes { text-align: center; color: var(--color-text-muted); font-style: italic; padding: 2rem 0; }

/* TOAST MESSAGE */
.toast-message {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(30px);
    background: rgba(43, 51, 42, 0.95); color: #fff;
    padding: 12px 24px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 10000; opacity: 0; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast-message.show {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* =========================================
   FOOTER
   ========================================= */
footer { 
    padding: 4.5rem 1.2rem; text-align: center; 
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%); 
    color: var(--white); 
}
footer .dance-text { color: var(--white); margin: 1.5rem 0 1rem; }

/* =========================================
   ANIMATIONS & KEYFRAMES
   ========================================= */
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes waxPulse {
    0% { box-shadow: 0 0 0 0 rgba(125, 150, 123, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(125, 150, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(125, 150, 123, 0); }
}
@keyframes vinylSpin {
    100% { transform: rotate(360deg); }
}

/* =========================================
   FALLING CHERRY BLOSSOMS (HOA ĐÀO RƠI 3D)
   ========================================= */
#petals-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9999; overflow: hidden;
}
.petal {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.85) 0%, rgba(255, 218, 224, 0.6) 100%);
    border-radius: 14px 2px 14px 2px;
    box-shadow: 0 2px 6px rgba(255, 182, 193, 0.25);
    pointer-events: none;
    animation-name: petalFall, petalSway;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-direction: normal, alternate;
}
@keyframes petalFall {
    0% { top: -10%; opacity: 0; }
    8% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; }
}
@keyframes petalSway {
    0% { transform: translateX(0px) rotate(0deg) rotateY(0deg); }
    100% { transform: translateX(45px) rotate(60deg) rotateY(180deg); }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (min-width: 768px) {
    .intro-grid { flex-direction: row; justify-content: center; align-items: stretch; }
    .person-card { flex-basis: 48%; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-arch-image { height: 420px; }
}

@media (max-width: 480px) {
    .welcome-envelope { border-radius: 160px 160px 20px 20px; padding: 2.8rem 1.5rem 2.2rem; }
    .welcome-envelope .dance-text { font-size: 3rem; }
    .hero-arch { border-radius: 180px 180px 20px 20px; padding: 2.5rem 1.2rem; }
    .hero-arch .dance-text { font-size: 3.1rem; }
    .hero-arch-image { height: 300px; border-radius: 160px 160px 14px 14px; }
    .person-oval { width: 220px; height: 290px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item img { height: 195px; object-fit: cover; object-position: center 4%; }
    .event-card { margin-top: 60px; }
    .event-card-circle { width: 130px; height: 130px; margin: -65px auto 1rem; }
}
