@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #350615;
    overflow: hidden;
    font-family: Georgia, serif;
}

/* Main background wrapper */
.wedding-wrapper {
    width: 100%;
    height: 100vh;
    height: 100svh;

    display: flex;
    justify-content: center;

    padding: 0 10px;

    background: radial-gradient(
        circle,
        #791e3c,
        #4b0a20,
        #29030f
    );
}

/* Scrollable invitation area */
.invitation-container {
    width: 100%;
    max-width: 430px;

    height: 100vh;
    height: 100svh;

    position: relative;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
    overscroll-behavior-y: contain;

    isolation: isolate;

    box-shadow: 0 0 40px #0008;
}

.invitation-container::-webkit-scrollbar {
    display: none;
}

/* Nature background */
.nature-background {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100vh;
    height: 100svh;

    background: url('./images/nature.png') center / cover no-repeat;

    margin-bottom: -100vh;
    margin-bottom: -100svh;

    z-index: 0;
    pointer-events: none;
}

/* Fixed/sticky top decoration */
.top-image {
    position: sticky;
    top: 0;

    display: block;
    width: 100%;
    height: auto;

    z-index: 20;

    margin-bottom: 0;
    pointer-events: none;
}

/* Invitation content */
.invitation-scroll {
    position: relative;
    z-index: 2;

    width: 100%;
}

/* Front image entry animation */
.front-image {
    display: block;
    width: 100%;
    height: auto;

    position: relative;
    z-index: 1;

    opacity: 0;

    transform: translateY(180px) scale(0.97);

    animation: frontEntry 1.6s
        cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes frontEntry {
    0% {
        opacity: 0;
        transform: translateY(180px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Couple names over front image */
.wedding-names {
    position: absolute;

    top: -1%;
    left: 0;

    width: 100%;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    pointer-events: none;

    opacity: 0;

    animation: namesReveal 1.8s ease forwards;
    animation-delay: 0.6s;
}

/* First and second names */
.name-first,
.name-second {
    font-family: 'Brush Script MT', cursive;

    font-size: clamp(55px, 14vw, 76px);

    font-weight: normal;
    font-style: italic;

    line-height: 1.15;

    color: #940733c0;

    text-shadow:
        0 2px 5px rgba(0,0,0,.4),
        0 0 18px rgba(255,220,150,.5);

    animation: nameFloat 3s ease-in-out infinite;
}

/* Ampersand */
.names-ampersand {
    font-family: Georgia, serif;

    font-size: 34px;
    font-style: italic;

    color: #940733c0;

    text-shadow: 0 2px 5px #350615;
}

/* Names entry animation */
@keyframes namesReveal {
    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle floating animation */
@keyframes nameFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* Glass panel anchor */
.glass-anchor {
    position: relative;

    width: 100%;
    height: 0;

    z-index: 10;
}

/* Glass effect card */
.glass-card {
    position: absolute;

    top: -50px;
    left: 50%;

    width: calc(100% - 45px);
    max-width: 330px;

    min-height: 500px;

    padding: 25px 10px;

    padding-bottom: 35px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    border-radius: 50% / 19%;

    background: linear-gradient(
        145deg,
        rgba(255,250,240,.78),
        rgba(255,255,255,.52),
        rgba(248,230,211,.70)
    );

    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);

    border: 2px solid rgba(255,231,185,.9);

    box-shadow:
        0 0 25px rgba(255,235,195,.35),
        inset 0 0 30px rgba(255,255,255,.55),
        inset 0 0 8px rgba(255,226,175,.4),
        0 20px 45px rgba(35,0,10,.3);

    color: #54353b;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, -42%) scale(.94);

    pointer-events: none;

    transition:
        opacity .45s ease,
        transform .45s ease,
        visibility .45s ease;
}

/* Glass visible state */
.glass-card.show-glass {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, -50%) scale(1);

    pointer-events: auto;
}

/* Ganesh symbol */
.ganesh-symbol {
    font-size: 46px;
    color: #b58a35;

    margin-bottom: 12px;
}

/* Shlok */
.shlok {
    font-size: 18px;
    line-height: 1.8;

    color: #704b43;

    margin-bottom: 18px;
}

/* Golden divider */
.gold-divider {
    width: 75%;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        #bd9146,
        transparent
    );

    margin-top: -2px;
    margin-bottom: 10px;
}

/* Parents names */
.parents {
    font-family: Arial, sans-serif;

    font-size: 16px;
    line-height: 1.6;

    color: #67464a;

    margin-bottom: 10px;
}

/* Invitation message */
.invite-text {
    font-family: Arial, sans-serif;

    font-size: 14px;
    line-height: 1.6;

    color: #795c59;
}

/* Glass panel couple names */
.couple-name {
    font-family: cursive;

    font-size: 35px;
    font-style: italic;

    font-weight: normal;

    color: #8d394b;

    margin: 3px 0;
}

/* And text */
.and-text {
    font-family: cursive;

    font-size: 27px;
    font-style: italic;

    color: #b58a35;

    margin-top: -20px;
    margin-bottom: -20px;
}

/* Beloved text */
.beloved {
    font-family: Arial, sans-serif;

    font-size: 13px;

    color: #795c59;

    margin: 5px 0;
}

/* Middle image */
.middle-image {
    display: block;

    width: 100%;
    height: auto;

    position: relative;
    z-index: 2;

    margin: 0;
    padding: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {

    .glass-card {
        width: calc(100% - 35px);
        min-height: 520px;
        padding: 45px 20px;
    }

    .couple-name {
        font-size: 38px;
    }

    .parents {
        font-size: 14px;
    }

    .invite-text {
        font-size: 13px;
    }

    .shlok {
        font-size: 12px;
    }
}

/* Three hearts in one row */
.middle2-section {
    position: relative;
    width: 100%;
}

.date-hearts-row {
    position: absolute;

    top: 20%;
    left: 50%;

    transform: translateX(-50%);

    width: 94%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 5px;

    z-index: 5;
}

/* Individual heart */
.date-heart {
    position: relative;

    width: 33.33%;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: heartFloat 3s ease-in-out infinite;
}

.date-heart:nth-child(2) {
    animation-delay: .4s;
}

.date-heart:nth-child(3) {
    animation-delay: .8s;
}

/* Actual love.png image */
.date-heart img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 7px 9px rgba(0,0,0,.45))
        drop-shadow(0 0 8px rgba(218,165,75,.25));
}

/* Date inside heart */
.date-heart span {
    position: absolute;

    top: 46%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family: Georgia, serif;

    font-size: clamp(17px, 5vw, 27px);

    font-weight: bold;
    letter-spacing: 1px;

    color: #f8d98e;

    text-shadow:
        0 2px 3px #350615,
        0 0 10px rgba(255,210,120,.65);

    white-space: nowrap;
}

/* Floating animation */
@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* Invitation message above hearts */
.date-invitation-text {
    position: absolute;

    top: 20%;
    left: 50%;

    transform: translateX(-50%);

    width: 95%;

    text-align: center;
    z-index: 6;

    animation: inviteFloat 3s ease-in-out infinite;
}

.date-invitation-text h2 {
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.5vw, 18px);
    letter-spacing: 2px;

    color: #650d2b;

    text-shadow:
        0 1px 1px rgba(255, 220, 170, .8),
        0 0 8px rgba(255, 215, 170, .45);

    margin-bottom: 8px;
}

.date-invitation-text p {
    font-family: Georgia, serif;
    font-size: clamp(11px, 3vw, 14px);
    font-style: italic;

    color: #7a1938;

    text-shadow:
        0 1px 2px rgba(255, 225, 190, .7);
}

/* Hearts ko message ke neeche shift karo */
.date-hearts-row {
    top: 3%;
}

/* Gentle floating */
@keyframes inviteFloat {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -5px);
    }
}


/* Frame container */
.frame-container {
    position: absolute;

    top: 0%;
    left: 50%;

    transform: translateX(-50%);

    width: 92%;

    z-index: 6;
}

/* Decorative frame image */
.wedding-frame {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 12px rgba(45, 0, 15, .25));
}

/* Text inside frame */
.frame-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 76%;

    text-align: center;

    font-family: Georgia, serif;

    font-size: clamp(20px, 4.5vw, 22px);

    font-style: italic;

    font-weight: 500;

    line-height: 1.9;

    letter-spacing: .35px;

    padding: 12px 5px;

    color: #f0d9b5;

    text-shadow:
        0 1px 2px rgba(90, 25, 35, .12);

    z-index: 2;
}

/* Each letter */
.frame-text span {
    display: inline;

    color: #f0d9b5;

    transition: color .12s linear,
                text-shadow .12s linear;
}

/* Scrolled/revealed letters */
.frame-text span.colored {
    color: #70132f;

    text-shadow:
        0 1px 1px rgba(255, 225, 180, .45);
}




/* Middle 3 programme section */
.middle3-section {
    position: relative;
    width: 100%;
}

/* Background image */
.middle3-section > .middle-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Programme content overlay */
.programme-content {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    z-index: 8;

    padding-bottom: 10px;
}

/* Programme heading */
.programme-title {
    font-family: 'Brush Script MT', cursive;
    font-size: clamp(42px, 11vw, 60px);
    font-weight: normal;
    font-style: italic;
    text-align: center;

    color: #762b38;

    margin-bottom: 12px;

    text-shadow: 0 2px 3px rgba(118,43,56,.12);
}

/* Event cards */
.programme-card {
    background: rgba(255, 250, 240, .94);

    border: 1.5px solid #d6b474;
    border-radius: 22px;

    padding: 18px 15px;
    margin-bottom: 20px;

    box-shadow:
        0 8px 22px rgba(75, 35, 25, .10),
        inset 0 0 15px rgba(255,255,255,.7);
}

/* Event date */
.programme-card h2 {
    font-family: Georgia, serif;
    font-size: clamp(16px, 4.2vw, 21px);
    font-weight: normal;

    color: #762b38;

    margin-bottom: 13px;
    line-height: 1.4;
}

/* Event and time */
.programme-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    font-family: Georgia, serif;
    font-size: clamp(14px, 3.8vw, 18px);

    color: #49332e;

    padding: 9px 0;
    border-bottom: 1px dotted #c9a45e;
}

.programme-event:last-child {
    border-bottom: none;
}

.event-time {
    color: #762b38;
    font-style: italic;
    white-space: nowrap;
}

/* Countdown heading */
.countdown-heading {
    text-align: center;

    font-family: 'Brush Script MT', cursive;
    font-size: clamp(30px, 8vw, 42px);
    font-weight: normal;
    font-style: italic;

    color: #762b38;

    margin: 25px 0 18px;
}

/* Countdown boxes */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}


.countdown-box {
    min-width: 0;

    background: rgba(255, 250, 240, .96);

    border: 1.5px solid #d6b474;
    border-radius: 17px;

    min-height: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;

    box-shadow: 0 6px 15px rgba(75,35,25,.09);
}

.countdown-box span {
    font-family: Georgia, serif;
    font-size: clamp(23px, 6vw, 34px);

    color: #762b38;
    font-weight: normal;
    font-variant-numeric: tabular-nums;
}

.countdown-box small {
    font-family: Georgia, serif;
    font-size: clamp(10px, 2.8vw, 14px);

    color: #49332e;
}

/* Closing line */
.countdown-footer {
    text-align: center;

    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;

    color: #762b38;

    margin-top: 18px;
    line-height: 1.6;
}

/* Timeline main wrapper */
.wedding-timeline {
    position: relative;
    padding-left: 22px;
}

.wedding-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 15px;
    left: 7px;
    width: 2px;

    background: linear-gradient(
        to bottom,
        #e5c47e,
        #9c642b,
        #e5c47e
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 12px;
}

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 17px;

    width: 14px;
    height: 14px;

    border-radius: 50%;
    background: #762b38;
    border: 3px solid #e4c17b;

    box-shadow: 0 0 8px rgba(118,43,56,.3);
    z-index: 2;
}

.timeline-card {
    position: relative;

    background: rgba(255,250,240,.94);

    border: 1.5px solid #d6b474;
    border-radius: 15px;

    padding: 11px 12px;

    box-shadow: 0 5px 14px rgba(75,35,25,.10);
}

.timeline-card::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 23px;

    width: 21px;
    height: 1.5px;

    background: #bd9146;
}

.timeline-card h3 {
    font-family: Georgia, serif;
    font-size: clamp(14px, 3.8vw, 18px);
    font-weight: normal;
    line-height: 1.35;

    color: #762b38;

    margin-bottom: 5px;
}

.programme-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;

    font-family: Georgia, serif;
    font-size: clamp(12px, 3.5vw, 15px);

    color: #49332e;

    padding: 6px 0;

    border-bottom: 1px dotted #c9a45e;
}

.programme-event:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-time {
    color: #762b38;
    font-style: italic;
    white-space: nowrap;
}

/* Frame poem premium styling */
.frame-text {
    white-space: pre-line;
    font-family: 'Noto Serif Devanagari', Georgia, serif;

    font-size: clamp(17px, 4.5vw, 21px);
    line-height: 1.8;

    text-align: center;
    padding: 12px 5px;
}

/* Bhavika signature styling */
.frame-text .signature-letter {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.7em;
    font-style: italic;
    color: #f0d9b5;
}

/* Coloured signature */
.frame-text .signature-letter.colored {
    color: #70132f;
}


/* Premium transparent programme cards */
.timeline-card {
    position: relative;

    background: linear-gradient(
        135deg,
        rgba(255, 248, 238, .28),
        rgba(255, 255, 255, .12),
        rgba(230, 194, 151, .20)
    );

    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);

    border: 1px solid rgba(255, 235, 200, .65);
    border-radius: 18px;

    padding: 12px 13px;
    margin-bottom: 0;

    box-shadow:
        0 8px 22px rgba(50, 0, 15, .13),
        inset 0 1px 1px rgba(255, 255, 255, .45),
        inset 0 0 15px rgba(255, 245, 225, .12);
}

/* Programme dates */
.timeline-card h3 {
    color: #762b38;
    font-family: Georgia, serif;
    font-weight: bold;

    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.4;

    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(255,255,255,.4);
}

/* Event details */
.timeline-card .programme-event {
    color: #57323b;
    font-size: clamp(12px, 3.5vw, 15px);

    padding: 7px 0;
    border-bottom: 1px solid rgba(118, 43, 56, .20);
}

.timeline-card .event-time {
    color: #762b38;
    font-weight: bold;
}

/* Compact timeline spacing */
.timeline-item {
    margin-bottom: 12px;
}

.wedding-timeline {
    padding-left: 22px;
}

/* Frame at the top */
.frame-container {
    top: 1%;
    width: 92%;
    z-index: 6;
}

/* Date heading below frame */
.date-invitation-text {
    top: 38%;
    z-index: 7;
}

/* Date hearts below heading */
.date-hearts-row {
    top: 46%;
    z-index: 7;
}

/* Programme below date */
.programme-content {
    top: 54%;
}

/* Countdown hearts */
.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 20px auto;
    perspective: 700px;
}

.countdown-heart {
    position: relative;
    width: 23%;
    max-width: 82px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    animation: heartFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 7px 9px rgba(0,0,0,.4));
}

.countdown-heart:nth-child(2) {
    animation-delay: .4s;
}

.countdown-heart:nth-child(3) {
    animation-delay: .8s;
}

.countdown-heart:nth-child(4) {
    animation-delay: 1.2s;
}

.countdown-heart img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.countdown-heart span {
    position: relative;
    z-index: 2;

    font-family: Georgia, serif;
    font-size: clamp(19px, 5vw, 25px);
    font-weight: bold;

    color: #f8d98e;

    text-shadow:
        0 2px 3px #350615,
        0 0 10px rgba(255,210,120,.65);
}

.countdown-heart small {
    position: relative;
    z-index: 2;

    margin-top: 3px;

    font-family: Georgia, serif;
    font-size: clamp(8px, 2.3vw, 10px);
    font-weight: bold;

    color: #f8d98e;

    text-shadow: 0 2px 3px #350615;
}

/* Premium wedding countdown cards */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 20px auto;
}

.countdown-box {
    min-width: 0;
    min-height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;

    background: linear-gradient(
        135deg,
        rgba(255, 248, 238, .28),
        rgba(255, 255, 255, .12),
        rgba(230, 194, 151, .20)
    );

    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);

    border: 1px solid rgba(255, 215, 150, .75);
    border-radius: 16px;

    box-shadow:
        0 8px 22px rgba(50, 0, 15, .16),
        inset 0 1px 2px rgba(255, 255, 255, .45);
}

.countdown-box span {
    font-family: Georgia, serif;
    font-size: clamp(23px, 6vw, 32px);
    font-weight: bold;
    color: #efce91;

    text-shadow:
        0 1px 2px rgb(70, 0, 20),
        0 0 8px rgba(255, 215, 140, 0.802);
}

.countdown-box small {
    font-family: Georgia, serif;
    font-size: clamp(10px, 2.8vw, 13px);
    color: #762b38;
    font-weight: bold;
    letter-spacing: .5px;
}

.last-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}


/* Premium Venue Section */
/* Last image wrapper */
.last-section {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

/* Last image */
.last-background {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Venue overlay on last image */
.venue-section {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    padding: 15px 20px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: transparent;
    z-index: 5;
}

/* Venue Glass Card */
.venue-card {
    position: relative;
    width: 100%;
    max-width: 370px;
    padding: 35px 20px;

    text-align: center;

    background: linear-gradient(
        145deg,
        rgba(255, 248, 238, .18),
        rgba(255, 255, 255, .07),
        rgba(230, 194, 151, .14)
    );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(230, 194, 151, .65);
    border-radius: 24px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .25),
        inset 0 1px 2px rgba(255, 255, 255, .3);
}

/* Decorative Ornament */
.venue-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.venue-decoration span {
    width: 65px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #e8c47b
    );
}

.venue-decoration span:last-child {
    transform: rotate(180deg);
}

.venue-ornament {
    color: #e8c47b;
    font-size: 38px;
}

/* Small Subtitle */
.venue-subtitle {
    font-size: 10px;
    letter-spacing: 3px;
    color: #e8c47b;
    position: absolute;
    top: 10%;
    left: 17%;
    
}

/* Venue Heading */
.venue-heading {
    font-family: 'Brush Script MT', cursive;
    font-size: clamp(42px, 11vw, 55px);
    font-weight: normal;
    font-style: italic;
    color: #f3d99e;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .3);
    position: absolute;
    top: 15%;
    left: 10%;
}

/* Gold Divider */
.venue-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e8c47b;

    position: absolute;
    top: 55%;
    left: 50%;

}

.venue-divider span {
    font-size: 20px;
}

/* Resort Name */
.venue-name {
    font-family: Georgia, serif;
    font-size: clamp(19px, 5vw, 23px);
    line-height: 1.5;
    color: #fff0d0;
    font-weight: normal;
    position: absolute;
    top: 72%;
    left: 1%;

    text-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

/* Location Icon */
.venue-location-icon {
    font-size: 32px;
    color: #e8c47b;
    margin-bottom: 8px;
}

/* Address */
.venue-address {
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.9;
    color: #f5dfc3;
    position: absolute;
    top: 120%;
    left: 18%;
}

/* Google Maps Button */
.venue-map-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    width: fit-content;


    padding: 13px 25px;

    border-radius: 50px;
    border: 1px solid #f2d18b;

    background: linear-gradient(
        135deg,
        #f0d18d,
        #c69a4e,
        #e7c47d
    );

    color: #4b0a20;
    text-decoration: none;

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: bold;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .25),
        inset 0 1px 2px rgba(255, 255, 255, .5);

    transition: transform .3s ease;

    position: absolute;
    top: 180%;
    left: 20%;
}

.venue-map-button:active {
    transform: scale(.95);
}

.venue-map-button span {
    font-size: 18px;
}

/* Footer */
.venue-footer {
    font-family: Georgia, serif;
    font-size: 12px;
    font-style: italic;
    color: #e8c47b;
    position: absolute;
    top: 210%;
    left: 18%;
}

/* Venue section - no glass card */
.venue-section {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    z-index: 5;
}

.venue-card {
    width: 100%;
    max-width: 370px;
    padding: 15px 8px;
    text-align: center;

    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Decorative ornament */
.venue-decoration {
    margin-bottom: 12px;
}

.venue-ornament {

    position: relative;
    color: #a87935;
    text-shadow: 0 2px 3px rgba(255, 225, 170, .6);
}

.venue-ornament img {
    display: block;
    width: 300px;
    height: auto;
    position: relative;
    top: -96px;
}

.venue-decoration span {
    flex: 1;
    max-width: 65px;
}

/* Subtitle */
.venue-subtitle {
    color: #762b38;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Main heading */
.venue-heading {
    font-family: 'Brush Script MT', cursive;
    font-size: clamp(42px, 11vw, 55px);
    font-style: italic;
    font-weight: normal;
    color: #762b38;
    text-shadow: 0 1px 2px rgba(255, 225, 190, .7);
}

/* Golden divider */
.venue-divider {
    color: #a87935;
}

/* Resort name */
.venue-name {
    font-family: Georgia, serif;
    font-size: clamp(19px, 5vw, 23px);
    font-weight: bold;
    line-height: 1.5;
    color: #762b38;
    text-shadow: 0 1px 2px rgba(255, 225, 190, .6);
}

/* Location icon */
.venue-location-icon {
    color: #a87935;
    font-size: 30px;
}

/* Address */
.venue-address {
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.8;
    color: #762b38;
    font-weight: 500;
}

/* Premium burgundy and gold button */
.venue-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 12px 23px;
    border-radius: 40px;

    background: linear-gradient(
        135deg,
        #762b38,
        #4b0a20
    );

    border: 1px solid #d6b474;
    color: #f8dfaa;

    font-family: Georgia, serif;
    font-size: 14px;
    text-decoration: none;

    box-shadow: 0 5px 14px rgba(75, 10, 32, .25);
}

.venue-footer {
    color: #762b38;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    margin-top: 20px;
}

.groom{
 position: absolute;
 bottom:18%;
 left: 5%;
 width: 23%;
}

.bride{
 position: absolute;
 bottom:18%;
 right: 5%;
 width: 20%;
}

.doli {
    position: absolute;

    top: 12%;
    left: 50%;
    transform: translateX(-50%);

    width: 75%;
    height: auto;

    z-index: 4;
    pointer-events: none;

    filter: drop-shadow(0 6px 10px rgba(50, 0, 15, .25));
}

.stiker {
    position: absolute;

    top: -3.7%;
    left: 50%;
    transform: translateX(-50%);

    width: 13%;
    height: auto;

    z-index: 4;
    pointer-events: none;

    filter: drop-shadow(0 6px 10px rgba(50, 0, 15, .25));
}


/* WELCOME SCREEN */
.welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
    background: #350615;
}

/* Curtain rod */
.curtain-rod {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    z-index: 10;

    background: linear-gradient(
        to bottom,
        #f1d18d,
        #a87935,
        #5b3518
    );

    box-shadow: 0 4px 12px #0008;
}

/* Both velvet curtains */
.curtain {
    position: absolute;
    top: 0;
    width: 53%;
    height: 100%;
    z-index: 3;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(30,0,10,.55) 0px,
            rgba(130,25,55,.9) 18px,
            rgba(45,0,15,.55) 38px,
            rgba(155,40,70,.8) 58px
        ),
        linear-gradient(
            90deg,
            #310313,
            #851c40,
            #4c0921
        );

    box-shadow:
        inset -15px 0 25px rgba(0,0,0,.3),
        inset 12px 0 20px rgba(255,220,170,.12);
}

/* Curved lower curtain edge */
.curtain::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 25px;

    background: #650f30;
    border-radius: 0 0 50% 50%;
    box-shadow: 0 5px 12px #0005;
}

.curtain-left {
    left: 0;
    transform-origin: left center;
}

.curtain-right {
    right: 0;
    transform-origin: right center;
}

/* Fabric folds */
.curtain-folds {
    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(255,220,170,.13) 12px,
        rgba(0,0,0,.25) 28px,
        transparent 48px
    );

    animation: velvetSway 4s ease-in-out infinite;
}

.curtain-right .curtain-folds {
    animation-delay: -2s;
}

@keyframes velvetSway {
    0%, 100% {
        transform: skewX(0deg) scaleX(1);
    }
    50% {
        transform: skewX(-1.5deg) scaleX(1.015);
    }
}

/* Welcome content */
.welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;

    transition: opacity .5s ease;
}

.welcome-small {
    color: #f5d99b;
    font-family: Georgia, serif;
    letter-spacing: 3px;
    font-size: 11px;
    text-shadow: 0 2px 5px #000;
}

.invitation-seal {
    width: 150px;
    height: 150px;
    border-radius: 50%;

    border: 5px double #f8dfa1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: radial-gradient(
        circle,
        #fff0c5,
        #e6bd6d,
        #a87935
    );

    color: #5a1029;

    box-shadow:
        0 0 0 8px rgba(226,185,110,.2),
        0 0 35px rgba(255,210,130,.5),
        inset 0 0 15px white;

    cursor: pointer;

    animation: sealFloat 2.5s ease-in-out infinite;
}

.seal-ornament {
    font-size: 30px;
}

.seal-text {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 21px;
    letter-spacing: 2px;
}

.seal-subtext {
    font-size: 10px;
    letter-spacing: 2px;
}

.welcome-hint {
    color: #f5d99b;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
}

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

/* Curtain opening */
.welcome-screen.opening .curtain-left {
    animation: openLeft 3s cubic-bezier(.65,0,.25,1) forwards;
}

.welcome-screen.opening .curtain-right {
    animation: openRight 3s cubic-bezier(.65,0,.25,1) forwards;
}

.welcome-screen.opening .welcome-content {
    opacity: 0;
}

@keyframes openLeft {
    0% {
        transform: translateX(0) skewX(0);
    }
    25% {
        transform: translateX(-5%) skewX(-3deg);
    }
    100% {
        transform: translateX(-105%) skewX(-8deg);
    }
}

@keyframes openRight {
    0% {
        transform: translateX(0) skewX(0);
    }
    25% {
        transform: translateX(5%) skewX(3deg);
    }
    100% {
        transform: translateX(105%) skewX(8deg);
    }
}

.welcome-screen.finished {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .6s ease, visibility .6s ease;
}

/* Before invitation opens */
.invitation-locked .front-image {
    opacity: 0;
    animation: none;
    transform: translateY(180px) scale(.97);
}

.invitation-locked .wedding-names {
    opacity: 0;
    animation: none;
}

/* After curtains open */
.front-image.start-front-animation {
    animation: frontEntry 1.6s cubic-bezier(.16,1,.3,1) forwards;
}

.wedding-names.start-names-animation {
    animation: namesReveal 1.8s ease forwards;
    animation-delay: .5s;
}


/* Soft falling flower petals */
.petal-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    transition: opacity 2s ease;
}

.petal-container.show-petals {
    opacity: 1;
}

.petal {
    position: absolute;
    top: -30px;
    width: 10px;
    height: 15px;
    border-radius: 80% 10% 80% 10%;
    background: linear-gradient(
        135deg,
        #a83250,
        #762039,
        #4d1028
    );
    opacity: 0.7;
    box-shadow: 0 1px 4px rgba(80, 10, 35, 0.2);
    animation: petalFall linear infinite;
}

@keyframes petalFall {
    0% {
        transform: translate3d(0, -30px, 0) rotate(0deg);
    }
    25% {
        transform: translate3d(18px, 25vh, 0) rotate(90deg);
    }
    50% {
        transform: translate3d(-12px, 50vh, 0) rotate(180deg);
    }
    75% {
        transform: translate3d(15px, 75vh, 0) rotate(270deg);
    }
    100% {
        transform: translate3d(-8px, 110vh, 0) rotate(360deg);
    }
}



.doli {
    position: absolute;

    top: 12%;
    left: 50%;
    transform: translateX(-50%);

    width: 75%;
    height: auto;

    z-index: 4;
    pointer-events: none;

    filter: drop-shadow(0 6px 10px rgba(50, 0, 15, .25));
}

/* Curtain open hone ke baad animation */
body.invitation-started .doli {
    animation: doliEntry 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: 0.15s;
}

@keyframes doliEntry {
    from {
        opacity: 0;
        transform: translate(-50%, 180px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}


.doli {
    position: absolute;
    top: 14%;
    left: 50%;
    width: 75%;
    height: auto;
    z-index: 4;
    pointer-events: none;

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 180px) scale(.97);
}

body.invitation-started .doli {
    visibility: visible;
    animation: doliEntry 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: 0.15s;
}

@keyframes doliEntry {
    from {
        opacity: 0;
        transform: translate(-50%, 180px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}



/* MOBILE FULL SCREEN: side burgundy space hatao */
@media (max-width: 600px) {

    body {
        background: #350615;
    }

    .wedding-wrapper {
        padding: 0;
        background: none;
    }

    .invitation-container {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
    }
}


.name-first,
.name-second {
    font-family: cursive;
    font-style: italic !important;

    font-size: clamp(35px, 10vw, 40px);
    font-weight: 400;

    line-height: 0.5;

    color: #851638;

    text-shadow:
        1px 1px 0 #f3d49a,
        2px 3px 5px rgba(55, 5, 20, 0.45),
        0 0 14px rgba(255, 222, 165, 0.45);

    animation: nameFloat 3s ease-in-out infinite;
}

.names-ampersand {
    font-family: 'Berkshire Swash', cursive;
    font-size: 40px;
    font-weight: 600;
    font-style: italic;
    color: #851638;

    text-shadow: 0 2px 5px rgba(55, 5, 20, 0.5);
}