/* ===== BARBIE DREAM WEDDING — "Dollhouse Glam" ===== */
/* Hot pink · Blush pink · Rose-gold & glitter gold · White */
/* Playful boutique layout: everything rounded — vanity-mirror splash,
   glass hero panel, compact-mirror polaroids, macaron countdown,
   heart-node timeline, perfume-bottle info cards. */

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

:root {
    --blush: #fff0f6;
    --blush-deep: #ffe0ee;
    --cream-panel: #fffafd;
    --pink: #d6336c;
    --pink-hot: #ec4899;
    --pink-soft: #f9a8d4;
    --pink-pale: #fbcfe8;
    --pink-dark: #a61e4d;
    --pink-deep: #7c1440;
    --rose-gold: #b76e79;
    --rose-gold-light: #e8b4b8;
    --glitter: #d4af37;
    --glitter-light: #e7c873;
    --text-dark: #571c33;
    --text-medium: #8a4b63;
    --text-light: #b9839a;
    --white: #ffffff;
    --border: #f3c2d8;
    --border-soft: #fbe3ef;
    --shadow-pink: rgba(214, 51, 108, 0.16);
    --radius-lg: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--blush);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

body.splash-locked {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.mobile-only { display: none; }
.desktop-only { display: block; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FLOATING MUSIC BUTTON ===== */
.floating-music {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 250, 253, 0.94);
    border: 1px solid var(--rose-gold-light);
    box-shadow: 0 3px 14px var(--shadow-pink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 17px;
    transition: all 0.3s ease;
}

.floating-music:hover {
    background: var(--white);
    transform: scale(1.06);
    box-shadow: 0 5px 20px var(--shadow-pink);
}

.floating-music img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
}

.floating-music.playing {
    background: var(--pink);
    color: var(--pink-pale);
    border-color: var(--pink);
    animation: heartPulse 1.6s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.45); }
    50% { box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.14); }
    24% { transform: scale(1); }
    36% { transform: scale(1.1); }
    48% { transform: scale(1); }
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--pink-deep);
    white-space: nowrap;
}

.section-header .ornament {
    width: 118px;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.section-header .ornament.flipped {
    transform: scaleX(-1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 42px;
    background: linear-gradient(135deg, var(--pink-hot) 0%, var(--pink) 100%);
    color: #fff5fa;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    border: 1px solid var(--glitter-light);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(166, 30, 77, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(166, 30, 77, 0.38);
    background: linear-gradient(135deg, var(--glitter) 0%, var(--rose-gold) 100%);
}

.btn-primary i {
    color: #ffe3f0;
    margin-left: 6px;
}

.btn-outline {
    display: inline-block;
    align-self: flex-start;
    margin-top: 8px;
    padding: 12px 34px;
    border: 1.5px solid var(--rose-gold);
    color: var(--pink-dark);
    background: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--white);
}

/* Bow & sparkle garland strip (shared: RSVP card, info ribbons) */
.bow-strip {
    height: 34px;
    background:
        radial-gradient(circle at 8px -4px, transparent 12px, var(--pink-soft) 13px, var(--pink-soft) 16px, transparent 17px),
        radial-gradient(circle, var(--glitter) 3px, transparent 3.6px),
        radial-gradient(circle, var(--pink-hot) 2.4px, transparent 3px);
    background-size: 34px 34px, 34px 22px, 34px 22px;
    background-position: 0 0, 8px 12px, 24px 14px;
    background-repeat: repeat-x;
    border-bottom: 2px dotted var(--rose-gold-light);
    opacity: 0.95;
}

/* ===== SPLASH — VANITY MIRROR ===== */
.splash {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.splash-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 38%, rgba(236, 72, 153, 0.85) 0%, rgba(214, 51, 108, 0.93) 55%, rgba(124, 20, 64, 0.97) 100%);
}

/* CSS-only twinkles over the splash */
.splash-sparkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.splash-sparkles i {
    position: absolute;
    width: 9px;
    height: 9px;
    background: #ffe9a8;
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
    opacity: 0;
    animation: splashTwinkle 2.8s ease-in-out infinite;
}

.splash-sparkles i:nth-child(1)  { top: 12%; left: 10%; animation-delay: 0s; }
.splash-sparkles i:nth-child(2)  { top: 22%; left: 86%; animation-delay: 0.4s; width: 12px; height: 12px; }
.splash-sparkles i:nth-child(3)  { top: 64%; left: 6%;  animation-delay: 0.9s; }
.splash-sparkles i:nth-child(4)  { top: 78%; left: 90%; animation-delay: 1.3s; width: 11px; height: 11px; }
.splash-sparkles i:nth-child(5)  { top: 38%; left: 94%; animation-delay: 1.7s; }
.splash-sparkles i:nth-child(6)  { top: 8%;  left: 58%; animation-delay: 2.1s; }
.splash-sparkles i:nth-child(7)  { top: 86%; left: 30%; animation-delay: 0.6s; width: 12px; height: 12px; }
.splash-sparkles i:nth-child(8)  { top: 50%; left: 3%;  animation-delay: 1.1s; }
.splash-sparkles i:nth-child(9)  { top: 16%; left: 32%; animation-delay: 1.9s; }
.splash-sparkles i:nth-child(10) { top: 70%; left: 66%; animation-delay: 2.4s; }

@keyframes splashTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

.splash-inner {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    max-width: 660px;
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.splash.splash-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash.splash-open .splash-inner {
    transform: translateY(-28px) scale(0.97);
    opacity: 0;
}

.splash-eyebrow {
    font-size: 13px;
    letter-spacing: 6px;
    color: var(--pink-pale);
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(124, 20, 64, 0.5);
}

/* The mirror: oval frame + bulbs ring + bow on top */
.vanity-mirror {
    position: relative;
    width: min(350px, 86vw);
    margin: 0 auto;
    filter: drop-shadow(0 22px 44px rgba(87, 10, 40, 0.5));
}

.vanity-oval {
    position: relative;
    border-radius: 50%;
    padding: 74px 40px 64px;
    background:
        radial-gradient(ellipse at 50% 32%, rgba(255, 250, 253, 0.34) 0%, rgba(255, 240, 246, 0.16) 55%, rgba(255, 224, 238, 0.2) 100%);
    border: 3px solid var(--glitter-light);
    box-shadow:
        inset 0 0 0 5px rgba(255, 245, 250, 0.35),
        inset 0 0 46px rgba(255, 255, 255, 0.35),
        0 0 0 6px rgba(183, 110, 121, 0.55);
    overflow: hidden;
}

/* Glassy diagonal sheen across the mirror */
.vanity-oval::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -55%;
    width: 65%;
    height: 160%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: rotate(8deg);
    pointer-events: none;
}

/* Ring of glowing vanity bulbs (SVG dashed ellipse) */
.vanity-bulbs {
    position: absolute;
    inset: -16px;
    width: calc(100% + 32px);
    height: calc(100% + 32px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.vanity-bulbs ellipse {
    fill: none;
    stroke: #ffe9a8;
    stroke-width: 6.5;
    stroke-linecap: round;
    stroke-dasharray: 0.1 2.5;
    filter: drop-shadow(0 0 5px rgba(255, 220, 130, 0.95)) drop-shadow(0 0 12px rgba(255, 190, 90, 0.55));
    animation: bulbGlow 2.2s ease-in-out infinite;
}

@keyframes bulbGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}

/* Big bow perched on top of the mirror */
.vanity-bow {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    width: 128px;
    height: auto;
    z-index: 3;
    background: transparent;
    filter: drop-shadow(0 8px 14px rgba(124, 20, 64, 0.4));
    animation: bowBob 3.2s ease-in-out infinite;
}

@keyframes bowBob {
    0%, 100% { transform: translateX(-50%) rotate(-4deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(-2deg) translateY(-4px); }
}

.vanity-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.vanity-initial {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 700;
    color: #fff5fa;
    width: 46px;
    height: 46px;
    line-height: 44px;
    border: 1.5px solid var(--glitter-light);
    border-radius: 50%;
    background: rgba(124, 20, 64, 0.28);
    box-shadow: inset 0 0 0 3px rgba(255, 240, 246, 0.25);
}

.vanity-monogram img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    animation: heartBeat 1.8s ease-in-out infinite;
}

.splash-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(38px, 9vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    color: #fff5fa;
    text-shadow: 0 3px 16px rgba(124, 20, 64, 0.45);
}

.splash-names span {
    color: var(--pink-pale);
    font-size: 0.62em;
    vertical-align: middle;
}

.splash-date {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 4px;
    color: #ffe3f0;
}

/* Extra-round gold-pink pill */
.splash-btn {
    margin-top: 34px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    padding: 17px 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--glitter) 0%, var(--rose-gold) 55%, var(--pink-hot) 130%);
    border: 2px solid #ffe9a8;
    box-shadow: 0 14px 34px rgba(87, 10, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.splash-btn img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: -3px;
    margin-left: 8px;
    border-radius: 50%;
}

/* ===== FIREWORKS CANVAS ===== */
#fwCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90;
}

/* ===== HERO — full-bleed photo + GLASS PANEL ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 96px 20px 54px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 22s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

/* Soft blush wash so the glass panel melts into the photo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 240, 246, 0.2) 0%, rgba(255, 240, 246, 0) 34%, rgba(255, 224, 238, 0.34) 100%);
    pointer-events: none;
}

.hero-panel {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 640px;
    text-align: center;
    padding: 40px 38px 42px;
    background: rgba(255, 240, 246, 0.22);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(87, 28, 51, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-panel {
        background: rgba(255, 240, 246, 0.82);
    }
    .venue-glass {
        background: rgba(255, 240, 246, 0.88);
    }
}

.monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.monogram-initial {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--pink-dark);
    width: 56px;
    height: 56px;
    line-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(255, 250, 253, 0.5);
    box-shadow: inset 0 0 0 3px rgba(255, 240, 246, 0.5), 0 4px 14px rgba(87, 28, 51, 0.15);
}

.monogram-heart img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    animation: heartBeat 1.8s ease-in-out infinite;
}

.tagline {
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--pink-deep);
    font-weight: 600;
    margin-bottom: 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.invite-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 8px 0 6px;
}

.couple-names .name-groom,
.couple-names .name-bride {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(46px, 9vw, 72px);
    font-weight: 400;
    line-height: 1.15;
    background: linear-gradient(100deg, var(--pink-dark) 0%, var(--pink-hot) 28%, #ffd9ec 50%, var(--pink-hot) 72%, var(--pink-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: pinkShimmer 6s linear infinite;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.55));
}

@keyframes pinkShimmer {
    from { background-position: 0% center; }
    to { background-position: 200% center; }
}

.couple-names .ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(30px, 5vw, 42px);
    color: var(--pink-deep);
    line-height: 1;
}

.heart-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto 20px;
    color: var(--pink-hot);
    font-size: 13px;
}

.heart-divider span {
    display: block;
    width: 110px;
    height: 12px;
    background-image: radial-gradient(circle, var(--pink) 1.5px, transparent 1.8px);
    background-size: 13px 12px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.75;
}

.wedding-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.wedding-details .detail-item i {
    color: var(--pink);
    margin-right: 6px;
}

.wedding-details .detail-separator {
    color: var(--rose-gold);
}

/* ===== FLOATING SPARKLES & HEARTS (hero, JS-filled) ===== */
.sparkles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.sparkles span {
    position: absolute;
    bottom: -30px;
    opacity: 0;
    box-shadow: 0 1px 3px rgba(87, 28, 51, 0.18);
}

.sparkles span.shape-heart {
    clip-path: polygon(50% 88%, 8% 52%, 2% 34%, 8% 17%, 24% 8%, 40% 12%, 50% 24%, 60% 12%, 76% 8%, 92% 17%, 98% 34%, 92% 52%);
}

.sparkles span.shape-star {
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.sparkles span.shape-dot {
    border-radius: 50%;
}

body.sparkles-on .sparkles span {
    animation: sparkleRise var(--dur, 10s) linear var(--delay, 0s) infinite;
}

@keyframes sparkleRise {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7); opacity: 0; }
    8% { opacity: 0.95; }
    30% { transform: translate3d(var(--sway, 26px), -32vh, 0) rotate(110deg) scale(1); opacity: 0.55; }
    52% { transform: translate3d(calc(var(--sway, 26px) * -0.55), -56vh, 0) rotate(200deg) scale(0.9); opacity: 1; }
    76% { transform: translate3d(var(--sway, 26px), -80vh, 0) rotate(290deg) scale(1); opacity: 0.5; }
    100% { transform: translate3d(0, -108vh, 0) rotate(380deg) scale(0.8); opacity: 0.9; }
}

/* ===== COUPLE — compact-mirror polaroids over a heart ===== */
.couple-section {
    padding: 90px 20px 80px;
    background:
        radial-gradient(circle, rgba(236, 72, 153, 0.12) 1.4px, transparent 1.7px) 0 0 / 26px 26px,
        var(--blush);
    text-align: center;
    overflow: hidden;
}

.family-header {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.couple-container {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    max-width: 880px;
    margin: 20px auto 0;
    padding: 34px 10px 26px;
}

/* Large soft heart backdrop behind the cards */
.couple-heart-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(470px, 88vw);
    transform: translate(-50%, -54%);
    opacity: 0.16;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: heartBackdropPulse 3.6s ease-in-out infinite;
}

@keyframes heartBackdropPulse {
    0%, 100% { transform: translate(-50%, -54%) scale(1); }
    50% { transform: translate(-50%, -54%) scale(1.045); }
}

/* Tilted polaroid card */
.mirror-card {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 330px;
    background: var(--white);
    border-radius: 20px;
    padding: 24px 22px 30px;
    box-shadow: 0 20px 42px rgba(87, 28, 51, 0.2);
    text-align: center;
}

.mirror-card.groom {
    transform: rotate(-2.2deg);
}

.mirror-card.bride {
    transform: rotate(2.2deg);
}

.mirror-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dotted var(--rose-gold-light);
    border-radius: 14px;
    pointer-events: none;
}

.person-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--pink-dark);
    font-weight: 600;
    margin-bottom: 18px;
}

/* Circular compact-mirror portrait with a thick rose-gold ring */
.mirror-photo {
    width: 196px;
    height: 196px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 7px solid var(--rose-gold);
    outline: 2px solid var(--glitter-light);
    outline-offset: 4px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(87, 28, 51, 0.22), inset 0 0 0 4px var(--white);
    background: var(--blush-deep);
}

.mirror-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mirror-card h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    font-weight: 400;
    color: var(--pink-deep);
    line-height: 1.2;
    margin-bottom: 4px;
}

.mirror-card .relation {
    font-size: 14.5px;
    color: var(--text-medium);
    line-height: 1.7;
}

.couple-divider {
    align-self: center;
    position: relative;
    z-index: 2;
    margin: 0 -16px;
}

.couple-divider img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px var(--shadow-pink);
    animation: heartBeat 1.8s ease-in-out infinite;
}

/* ===== SCRATCH — GIFT CARD ===== */
.scratch-section {
    padding: 90px 20px 100px;
    background: var(--blush);
    text-align: center;
}

.scratch-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--pink-dark);
    margin-bottom: 6px;
}

.scratch-wrap {
    position: relative;
    width: 340px;
    max-width: 92vw;
    aspect-ratio: 340 / 200;
    margin: 52px auto 0;
    background: var(--cream-panel);
    border: 2px solid var(--rose-gold);
    border-radius: 22px;
    outline: 1px solid var(--pink-pale);
    outline-offset: 5px;
    box-shadow: 0 18px 40px var(--shadow-pink);
}

/* Bow divider perched on the gift-card's top edge */
.scratch-bow {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 118px;
    height: auto;
    z-index: 3;
    background: transparent;
    filter: drop-shadow(0 6px 12px rgba(124, 20, 64, 0.3));
    pointer-events: none;
}

.scratch-under {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    overflow: hidden;
}

.scratch-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--rose-gold);
    font-weight: 600;
}

.scratch-date {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.15;
    color: var(--pink-deep);
}

.scratch-venue {
    font-size: 13.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-medium);
}

.scratch-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 22px;
    touch-action: none;
    cursor: pointer;
    transition: opacity 0.6s ease;
}

.scratch-wrap canvas.cleared {
    opacity: 0;
    pointer-events: none;
}

/* ===== COUNTDOWN — BLUSH BAND + MACARON DISCS ===== */
.countdown-section {
    padding: 84px 20px 90px;
    background: linear-gradient(180deg, var(--blush-deep) 0%, var(--blush) 55%, var(--blush-deep) 100%);
    text-align: center;
    position: relative;
}

.countdown-section::before,
.countdown-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background-image: radial-gradient(circle, var(--pink-soft) 1.6px, transparent 1.9px);
    background-size: 16px 14px;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.8;
}

.countdown-section::before { top: 12px; }
.countdown-section::after { bottom: 12px; }

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 38px;
}

/* Layered macaron disc */
.countdown-item {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 38%, #fffafd 0%, #fffafd 52%, transparent 53%),
                radial-gradient(circle, var(--pink-pale) 0%, var(--pink-soft) 100%);
    border: 3px solid var(--white);
    box-shadow:
        0 12px 26px rgba(214, 51, 108, 0.22),
        inset 0 0 0 4px var(--blush),
        inset 0 -8px 14px rgba(214, 51, 108, 0.14);
}

.countdown-item:nth-child(2) {
    background: radial-gradient(circle at 50% 38%, #fffafd 0%, #fffafd 52%, transparent 53%),
                radial-gradient(circle, #ffe3f0 0%, var(--pink-pale) 100%);
}

.countdown-item:nth-child(3) {
    background: radial-gradient(circle at 50% 38%, #fffafd 0%, #fffafd 52%, transparent 53%),
                radial-gradient(circle, #ffeec9 0%, var(--glitter-light) 100%);
}

.countdown-item:nth-child(4) {
    background: radial-gradient(circle at 50% 38%, #fffafd 0%, #fffafd 52%, transparent 53%),
                radial-gradient(circle, #ffd9ec 0%, var(--rose-gold-light) 100%);
}

.countdown-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--pink-dark);
    line-height: 1;
}

.countdown-label {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--rose-gold);
}

/* ===== TIMELINE — CENTRE LINE, HEART NODES, TILTED CARDS ===== */
.timeline-section {
    padding: 90px 20px 80px;
    background: var(--blush);
    text-align: center;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 940px;
    margin: 48px auto 0;
    padding: 10px 0 6px;
}

/* Vertical centre line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    transform: translateX(-50%);
    border-left: 3px dotted var(--rose-gold-light);
}

.timeline-item {
    position: relative;
    width: calc(50% - 44px);
    margin-bottom: 40px;
    text-align: left;
}

.timeline-item:last-child {
    margin-bottom: 6px;
}

.timeline-item.tl-left {
    margin-right: auto;
    text-align: right;
}

.timeline-item.tl-right {
    margin-left: auto;
}

/* Heart node sitting on the centre line */
.timeline-node {
    position: absolute;
    top: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--rose-gold);
    box-shadow: 0 6px 16px var(--shadow-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-node img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    animation: heartBeat 1.8s ease-in-out infinite;
}

.tl-left .timeline-node {
    right: -67px;
}

.tl-right .timeline-node {
    left: -67px;
}

/* Bubblegum card with alternating tilt (on the card, so reveal transform stays free) */
.timeline-card {
    background: var(--cream-panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px 24px 20px;
    box-shadow: 0 14px 32px var(--shadow-pink);
    position: relative;
}

.timeline-card::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px dotted var(--pink-pale);
    border-radius: 18px;
    pointer-events: none;
}

.tl-left .timeline-card {
    transform: rotate(-1deg);
}

.tl-right .timeline-card {
    transform: rotate(1deg);
}

.timeline-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 2px solid var(--rose-gold);
    outline: 1px solid var(--pink-pale);
    outline-offset: 3px;
    overflow: hidden;
    box-shadow: 0 8px 18px var(--shadow-pink);
    background: var(--cream-panel);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.tl-left .timeline-icon {
    margin-left: auto;
}

.timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pink-deep);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.timeline-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--pink-dark);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.timeline-time,
.timeline-desc {
    font-size: 14px;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

/* ===== PRE-WEDDING — SCROLL-SNAP ROW OF ROUNDED CARDS ===== */
.prewedding-section {
    padding: 74px 0 96px;
    background: var(--blush-deep);
    text-align: center;
    overflow: hidden;
}

.prewedding-scroll {
    margin-top: 42px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0 18px;
}

.prewedding-scroll::-webkit-scrollbar {
    display: none;
}

.prewedding-container {
    display: flex;
    gap: 24px;
    width: max-content;
    max-width: none;
    margin: 0 auto;
    padding: 0 max(20px, calc(50vw - 520px));
}

.prewedding-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    background: var(--cream-panel);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 14px 30px var(--shadow-pink);
    overflow: hidden;
    text-align: left;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.prewedding-card:hover {
    box-shadow: 0 20px 40px rgba(214, 51, 108, 0.26);
}

.prewedding-img {
    height: 190px;
    overflow: hidden;
    border-bottom: 3px solid var(--rose-gold);
}

.prewedding-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prewedding-card:hover .prewedding-img img {
    transform: scale(1.06);
}

.prewedding-info {
    padding: 20px 22px 24px;
}

.prewedding-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pink-deep);
    margin-bottom: 6px;
}

.event-datetime {
    font-size: 14px;
    font-weight: 500;
    color: var(--pink-dark);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.event-location {
    font-size: 14px;
    color: var(--rose-gold);
    margin-bottom: 6px;
}

.event-desc {
    font-size: 14.5px;
    color: var(--text-medium);
}

/* ===== VENUE — PHOTO BACKDROP + GLASS PANEL ===== */
.venue-section {
    position: relative;
    min-height: 96vh;
    display: flex;
    padding: 88px 20px 64px;
    overflow: hidden;
}

.venue-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.venue-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 240, 246, 0.42) 0%, rgba(255, 240, 246, 0.08) 36%, rgba(87, 28, 51, 0.28) 100%);
    pointer-events: none;
}

.venue-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.venue-header {
    margin-bottom: auto;
}

.venue-header h2 {
    color: var(--pink-deep);
    text-shadow: 0 2px 14px rgba(255, 250, 253, 0.9);
}

/* Glass info panel — same recipe as the hero panel */
.venue-glass {
    align-self: flex-start;
    width: min(540px, 100%);
    margin-top: 44px;
    padding: 34px 36px 36px;
    background: rgba(255, 240, 246, 0.22);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(87, 28, 51, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.venue-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--pink-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.venue-glass h3 {
    font-size: 34px;
    font-weight: 600;
    color: var(--pink-deep);
    line-height: 1.2;
    margin-bottom: 10px;
}

.venue-glass p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Iframe map in a rounded frame under the glass panel */
.venue-map-frame {
    margin-top: 26px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 40px rgba(87, 28, 51, 0.3);
    background: var(--cream-panel);
}

.venue-map-frame iframe {
    width: 100%;
    height: 320px;
    min-height: 260px;
    border: none;
    display: block;
}

/* ===== TRAVEL & INFO — PERFUME-BOTTLE CARDS ===== */
.travel-section {
    padding: 30px 20px 96px;
    background: var(--blush);
}

.info-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 0 auto;
}

/* Tall rounded "bottle" with a ribbon strip on top */
.info-card {
    width: 248px;
    background: linear-gradient(180deg, var(--cream-panel) 0%, var(--blush) 130%);
    border: 1px solid var(--border);
    border-radius: 110px 110px 26px 26px;
    padding: 0 22px 30px;
    text-align: center;
    box-shadow: 0 14px 30px var(--shadow-pink);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-ribbon {
    align-self: stretch;
    margin: 0 -22px 20px;
    height: 46px;
    background:
        radial-gradient(circle at 8px -4px, transparent 12px, rgba(255, 255, 255, 0.35) 13px, rgba(255, 255, 255, 0.35) 15px, transparent 16px),
        radial-gradient(circle, #ffe9a8 3px, transparent 3.6px),
        linear-gradient(90deg, var(--pink) 0%, var(--pink-hot) 55%, var(--rose-gold) 100%);
    background-size: 34px 34px, 34px 22px, 100% 100%;
    background-position: 0 0, 8px 12px, 0 0;
    background-repeat: repeat-x, repeat-x, no-repeat;
    border-bottom: 2px dotted rgba(255, 240, 246, 0.75);
    box-shadow: inset 0 -6px 12px rgba(124, 20, 64, 0.18);
}

.info-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 2px solid var(--rose-gold);
    outline: 1px solid var(--pink-pale);
    outline-offset: 3px;
    overflow: hidden;
    box-shadow: 0 8px 18px var(--shadow-pink);
    background: var(--cream-panel);
    flex-shrink: 0;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--pink-deep);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14.5px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.info-card p strong {
    color: var(--pink-dark);
    letter-spacing: 1px;
}

.btn-watch {
    display: inline-block;
    margin-top: auto;
    padding: 9px 24px;
    background: var(--pink-dark);
    color: #ffe3f0;
    font-size: 12.5px;
    letter-spacing: 2.5px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.btn-watch:hover {
    background: var(--pink-deep);
}

/* ===== GALLERY — ROUNDED MOSAIC ===== */
.gallery-section {
    padding: 90px 20px;
    background: var(--blush-deep);
    text-align: center;
}

.gallery-grid {
    columns: 3;
    column-gap: 16px;
    max-width: 1080px;
    margin: 42px auto 0;
    text-align: left;
}

.gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 22px;
    border: 2px solid var(--white);
    box-shadow: 0 12px 26px var(--shadow-pink);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Heart badge pinned on the first tile */
.gallery-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 250, 253, 0.92);
    border: 2px solid var(--rose-gold);
    box-shadow: 0 6px 16px rgba(87, 28, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    animation: heartBeat 1.8s ease-in-out infinite;
}

/* ===== RSVP — VANITY CARD WITH BOW HEADER ===== */
.rsvp-section {
    padding: 90px 20px 100px;
    background:
        radial-gradient(circle, rgba(236, 72, 153, 0.12) 1.4px, transparent 1.7px) 0 0 / 26px 26px,
        var(--blush);
    text-align: center;
}

.rsvp-section .section-header h2 {
    white-space: normal;
}

.rsvp-form {
    max-width: 760px;
    margin: 38px auto 0;
    background: var(--cream-panel);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 20px 44px var(--shadow-pink);
    padding: 0 36px 40px;
    position: relative;
    overflow: hidden;
}

.rsvp-form::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dotted var(--rose-gold-light);
    border-radius: 24px;
    pointer-events: none;
}

/* Bow header strip across the top of the vanity card */
.rsvp-bow {
    margin: 0 -36px 30px;
    height: 44px;
    border-bottom: 2px dotted var(--rose-gold-light);
}

.rsvp-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 13px 18px;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--blush);
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
}

.rsvp-form textarea {
    border-radius: 20px;
    resize: vertical;
    margin-bottom: 20px;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-color: var(--pink-hot);
    box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.3);
}

.btn-submit {
    padding: 15px 46px;
    background: linear-gradient(135deg, var(--pink-hot) 0%, var(--pink) 100%);
    color: #fff5fa;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 24px var(--shadow-pink);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--glitter) 0%, var(--rose-gold) 100%);
}

.rsvp-thanks {
    margin-top: 18px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--pink);
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: linear-gradient(180deg, #c2337c 0%, #8f1d56 45%, #5c0f36 100%);
    color: #ffe3f0;
    padding: 74px 20px 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 14px;
    background-image: radial-gradient(circle, var(--pink-pale) 1.6px, transparent 1.9px);
    background-size: 16px 14px;
    background-repeat: repeat-x;
    background-position: center;
}

.footer-floral {
    position: absolute;
    bottom: 0;
    width: min(300px, 42vw);
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.footer-floral.left {
    left: 0;
}

.footer-floral.right {
    right: 0;
}

.footer-floral.right img {
    transform: scaleX(-1);
}

.footer-floral img {
    width: 100%;
    display: block;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 46px;
}

.footer-left,
.footer-right {
    flex: 1;
}

/* Script thank-you */
.footer-left h4 {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    font-weight: 400;
    color: var(--pink-pale);
    line-height: 1.1;
    margin-bottom: 8px;
}

.footer-left p {
    font-size: 15px;
    color: #f6c9dc;
    max-width: 300px;
}

.footer-center {
    flex: 1.2;
    text-align: center;
}

.footer-monogram {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--pink-pale);
    margin-bottom: 8px;
}

.footer-monogram span {
    color: var(--glitter-light);
    margin: 0 6px;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    font-weight: 400;
    color: #fff5fa;
    line-height: 1.2;
}

.footer-date {
    font-size: 14px;
    letter-spacing: 3px;
    color: #f6c9dc;
    margin-top: 6px;
}

.footer-right {
    text-align: right;
}

.footer-right span {
    font-size: 12px;
    letter-spacing: 3px;
    color: #f6c9dc;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.footer-right .social-icons {
    justify-content: flex-end;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--rose-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-pale);
    font-size: 15px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--pink-hot);
    color: var(--pink-deep);
}

.footer-content-mobile {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 40px;
}

.footer-content-mobile .social-icons {
    justify-content: center;
}

.footer-thankyou-title {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    font-weight: 400;
    color: var(--pink-pale);
    line-height: 1.1;
    margin: 22px 0 6px;
}

.footer-thankyou-text {
    font-size: 15px;
    color: #f6c9dc;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(232, 180, 184, 0.3);
    padding: 18px 0 22px;
    text-align: center;
    font-size: 13px;
    color: #d99db8;
}

.footer-bottom .credit-line {
    color: var(--pink-pale);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .gallery-grid {
        columns: 2;
    }

    .footer-content {
        display: none;
    }

    .footer-content-mobile {
        display: block;
    }

    .desktop-only { display: none; }
    .mobile-only { display: block; }
}

@media (max-width: 760px) {
    /* Timeline collapses to a left rail, cards full width */
    .timeline-container::before {
        left: 23px;
    }

    .timeline-item {
        width: auto;
        margin-left: 64px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-item.tl-left {
        text-align: left;
    }

    .tl-left .timeline-node,
    .tl-right .timeline-node {
        left: -64px;
        right: auto;
    }

    .tl-left .timeline-icon {
        margin-left: 0;
    }

    .tl-left .timeline-card {
        transform: rotate(0.6deg);
    }

    .tl-right .timeline-card {
        transform: rotate(-0.6deg);
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 84px 12px 34px;
    }

    .hero-panel {
        padding: 32px 20px 34px;
        border-radius: 24px;
    }

    .vanity-mirror {
        width: min(300px, 88vw);
    }

    .vanity-oval {
        padding: 58px 28px 48px;
    }

    .vanity-bow {
        width: 104px;
        top: -28px;
    }

    .couple-container {
        flex-direction: column;
        align-items: center;
    }

    .mirror-card.groom {
        transform: rotate(-1.4deg);
    }

    .mirror-card.bride {
        transform: rotate(1.4deg);
    }

    .couple-divider {
        margin: -8px 0;
    }

    .countdown-item {
        width: 82px;
        height: 82px;
    }

    .countdown-number {
        font-size: 27px;
    }

    .countdown-label {
        font-size: 8.5px;
        letter-spacing: 2px;
    }

    .prewedding-card {
        flex-basis: 262px;
    }

    .venue-section {
        padding: 70px 12px 44px;
        min-height: 0;
    }

    .venue-glass {
        padding: 28px 24px 30px;
        border-radius: 24px;
    }

    .rsvp-form {
        padding: 0 20px 30px;
    }

    .rsvp-bow {
        margin: 0 -20px 24px;
    }

    .rsvp-form .form-row {
        grid-template-columns: 1fr;
    }

    .section-header .ornament {
        width: 74px;
    }

    .section-header h2 {
        letter-spacing: 2px;
        white-space: normal;
    }

    .wedding-details {
        flex-direction: column;
        gap: 4px;
    }

    .wedding-details .detail-separator {
        display: none;
    }
}
