/* ============================================================
   V2 PREMIUM PINK WEDDING — Ultra Luxury Edition
   Ornate rose-gold & blush theme with rich decorative elements
   ============================================================ */

:root {
    /* --- V2 Pink Palette --- */
    --v2-pink-50:  #FFF0F5;
    --v2-pink-100: #FCE4EC;
    --v2-pink-200: #F8BBD0;
    --v2-pink-300: #F48FB1;
    --v2-pink-400: #F06292;
    --v2-pink-500: #EC407A;
    --v2-pink-600: #D81B60;
    --v2-pink-700: #AD1457;

    /* --- Rose Gold & Gold --- */
    --v2-rose-gold: #B76E79;
    --v2-rose-gold-light: #D4A0A7;
    --v2-gold: #C9A96E;
    --v2-gold-light: #E8D5A8;

    /* --- Text --- */
    --text-dark:  #3D2B2E;
    --text-medium: #6B4E55;
    --text-light: #9A7B82;
    --text-muted: #B8A0A6;

    /* --- Surfaces --- */
    --v2-bg: #FDF6F6;
    --v2-bg-warm: #FBF0EF;
    --v2-surface: #FFFFFF;

    /* --- Fonts --- */
    --font-display: 'Playfair Display', serif;
    --font-serif: 'Cormorant Infant', serif;
    --font-sans: 'Outfit', sans-serif;

    /* --- Gradients --- */
    --pink-gradient: linear-gradient(135deg, #E8638E 0%, #C98A8A 50%, #C9A96E 100%);
    --pink-gradient-soft: linear-gradient(135deg, #F8A7BB 0%, #FBCDD8 50%, #FDE8ED 100%);
    --shimmer-gradient: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);

    /* --- Shadows --- */
    --shadow-soft: 0 8px 32px rgba(201, 138, 138, 0.12);
    --shadow-medium: 0 16px 48px rgba(61, 43, 46, 0.1);
    --shadow-strong: 0 24px 64px rgba(61, 43, 46, 0.15);
    --shadow-glow: 0 0 40px rgba(232, 99, 142, 0.25);

    /* --- Glass --- */
    --glass-bg: rgba(255, 252, 253, 0.72);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--v2-bg);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.locked {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

.hidden-element {
    display: none !important;
}

main {
    overflow-x: hidden;
    width: 100%;
}

/* ============================================================
   CONTAINER & SECTION TITLES
   ============================================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--pink-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ============================================================
   GLASSMORPHISM
   ============================================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    box-shadow: var(--shadow-medium);
}

/* ============================================================
   FLOATING PETALS
   ============================================================ */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(248, 167, 187, 0.8));
    border-radius: 15px 0 15px 0;
    box-shadow: 0 2px 8px rgba(201, 138, 138, 0.3);
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0) rotateZ(0);
        opacity: 0;
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% {
        transform: translateY(110vh) rotate(360deg) translateX(40px) rotateZ(180deg);
        opacity: 0;
    }
}

/* ============================================================
   FLORAL ORNAMENTS — SVG Decorations
   ============================================================ */
.floral-ornament {
    width: 120px;
    height: 40px;
    margin: 0 auto;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50"><path d="M0,25 Q50,0 100,25 Q150,50 200,25" fill="none" stroke="%23C98A8A" stroke-width="1" opacity="0.5"/><circle cx="100" cy="25" r="3" fill="%23C9A96E" opacity="0.6"/><circle cx="60" cy="15" r="2" fill="%23C98A8A" opacity="0.4"/><circle cx="140" cy="35" r="2" fill="%23C98A8A" opacity="0.4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.top-ornament { margin-bottom: 10px; }
.bottom-ornament { margin-top: 10px; transform: scaleY(-1); }

/* Large ornamental divider between sections */
.ornamental-divider {
    width: 200px;
    height: 60px;
    margin: 0 auto;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 80"><path d="M10,40 C30,10 60,10 80,30 S130,60 150,40 S190,10 210,30 S260,60 290,40" fill="none" stroke="%23B76E79" stroke-width="1.5" opacity="0.6"/><path d="M30,40 C50,20 70,20 90,35 S120,55 150,40 S180,20 210,35 S240,55 270,40" fill="none" stroke="%23C9A96E" stroke-width="1" opacity="0.4"/><circle cx="150" cy="40" r="5" fill="%23B76E79" opacity="0.5"/><circle cx="80" cy="30" r="3" fill="%23C9A96E" opacity="0.4"/><circle cx="220" cy="30" r="3" fill="%23C9A96E" opacity="0.4"/><path d="M145,35 Q148,25 150,35 Q152,25 155,35" fill="none" stroke="%23C9A96E" stroke-width="0.8"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-glass {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shimmer-gradient);
    transition: left 0.6s ease;
}

.btn-glass:hover::before { left: 100%; }

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    padding: 14px 36px;
    background: var(--pink-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 24px rgba(232, 99, 142, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shimmer-gradient);
    transition: left 0.6s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(232, 99, 142, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid var(--v2-rose-gold);
    color: var(--v2-rose-gold);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--v2-rose-gold);
    color: #fff;
    box-shadow: 0 6px 20px rgba(183, 110, 121, 0.4);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: var(--pink-gradient);
    color: #fff;
    border-color: transparent;
}

/* ============================================================
   COVER SCREEN — Split Door with Ornate Pattern
   ============================================================ */
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: visibility 1.5s, opacity 1.5s;
}

.cover-screen.hidden-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
}

/* Ornate pattern on doors */
.door::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(232, 99, 142, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #FCE4EC 0%, #FFF0F5 50%, #FBCDD8 100%);
}

/* Decorative border pattern on doors */
.door::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--v2-rose-gold), var(--v2-gold), var(--v2-rose-gold), transparent);
    opacity: 0.4;
}

.door-left {
    left: 0;
}

.door-left::after {
    right: 15px;
}

.door-right {
    right: 0;
}

.door-right::after {
    left: 15px;
}

/* Ornamental damask pattern on doors via repeating SVG */
.door-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><path d="M40 0 C45 15 55 20 40 40 C25 20 35 15 40 0Z" fill="%23B76E79"/><path d="M0 40 C15 35 20 25 40 40 C20 55 15 45 0 40Z" fill="%23B76E79"/><path d="M80 40 C65 35 60 25 40 40 C60 55 65 45 80 40Z" fill="%23B76E79"/><path d="M40 80 C45 65 55 60 40 40 C25 60 35 65 40 80Z" fill="%23B76E79"/><circle cx="40" cy="40" r="3" fill="%23C9A96E"/></svg>');
    background-size: 80px 80px;
}

.cover-screen.open .door-left { transform: translateX(-100%); }
.cover-screen.open .door-right { transform: translateX(100%); }

.cover-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    padding: 75px 65px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(183, 110, 121, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 90%;
}

/* Inner delicate gold border */
.cover-content::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border-radius: 16px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    pointer-events: none;
}

/* Cover corner ornaments */
.cover-ornament {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,10 L40,10 C60,10 60,30 40,30 L20,30 L20,50 C20,70 0,70 0,50 L10,10 Z" fill="none" stroke="%23C9A96E" stroke-width="1.5"/><circle cx="15" cy="15" r="3" fill="%23B76E79"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.cover-ornament.top-left { top: 20px; left: 20px; }
.cover-ornament.top-right { top: 20px; right: 20px; transform: scale(-1, 1); }
.cover-ornament.bottom-left { bottom: 20px; left: 20px; transform: scale(1, -1); }
.cover-ornament.bottom-right { bottom: 20px; right: 20px; transform: scale(-1, -1); }

.cover-screen.open .cover-content {
    opacity: 0;
    transform: scale(0.9);
}

.cover-content .btn-glass {
    background: linear-gradient(135deg, #C9A96E 0%, #E8D5A8 50%, #C9A96E 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
    margin-top: 30px;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    animation: btnFadeIn 2s ease-out forwards, pulseGold 3s ease-in-out infinite 2s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
    opacity: 0;
}

@keyframes btnFadeIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4); opacity: 1; }
    50% { box-shadow: 0 10px 40px rgba(201, 169, 110, 0.6), 0 0 20px rgba(232, 213, 168, 0.3); opacity: 1; }
}

.wedding-of {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #8C6C3A; /* Much darker gold/bronze */
}

.couple-name-cover {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 400;
    font-style: italic;
    margin: 10px 0;
    background: linear-gradient(135deg, #7C3640 0%, #8C6C3A 100%); /* Much darker burgundy to bronze */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    padding-bottom: 10px;
}

.cover-separator {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--v2-rose-gold), transparent);
    margin: 20px auto;
}

.guest-info {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 300;
    color: var(--text-medium);
}

.guest-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 35px;
    background: linear-gradient(135deg, var(--v2-rose-gold) 0%, var(--v2-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   LUXURY FRAME ANIMATION (Hero)
   ============================================================ */
.luxury-frame {
    position: absolute;
    top: 3vh;
    left: 4vw;
    right: 4vw;
    bottom: 85px;
    z-index: 3;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M5,100 v-75 a20,20 0 0,1 20,-20 h75" fill="none" stroke="%23E8D5A8" stroke-width="0.8"/><path d="M15,100 v-65 a10,10 0 0,1 10,-10 h75" fill="none" stroke="%23FFFFFF" stroke-width="0.4" opacity="0.6"/><path d="M35,100 v-40 a25,25 0 0,1 25,-25 h40" fill="none" stroke="%23C9A96E" stroke-width="0.6"/><path d="M55,100 v-20 a25,25 0 0,1 25,-25 h20" fill="none" stroke="%23C9A96E" stroke-width="0.3"/><path d="M25,95 C50,95 50,70 25,70 C10,70 10,95 25,95 Z" fill="%23E8D5A8" fill-opacity="0.1"/><path d="M45,75 C65,75 65,50 45,50 C35,50 35,75 45,75 Z" fill="%23FFFFFF" fill-opacity="0.15"/><circle cx="5" cy="95" r="2" fill="%23C9A96E"/><circle cx="15" cy="75" r="1.5" fill="%23FFFFFF"/><circle cx="35" cy="75" r="1.5" fill="%23FFFFFF"/><circle cx="55" cy="60" r="1" fill="%23C9A96E"/></svg>');
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; transform: scale(-1, 1); }
.bottom-left { bottom: 0; left: 0; transform: scale(1, -1); }
.bottom-right { bottom: 0; right: 0; transform: scale(-1, -1); }

.frame-border {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(232, 213, 168, 0.4), transparent);
    opacity: 0;
    transition: all 1.5s ease;
}

.border-top { top: 6px; left: 120px; right: 120px; height: 1px; }
.border-bottom { bottom: 6px; left: 120px; right: 120px; height: 1px; }
.border-left { left: 6px; top: 120px; bottom: 120px; width: 1px; background: linear-gradient(180deg, transparent, rgba(232, 213, 168, 0.4), transparent); }
.border-right { right: 6px; top: 120px; bottom: 120px; width: 1px; background: linear-gradient(180deg, transparent, rgba(232, 213, 168, 0.4), transparent); }

.luxury-frame.show .anim-1 { opacity: 1; transform: scale(1); transition-delay: 0.5s; }
.luxury-frame.show .anim-2 { opacity: 1; transform: scale(-1, 1); transition-delay: 1.0s; }
.luxury-frame.show .anim-3 { opacity: 1; transform: scale(1, -1); transition-delay: 1.5s; }
.luxury-frame.show .anim-4 { opacity: 1; transform: scale(-1, -1); transition-delay: 2.0s; }
.luxury-frame.show .anim-5 { opacity: 0.5; transition-delay: 2.5s; }
.luxury-frame.show .anim-6 { opacity: 0.5; transition-delay: 2.5s; }
.luxury-frame.show .anim-7 { opacity: 0.5; transition-delay: 3.0s; }
.luxury-frame.show .anim-8 { opacity: 0.5; transition-delay: 3.0s; }

#hero-frame-content {
    opacity: 0;
    transform: scale(0.92);
    transition: all 1.5s ease;
}

#hero-frame-content.show {
    opacity: 1;
    transform: scale(1);
    transition-delay: 3.5s;
}

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

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center/cover;
    animation: zoomInOut 30s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(30, 20, 22, 0.65) 0%,
        rgba(61, 43, 46, 0.5) 60%,
        var(--v2-bg) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-frame {
    padding: 90px 40px 70px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 200px 200px 10px 10px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2),
                inset 0 0 40px rgba(201, 169, 110, 0.1);
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

/* Inner gold border for the arch */
.hero-frame::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border-radius: 190px 190px 6px 6px;
    border: 1px solid rgba(201, 169, 110, 0.2);
    pointer-events: none;
}

/* Floral decoration on top of the hero arch */
.hero-frame::before {
    content: '';
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 70px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 80"><path d="M10,60 Q50,10 100,40 Q150,10 190,60" fill="none" stroke="%23C9A96E" stroke-width="1.5" opacity="0.8"/><circle cx="100" cy="40" r="6" fill="%23FFFFFF" opacity="0.9"/><circle cx="50" cy="30" r="4" fill="%23C9A96E" opacity="0.7"/><circle cx="150" cy="30" r="4" fill="%23C9A96E" opacity="0.7"/><path d="M100,30 Q90,15 100,0 Q110,15 100,30" fill="%23FFFFFF" opacity="0.6"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.sub-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--v2-gold-light);
    opacity: 0.9;
}

.title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #E8D5A8 50%, #C9A96E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.6), transparent);
}

.date {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.time-box {
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 50%;
    color: #ffffff;
    border: 1px solid rgba(201, 169, 110, 0.4);
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.time-box::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.time-box span {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--font-serif);
    line-height: 1;
    color: #E8D5A8;
}

.time-box p {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-bottom .shape-fill { fill: var(--v2-bg); }
.wave-footer .shape-fill { fill: var(--text-dark); }

/* ============================================================
   QUOTE SECTION — with Decorative Border
   ============================================================ */
.quote-section {
    padding: 100px 0;
    background: var(--v2-bg);
    text-align: center;
    position: relative;
}

/* Decorative background pattern for the quote section */
.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0 L35 25 L60 30 L35 35 L30 60 L25 35 L0 30 L25 25Z" fill="%23B76E79"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 400;
    max-width: 750px;
    margin: 30px auto;
    color: var(--text-medium);
    line-height: 2;
    letter-spacing: 0.02em;
}

.verse-ref {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--v2-rose-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================================
   COUPLE SECTION
   ============================================================ */
.couple-section {
    padding: 100px 0;
    position: relative;
    background: var(--v2-bg-warm);
}

/* Subtle radial gradient pattern */
.couple-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(232, 99, 142, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.couple-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 380px;
    min-width: 300px;
}

.role-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--v2-rose-gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.role-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1.5px;
    background: var(--pink-gradient);
}

.couple-card {
    padding: 45px 35px;
    width: 100%;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Top gradient accent line on couple card */
.couple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pink-gradient);
}

/* Morphing photo frame */
.img-frame {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    margin: 0 auto 30px;
    padding: 6px;
    border: 2px solid rgba(201, 138, 138, 0.3);
    position: relative;
    overflow: hidden;
    animation: morphBorder 8s ease-in-out infinite;
}

@keyframes morphBorder {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 60% 40% / 50% 62% 38% 50%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.placeholder-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-color: var(--v2-pink-100);
}

.couple-card h3 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.couple-card .parent-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 400;
}

.couple-card .socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--v2-bg-warm);
    color: var(--v2-rose-gold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 138, 138, 0.15);
}

.couple-card .socials a:hover {
    background: var(--pink-gradient);
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(232, 99, 142, 0.3);
}

.ampersand {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    font-style: italic;
    background: var(--pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    align-self: center;
    margin-top: 40px;
}

/* ============================================================
   EVENT SECTION — Timeline Style
   ============================================================ */
.event-section {
    padding: 100px 0;
    background-color: var(--v2-bg);
    position: relative;
}

.event-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
}

/* Timeline connector */
.event-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 80px);
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v2-rose-gold), transparent);
    transform: translateY(-50%);
}

/* Timeline heart dot */
.event-grid::after {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--v2-pink-400);
    z-index: 2;
    background: var(--v2-bg);
    padding: 8px 12px;
    border-radius: 50%;
    border: 1px solid rgba(201, 138, 138, 0.2);
}

.event-card {
    padding: 50px 40px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 420px;
    flex: 1;
    min-width: 300px;
    margin: 0 30px;
}

.event-card:hover {
    transform: translateY(-8px);
}

.icon-ring {
    width: 72px;
    height: 72px;
    background: var(--pink-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    margin: 0 auto 24px;
    box-shadow: 0 6px 24px rgba(232, 99, 142, 0.25);
}

.pulse-anim {
    animation: pulseShadow 2s infinite;
}

.event-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
}

.event-divider {
    width: 40px;
    height: 2px;
    background: var(--pink-gradient);
    margin: 18px auto;
    border-radius: 2px;
}

.date-display {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--v2-pink-400);
}

.time {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.location-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.location-address {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ============================================================
   LOVE JOURNEY SECTION
   ============================================================ */
.journey-section {
    padding: 100px 0 60px;
    background: #fff;
    position: relative;
}

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

/* The vertical line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--v2-gold-light), var(--v2-pink-400), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

/* The dot on the timeline */
.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--v2-gold-light);
    border: 4px solid #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    background: var(--v2-pink-400);
    box-shadow: 0 0 0 4px rgba(232, 99, 142, 0.2);
}

.timeline-content {
    width: 45%;
    padding: 25px;
    border-radius: 16px;
    text-align: right;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
}

.timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-item:nth-child(even) .timeline-date {
    background: linear-gradient(135deg, var(--v2-gold-light), #E8D5A8);
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   GALLERY SECTION — Masonry
   ============================================================ */
.gallery-section {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.4s ease;
}

/* Mosaic layout for 6 items (Desktop 3x3) */
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2 / span 2; }
.gallery-item:nth-child(6) { grid-column: 1; grid-row: 3; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(232, 99, 142, 0.5), rgba(201, 138, 138, 0.4));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 2.5rem;
    color: #fff;
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   GALLERY LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(61, 43, 46, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px; right: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 52px; height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================================
   GIFT SECTION
   ============================================================ */
.gift-section {
    padding: 100px 20px;
    background: var(--v2-bg-warm);
    text-align: center;
    position: relative;
}

/* Subtle radial highlight */
.gift-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.gift-desc {
    max-width: 550px;
    margin: -0.5rem auto 40px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.bank-card {
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.bank-card:hover { transform: translateY(-6px); }

.bank-icon {
    font-size: 2.4rem;
    background: var(--pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
}

.bank-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.account-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 8px 0 4px;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.account-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-copy { width: 100%; justify-content: center; }

/* ============================================================
   WISH / RSVP SECTION
   ============================================================ */
.rsvp-section {
    padding: 120px 0 200px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1518621736915-f3b1c41bfd00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}

.rsvp-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(253, 246, 246, 0.75);
    backdrop-filter: blur(6px);
}

.rsvp-desc {
    margin-bottom: 30px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Form Inputs */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2-rose-gold);
    font-size: 0.9rem;
}

input, select {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 1.5px solid rgba(201, 138, 138, 0.2);
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--v2-pink-400);
    box-shadow: 0 0 0 4px rgba(232, 99, 142, 0.1);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.wish-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.wish-form-card { padding: 36px; }

.wish-wrapper textarea {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 1.5px solid rgba(201, 138, 138, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    outline: none;
    resize: none;
    transition: all 0.3s ease;
}

.wish-wrapper textarea:focus {
    border-color: var(--v2-pink-400);
    box-shadow: 0 0 0 4px rgba(232, 99, 142, 0.1);
}

.wishes-list {
    padding: 20px;
    height: 100%;
    max-height: 400px;
    overflow-y: auto;
}

.wish-item {
    padding: 16px;
    border-bottom: 1px solid rgba(201, 138, 138, 0.12);
    margin-bottom: 12px;
    position: relative;
    padding-left: 52px;
}

.wish-item::before {
    content: attr(data-initial);
    position: absolute;
    left: 8px;
    top: 16px;
    width: 32px;
    height: 32px;
    background: var(--pink-gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--v2-pink-400);
}

.wish-item:last-child { border-bottom: none; margin-bottom: 0; }

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wish-header strong {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.wish-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

.wish-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Custom scrollbar */
.wishes-list::-webkit-scrollbar { width: 5px; }
.wishes-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.4); border-radius: 10px; }
.wishes-list::-webkit-scrollbar-thumb { background: var(--pink-gradient); border-radius: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 120px 0 50px;
    background: linear-gradient(160deg, #3D2B2E 0%, #4A2E37 50%, #3D2B2E 100%);
    color: var(--v2-rose-gold-light);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative dots */
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 20%, rgba(201, 138, 138, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(201, 169, 110, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Removed footer::after to allow seamless wave transition */

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-you {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(245, 221, 224, 0.7);
}

.footer-couple {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(135deg, var(--v2-rose-gold-light), var(--v2-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
}

.footer-ampersand {
    font-size: 2.5rem;
    display: inline-block;
    margin: -8px 0;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.copyright .fa-heart {
    color: var(--v2-pink-400);
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ============================================================
   MUSIC BUTTON
   ============================================================ */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(12px);
    color: var(--v2-pink-400);
    border: 1px solid rgba(201, 138, 138, 0.2);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.spin {
    animation: spinAnim 4s linear infinite;
}

@keyframes spinAnim { 100% { transform: rotate(360deg); } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(232, 99, 142, 0.35); }
    70% { box-shadow: 0 0 0 18px rgba(232, 99, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 99, 142, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* ============================================================
   SECTION ORNAMENTAL BACKGROUNDS
   ============================================================ */

/* Top & bottom decorative borders for various sections */
.section-ornament-top,
.section-ornament-bottom {
    display: block;
    width: 100%;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 30"><path d="M0,15 Q25,0 50,15 T100,15 T150,15 T200,15 T250,15 T300,15 T350,15 T400,15" fill="none" stroke="%23B76E79" stroke-width="0.8" opacity="0.3"/><path d="M0,18 Q25,5 50,18 T100,18 T150,18 T200,18 T250,18 T300,18 T350,18 T400,18" fill="none" stroke="%23C9A96E" stroke-width="0.5" opacity="0.2"/></svg>');
    background-size: 400px 30px;
    background-repeat: repeat-x;
}

.section-ornament-bottom {
    transform: scaleY(-1);
}

/* ============================================================
   RESPONSIVE — Tablet & Mobile
   ============================================================ */
@media (max-width: 1024px) {
    .event-grid::before,
    .event-grid::after {
        display: none;
    }

    .event-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .event-card {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    .cover-content {
        padding: 40px 25px;
        max-width: 95%;
    }

    .couple-name-cover { font-size: 3.2rem; }

    .wedding-of {
        font-size: 0.75rem;
        letter-spacing: 5px;
    }

    .guest-name {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .cover-ornament {
        width: 40px;
        height: 40px;
    }
    
    .cover-ornament.top-left { top: 15px; left: 15px; }
    .cover-ornament.top-right { top: 15px; right: 15px; transform: scale(-1, 1); }
    .cover-ornament.bottom-left { bottom: 15px; left: 15px; transform: scale(1, -1); }
    .cover-ornament.bottom-right { bottom: 15px; right: 15px; transform: scale(-1, -1); }

    .frame-corner { width: 60px; height: 60px; }
    .border-top { left: 60px; right: 60px; }
    .border-bottom { left: 60px; right: 60px; }
    .border-left { top: 60px; bottom: 60px; }
    .border-right { top: 60px; bottom: 60px; }

    .hero-frame {
        padding: 35px 20px;
        max-width: 92vw;
        border-radius: 18px;
    }

    .title { font-size: 2.8rem; white-space: normal; }
    .sub-title { font-size: 0.75rem; letter-spacing: 4px; }
    .date { font-size: 1rem; margin-bottom: 25px; }

    .countdown { gap: 10px; }
    .time-box { width: 58px; height: 58px; border-radius: 12px; }
    .time-box span { font-size: 1.2rem; }
    .time-box p { font-size: 0.55rem; }

    .section-title { font-size: 2.4rem; }

    .couple-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card-container {
        width: 100%;
        max-width: 400px;
        min-width: unset;
    }

    .couple-card { padding: 30px 20px; }
    .img-frame { width: 160px; height: 160px; }
    .couple-card h3 { font-size: 2rem; }

    .ampersand {
        font-size: 3rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .event-section,
    .gallery-section { padding: 60px 15px; }
    .event-card { padding: 30px 20px; }

    /* Journey Mobile */
    .journey-section { padding: 60px 15px; }
    .timeline-container { margin-top: 30px; padding: 0; }
    .timeline-container::before { left: 20px; }
    .timeline-item { justify-content: flex-end; margin-bottom: 30px; padding-left: 50px; }
    .timeline-item:nth-child(odd) { justify-content: flex-end; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: 100%; text-align: left; padding: 20px; }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content { text-align: left; }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 12px;
        margin-top: 30px;
    }

    .gallery-item { margin-bottom: 0; }
    
    .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
    .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
    .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3 / span 2; }
    .gallery-item:nth-child(6) { grid-column: 1; grid-row: 4; }

    .gift-section { padding: 60px 15px; }
    .gift-grid { grid-template-columns: 1fr; gap: 16px; }
    .bank-card { padding: 28px 18px; }
    .account-num { font-size: 1.2rem; }

    .wish-wrapper { grid-template-columns: 1fr; gap: 16px; }
    .rsvp-section { padding: 60px 15px 120px; background-attachment: scroll; }
    .wish-form-card { padding: 28px 20px; }
    .form-group { margin-bottom: 14px; }

    input, select, .wish-wrapper textarea {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .form-icon { left: 14px; font-size: 0.85rem; }

    .lightbox-overlay img { max-width: 95vw; max-height: 80vh; }
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .footer { padding: 80px 0 40px; }
    .footer-couple { font-size: 2.8rem; }
}

@media (max-width: 480px) {
    .couple-name-cover { font-size: 2.5rem; }
    .title { font-size: 2.2rem; white-space: normal; }
    .time-box { width: 52px; height: 52px; }
    .time-box span { font-size: 1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
