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


:root {
    --ivory: #fbf7ef;
    --cream: #f6eee0;
    --sand: #eedfca;
    --maroon: #6e2525;
    --deep-maroon: #4d1515;
    --brown: #332824;
    --gold: #b38f4d;
    --bright-gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.45);
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--ivory);
    color: var(--brown);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}


/* =================================
   1. ENVELOPE LANDING SCENE
================================= */

#envelope-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, #fffdf9 0%, #f7efe2 55%, #ecdcc6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s ease, visibility 0.85s ease;
    cursor: pointer;
    overflow: hidden;
}

#envelope-screen.fade-out {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
    pointer-events: none;
}

.envelope-wrapper {
    perspective: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: translateY(-12px);
}

.envelope {
    position: relative;
    width: clamp(280px, 48vw, 480px);
    height: clamp(190px, 32vw, 320px);
    background: #fdfaf5;
    border-radius: 10px;
    box-shadow: 0 28px 55px rgba(90, 40, 20, 0.18), 0 10px 22px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(179, 143, 77, 0.4);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.envelope:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Inside Back Layer */
.envelope-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ebd8be 0%, #e2c9a9 100%);
    border-radius: 10px;
    z-index: 1;
}

/* Envelope Front Pocket */
.envelope-pocket {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #faf5eb 0%, #f3ead7 100%);
    clip-path: polygon(0% 0%, 50% 52%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 3;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 -14px 28px rgba(110, 37, 37, 0.05);
}

/* Top Triangular Flap - Slower Luxury Unfolding */
.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 54%;
    background: linear-gradient(180deg, #f5ebd9 0%, #ece0ca 100%);
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
    transform-origin: top center;
    transition: transform 1.25s cubic-bezier(0.25, 1, 0.4, 1);
    z-index: 4;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Royal Maroon Wax Seal with Gold Border & Warm Beige Logo (Main Centerpiece) */
.wax-seal {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(88px, 14vw, 125px);
    height: clamp(88px, 14vw, 125px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8f2323 0%, #681717 65%, #460f0f 100%);
    box-shadow: 0 10px 28px rgba(80, 15, 15, 0.48), inset 0 2px 5px rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.45);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid rgba(212, 175, 55, 0.9);
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: sealGlow 3s ease-in-out infinite alternate;
}

.seal-logo {
    width: 86%;
    height: 86%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

@keyframes sealGlow {
    0% {
        box-shadow: 0 8px 22px rgba(80, 15, 15, 0.35), 0 0 0 rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 12px 32px rgba(80, 15, 15, 0.55), 0 0 22px rgba(212, 175, 55, 0.65);
    }
}

/* Prompt Button */
.envelope-prompt {
    margin-top: 24px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--maroon);
    padding: 9px 22px;
    border: 1px solid rgba(179, 143, 77, 0.45);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
    animation: promptGlow 3s ease-in-out infinite alternate;
}

.envelope-prompt:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 143, 77, 0.3);
}

/* Envelope Open State */
.envelope.open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope.open .wax-seal {
    opacity: 0;
    transform: translate(-50%, -70%) scale(0.6);
    pointer-events: none;
}


/* =================================
   2. HOLY OM OPENING SCENE
================================= */

#om-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 48%, #fffefb 0%, #fbf6ec 45%, #f1e4ce 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.4, 1), visibility 1.1s ease;
    cursor: pointer;
    overflow: hidden;
}

#om-screen.active {
    opacity: 1;
    visibility: visible;
}

#om-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Background floating particles */
#om-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Om Container */
.om-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transform: translateY(-12px);
}

/* Divine Glowing Aura */
.om-aura {
    position: absolute;
    width: clamp(260px, 38vw, 450px);
    height: clamp(260px, 38vw, 450px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(220, 160, 50, 0.22) 45%, rgba(110, 37, 37, 0.05) 65%, transparent 75%);
    filter: blur(24px);
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Sacred Geometric Halo Rays */
.om-rays {
    position: absolute;
    width: clamp(340px, 50vw, 590px);
    height: clamp(340px, 50vw, 590px);
    border-radius: 50%;
    border: 1px dashed rgba(179, 143, 77, 0.35);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15), inset 0 0 30px rgba(212, 175, 55, 0.1);
    animation: rotateRays 50s linear infinite;
    pointer-events: none;
}

.om-rays::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px dotted rgba(110, 37, 37, 0.25);
    animation: rotateRaysReverse 35s linear infinite;
}

/* Sacred Gayatri Mantra Circumference Ring */
.om-mantra-wrapper {
    position: absolute;
    width: clamp(340px, 50vw, 590px);
    height: clamp(340px, 50vw, 590px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transform: scale(0.85);
}

#om-screen.active .om-mantra-wrapper {
    animation: mantraGrowWithMusic var(--om-anim-duration, 6.5s) cubic-bezier(0.25, 0.4, 0.45, 1) forwards;
}

.om-mantra-ring {
    width: 100%;
    height: 100%;
    animation: rotateMantra 50s linear infinite;
    will-change: transform;
}

.om-mantra-svg-text {
    font-family: 'Noto Serif Devanagari', 'Rozha One', 'Martel', serif;
    font-size: 26.5px;
    font-weight: 800;
    fill: #6d1a1a;
    letter-spacing: 0.8px;
}

/* The Holy Om Transparent Image */
.om-wrapper {
    position: relative;
    z-index: 5;
    width: clamp(140px, 20vw, 240px);
    max-height: 38vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    user-select: none;
}

#om-screen.active .om-wrapper {
    animation: omGrowWithMusic var(--om-anim-duration, 6.5s) cubic-bezier(0.25, 0.4, 0.45, 1) forwards;
}

#om-screen.active .om-aura {
    animation: auraGrowWithMusic var(--om-anim-duration, 6.5s) cubic-bezier(0.25, 0.4, 0.45, 1) forwards;
}

#om-screen.active .om-rays {
    animation:
        raysGrowWithMusic var(--om-anim-duration, 6.5s) cubic-bezier(0.25, 0.4, 0.45, 1) forwards,
        rotateRays 50s linear infinite;
}

.om-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(110, 37, 37, 0.22)) drop-shadow(0 0 35px rgba(212, 175, 55, 0.4));
    transition: transform 0.4s ease;
}

/* Experience / Enter Prompt */
.om-prompt {
    position: absolute;
    bottom: 35px;
    z-index: 3;
    opacity: 0;
    animation: promptAppear 2s ease forwards 2.5s, promptGlow 3s ease-in-out infinite alternate 4.5s;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--maroon);
    padding: 8px 20px;
    border: 1px solid rgba(179, 143, 77, 0.4);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
}

.om-prompt:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 143, 77, 0.25);
}

/* =================================
   HOLY ANIMATIONS (UNIFORM EXPANSION)
================================= */

@keyframes omGrowWithMusic {
    0% {
        opacity: 0;
        transform: scale(0.85);
        filter: blur(8px) drop-shadow(0 0 35px rgba(212, 175, 55, 0.7));
    }
    12% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 8px 24px rgba(110, 37, 37, 0.2)) drop-shadow(0 0 35px rgba(212, 175, 55, 0.5));
    }
    100% {
        opacity: 1;
        transform: scale(1.15);
        filter: blur(0px) drop-shadow(0 16px 40px rgba(110, 37, 37, 0.3)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.75));
    }
}

@keyframes mantraGrowWithMusic {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    12% {
        opacity: 0.95;
    }
    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes rotateMantra {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes auraGrowWithMusic {
    0% {
        opacity: 0.3;
        transform: scale(0.75);
    }
    15% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.98;
        transform: scale(1.25);
    }
}

@keyframes raysGrowWithMusic {
    0% {
        opacity: 0.3;
        transform: scale(0.75);
    }
    15% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.9;
        transform: scale(1.25);
    }
}

@keyframes rotateRays {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRaysReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}



@keyframes promptAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

@keyframes promptGlow {
    0% {
        opacity: 0.65;
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    }
    100% {
        opacity: 1;
        box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    }
}


/* =================================
   WEDDING WEBSITE
================================= */

#wedding-site {

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1.5s ease,
        visibility 1.5s ease;
}


#wedding-site.visible {

    opacity: 1;

    visibility: visible;
}


/* =================================
   OPENING SCREEN
================================= */

.opening-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 85px 20px 40px;
    box-sizing: border-box;
    overflow: hidden;
}


/* =================================
   WEDDING BANNER & PERMANENT LOGO (Fixed Header)
================================= */

.screen-banner-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    pointer-events: none;
    z-index: 100;
    overflow: visible;
    line-height: 0;
    display: flex;
    justify-content: center;
}

.wedding-banner-img {
    width: 100vw;
    min-width: 100%;
    object-fit: fill;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.14));
    display: block;
}

.site-header-logo {
    position: absolute;
    top: clamp(40px, 5.5vh, 60px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 101;
    pointer-events: auto;
}

.top-logo-img {
    width: clamp(54px, 7.5vw, 68px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(110, 37, 37, 0.16));
    transition: transform 0.4s ease;
}

.top-logo-img:hover {
    transform: scale(1.06);
}

.opening-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: clamp(0px, 0.5vh, 10px);
    transform: translateY(-15px);
    z-index: 5;
}


/* =================================
   FLOWER PETALS RAIN BACKGROUND
================================= */

.petals-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}


/* =================================
   PAGE-WIDE DOODLES (doodle1 & doodle2)
================================= */

.page-doodles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.page-doodle {
    position: absolute;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(110, 37, 37, 0.12));
    opacity: 0.85;
    transition: transform 0.4s ease;
    user-select: none;
}

/* Uniformly Distributed Floating Positions across Full Viewport */
/* Band 1: Top (4% - 10%) */
.pd-1 { top: 4%; left: 5%; width: clamp(28px, 4vw, 46px); animation: doodleFloat1 4.5s ease-in-out infinite alternate; }
.pd-2 { top: 8%; left: 22%; width: clamp(22px, 3.2vw, 36px); animation: doodleFloat2 5.2s ease-in-out infinite alternate 0.5s; }
.pd-3 { top: 5%; left: 42%; width: clamp(26px, 3.6vw, 42px); animation: doodleFloat3 4.2s ease-in-out infinite alternate 1.1s; }
.pd-4 { top: 8%; left: 58%; width: clamp(24px, 3.3vw, 38px); animation: doodleFloat1 4.8s ease-in-out infinite alternate 0.3s; }
.pd-5 { top: 4%; left: 78%; width: clamp(28px, 4vw, 46px); animation: doodleFloat2 4.4s ease-in-out infinite alternate 0.8s; }
.pd-6 { top: 7%; left: 93%; width: clamp(24px, 3.4vw, 38px); animation: doodleFloat3 5s ease-in-out infinite alternate 1.4s; }

/* Band 2: Upper-Mid (16% - 26%) */
.pd-7 { top: 18%; left: 3%; width: clamp(28px, 4vw, 48px); animation: doodleFloat2 5.5s ease-in-out infinite alternate 0.4s; }
.pd-8 { top: 22%; left: 16%; width: clamp(22px, 3vw, 34px); animation: doodleFloat1 4s ease-in-out infinite alternate 1.5s; }
.pd-9 { top: 16%; left: 32%; width: clamp(24px, 3.4vw, 38px); animation: doodleFloat3 4.8s ease-in-out infinite alternate 0.7s; }
.pd-10 { top: 24%; left: 50%; width: clamp(26px, 3.6vw, 40px); animation: doodleFloat2 4.6s ease-in-out infinite alternate 0.2s; }
.pd-11 { top: 17%; left: 68%; width: clamp(24px, 3.3vw, 38px); animation: doodleFloat1 5.1s ease-in-out infinite alternate 1.2s; }
.pd-12 { top: 22%; left: 84%; width: clamp(26px, 3.7vw, 42px); animation: doodleFloat3 3.8s ease-in-out infinite alternate 0.6s; }
.pd-13 { top: 18%; left: 96%; width: clamp(28px, 3.9vw, 46px); animation: doodleFloat2 4.7s ease-in-out infinite alternate 1s; }

/* Band 3: Center-Mid (34% - 48%) */
.pd-14 { top: 36%; left: 3.5%; width: clamp(30px, 4.2vw, 50px); animation: doodleFloat1 4.7s ease-in-out infinite alternate 0.9s; }
.pd-15 { top: 42%; left: 18%; width: clamp(22px, 3vw, 34px); animation: doodleFloat3 5.3s ease-in-out infinite alternate 0.5s; }
.pd-16 { top: 34%; left: 35%; width: clamp(26px, 3.5vw, 40px); animation: doodleFloat2 4.1s ease-in-out infinite alternate 1.3s; }
.pd-17 { top: 46%; left: 65%; width: clamp(25px, 3.4vw, 38px); animation: doodleFloat1 4.9s ease-in-out infinite alternate 0.7s; }
.pd-18 { top: 38%; left: 82%; width: clamp(28px, 3.8vw, 44px); animation: doodleFloat3 4.3s ease-in-out infinite alternate 1.1s; }
.pd-19 { top: 44%; left: 95%; width: clamp(30px, 4.2vw, 48px); animation: doodleFloat2 5s ease-in-out infinite alternate 0.3s; }

/* Band 4: Lower-Mid (55% - 70%) */
.pd-20 { top: 56%; left: 3%; width: clamp(28px, 4vw, 48px); animation: doodleFloat3 4.6s ease-in-out infinite alternate 1.2s; }
.pd-21 { top: 64%; left: 15%; width: clamp(24px, 3.2vw, 36px); animation: doodleFloat1 4.3s ease-in-out infinite alternate 0.4s; }
.pd-22 { top: 58%; left: 30%; width: clamp(25px, 3.5vw, 40px); animation: doodleFloat2 5.4s ease-in-out infinite alternate 0.8s; }
.pd-23 { top: 68%; left: 50%; width: clamp(26px, 3.6vw, 42px); animation: doodleFloat1 4.8s ease-in-out infinite alternate 1.5s; }
.pd-24 { top: 57%; left: 70%; width: clamp(25px, 3.4vw, 38px); animation: doodleFloat3 4.2s ease-in-out infinite alternate 0.6s; }
.pd-25 { top: 65%; left: 85%; width: clamp(24px, 3.2vw, 36px); animation: doodleFloat2 4.9s ease-in-out infinite alternate 1s; }
.pd-26 { top: 58%; left: 96%; width: clamp(28px, 4vw, 48px); animation: doodleFloat1 5.2s ease-in-out infinite alternate 0.2s; }

/* Band 5: Lower & Bottom (76% - 94%) */
.pd-27 { top: 78%; left: 6%; width: clamp(28px, 3.8vw, 46px); animation: doodleFloat2 4.7s ease-in-out infinite alternate 0.9s; }
.pd-28 { top: 85%; left: 20%; width: clamp(22px, 3vw, 34px); animation: doodleFloat1 4.1s ease-in-out infinite alternate 1.3s; }
.pd-29 { top: 77%; left: 38%; width: clamp(26px, 3.6vw, 42px); animation: doodleFloat3 5.1s ease-in-out infinite alternate 0.4s; }
.pd-30 { top: 86%; left: 56%; width: clamp(24px, 3.3vw, 38px); animation: doodleFloat2 4.5s ease-in-out infinite alternate 1.1s; }
.pd-31 { top: 78%; left: 74%; width: clamp(26px, 3.6vw, 40px); animation: doodleFloat1 4.8s ease-in-out infinite alternate 0.6s; }
.pd-32 { top: 88%; left: 92%; width: clamp(28px, 4vw, 46px); animation: doodleFloat3 4.3s ease-in-out infinite alternate 1.5s; }

@keyframes doodleFloat1 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(6deg); }
}

@keyframes doodleFloat2 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-6deg); }
}

@keyframes doodleFloat3 {
    0% { transform: translateY(0) scale(0.96); }
    100% { transform: translateY(-7px) scale(1.05); }
}


.opening-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(35px, 5vh, 55px) 16px 25px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.opening-screen.fade-out {
    opacity: 0;
    transform: scale(0.95) translateY(-15px);
    pointer-events: none;
}


/* =================================
   VINTAGE CAMERA & EMERGING POLAROIDS
================================= */

.camera-polaroids-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(220px, 32vw, 290px);
    margin-bottom: 14px;
    perspective: 1000px;
}

.emerging-polaroids {
    position: relative;
    width: 100%;
    height: clamp(160px, 22vw, 205px);
    margin-bottom: -30px;
    z-index: 2;
}

.camera-polaroid {
    position: absolute;
    background: #ffffff;
    padding: 5px 5px 12px;
    border-radius: 3px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.polaroid-inner {
    width: 100%;
    height: 100%;
    background: #e8e2d8;
    overflow: hidden;
    border-radius: 2px;
}

.camera-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Left Polaroid (AS9) */
.polaroid-left {
    left: clamp(8px, 2.5vw, 22px);
    bottom: 6px;
    width: clamp(98px, 13.5vw, 128px);
    height: clamp(118px, 16vw, 150px);
    transform: rotate(-12deg) translateY(0);
    z-index: 1;
}

/* Right Polaroid (AS4) */
.polaroid-right {
    right: clamp(8px, 2.5vw, 22px);
    bottom: 8px;
    width: clamp(98px, 13.5vw, 128px);
    height: clamp(118px, 16vw, 150px);
    transform: rotate(14deg) translateY(0);
    z-index: 1;
}

/* Center Front Main Polaroid (AS2) */
.polaroid-center {
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%) rotate(2deg);
    width: clamp(120px, 16.5vw, 158px);
    height: clamp(140px, 19vw, 180px);
    z-index: 3;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.polaroid-center .polaroid-inner {
    height: 100%;
}

.camera-polaroids-wrapper:hover .polaroid-left {
    transform: rotate(-18deg) translate(-12px, -12px);
}

.camera-polaroids-wrapper:hover .polaroid-right {
    transform: rotate(20deg) translate(12px, -12px);
}

.camera-polaroids-wrapper:hover .polaroid-center {
    transform: translateX(-50%) rotate(0deg) translateY(-15px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

/* Vintage Camera Body */
.vintage-camera {
    position: relative;
    width: clamp(175px, 24vw, 225px);
    background: #ded7cb;
    border-radius: 12px;
    padding: 8px 10px 10px;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -3px 6px rgba(0, 0, 0, 0.15);
    z-index: 4;
    border: 1.5px solid #c7beaf;
}

/* Film Slot */
.camera-top-slot {
    width: 82%;
    height: 5px;
    background: #2b231d;
    margin: 0 auto 6px;
    border-radius: 3px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Top Control Bar */
.camera-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    margin-bottom: 6px;
}

.camera-shutter-btn {
    width: 17px;
    height: 9px;
    background: linear-gradient(to bottom, #d4af37, #aa821e);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 4px rgba(212, 175, 55, 0.4);
    cursor: pointer;
}

.camera-viewfinder {
    width: 18px;
    height: 14px;
    background: #1f2529;
    border: 1.5px solid #d4af37;
    border-radius: 3px;
    box-shadow: inset 0 0 3px #000;
}

.camera-flash {
    width: 24px;
    height: 14px;
    background: repeating-linear-gradient(45deg, #f7ecd5, #f7ecd5 2.5px, #dfd0b5 2.5px, #dfd0b5 5px);
    border: 1.5px solid #9c9180;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(255, 240, 200, 0.4);
}

.camera-sensor {
    width: 6px;
    height: 6px;
    background: #8f2323;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(143, 35, 35, 0.6);
}

/* Main Camera Body */
.camera-body {
    position: relative;
    background: #23201d;
    border-radius: 8px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
}

.camera-stripes {
    position: absolute;
    left: 0;
    top: 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.st-gold {
    height: 1.5px;
    background: #d4af37;
    width: 100%;
}

.st-maroon {
    height: 3px;
    background: #8f2323;
    width: 100%;
}

/* Vintage Lens */
.camera-lens {
    position: relative;
    z-index: 2;
    width: clamp(56px, 8vw, 72px);
    height: clamp(56px, 8vw, 72px);
    border-radius: 50%;
    background: linear-gradient(135deg, #3a342f, #151311);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.5),
        0 0 0 2px #181512;
}

.lens-outer-rim {
    width: 86%;
    height: 86%;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2521 60%, #151311 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lens-ring-gold {
    width: 84%;
    height: 84%;
    border-radius: 50%;
    border: 1.5px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #0e1217 40%, #1c232c 85%, #d4af37 100%);
    position: relative;
}

.lens-glass {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.lens-glare {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 40%;
    height: 25%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(-35deg);
}

.lens-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32%;
    height: 32%;
    border-radius: 50%;
    background: radial-gradient(circle, #080c10, #141c24);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

/* Camera Brand */
.camera-brand {
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    color: #d4af37;
    opacity: 0.85;
    z-index: 2;
}


.couple-names {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(42px, 6.5vw, 68px);
    color: var(--maroon);
    margin: 4px 0 10px 0;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

/* =================================
   FORMAL INVITE BUTTON
================================= */

.formal-invite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #8f2323 0%, #681515 100%);
    color: #f7eedb;
    border: 1.5px solid #d4af37;
    border-radius: 50px;
    padding: 9px 26px;
    font-family: 'Cormorant Garamond', 'Montserrat', serif;
    font-size: clamp(13px, 1.7vw, 16px);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 6px 18px rgba(110, 37, 37, 0.24),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 2px;
    position: relative;
    overflow: hidden;
}

.formal-invite-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(25deg);
    transition: transform 0.6s ease;
}

.formal-invite-btn:hover {
    background: linear-gradient(135deg, #a32a2a 0%, #7d1a1a 100%);
    border-color: #f0c950;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 22px rgba(110, 37, 37, 0.32),
        0 0 12px rgba(212, 175, 55, 0.35);
    color: #ffffff;
}

.formal-invite-btn:hover::before {
    transform: rotate(25deg) translate(50%, 50%);
}

h1,
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}


/* =================================
   SCENE 2: STORY SCENE (AS1 & CAPTION)
================================= */

.story-scene {
    position: relative;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(38px, 5.5vh, 55px) 16px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.97) translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.story-scene.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.story-scene.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-14px);
    pointer-events: none;
}

.story-card {
    max-width: 580px;
    width: 100%;
    min-height: clamp(480px, 68vh, 600px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: clamp(0px, 0.5vh, 8px);
    transform: translateY(-12px);
    padding: clamp(24px, 4vw, 36px) clamp(18px, 3.2vw, 28px) clamp(22px, 3.5vw, 32px);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(6px);
    border-radius: clamp(160px, 28vw, 250px) clamp(160px, 28vw, 250px) 16px 16px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 40px rgba(110, 37, 37, 0.1), inset 0 0 24px rgba(212, 175, 55, 0.05);
    box-sizing: border-box;
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: clamp(153px, 27vw, 243px) clamp(153px, 27vw, 243px) 11px 11px;
    pointer-events: none;
}

.story-om-wrapper {
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.story-om-img {
    width: clamp(48px, 6.2vw, 62px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 12px rgba(212, 175, 55, 0.4));
    opacity: 0.98;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.story-om-img:hover {
    transform: scale(1.08);
}

.story-caption-wrapper {
    margin-bottom: clamp(10px, 1.8vh, 16px);
    padding: 0 14px;
    max-width: clamp(320px, 50vw, 490px);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    text-align: center;
}

.story-caption-line1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 2.3vw, 22px);
    font-style: italic;
    color: var(--maroon);
    margin: 0 0 4px 0;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 4px rgba(143, 35, 35, 0.12);
}

.story-caption-line2 {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(38px, 5.8vw, 60px);
    color: #681515;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(104, 21, 21, 0.2);
    font-weight: normal;
    white-space: normal;
}

.story-photo-card {
    background: #ffffff;
    padding: 8px 8px 18px;
    border-radius: 4px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.35);
    cursor: pointer;
    max-width: clamp(190px, 26vw, 250px);
    width: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    box-sizing: border-box;
}

.story-photo-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22),
        0 0 14px rgba(212, 175, 55, 0.4);
}

.story-photo-inner {
    width: 100%;
    height: clamp(200px, 28vw, 275px);
    background: #e8e2d8;
    overflow: hidden;
    border-radius: 2px;
}

.story-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.story-photo-card:hover .story-photo-img {
    transform: scale(1.04);
}

.scene-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    color: #681515;
    border: 1px solid rgba(143, 35, 35, 0.45);
    border-radius: 50px;
    padding: 7px 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(12.5px, 1.5vw, 15px);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.scene-back-btn:hover {
    background: var(--maroon);
    color: #ffffff;
    border-color: var(--maroon);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(110, 37, 37, 0.22);
}

.scene-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--maroon);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 50px;
    padding: 7px 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(12.5px, 1.5vw, 15px);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-next-btn:hover {
    background: rgba(143, 35, 35, 0.08);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.22);
}


/* =================================
   SCENE 3: FORMAL INVITATION CARD
================================= */

.formal-invite-scene {
    position: relative;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(38px, 5.5vh, 55px) 16px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.97) translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.formal-invite-scene.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.formal-invite-scene.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-14px);
    pointer-events: none;
}

.formal-invite-card {
    max-width: 580px;
    width: 100%;
    min-height: clamp(480px, 68vh, 600px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: clamp(0px, 0.5vh, 8px); /* Positioned below fixed logo */
    transform: translateY(-12px);
    padding: clamp(26px, 4.2vw, 38px) clamp(18px, 3.2vw, 30px) clamp(20px, 3.5vw, 30px);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(6px);
    border-radius: clamp(160px, 28vw, 250px) clamp(160px, 28vw, 250px) 16px 16px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 40px rgba(110, 37, 37, 0.1), inset 0 0 24px rgba(212, 175, 55, 0.05);
    box-sizing: border-box;
}

.formal-invite-card::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: clamp(153px, 27vw, 243px) clamp(153px, 27vw, 243px) 11px 11px;
    pointer-events: none;
}

.scene3-om-wrapper {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.scene3-om-img {
    width: clamp(54px, 7vw, 72px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 12px rgba(212, 175, 55, 0.4));
    opacity: 0.98;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.scene3-om-img:hover {
    transform: scale(1.08);
}

.invite-blessings-block {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.invite-blessing-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.8vw, 16.5px);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #a67c1e;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.invite-grandparents {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.6vw, 25px);
    font-weight: 600;
    color: var(--maroon);
    line-height: 1.38;
    margin: 0;
}

.invite-hosts-block {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.invite-parents {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(19px, 2.8vw, 26px);
    font-weight: 600;
    color: var(--maroon);
    margin: 0 0 4px 0;
    letter-spacing: 0.4px;
}

.invite-solicit {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14.5px, 2vw, 18px);
    font-style: italic;
    color: #4a3832;
    line-height: 1.45;
    margin: 0;
}

.invite-couple-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 6px 0 5px 0;
    position: relative;
    z-index: 2;
}

.invite-bride-name,
.invite-groom-name {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(50px, 7.2vw, 76px);
    color: var(--maroon);
    margin: 0;
    line-height: 1.15;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.22);
}

.invite-with {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(25px, 3.6vw, 34px);
    color: #a67c1e;
    letter-spacing: 1px;
    margin: 1px 0;
}

.invite-groom-parents {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14.5px, 2vw, 18px);
    font-style: italic;
    color: #4a3832;
    margin: 5px 0 0 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}


/* =================================
   EVENT TEASER SCREENS (e.g. Engagement 3)
================================= */

.event-teaser-screen {
    position: relative;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(38px, 5.5vh, 55px) 16px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.event-teaser-screen.active {
    opacity: 1;
    transform: scale(1);
}

.event-teaser-screen.fade-out {
    opacity: 0;
    transform: scale(0.95) translateY(-12px);
    pointer-events: none;
}

.teaser-photo-card {
    background: #ffffff;
    padding: 8px 8px 24px;
    border-radius: 4px;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(212, 175, 55, 0.4);
    max-width: clamp(200px, 28vw, 265px);
    width: 100%;
    transform: translateY(-10px);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.teaser-photo-inner {
    width: 100%;
    height: clamp(210px, 30vw, 290px);
    background: #e8e2d8;
    overflow: hidden;
    border-radius: 2px;
}

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


/* =================================
   EVENT CEREMONIES (SCENE 4: ENGAGEMENT)
================================= */

.event-scene {
    position: relative;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(40px, 6vh, 60px) 16px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.97) translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.event-scene.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.event-scene.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-14px);
    pointer-events: none;
}

.event-card {
    max-width: 580px;
    width: 100%;
    min-height: clamp(480px, 68vh, 600px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: clamp(0px, 0.5vh, 8px);
    transform: translateY(-12px);
    padding: clamp(26px, 4.2vw, 38px) clamp(18px, 3.2vw, 30px) clamp(22px, 3.5vw, 32px);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(6px);
    border-radius: clamp(160px, 28vw, 250px) clamp(160px, 28vw, 250px) 16px 16px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 40px rgba(110, 37, 37, 0.1), inset 0 0 24px rgba(212, 175, 55, 0.05);
    box-sizing: border-box;
}

.event-card::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: clamp(153px, 27vw, 243px) clamp(153px, 27vw, 243px) 11px 11px;
    pointer-events: none;
}

.event-title-wrapper {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.event-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.event-main-title {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(36px, 5.2vw, 56px);
    color: var(--maroon);
    margin: 0;
    line-height: 1.2;
    font-weight: normal;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.22);
}

.engagement-rings-img {
    width: clamp(36px, 4.8vw, 50px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(110, 37, 37, 0.2));
    vertical-align: middle;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.engagement-rings-img:hover {
    transform: scale(1.1) rotate(4deg);
}

.kirtan-lotus-img {
    width: clamp(34px, 4.6vw, 48px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(110, 37, 37, 0.18));
    vertical-align: middle;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.kirtan-lotus-img:hover {
    transform: scale(1.1) rotate(-4deg);
}

.event-sub-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(15px, 2.2vw, 19px);
    font-style: italic;
    color: #681515;
    margin: 1px 0 4px 0;
    font-weight: 600;
}

.mandha-title {
    font-size: clamp(31px, 4.4vw, 46px);
}

.sehra-title {
    font-size: clamp(34px, 4.8vw, 52px);
}

.mandha-sub-label {
    font-size: clamp(13.5px, 1.9vw, 17px);
}

.event-meta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
}

.event-date {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.7vw, 16px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a67c1e;
    font-weight: 600;
    margin: 0;
    font-variant-numeric: lining-nums proportional-nums;
}

.date-number {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
}

.event-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.7vw, 16px);
    font-weight: 600;
    color: var(--maroon);
    margin: 0;
    letter-spacing: 0.4px;
}

.wedding-schedule-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5px;
    margin: 2px 0 3px;
}

.wedding-schedule-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(12.5px, 1.6vw, 15px);
    font-weight: 600;
    color: var(--maroon);
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.event-venue-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.event-venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.7vw, 16px);
    font-weight: 600;
    color: #4a3832;
    line-height: 1.35;
    margin: 0;
    max-width: 400px;
}

.venue-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--maroon);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(11px, 1.4vw, 13px);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 3px 11px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.venue-map-btn:hover {
    background: var(--maroon);
    color: #ffffff;
    border-color: var(--maroon);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(110, 37, 37, 0.22);
}

.map-pin-svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.btn-arrow-down {
    display: inline-block;
    margin-left: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.scene-next-btn:hover .btn-arrow-down {
    transform: translateY(2px);
}

/* Event Photo Card (Polaroid Picture Layout) */
.event-photo-card {
    background: #ffffff;
    padding: 7px 7px 20px;
    border-radius: 4px;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(212, 175, 55, 0.35);
    cursor: default;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    max-width: clamp(150px, 20vw, 190px);
    width: 100%;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.event-photo-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.18),
        0 0 12px rgba(212, 175, 55, 0.4);
}

.event-photo-inner {
    width: 100%;
    height: clamp(150px, 20vw, 190px);
    background: #e8e2d8;
    overflow: hidden;
    border-radius: 2px;
}

.event-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-photo-card:hover .event-photo-img {
    transform: scale(1.04);
}

/* Vibe & Dress Code Details */
.event-details-box {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(212, 175, 55, 0.35);
    position: relative;
    z-index: 2;
}

.event-vibe-row {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 1.9vw, 17px);
    color: var(--maroon);
    line-height: 1.3;
}

.vibe-tag {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #a67c1e;
    margin-right: 5px;
}

.vibe-text {
    font-style: italic;
    font-weight: 600;
}

.event-attire-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.2vw, 18px);
    background: rgba(255, 255, 255, 0.6);
    padding: 7px 18px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 3px 10px rgba(110, 37, 37, 0.04);
}

.attire-col {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.7vw, 16px);
}

.attire-label {
    font-weight: 700;
    color: #a67c1e;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.attire-value {
    color: var(--maroon);
    font-weight: 600;
}

.attire-divider {
    color: var(--gold);
    font-size: 8px;
    opacity: 0.8;
}


/* =================================
   RSVP SCENE
================================= */

.rsvp-scene {
    position: relative;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(38px, 5.5vh, 55px) 16px 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.97) translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rsvp-scene.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.rsvp-scene.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-14px);
    pointer-events: none;
}

.rsvp-card {
    max-width: 580px;
    width: 100%;
    min-height: clamp(480px, 68vh, 600px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: clamp(0px, 0.5vh, 8px);
    transform: translateY(-12px);
    padding: clamp(26px, 4.2vw, 38px) clamp(18px, 3.2vw, 30px) clamp(22px, 3.5vw, 32px);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(6px);
    border-radius: clamp(160px, 28vw, 250px) clamp(160px, 28vw, 250px) 16px 16px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 40px rgba(110, 37, 37, 0.1), inset 0 0 24px rgba(212, 175, 55, 0.05);
    box-sizing: border-box;
}

.rsvp-card::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: clamp(153px, 27vw, 243px) clamp(153px, 27vw, 243px) 11px 11px;
    pointer-events: none;
}

.rsvp-header-block {
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.rsvp-main-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: clamp(34px, 5.2vw, 54px);
    color: var(--maroon);
    margin: 0;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.22);
}

.rsvp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 75%;
    max-width: 320px;
    margin: 14px 0 16px;
    position: relative;
    z-index: 2;
}

.rsvp-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.rsvp-divider-icon {
    color: var(--gold);
    font-size: 18px;
}

.rsvp-message-block {
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.rsvp-solicit {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2.8vw, 27px);
    font-style: italic;
    color: #4a3832;
    line-height: 1.35;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.rsvp-family-block {
    position: relative;
    z-index: 2;
}

.rsvp-family-name {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    font-size: clamp(23px, 3.4vw, 32px);
    font-weight: 600;
    color: var(--maroon);
    letter-spacing: 1.5px;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 2px 8px rgba(110, 37, 37, 0.08);
}

.rsvp-contacts-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

.rsvp-contact-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(17px, 2.5vw, 23px);
    font-weight: 600;
    color: #4a3832;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.4px;
}

.rsvp-contact-name {
    color: var(--maroon);
    font-weight: 600;
}

.rsvp-contact-phone {
    color: #7a2222;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rsvp-contact-phone:hover {
    color: var(--gold);
    text-decoration: underline;
}


/* =================================
   SAVE THE DATE
================================= */

.save-the-date {
    position: relative;
    min-height: 100vh;
    background: var(--cream);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(40px, 6vh, 65px) 16px 30px;
    box-sizing: border-box;
    z-index: 5;
    opacity: 0;
    transform: scale(0.97) translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.save-the-date.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.save-the-date.fade-out {
    opacity: 0;
    transform: scale(0.97) translateY(-14px);
    pointer-events: none;
}

.eyebrow {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    letter-spacing: 4.5px;
    font-size: clamp(12px, 1.6vw, 15px);
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.save-the-date h2 {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    font-size: clamp(52px, 8.5vw, 95px);
    color: var(--maroon);
    margin-bottom: 10px;
    line-height: 1;
    font-weight: 600;
    text-shadow: 0 3px 14px rgba(143, 35, 35, 0.15);
}

.save-the-date > p:not(.eyebrow) {
    font-family: 'Imperial Script', 'Parisienne', 'Rouge Script', cursive;
    font-size: clamp(38px, 6vw, 64px);
    color: var(--maroon);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.22);
}


/* =================================
   COUNTDOWN
================================= */

.countdown {
    display: flex;
    gap: clamp(18px, 4.2vw, 48px);
    margin-top: clamp(25px, 4.5vh, 45px);
}

.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown span {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    font-size: clamp(34px, 5.5vw, 56px);
    color: var(--maroon);
    font-weight: 600;
    line-height: 1;
}

.countdown small {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(10px, 1.3vw, 13px);
    margin-top: 6px;
    color: #a67c1e;
    font-weight: 700;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .om-wrapper {
        width: 140px;
        height: 140px;
    }

    .polaroid-container {
        transform: scale(0.85);
    }

    h1 {
        font-size: 42px;
        line-height: 0.9;
    }

    .countdown {
        gap: 14px;
    }

    .countdown span {
        font-size: 28px;
    }

}


/* =================================
   FLOATING TOP CONTROLS (Sound on Left, Events on Right)
================================= */

.audio-toggle {
    position: fixed;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1.2px solid rgba(179, 143, 77, 0.5);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 0;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.25s ease;
    color: var(--maroon);
}

.audio-toggle:hover {
    background: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 5px 16px rgba(179, 143, 77, 0.28);
    border-color: var(--gold);
}

.audio-toggle.muted {
    opacity: 0.6;
}

.nav-menu-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #8f2323 0%, #681515 100%);
    color: #f7eedb;
    border: 1.5px solid #d4af37;
    box-shadow:
        0 6px 18px rgba(110, 37, 37, 0.24),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-family: 'Cinzel', 'Cormorant Garamond', 'Montserrat', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10000;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    overflow: hidden;
}

.nav-menu-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(25deg);
    transition: transform 0.6s ease;
}

.nav-menu-btn:hover {
    background: linear-gradient(135deg, #a32a2a 0%, #7d1a1a 100%);
    border-color: #f0c950;
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 8px 22px rgba(110, 37, 37, 0.32),
        0 0 12px rgba(212, 175, 55, 0.35);
    color: #ffffff;
}

.nav-menu-btn:hover::before {
    transform: rotate(25deg) translate(50%, 50%);
}

.nav-menu-icon {
    font-size: 13px;
    color: #f7eedb;
    line-height: 1;
    transition: color 0.3s ease;
}

.nav-menu-btn:hover .nav-menu-icon {
    color: #ffe484;
}


/* =================================
   SCENE NAVIGATOR MODAL & DRAWER
================================= */

.scene-navigator-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.scene-navigator-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navigator-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 12, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.navigator-container {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 480px;
    max-height: 86vh;
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(74, 14, 14, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 0 28px rgba(212, 175, 55, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.scene-navigator-modal.active .navigator-container {
    transform: scale(1) translateY(0);
}

.navigator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    background: linear-gradient(180deg, rgba(255, 245, 230, 0.8) 0%, rgba(255, 253, 248, 0) 100%);
}

.navigator-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navigator-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold-dark, #9a7629);
    font-weight: 700;
    text-transform: uppercase;
}

.navigator-heading {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: 0.5px;
}

.navigator-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(143, 35, 35, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--maroon);
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.navigator-close-btn:hover {
    background: var(--maroon);
    color: #ffffff;
    border-color: var(--gold);
    transform: scale(1.1) rotate(90deg);
}

.navigator-body {
    padding: 12px 16px 16px;
    overflow-y: auto;
    max-height: calc(86vh - 80px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.5) transparent;
}

.navigator-body::-webkit-scrollbar {
    width: 5px;
}

.navigator-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.45);
    border-radius: 4px;
}

.nav-item-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.22);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
    outline: none;
    user-select: none;
}

.nav-item-tile:hover {
    background: rgba(255, 248, 235, 0.95);
    border-color: rgba(212, 175, 55, 0.65);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(110, 37, 37, 0.08);
}

.nav-item-tile.is-active {
    background: linear-gradient(135deg, rgba(143, 35, 35, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 4px 14px rgba(143, 35, 35, 0.12);
}

.nav-tile-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nav-tile-num {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-dark, #9a7629);
    background: rgba(212, 175, 55, 0.12);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.nav-item-tile.is-active .nav-tile-num {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
}

.nav-tile-icon {
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
}

.nav-tile-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.nav-tile-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--maroon);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-tile-sub {
    font-family: 'Cinzel', serif;
    font-size: 10.5px;
    color: #7d6558;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-tile-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nav-current-badge {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8f2323;
    background: rgba(143, 35, 35, 0.1);
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid rgba(143, 35, 35, 0.25);
    text-transform: uppercase;
}

.nav-tile-arrow {
    color: var(--gold-dark, #9a7629);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.nav-item-tile:hover .nav-tile-arrow {
    transform: translateX(3px);
    color: var(--maroon);
}


/* =================================
   IMAGE LIGHTBOX POPUP MODAL
================================= */

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.photo-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 9, 8, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.photo-lightbox.active .lightbox-container {
    transform: scale(1);
}

.lightbox-polaroid-frame {
    background: #ffffff;
    padding: 14px 14px 28px;
    border-radius: 4px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.55),
        0 0 0 2px rgba(212, 175, 55, 0.4);
    max-width: clamp(280px, 82vw, 560px);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.lightbox-img {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 2px;
    background: #1a1614;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    background: #8f2323;
    color: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    transition: all 0.25s ease;
    z-index: 5;
}

.lightbox-close:hover {
    background: #a82727;
    transform: scale(1.1) rotate(90deg);
    color: #ffe484;
}