/* ==========================================================================
   LUXURY WEDDING INVITATION - STYLESHEET
   Supports: Rose Gold, Emerald Gold, Sapphire Gold, Classic Burgundy themes
   Mobile Responsive, Smooth Animations, Envelope Intro, Countdown, Gallery
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Bodoni+Moda:ital,opsz,wght@0,6..96,500;0,6..96,700;1,6..96,400&family=Cinzel+Decorative:wght@700&family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,500;0,700;1,400&family=Dancing+Script:wght@600;700&family=Great+Vibes&family=Italianno&family=Marcellus&family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Rozha+One&family=Syne:wght@600;700;800&family=Yatra+One&display=swap');

/* --- Root & Theme Variables --- */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-calligraphy: 'Great Vibes', cursive;
    --font-script: 'Alex Brush', cursive;
    --font-royal: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Cinzel Decorative', serif;

    /* Theme Layout Specific Font Customizations */
    --font-royal-heading: 'Cinzel Decorative', 'Cinzel', serif;
    --font-floral-calligraphy: 'Dancing Script', 'Great Vibes', cursive;
    --font-modern-heading: 'Syne', sans-serif;
    --font-festive-heading: 'Yatra One', cursive;

    /* Default: Rose Gold & Champagne */
    --bg-primary: #fdfaf7;
    --bg-secondary: #faece8;
    --bg-card: #ffffff;
    --text-primary: #3d272a;
    --text-secondary: #745b60;
    --accent-gold: #cba258;
    --accent-gold-light: #f3e6c8;
    --accent-gold-dark: #a27c32;
    --theme-primary: #c97d8e;
    --theme-primary-hover: #b36778;
    --border-gold: rgba(203, 162, 88, 0.35);
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --card-shadow: 0 15px 35px rgba(201, 125, 142, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   THEME 1: Rose Gold & Blush (Romantic Floral)
   ========================================================================== */
body.theme-rose-gold {
    --bg-primary: #fdfaf8;
    --bg-secondary: #fcede9;
    --bg-card: #ffffff;
    --text-primary: #3a2529;
    --text-secondary: #775c62;
    --accent-gold: #c89d54;
    --theme-primary: #ce7c8d;
    --theme-primary-hover: #b66879;
    --border-gold: rgba(200, 157, 84, 0.35);
}

/* ==========================================================================
   THEME 2: Royal Emerald & Pure Gold (Regal Heritage)
   ========================================================================== */
body.theme-emerald-gold {
    --bg-primary: #0a1f18;
    --bg-secondary: #102e24;
    --bg-card: #13392d;
    --text-primary: #fdfbf7;
    --text-secondary: #c9ddcf;
    --accent-gold: #e5c158;
    --accent-gold-light: #f5e4ab;
    --accent-gold-dark: #b89229;
    --theme-primary: #d4af37;
    --theme-primary-hover: #b89229;
    --border-gold: rgba(229, 193, 88, 0.38);
    --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(229, 193, 88, 0.1);
}

/* ==========================================================================
   THEME 3: Midnight Sapphire & Gold (Contemporary Starlight)
   ========================================================================== */
body.theme-sapphire-gold {
    --bg-primary: #0a1322;
    --bg-secondary: #111f35;
    --bg-card: #142642;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent-gold: #dfb15b;
    --accent-gold-light: #f4dd9c;
    --accent-gold-dark: #ba8c32;
    --theme-primary: #dfb15b;
    --theme-primary-hover: #ba8c32;
    --border-gold: rgba(223, 177, 91, 0.35);
    --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   THEME 4: Classic Burgundy & Gold (Vintage Aristocracy)
   ========================================================================== */
body.theme-classic-burgundy {
    --bg-primary: #fbf6f3;
    --bg-secondary: #f4e8e1;
    --bg-card: #ffffff;
    --text-primary: #331518;
    --text-secondary: #674246;
    --accent-gold: #c29547;
    --accent-gold-light: #f2dec0;
    --accent-gold-dark: #99702a;
    --theme-primary: #851b2a;
    --theme-primary-hover: #6c111e;
    --border-gold: rgba(194, 149, 71, 0.35);
    --card-shadow: 0 15px 35px rgba(133, 27, 42, 0.1);
}

/* ==========================================================================
   THEME 5: Sunset Saffron & Marigold (Festive Haldi & Traditional Indian)
   ========================================================================== */
body.theme-sunset-saffron {
    --bg-primary: #fffdf5;
    --bg-secondary: #fef5dc;
    --bg-card: #ffffff;
    --text-primary: #4a2800;
    --text-secondary: #7e5318;
    --accent-gold: #e69500;
    --accent-gold-light: #ffebbe;
    --accent-gold-dark: #b87100;
    --theme-primary: #d96b00;
    --theme-primary-hover: #b85400;
    --border-gold: rgba(230, 149, 0, 0.35);
    --gold-gradient: linear-gradient(135deg, #e67e00 0%, #ffd066 50%, #d46500 100%);
    --card-shadow: 0 15px 35px rgba(217, 107, 0, 0.12);
}

/* ==========================================================================
   THEME 6: Peacock Teal & Royal Gold (Rajasthani Mayur Grandeur)
   ========================================================================== */
body.theme-peacock-teal {
    --bg-primary: #041b21;
    --bg-secondary: #082932;
    --bg-card: #0c3642;
    --text-primary: #f0fdfa;
    --text-secondary: #99f6e4;
    --accent-gold: #eab308;
    --accent-gold-light: #fef08a;
    --accent-gold-dark: #ca8a04;
    --theme-primary: #0d9488;
    --theme-primary-hover: #0f766e;
    --border-gold: rgba(234, 179, 8, 0.4);
    --gold-gradient: linear-gradient(135deg, #ca8a04 0%, #fde047 50%, #a16207 100%);
    --card-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(13, 148, 136, 0.2);
}

/* ==========================================================================
   THEME 7: Lavender Dream & Platinum Silver (Enchanted Fairytale Garden)
   ========================================================================== */
body.theme-lavender-dream {
    --bg-primary: #faf8ff;
    --bg-secondary: #f2edfe;
    --bg-card: #ffffff;
    --text-primary: #2d1f47;
    --text-secondary: #655482;
    --accent-gold: #b39ddb;
    --accent-gold-light: #ede7f6;
    --accent-gold-dark: #7e57c2;
    --theme-primary: #7e57c2;
    --theme-primary-hover: #5e35b1;
    --border-gold: rgba(179, 157, 219, 0.45);
    --gold-gradient: linear-gradient(135deg, #7e57c2 0%, #d1c4e9 50%, #5e35b1 100%);
    --card-shadow: 0 15px 35px rgba(126, 87, 194, 0.12);
}

/* ==========================================================================
   THEME 8: Pure Ivory & Champagne (Timeless Minimalist Royalty)
   ========================================================================== */
body.theme-ivory-champagne {
    --bg-primary: #faf8f5;
    --bg-secondary: #f3efe8;
    --bg-card: #ffffff;
    --text-primary: #2c2523;
    --text-secondary: #6e645e;
    --accent-gold: #bfa15f;
    --accent-gold-light: #efe6d1;
    --accent-gold-dark: #987a38;
    --theme-primary: #a68a4a;
    --theme-primary-hover: #8c7136;
    --border-gold: rgba(191, 161, 95, 0.35);
    --gold-gradient: linear-gradient(135deg, #987a38 0%, #f6edd9 50%, #8c7136 100%);
    --card-shadow: 0 12px 30px rgba(166, 138, 74, 0.09);
}

/* ==========================================================================
   THEME 9: Crimson Ruby & Antique Brass (Sacred Sindoor & Phere)
   ========================================================================== */
body.theme-ruby-crimson {
    --bg-primary: #1c0608;
    --bg-secondary: #2c0b0f;
    --bg-card: #3a1015;
    --text-primary: #fff5f5;
    --text-secondary: #fed7d7;
    --accent-gold: #e2b350;
    --accent-gold-light: #faeac4;
    --accent-gold-dark: #b68725;
    --theme-primary: #e53e3e;
    --theme-primary-hover: #c53030;
    --border-gold: rgba(226, 179, 80, 0.45);
    --gold-gradient: linear-gradient(135deg, #b68725 0%, #fef3c7 50%, #926915 100%);
    --card-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 5px 20px rgba(155, 44, 44, 0.25);
}

/* ==========================================================================
   THEME 10: Sage & Botanical Greenery (Boho Destination & Meadow)
   ========================================================================== */
body.theme-sage-botanical {
    --bg-primary: #f6f8f5;
    --bg-secondary: #eaf0e8;
    --bg-card: #ffffff;
    --text-primary: #1f3323;
    --text-secondary: #4d6853;
    --accent-gold: #a39558;
    --accent-gold-light: #e8e4cb;
    --accent-gold-dark: #7a6e38;
    --theme-primary: #557b5d;
    --theme-primary-hover: #3f6046;
    --border-gold: rgba(163, 149, 88, 0.35);
    --gold-gradient: linear-gradient(135deg, #7a6e38 0%, #d8e2dc 50%, #557b5d 100%);
    --card-shadow: 0 15px 35px rgba(85, 123, 93, 0.1);
}

/* ==========================================================================
   THEME 11: Black Velvet & 24K Gold (Sangeet & Cocktail Night Glamour)
   ========================================================================== */
body.theme-black-velvet {
    --bg-primary: #0c0d0e;
    --bg-secondary: #16181b;
    --bg-card: #1c1f24;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fde68a;
    --accent-gold-dark: #d97706;
    --theme-primary: #fbbf24;
    --theme-primary-hover: #f59e0b;
    --border-gold: rgba(245, 158, 11, 0.45);
    --gold-gradient: linear-gradient(135deg, #d97706 0%, #fef08a 40%, #b45309 80%, #fef08a 100%);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 5px 20px rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   THEME 12: Pastel Peach & Sunset Coral (Spring Romance)
   ========================================================================== */
body.theme-peach-blossom {
    --bg-primary: #fdfaf7;
    --bg-secondary: #faece5;
    --bg-card: #ffffff;
    --text-primary: #442a22;
    --text-secondary: #7f5b50;
    --accent-gold: #d89b65;
    --accent-gold-light: #f7e2ce;
    --accent-gold-dark: #ad6d34;
    --theme-primary: #e07a5f;
    --theme-primary-hover: #c46046;
    --border-gold: rgba(216, 155, 101, 0.35);
    --card-shadow: 0 15px 35px rgba(224, 122, 95, 0.12);
}

/* ==========================================================================
   THEME 13: Royal Plum & Glowing Amber (Winter Palace Majesty)
   ========================================================================== */
body.theme-royal-plum {
    --bg-primary: #15091a;
    --bg-secondary: #220f2b;
    --bg-card: #2e153a;
    --text-primary: #fdf7ff;
    --text-secondary: #e3cde8;
    --accent-gold: #f1b34a;
    --accent-gold-light: #fae3be;
    --accent-gold-dark: #c0821b;
    --theme-primary: #a855f7;
    --theme-primary-hover: #9333ea;
    --border-gold: rgba(241, 179, 74, 0.4);
    --gold-gradient: linear-gradient(135deg, #c0821b 0%, #fef08a 50%, #9333ea 100%);
    --card-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 5px 20px rgba(168, 85, 247, 0.2);
}

/* ==========================================================================
   THEME 14: Ocean Breeze & Coastal Pearl (Beachside Destination Mandap)
   ========================================================================== */
body.theme-ocean-breeze {
    --bg-primary: #f4fbfa;
    --bg-secondary: #e2f4f2;
    --bg-card: #ffffff;
    --text-primary: #103738;
    --text-secondary: #3b6b6c;
    --accent-gold: #c9a75d;
    --accent-gold-light: #f3ebcb;
    --accent-gold-dark: #99782d;
    --theme-primary: #14b8a6;
    --theme-primary-hover: #0d9488;
    --border-gold: rgba(201, 167, 93, 0.35);
    --card-shadow: 0 15px 35px rgba(20, 184, 166, 0.12);
}

/* ==========================================================================
   THEME 15: Golden Ochre & Terracotta (Warm Bohemian Chic)
   ========================================================================== */
body.theme-golden-ochre {
    --bg-primary: #fdfbf6;
    --bg-secondary: #f8edd8;
    --bg-card: #ffffff;
    --text-primary: #3d2c0b;
    --text-secondary: #745722;
    --accent-gold: #cc8b18;
    --accent-gold-light: #fae5be;
    --accent-gold-dark: #986306;
    --theme-primary: #c25e2e;
    --theme-primary-hover: #a54619;
    --border-gold: rgba(204, 139, 24, 0.38);
    --card-shadow: 0 15px 35px rgba(194, 94, 46, 0.12);
}

/* ==========================================================================
   THEME 16: Mauve Silk & Platinum (Aristocratic Soft Glow)
   ========================================================================== */
body.theme-mauve-silk {
    --bg-primary: #fbf8f9;
    --bg-secondary: #f2e9ed;
    --bg-card: #ffffff;
    --text-primary: #36222b;
    --text-secondary: #6e505d;
    --accent-gold: #b59276;
    --accent-gold-light: #e9dccf;
    --accent-gold-dark: #8c6a50;
    --theme-primary: #9b5a74;
    --theme-primary-hover: #81435c;
    --border-gold: rgba(181, 146, 118, 0.35);
    --card-shadow: 0 15px 35px rgba(155, 90, 116, 0.12);
}

/* --- Themed Wax Seals --- */
body.theme-sunset-saffron .wax-seal { background: radial-gradient(circle, #f59e0b 0%, #d97706 70%, #92400e 100%); color: #fff; }
body.theme-peacock-teal .wax-seal { background: radial-gradient(circle, #0d9488 0%, #0f766e 70%, #115e59 100%); color: #fef08a; }
body.theme-lavender-dream .wax-seal { background: radial-gradient(circle, #a855f7 0%, #7e22ce 70%, #581c87 100%); color: #fff; }
body.theme-ivory-champagne .wax-seal { background: radial-gradient(circle, #c9a75d 0%, #a68a4a 70%, #785e25 100%); color: #fff; }
body.theme-ruby-crimson .wax-seal { background: radial-gradient(circle, #dc2626 0%, #991b1b 70%, #450a0a 100%); color: #fef08a; }
body.theme-sage-botanical .wax-seal { background: radial-gradient(circle, #4d7c0f 0%, #3f6212 70%, #1a2e05 100%); color: #fff; }
body.theme-black-velvet .wax-seal { background: radial-gradient(circle, #27272a 0%, #18181b 70%, #09090b 100%); border: 1.5px solid #eab308; color: #facc15; }
body.theme-peach-blossom .wax-seal { background: radial-gradient(circle, #fb923c 0%, #ea580c 70%, #9a3412 100%); color: #fff; }
body.theme-royal-plum .wax-seal { background: radial-gradient(circle, #9333ea 0%, #6b21a8 70%, #3b0764 100%); color: #fef08a; }
body.theme-ocean-breeze .wax-seal { background: radial-gradient(circle, #06b6d4 0%, #0891b2 70%, #155e75 100%); color: #fff; }
body.theme-golden-ochre .wax-seal { background: radial-gradient(circle, #d97706 0%, #b45309 70%, #78350f 100%); color: #fff; }
body.theme-mauve-silk .wax-seal { background: radial-gradient(circle, #a21caf 0%, #86198f 70%, #4a044e 100%); color: #fff; }

/* --- Dark Themes Common Adjustments --- */
body.theme-emerald-gold,
body.theme-sapphire-gold,
body.theme-peacock-teal,
body.theme-ruby-crimson,
body.theme-black-velvet,
body.theme-royal-plum {
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
}

body.theme-emerald-gold .card,
body.theme-sapphire-gold .card,
body.theme-peacock-teal .card,
body.theme-ruby-crimson .card,
body.theme-black-velvet .card,
body.theme-royal-plum .card,
body.theme-emerald-gold .countdown-box,
body.theme-sapphire-gold .countdown-box,
body.theme-peacock-teal .countdown-box,
body.theme-ruby-crimson .countdown-box,
body.theme-black-velvet .countdown-box,
body.theme-royal-plum .countdown-box,
body.theme-emerald-gold .rsvp-card,
body.theme-sapphire-gold .rsvp-card,
body.theme-peacock-teal .rsvp-card,
body.theme-ruby-crimson .rsvp-card,
body.theme-black-velvet .rsvp-card,
body.theme-royal-plum .rsvp-card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-gold) !important;
    color: var(--text-primary) !important;
}

body.theme-emerald-gold .form-control,
body.theme-sapphire-gold .form-control,
body.theme-peacock-teal .form-control,
body.theme-ruby-crimson .form-control,
body.theme-black-velvet .form-control,
body.theme-royal-plum .form-control {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--border-gold) !important;
    color: #ffffff !important;
}

body.theme-emerald-gold .form-control::placeholder,
body.theme-sapphire-gold .form-control::placeholder,
body.theme-peacock-teal .form-control::placeholder,
body.theme-ruby-crimson .form-control::placeholder,
body.theme-black-velvet .form-control::placeholder,
body.theme-royal-plum .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* --- Base Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.wedding-page {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.font-calligraphy {
    font-family: var(--font-calligraphy);
}

.font-script {
    font-family: var(--font-script);
}

.font-royal {
    font-family: var(--font-royal);
    letter-spacing: 2px;
}

/* --- Golden Text Gradient --- */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Canvas Falling Petals --- */
#petals-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99;
}

/* --- Interactive Envelope Intro Modal --- */
.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 14, 16, 0.88);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.envelope-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-wrapper {
    position: relative;
    width: 340px;
    height: 230px;
    perspective: 1200px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

@media (min-width: 480px) {
    .envelope-wrapper {
        width: 420px;
        height: 280px;
    }
}

.envelope-wrapper:hover {
    transform: translateY(-5px);
}

.envelope-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f5ebd9, #ecd6ba);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(200, 160, 80, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 170px solid transparent;
    border-right: 170px solid transparent;
    border-top: 130px solid #ecd6ba;
    transform-origin: top center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.15));
}

@media (min-width: 480px) {
    .envelope-flap {
        border-left-width: 210px;
        border-right-width: 210px;
        border-top-width: 160px;
    }
}

.envelope-wrapper.opening .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.wax-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    width: 72px;
    height: 72px;
    background: radial-gradient(circle, #b92b3a 0%, #7e121d 70%, #520910 100%);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7d28b;
    font-size: 1.6rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: seal-pulse 2.5s infinite;
}

@keyframes seal-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(200, 160, 80, 0.4), 0 6px 16px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(200, 160, 80, 0), 0 8px 20px rgba(0, 0, 0, 0.5);
    }
}

.envelope-front-content {
    text-align: center;
    z-index: 3;
    padding: 1.5rem;
    position: absolute;
    bottom: 12px;
    width: 100%;
}

.envelope-guest-name {
    font-family: var(--font-royal);
    font-size: 0.85rem;
    color: #634731;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.envelope-hint {
    margin-top: 2rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-align: center;
    animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50% { transform: translateY(-6px); opacity: 1; }
}

/* --- Floating Control Dock (Audio, Share, RSVP) --- */
.floating-dock {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 98;
}

.dock-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.dock-btn:hover {
    transform: scale(1.12);
    color: #ffffff;
    background: var(--theme-primary);
    box-shadow: 0 10px 25px rgba(200, 160, 80, 0.35);
}

.dock-btn.playing i {
    animation: spin-slow 4s linear infinite;
}

@keyframes spin-slow {
    100% { transform: rotate(360deg); }
}

/* --- Floating Luxury Audio Player Pill --- */
.luxury-player-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    z-index: 99;
    max-width: 420px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.luxury-player-pill.is-playing {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 35px rgba(200, 160, 80, 0.3);
}

.player-pill-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-gradient, linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #aa771c 100%));
    border: none;
    color: #3d272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.player-pill-play:hover {
    transform: scale(1.1);
}

.player-pill-play:active {
    transform: scale(0.95);
}

.player-pill-info {
    display: flex;
    flex-direction: column;
    min-width: 90px;
    max-width: 140px;
}

.player-pill-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.player-pill-title .vinyl-disc {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.player-pill-title .vinyl-disc.spinning {
    animation: spin-slow 3s linear infinite;
}

.player-pill-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.player-pill-seek {
    display: flex;
    align-items: center;
    width: 90px;
}

.player-scrubber {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(180, 150, 100, 0.25);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.player-scrubber::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.player-scrubber::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.player-scrubber::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.player-pill-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.player-pill-btn:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.player-pill-btn.muted {
    color: #ef4444;
}

/* --- Mobile Sticky Quick-Action Bar --- */
.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 72px;
    }

    .luxury-player-pill {
        bottom: 74px;
        left: 12px;
        right: 12px;
        max-width: none;
        padding: 6px 12px 6px 8px;
        border-radius: 28px;
        gap: 8px;
    }

    .player-pill-seek {
        width: 60px;
        flex: 1;
    }

    .floating-dock {
        bottom: 135px;
        right: 16px;
    }

    .mobile-action-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border-gold);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
        z-index: 1000;
        padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-action-grid {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 6px;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        border: none;
        background: transparent;
        padding: 6px 10px;
        border-radius: 12px;
        transition: all 0.2s ease;
        cursor: pointer;
        min-width: 54px;
    }

    .mobile-action-btn i {
        font-size: 1.15rem;
        transition: transform 0.2s ease;
    }

    .mobile-action-btn:hover,
    .mobile-action-btn:active {
        color: var(--accent-gold);
    }

    .mobile-action-btn.playing i {
        color: var(--accent-gold);
        animation: spin-slow 3s linear infinite;
    }

    .mobile-action-btn.btn-rsvp-wa {
        background: #25d366;
        color: #ffffff !important;
        border-radius: 20px;
        padding: 6px 16px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    }

    .mobile-action-btn.btn-rsvp-wa i {
        font-size: 1.1rem;
    }

    .mobile-action-btn.btn-rsvp-wa:active {
        transform: scale(0.95);
    }
}

/* --- Containers & Sections --- */
.wedding-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }
}

/* --- Section Headers & Dividers --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-sub {
    font-family: var(--font-royal);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.4rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 1rem auto 0;
    max-width: 260px;
}

.ornament-divider::before,
.ornament-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.ornament-divider i {
    color: var(--accent-gold);
    font-size: 1rem;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #ffffff;
    animation: fade-up 1.2s ease-out;
}

.hero-tagline {
    font-family: var(--font-royal);
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f7dfa5;
    margin-bottom: 1.25rem;
}

.hero-couple-names {
    font-family: var(--font-calligraphy);
    font-size: clamp(1.4rem, 6.2vw, 4.8rem);
    line-height: 1.2;
    margin: 0 auto 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #fff7d6 0%, #ffd987 50%, #f7dfa5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 96vw;
    width: 100%;
}

.hero-couple-names .hero-name {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44vw;
}

.hero-and {
    font-family: var(--font-script);
    font-size: clamp(1.2rem, 4.5vw, 2.5rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 clamp(0.2rem, 1.2vw, 0.6rem);
    color: #fce2a6;
    -webkit-text-fill-color: #fce2a6;
    flex-shrink: 0;
}

.hero-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    color: #f1ede8;
    line-height: 1.8;
}

.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(247, 223, 165, 0.45);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    font-family: var(--font-royal);
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fff9e6;
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Countdown Timer Section --- */
.countdown-section {
    margin-top: -3rem;
    position: relative;
    z-index: 3;
    padding: 0 1rem;
}

.countdown-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem 1.5rem;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.countdown-title {
    font-family: var(--font-royal);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 480px) {
    .timer-grid {
        gap: 8px;
    }
}

.timer-item {
    padding: 1.2rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    transition: transform 0.3s ease;
}

.timer-item:hover {
    transform: translateY(-4px);
}

.timer-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
    .timer-number {
        font-size: 3rem;
    }
}

.timer-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Couple Section --- */
.couple-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 850px) {
    .couple-grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 2rem;
    }
}

.couple-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    border: 1px solid var(--border-gold);
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.couple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(200, 160, 80, 0.2);
}

.couple-photo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
    .couple-photo-wrapper {
        width: 220px;
        height: 220px;
    }
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    padding: 6px;
    background: var(--bg-card);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.couple-role {
    font-family: var(--font-royal);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
}

.couple-name {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.couple-parents {
    font-size: 0.88rem;
    color: var(--accent-gold-dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.couple-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.couple-separator {
    text-align: center;
    font-family: var(--font-calligraphy);
    font-size: 4rem;
    color: var(--accent-gold);
}

/* --- Story Timeline --- */
.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent 100%);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
    }

    .timeline-item:nth-child(even) {
        margin-left: auto;
        padding-right: 0;
        padding-left: 40px;
    }
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
    font-size: 0.75rem;
    z-index: 2;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(200, 160, 80, 0.4);
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-dot {
        left: auto;
        right: -13px;
        transform: none;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -13px;
        transform: none;
    }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.timeline-date {
    font-family: var(--font-royal);
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Events & Schedule Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 650px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
}

.event-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta-item i {
    color: var(--accent-gold);
    width: 16px;
}

.event-dresscode {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--accent-gold-dark);
    font-weight: 500;
    border: 1px solid var(--border-gold);
    margin-top: 0.5rem;
}

/* --- Venue Section & Map --- */
.venue-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.venue-info {
    padding: 2.5rem 2rem;
    text-align: center;
}

.venue-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.venue-address {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--theme-primary);
    color: #ffffff !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    background: var(--theme-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(200, 160, 80, 0.3);
}

.btn-luxury-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--accent-gold);
}

.btn-luxury-outline:hover {
    background: var(--accent-gold);
    color: #ffffff !important;
}

.venue-map-iframe {
    width: 100%;
    height: 360px;
    border: none;
    display: block;
}

/* --- Photo Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-gold);
}

@media (min-width: 768px) {
    .gallery-item {
        height: 280px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--accent-gold);
}

/* --- RSVP Section --- */
.rsvp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    max-width: 680px;
    margin: 0 auto;
}

.rsvp-note {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.rsvp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: #1ebc57;
}

/* --- Footer --- */
.wedding-footer {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
}

.footer-names {
    font-family: var(--font-calligraphy);
    font-size: 3rem;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
}

.footer-gratitude {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--accent-gold-dark);
    letter-spacing: 1px;
}

/* ==========================================================================
   MOBILE-FIRST WHATSAPP & PHONE RESPONSIVE ENHANCEMENTS
   Optimized for 320px - 480px screens (iPhone, Galaxy, OnePlus, Pixel)
   ========================================================================== */

/* Fluid Single-Line Hero Couple Names */
.hero-couple-names {
    font-family: var(--font-calligraphy);
    font-size: clamp(1.3rem, 6vw, 2.8rem);
    line-height: 1.15;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 96vw;
    width: 100%;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-couple-names .hero-name {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44vw;
}

.hero-and {
    font-family: var(--font-script);
    font-style: italic;
    font-size: clamp(1rem, 4.5vw, 2rem);
    color: var(--accent-gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 clamp(0.2rem, 1vw, 0.5rem);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
}

/* Floating Mobile Bottom Quick-Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: rgba(18, 18, 22, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-gold);
    z-index: 9990;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 12px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.7rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-action-btn i {
    font-size: 1.15rem;
}

.mobile-action-btn.btn-rsvp-wa {
    background: #25d366;
    color: #ffffff;
    font-weight: 600;
}

.mobile-action-btn.btn-rsvp-wa i {
    color: #ffffff;
}

.mobile-action-btn:hover {
    color: var(--accent-gold);
}

/* Mobile Adjustments (under 768px) */
@media (max-width: 768px) {
    body.wedding-page {
        padding-bottom: 65px; /* Prevent bottom bar overlapping content */
    }

    .mobile-action-bar {
        display: block;
    }

    /* Hide desktop floating dock on mobile so it doesn't clutter the screen */
    .floating-dock {
        display: none;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .wedding-container {
        padding: 0 1rem;
    }

    /* Countdown Grid on Mobile */
    .countdown-box {
        padding: 1.5rem 1rem;
    }

    .timer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .timer-item {
        padding: 0.6rem 0.3rem;
    }

    .timer-number {
        font-size: 1.4rem;
    }

    .timer-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    /* Envelope scaled for mobile */
    .envelope-wrapper {
        width: 320px;
        height: 220px;
    }

    .envelope-box {
        width: 320px;
        height: 220px;
    }

    .envelope-flap {
        border-left: 160px solid transparent;
        border-right: 160px solid transparent;
        border-top: 120px solid #ecd6ba;
    }

    .wax-seal {
        width: 62px;
        height: 62px;
        font-size: 1.35rem;
    }

    /* Couple cards */
    .couple-photo-wrapper {
        width: 140px;
        height: 140px;
    }

    .couple-name {
        font-size: 1.8rem;
    }

    /* Event Cards */
    .timeline-card {
        padding: 1.25rem 1rem;
    }

    .event-title {
        font-size: 1.4rem;
    }

    /* RSVP Card */
    .rsvp-card {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .rsvp-actions {
        flex-direction: column;
        width: 100%;
    }

    .rsvp-actions .btn-luxury {
        width: 100%;
        justify-content: center;
    }
}

/* Extra small screens (under 380px) */
@media (max-width: 380px) {
    .envelope-wrapper {
        width: 290px;
        height: 200px;
    }

    .envelope-box {
        width: 290px;
        height: 200px;
    }

    .envelope-flap {
        border-left: 145px solid transparent;
        border-right: 145px solid transparent;
        border-top: 110px solid #ecd6ba;
    }

    .timer-number {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   LUXURY GUESTBOOK & WISHES SECTION
   ========================================================================== */
.wishes-container {
    max-width: 820px;
    margin: 0 auto;
}

.wishes-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--theme-primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
}

.wishes-composer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.wishes-composer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold), var(--theme-primary));
}

.wishes-composer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wishes-composer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.wishes-composer-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.wishes-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.wishes-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold-dark);
    font-size: 0.95rem;
}

.wishes-input-field {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.wishes-input-field:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.wishes-textarea-field {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.25s ease;
    resize: vertical;
    min-height: 100px;
}

.wishes-textarea-field:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.wishes-chips-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wishes-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.wishes-chip-btn {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.wishes-chip-btn:hover, .wishes-chip-btn:active {
    background: var(--accent-gold-light);
    color: #111;
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

.wishes-emojis-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.wishes-emoji-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 8px;
    transition: transform 0.15s ease;
}

.wishes-emoji-btn:hover {
    transform: scale(1.3);
}

.wishes-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.wishes-char-counter {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.wishes-feed-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wish-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wish-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.wish-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
}

.wish-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wish-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-primary, #851b2a), var(--accent-gold, #d4af37));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.wish-author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.wish-time-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.wish-quote-watermark {
    position: absolute;
    right: 18px;
    bottom: 12px;
    font-size: 3.5rem;
    color: var(--accent-gold);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.wish-message-body {
    position: relative;
    z-index: 2;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.wish-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
    padding-top: 0.6rem;
}

.wish-like-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.wish-like-btn:hover, .wish-like-btn.liked {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border-color: #dc3545;
}

.wishes-empty-box {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-card);
    border: 2px dashed var(--border-gold);
    border-radius: 24px;
    color: var(--text-secondary);
}

.wishes-empty-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
    animation: gentle-pulse 2s infinite ease-in-out;
}

.wishes-success-alert {
    background: linear-gradient(135deg, #155724 0%, #28a745 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25);
    animation: fade-up 0.5s ease-out;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ==========================================================================
   DIGITAL MEDIA PRIVACY & CONTENT PROTECTION
   ========================================================================== */
img, video, canvas, audio {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none; /* Disables iOS Safari "Save Image" / long-press action sheet */
}

/* Protected Media Containers */
.couple-photo-wrapper,
.gallery-item,
.hero-section,
.lightbox-modal,
.timeline-card,
.wishes-card {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Anti-Right Click / Drag overlay protection on gallery items */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

/* Privacy shield active state (applied during blur / screen capture attempts) */
.privacy-shield-active {
    filter: blur(35px) grayscale(90%) !important;
    opacity: 0.15 !important;
    transition: filter 0.05s ease, opacity 0.05s ease !important;
    pointer-events: none !important;
}

/* Anti-Print Protection: Prevent saving as PDF or printing wedding media */
@media print {
    html, body {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* ==========================================================================
   ULTRA-LUXURY ARCHITECTURAL OPENINGS & CREATIVE SECTION DESIGNS
   ========================================================================== */

/* --- 1. Grand Royal Palace Gates 3D Opening --- */
.palace-doors-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #1a0f0a 0%, #080402 100%);
    backdrop-filter: blur(18px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    padding: 1rem;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}
.palace-doors-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.palace-arch-gateway {
    position: relative;
    width: 340px;
    max-width: 92vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.9));
}
@media (min-width: 480px) {
    .palace-arch-gateway { width: 380px; }
}
/* Ornate Mughal Arch Dome & Kalash Top */
.gateway-dome-top {
    width: 100%;
    height: 90px;
    position: relative;
    background: linear-gradient(180deg, #d4af37 0%, #8c6d20 50%, #4a2717 100%);
    clip-path: polygon(50% 0%, 55% 8%, 62% 12%, 75% 25%, 88% 50%, 100% 100%, 0% 100%, 12% 50%, 25% 25%, 38% 12%, 45% 8%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid #fef3c7;
    box-shadow: 0 -10px 30px rgba(212,175,55,0.4);
}
.gateway-kalash-finial {
    position: absolute;
    top: -24px;
    font-size: 1.8rem;
    color: #fef08a;
    filter: drop-shadow(0 0 10px #f59e0b);
    animation: finial-glow 2.5s infinite ease-in-out;
}
@keyframes finial-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(245,158,11,0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(254,240,138,0.95)); }
}
.gateway-shloka-banner {
    position: absolute;
    bottom: 8px;
    color: #fef3c7;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Doors Frame */
.palace-doors-frame {
    position: relative;
    width: 100%;
    height: 440px;
    max-height: 65vh;
    display: flex;
    transform-style: preserve-3d;
    border: 6px solid #b8860b;
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 0 40px rgba(212,175,55,0.3);
    background: #000;
    overflow: visible;
}
.palace-door {
    flex: 1;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, #3e1e10 0%, #200f07 60%, #150904 100%);
    position: relative;
    transition: transform 1.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 1.35s ease;
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow: inset 0 0 35px rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 8px;
}
.palace-door.door-left {
    transform-origin: left center;
    border-right: 2px solid #5a2e16;
}
.palace-door.door-right {
    transform-origin: right center;
    border-left: 2px solid #d4af37;
}
.palace-doors-frame.opening .palace-door.door-left {
    transform: rotateY(-120deg);
}
.palace-doors-frame.opening .palace-door.door-right {
    transform: rotateY(120deg);
}
/* Carved Recessed Wood Panels */
.door-wood-panel {
    width: 82%;
    height: 28%;
    background: linear-gradient(145deg, #2b1308 0%, #1a0b04 100%);
    border: 2px solid #a17822;
    border-radius: 8px;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.door-brass-rosette {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, #fde047 0%, #ca8a04 60%, #854d0e 100%);
    border: 1px solid #fef08a;
    box-shadow: 0 3px 6px rgba(0,0,0,0.7);
}
/* Brass Lion Knocker with Swinging Ring */
.lion-knocker-wrap {
    width: 58px;
    height: 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}
.lion-head-face {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #fef08a 0%, #d4af37 50%, #854d0e 100%);
    border: 2px solid #fef3c7;
    box-shadow: 0 6px 16px rgba(0,0,0,0.8), inset 0 2px 4px rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #451a03;
    font-size: 1.3rem;
}
.lion-knocker-ring {
    width: 32px;
    height: 32px;
    border: 4px solid #fde047;
    border-radius: 50%;
    margin-top: -12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    background: transparent;
    animation: ring-sway 3.5s infinite ease-in-out;
}
@keyframes ring-sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}
/* Royal Center Medallion Seal */
.royal-gate-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, #991b1b 0%, #7f1d1d 60%, #450a0a 100%);
    border: 4px solid #fde047;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 35px rgba(253,224,71,0.6);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fef08a;
    transition: transform 0.6s ease, opacity 0.6s ease;
    animation: seal-pulse 2.5s infinite;
}
.palace-doors-frame.opening .royal-gate-monogram {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
}
.god-rays-burst {
    position: absolute;
    inset: -30px;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(254,243,199,0.95) 0%, rgba(245,158,11,0.6) 40%, transparent 75%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.palace-doors-frame.opening .god-rays-burst {
    opacity: 1;
}

/* --- 2. Grand Royal Velvet Stage Curtains Opening --- */
.curtains-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #040407;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}
.curtains-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.curtain-panel {
    position: absolute;
    top: 0;
    width: 53vw;
    height: 100vh;
    background: linear-gradient(90deg, 
        #3a040d 0%, #680b18 12%, #9e1425 24%, #42060f 36%, 
        #82101e 48%, #a91729 60%, #4a0610 72%, #7a0d1b 84%, #3a040d 100%);
    box-shadow: 0 0 60px rgba(0,0,0,0.98), inset 0 0 90px rgba(0,0,0,0.8);
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}
.curtain-panel.curtain-left {
    left: 0;
    transform-origin: left top;
    border-right: 4px solid #d4af37;
}
.curtain-panel.curtain-right {
    right: 0;
    transform-origin: right top;
    border-left: 4px solid #d4af37;
}
.curtains-overlay.opening .curtain-panel.curtain-left {
    transform: translateX(-105%) scaleX(0.15);
}
.curtains-overlay.opening .curtain-panel.curtain-right {
    transform: translateX(105%) scaleX(0.15);
}
/* Pelmet Valance with Gold Fringe */
.curtain-valance {
    position: absolute;
    top: 0; left: 0; width: 100vw;
    height: 85px;
    background: radial-gradient(ellipse at bottom, #8c1224 0%, #2e030a 100%);
    border-bottom: 5px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    z-index: 5;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 8px;
}
.curtain-valance::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(90deg, #d4af37 0px, #fef08a 4px, #a17822 8px);
}
/* Golden Braided Ropes with Bullion Tassels */
.curtain-rope-left, .curtain-rope-right {
    position: absolute;
    top: 48%;
    width: 140px;
    height: 28px;
    border: 4px solid #fef08a;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
    z-index: 4;
    transition: transform 0.6s ease, opacity 0.6s ease;
}
.curtain-rope-left { left: 4%; transform: rotate(15deg); }
.curtain-rope-right { right: 4%; transform: rotate(-15deg); }
.curtains-overlay.opening .curtain-rope-left,
.curtains-overlay.opening .curtain-rope-right {
    opacity: 0;
    transform: translateY(120px);
}
.curtain-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
    background: rgba(12, 10, 14, 0.94);
    border: 3px solid #d4af37;
    padding: 1.6rem 2.4rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.95), 0 0 40px rgba(212,175,55,0.45);
    color: #fff;
    transition: transform 0.6s ease, opacity 0.6s ease;
}
.curtains-overlay.opening .curtain-center-badge {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
}

/* --- 3. Fairytale Flying Doves & Blooming Floral Arch Reveal --- */
.birds-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #24131d 0%, #0d060a 100%);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}
.birds-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.floral-gate-wrapper {
    position: relative;
    width: 350px;
    height: 480px;
    max-width: 92vw;
    background: radial-gradient(ellipse at center, #ffffff 0%, #fff2f4 60%, #fae1e6 100%);
    border: 4px solid #e5a4b4;
    border-radius: 175px 175px 28px 28px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.7), 0 0 50px rgba(229,164,180,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 1.8rem;
    text-align: center;
    overflow: hidden;
}
.flying-dove-left, .flying-dove-right {
    position: absolute;
    top: 24px;
    font-size: 2.5rem;
    color: #ce7c8d;
    filter: drop-shadow(0 4px 12px rgba(206,124,141,0.5));
    transition: transform 1.3s cubic-bezier(0.2, 1, 0.3, 1), opacity 1s ease;
    z-index: 10;
}
.flying-dove-left { left: 45px; }
.flying-dove-right { right: 45px; }
.birds-overlay.opening .flying-dove-left {
    transform: translate(-160px, -200px) rotate(-30deg) scale(0.4);
    opacity: 0;
}
.birds-overlay.opening .flying-dove-right {
    transform: translate(160px, -200px) rotate(30deg) scale(0.4);
    opacity: 0;
}
.floral-wreath-center {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #e5a4b4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.4rem 0;
    background: radial-gradient(circle, #ffffff 0%, #fce7eb 100%);
    box-shadow: 0 10px 30px rgba(206,124,141,0.3);
    color: #ce7c8d;
    font-size: 2.8rem;
    animation: pulse-floral 3s infinite ease-in-out;
}

/* --- 4. Ancient Royal Farman Manuscript Scroll --- */
.scroll-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #241408 0%, #0c0602 100%);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}
.scroll-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.scroll-wrapper {
    position: relative;
    width: 350px;
    max-width: 92vw;
    background: linear-gradient(180deg, #fbf2dc 0%, #f7e8c5 50%, #f3dec2 100%);
    border: 3px solid #c29547;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.9), inset 0 0 50px rgba(194,149,71,0.3);
    padding: 2.8rem 1.8rem;
    text-align: center;
}
.scroll-rod {
    position: absolute;
    left: -20px;
    right: -20px;
    height: 24px;
    background: linear-gradient(180deg, #fde047 0%, #b45309 50%, #fef08a 100%);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    z-index: 5;
}
.scroll-rod.rod-top { top: -12px; }
.scroll-rod.rod-bottom { bottom: -12px; }
.scroll-sanskrit-shloka {
    font-family: 'Rozha One', 'Yatra One', serif;
    color: #92400e;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* ==========================================================================
   METALLIC GOLD SHINE SWEEP ON HERO NAMES
   ========================================================================== */
.hero-couple-names {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    text-shadow: 0 3px 15px rgba(0,0,0,0.7);
}
.hero-couple-names .hero-name {
    background: linear-gradient(135deg, #ffffff 0%, #fef08a 35%, #eab308 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shine 4s linear infinite;
}
@keyframes gold-shine {
    to { background-position: 200% center; }
}

/* ==========================================================================
   INTERTWINED COUPLE MONOGRAM CREST
   ========================================================================== */
.couple-monogram-shield {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #e5c158;
    background: rgba(18, 14, 16, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 20px rgba(229,193,88,0.4);
    color: #fef08a;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

/* ==========================================================================
   PRINCE & PRINCESS ROYAL COUPLE FRAMES
   ========================================================================== */
.couple-role-royal {
    font-family: 'Cinzel', serif;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.couple-lineage-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    background: rgba(229,193,88,0.12);
    border: 1px solid rgba(229,193,88,0.3);
    font-size: 0.82rem;
    color: var(--accent-gold-dark);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

/* ==========================================================================
   CEREMONY-SPECIFIC EVENT PASS CARDS
   ========================================================================== */
.event-card {
    position: relative;
    border-radius: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-gold);
    box-shadow: var(--card-shadow);
    padding: 2rem 1.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}
/* Haldi Ceremony Theme */
.event-card.event-theme-haldi {
    border-top: 6px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, var(--bg-card) 25%);
}
.event-card.event-theme-haldi .event-icon-circle {
    background: #fef3c7;
    color: #d97706;
}
/* Mehendi Ceremony Theme */
.event-card.event-theme-mehendi {
    border-top: 6px solid #059669;
    background: linear-gradient(180deg, #ecfdf5 0%, var(--bg-card) 25%);
}
.event-card.event-theme-mehendi .event-icon-circle {
    background: #d1fae5;
    color: #047857;
}
/* Sangeet Ceremony Theme */
.event-card.event-theme-sangeet {
    border-top: 6px solid #6366f1;
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg-card) 25%);
}
.event-card.event-theme-sangeet .event-icon-circle {
    background: #e0e7ff;
    color: #4f46e5;
}
/* Vivah / Phere Ceremony Theme */
.event-card.event-theme-phere {
    border-top: 6px solid #dc2626;
    background: linear-gradient(180deg, #fef2f2 0%, var(--bg-card) 25%);
}
.event-card.event-theme-phere .event-icon-circle {
    background: #fee2e2;
    color: #b91c1c;
}
/* Reception Ceremony Theme */
.event-card.event-theme-reception {
    border-top: 6px solid #d4af37;
    background: linear-gradient(180deg, #fdfbf7 0%, var(--bg-card) 25%);
}
.event-card.event-theme-reception .event-icon-circle {
    background: #fef9c3;
    color: #a16207;
}

/* Event Action Buttons (Google Maps & Calendar) */
.event-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.btn-event-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    background: var(--bg-primary);
}
.btn-event-action:hover {
    background: var(--accent-gold);
    color: #111;
    border-color: var(--accent-gold);
}
