:root {
    /* Palette matched to Midnight Royal Blue & Sculpted Gold Background Image */
    --midnight-bg: #0B1526;
    --navy-card: rgba(15, 27, 47, 0.85);
    --navy-card-border: rgba(229, 193, 88, 0.45);
    --gold-bright: #F5D77F;
    --gold-metallic: #E5C158;
    --gold-deep: #C9A66B;
    --ivory-cream: #FFF8ED;
    --text-muted: #D1D5DB;
    --font-script: 'Lobster Two', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Lora', serif;
    --bg-mobile: url('Assets/bg_image_mobile.webp');
    --bg-desktop: url('Assets/bg_image_desktop.webp');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
}

*:focus {
    outline: none !important;
}

button,
a,
input,
select,
textarea,
div,
span,
.stepper-node,
.story-nav-btn,
.story-progress-step,
.couple-flip-card,
.coverflow-slide,
.coverflow-arrow,
.coverflow-dots .dot,
.back-to-top-btn,
.music-toggle-btn,
.btn-submit,
.btn-directions,
.story-heart-btn,
.spark-btn {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    outline: none !important;
}


body {
    font-family: var(--font-body);
    background-color: var(--midnight-bg);
    color: var(--ivory-cream);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Lock page scrolling for entrance screen overlay */
body.entrance-lock {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none !important;
}

/* Full-Screen Cinematic Entrance Overlay */
.entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background-color: rgba(11, 21, 38, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.entrance-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

/* Video Layout & Behavior */
.entrance-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.88;
}

/* Mobile Screens: Edge-to-Edge Cover */
@media (max-width: 767px) {
    .entrance-video {
        object-fit: cover;
        width: 100vw;
        height: 100vh;
    }
}

/* Desktop & Tablet Screens: Centered Native Aspect Ratio */
@media (min-width: 768px) {
    .entrance-video {
        object-fit: contain;
        max-width: 100vw;
        max-height: 100vh;
        margin: auto;
    }
}

/* Interactive Tap Button Container */
.entrance-btn-container {
    position: absolute;
    top: 60%; /* Shifted slightly below center over the video */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.entrance-btn-container.hide-btn {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.85);
    pointer-events: none;
}

/* Circular Tap Button */
.entrance-tap-btn {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    padding: 0;
}

/* Transparent Circular Tap Button with Light Gold Gradient Outline */
.btn-glass-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1.5px solid var(--gold-bright);
    box-shadow: 0 0 25px rgba(245, 215, 127, 0.4), inset 0 0 15px rgba(245, 215, 127, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    z-index: 2;
}

.entrance-btn-container:hover .btn-glass-circle {
    transform: scale(1.08);
    border-color: #FFFFFF;
    box-shadow: 0 0 38px rgba(245, 215, 127, 0.65), inset 0 0 22px rgba(245, 215, 127, 0.4);
}


/* Expanding Touch Ripple Rings */
.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(245, 215, 127, 0.5);
    pointer-events: none;
    animation: rippleExpand 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.ripple-ring.ring-1 {
    width: 82px;
    height: 82px;
    animation-delay: 0s;
}
.ripple-ring.ring-2 {
    width: 82px;
    height: 82px;
    animation-delay: 1s;
}
.ripple-ring.ring-3 {
    width: 82px;
    height: 82px;
    animation-delay: 2s;
}

@keyframes rippleExpand {
    0% {
        width: 82px;
        height: 82px;
        opacity: 0.8;
        border-color: rgba(245, 215, 127, 0.6);
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        border-color: rgba(245, 215, 127, 0);
    }
}

/* Hand Gesture Animation */
.tap-hand-icon {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 8px rgba(245, 215, 127, 0.7));
    animation: softTapMotion 1.5s ease-in-out infinite;
}

@keyframes softTapMotion {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* Glowing Text */
.entrance-tap-text {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(245, 215, 127, 0.7), 0 2px 8px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    user-select: none;
}

/* Ambient Golden Embers Canvas Overlay */
.ambient-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}


/* Floating Background Music Player Button */
.music-player-container {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9990;
}

.music-toggle-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-toggle-btn:hover {
    transform: scale(1.1);
}

.music-toggle-btn:active {
    transform: scale(0.95);
}

.music-btn-glass {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(15, 27, 47, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--gold-metallic);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(245, 215, 127, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Playing State: Gold Glow & Animated Equalizer Waves */
.music-toggle-btn.is-playing .music-btn-glass {
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(245, 215, 127, 0.6), 0 8px 24px rgba(0, 0, 0, 0.7);
    animation: musicPulseGlow 2.5s ease-in-out infinite;
}

@keyframes musicPulseGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(245, 215, 127, 0.5), 0 8px 24px rgba(0, 0, 0, 0.7); }
    50%       { box-shadow: 0 0 28px rgba(245, 215, 127, 0.85), 0 8px 28px rgba(0, 0, 0, 0.8); }
}

.music-icon-note {
    font-size: 1.25rem;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-toggle-btn.is-playing .music-icon-note {
    display: none;
}

/* Equalizer Bars */
.music-waves {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.music-toggle-btn.is-playing .music-waves {
    display: flex;
}

.music-waves .bar {
    width: 3px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-metallic));
    border-radius: 3px;
    height: 100%;
}

.music-toggle-btn.is-playing .bar-1 {
    animation: eqBar 1.2s ease-in-out infinite alternate;
}
.music-toggle-btn.is-playing .bar-2 {
    animation: eqBar 0.9s ease-in-out infinite alternate 0.2s;
}
.music-toggle-btn.is-playing .bar-3 {
    animation: eqBar 1.4s ease-in-out infinite alternate 0.4s;
}

@keyframes eqBar {
    0%   { height: 4px; }
    100% { height: 18px; }
}

/* Paused State */
.music-toggle-btn.is-paused .music-icon-note {
    opacity: 0.65;
    filter: grayscale(0.5);
}

.music-toggle-btn.is-paused::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--gold-bright);
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    z-index: 5;
    pointer-events: none;
}

/* Mobile Sizing */
@media (max-width: 767px) {
    .music-player-container {
        bottom: 22px;
        right: 18px;
    }
    .music-toggle-btn {
        width: 48px;
        height: 48px;
    }
    .music-icon-note {
        font-size: 1.1rem;
    }
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--gold-bright);
}

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

/* Background Utility - applied to sections */
.section-bg {
    background-image: var(--bg-mobile);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

@media (min-width: 768px) {
    .section-bg {
        background-image: var(--bg-desktop);
    }
}


/* Global Section Styles */
section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.section-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--gold-bright);
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(245, 215, 127, 0.5), 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Hero Ganesh Image */
.hero-ganesh-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    z-index: 10;
    position: relative;
}
.hero-ganesh-img {
    width: 110px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(245, 215, 127, 0.7)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
    animation: ganeshFloat 4s ease-in-out infinite;
}
@keyframes ganeshFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* On desktop — slightly larger */
@media (min-width: 768px) {
    .hero-ganesh-wrapper {
        margin-bottom: 0;
        position: absolute;
        top: 22px;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-ganesh-img {
        width: 130px;
    }
}

/* On very short mobile screens */
@media (max-height: 800px) and (max-width: 767px) {
    .hero-ganesh-img {
        width: 85px;
    }
    .hero-ganesh-wrapper {
        margin-bottom: 8px;
    }
}

/* Hero Section */
.hero-section {
    padding: 70px 20px 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-content {
    margin-top: 35px;
    transform: none;
    z-index: 10;
    margin-bottom: 40px;
}
.hero-kicker {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-bright);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(245, 215, 127, 0.5);
}
.hero-names {
    font-family: var(--font-script);
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--gold-bright);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 215, 127, 0.6);
}
.weds {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--ivory-cream);
    display: block;
    margin: 8px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-subtext {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 12px;
    color: var(--gold-bright);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-metallic), transparent);
    margin: 20px auto 0 auto;
}
.hero-image-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 42%;
    max-width: 204px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hero-couple-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: var(--gold-metallic);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}
.chevron {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--gold-bright);
    border-bottom: 2px solid var(--gold-bright);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

@media (max-height: 800px) and (max-width: 767px) {
    .hero-section {
        padding: 75px 15px 45px 15px;
    }
    .hero-content {
        margin-top: 40px;
        margin-bottom: 28px;
    }
    .hero-kicker {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    .hero-names {
        font-size: 2.2rem;
    }
    .weds {
        font-size: 1.6rem;
        margin: 6px 0;
    }
    .hero-subtext {
        font-size: 1.2rem;
        margin-top: 10px;
    }
    .hero-divider {
        margin: 14px auto 0 auto;
        width: 100px;
    }
    .hero-image-wrapper {
        width: 42%;
        max-width: 180px;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 0;
        justify-content: flex-start;
    }
    .hero-content {
        margin-top: 4vh;
        transform: translateY(-40px);
        margin-bottom: 0;
    }
    .hero-names { font-size: 4rem; }
    .weds { font-size: 1.8rem; display: inline-block; margin: 0 15px; }
    .hero-image-wrapper {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 22%;
        max-width: 216px;
    }
}

/* Countdown & Scratch Card */
.countdown-section {
    background-image: url("Assets/bg4_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 20px;
}
@media (min-width: 768px) {
    .countdown-section {
        background-image: url("Assets/bg4_image_desktop.webp") !important;
    }
}
.heart-card-frame {
    position: relative;
    padding: 5px;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(245, 215, 127, 0.45));
    transition: transform 0.3s ease;
}
.heart-card-frame:hover {
    transform: scale(1.03);
}
.scratch-card-container.heart-shape {
    clip-path: url(#heart-clip);
    -webkit-clip-path: url(#heart-clip);
    width: 320px;
    height: 290px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: var(--navy-card);
    position: relative;
    overflow: hidden;
}
#scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    touch-action: none;
}
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.scratch-card-reveal {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px 20px 45px 20px;
    transform: translateY(-20px);
    background: radial-gradient(circle at center, rgba(22, 36, 59, 0.98), rgba(11, 21, 38, 0.99));
}
.reveal-kicker {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-metallic);
    margin-bottom: 2px;
}
.reveal-date {
    font-family: var(--font-script);
    font-size: 1.85rem;
    white-space: nowrap;
    color: var(--gold-bright);
    text-shadow: 0 0 15px rgba(245, 215, 127, 0.7);
    line-height: 1.1;
    margin: 4px 0;
}
.reveal-subtext {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--ivory-cream);
    font-style: italic;
    opacity: 0.9;
}
.countdown-outside {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.countdown-title {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin-bottom: 18px;
    text-shadow: 0 0 12px rgba(245, 215, 127, 0.5);
}
.timer-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.time-box-frame {
    filter: drop-shadow(0 4px 12px rgba(245, 215, 127, 0.6));
    transition: transform 0.3s ease;
}
.time-box-frame:hover {
    transform: scale(1.08);
}
.time-box {
    clip-path: url(#heart-clip);
    -webkit-clip-path: url(#heart-clip);
    width: 75px;
    height: 70px;
    background: linear-gradient(135deg, #F5D77F 0%, #E5C158 50%, #C9A66B 100%);
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 8px;
    box-shadow: none;
}
.time-box span {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--midnight-bg);
    line-height: 1;
    text-shadow: none;
}
.time-box label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--midnight-bg);
    font-weight: 700;
    margin-top: 2px;
    opacity: 0.95;
}
.add-to-calendar {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-metallic));
    color: var(--midnight-bg);
    border: none;
    padding: 8px 18px;
    font-family: var(--font-serif);
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.3);
}
.add-to-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 215, 127, 0.5);
}

/* Countdown Mobile Responsive */
@media (max-width: 767px) {
    .countdown-section {
        padding: 70px 16px 80px 16px;
        min-height: auto;
    }
    /* Section title inside countdown */
    .countdown-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 26px;
    }
    /* Scratch card — slightly smaller on mobile */
    .scratch-card-container.heart-shape {
        width: 270px;
        height: 245px;
    }
    .scratch-card-reveal {
        padding: 28px 14px 36px 14px;
        transform: translateY(-14px);
    }
    .reveal-kicker {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }
    .reveal-date {
        font-size: 1.55rem;
        margin: 3px 0;
    }
    .reveal-subtext {
        font-size: 0.82rem;
    }
    /* Countdown timer outside */
    .countdown-outside {
        margin-top: 26px;
    }
    .countdown-title {
        font-size: 1.65rem;
        margin-bottom: 14px;
        padding: 0 10px;
    }
    /* Timer grid — wrap into 2×2 on very small widths */
    .timer-grid {
        gap: 8px;
        flex-wrap: wrap;
        max-width: 220px;
        margin: 0 auto;
    }
    .time-box-frame {
        flex: 0 0 calc(50% - 4px);
    }
    .time-box {
        width: 88px;
        height: 82px;
        padding-top: 5px;
        padding-bottom: 10px;
        margin: 0 auto;
    }
    .time-box span {
        font-size: 1.65rem;
    }
    .time-box label {
        font-size: 0.62rem;
    }
    /* Add to Calendar button */
    .add-to-calendar {
        margin-top: 16px;
        padding: 7px 16px;
        font-size: 0.88rem;
    }
}

@media (min-width: 768px) {
    .scratch-card-container.heart-shape {
        width: 400px;
        height: 360px;
    }
    .reveal-date { font-size: 2.5rem; }
    .timer-grid { gap: 18px; }
    .time-box { width: 95px; height: 90px; padding-top: 6px; padding-bottom: 12px; }
    .time-box span { font-size: 2.1rem; }
    .time-box label { font-size: 0.72rem; }
}

/* Meet the Couple Section - 3D Interactive Cards */
.couple-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.couple-flip-card {
    background-color: transparent;
    width: 300px;
    height: 420px;
    perspective: 1000px;
    margin: 0 auto;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}
/* JS-driven flip for tap/click (mobile & desktop toggle) */
.couple-flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg) !important;
}

/* Desktop CSS hover flip (min-width 768px) */
@media (min-width: 768px) {
    .couple-flip-card:hover .flip-card-inner, 
    .couple-flip-card:focus-within .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.glass-card {
    background: rgba(15, 27, 47, 0.65);
    border: 1px solid rgba(229, 193, 88, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.flip-card-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at center, rgba(15, 27, 47, 0.72), rgba(11, 21, 38, 0.8));
    padding: 40px 25px;
}
.gold-border {
    border: 2px solid var(--gold-metallic);
    box-shadow: inset 0 0 20px rgba(245, 215, 127, 0.15), 0 10px 30px rgba(0,0,0,0.8);
}
.couple-photo-frame {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rotating-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(transparent 20%, var(--gold-bright) 50%, transparent 80%);
    animation: rotateGlow 4s linear infinite;
    z-index: 0;
    opacity: 0.8;
}
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.couple-photo-frame img {
    width: 178px;
    height: 178px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    border: 3px solid var(--midnight-bg);
}
.couple-name {
    font-family: var(--font-script);
    font-size: 2.6rem;
    white-space: nowrap;
    color: var(--gold-bright);
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.couple-role {
    font-family: var(--font-serif);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-metallic);
    margin-bottom: 15px;
}
.interactive-hint {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--ivory-cream);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 6px;
}
.magic-sparkle {
    font-style: normal;
    animation: pulse 2s infinite ease-in-out;
}
.back-content h3 {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold-bright);
    margin-bottom: 15px;
}
.bio-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--ivory-cream);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}
.parents-info {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--gold-metallic);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(245, 215, 127, 0.3);
    padding-top: 15px;
}
.couple-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

/* Spark Button in Meet the Couple Section */
.spark-btn {
    background: linear-gradient(135deg, rgba(245, 215, 127, 0.25), rgba(225, 193, 88, 0.15));
    border: 1.5px solid var(--gold-metallic);
    color: var(--gold-bright);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(245, 215, 127, 0.4), inset 0 0 10px rgba(245, 215, 127, 0.2);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, background 0.35s ease;
    outline: none;
    position: relative;
    z-index: 5;
    animation: sparkPulse 2.5s ease-in-out infinite;
}

@keyframes sparkPulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(245, 215, 127, 0.4), 0 0 0 0 rgba(245, 215, 127, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 28px rgba(245, 215, 127, 0.8), 0 0 0 12px rgba(245, 215, 127, 0);
        transform: scale(1.08);
    }
}

.spark-btn:hover {
    transform: scale(1.2) rotate(15deg);
    background: linear-gradient(135deg, #F5D77F, #E5C158);
    color: var(--midnight-bg);
    box-shadow: 0 0 35px rgba(245, 215, 127, 0.9);
}

.spark-btn:active {
    transform: scale(0.92);
}

.spark-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.spark-btn:hover .spark-icon {
    transform: scale(1.25);
}


/* Meet the Couple — Mobile Responsive */
@media (max-width: 767px) {
    .couple-section {
        padding: 70px 16px 80px 16px;
        min-height: auto;
    }
    .couple-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 28px;
    }
    .couple-cards-container {
        gap: 24px;
    }
    /* Compact card on mobile (reduced height by 45px) */
    .couple-flip-card {
        width: 270px;
        height: 335px;
    }
    .flip-card-front, .flip-card-back {
        padding: 16px 14px;
        border-radius: 16px;
    }
    .flip-card-back {
        padding: 20px 16px;
    }
    /* Photo frame — optimized for 335px height */
    .couple-photo-frame {
        width: 135px;
        height: 135px;
        margin-bottom: 12px;
    }
    .couple-photo-frame img {
        width: 125px;
        height: 125px;
    }
    /* Text scaling */
    .couple-name {
        font-size: 1.9rem;
        margin-bottom: 2px;
    }
    .couple-role {
        font-size: 0.82rem;
        letter-spacing: 1.2px;
        margin-bottom: 8px;
    }
    .interactive-hint {
        font-size: 0.7rem;
    }
    /* Back card content */
    .back-content h3 {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    .bio-text {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.45;
    }
    .parents-info {
        font-size: 0.75rem;
        padding-top: 8px;
    }
    /* Divider between cards */
    .couple-divider {
        margin: 6px 0;
    }
    .spark-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}


@media (min-width: 768px) {
    .couple-cards-container {
        flex-direction: row;
        gap: 60px;
    }
}

/* Formal Invitation Section (Cardless Floating Style) */
.invitation-section {
    background-image: url("Assets/bg4_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 20px;
}
@media (min-width: 768px) {
    .invitation-section {
        background-image: url("Assets/bg4_image_desktop.webp") !important;
    }
}
.invitation-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.motif-top {
    font-size: 2.5rem;
    color: var(--gold-bright);
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(245, 215, 127, 0.6);
}
.invitation-request {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--ivory-cream);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 25px auto;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.invitation-block {
    margin: 15px 0;
}
.invitation-name {
    font-family: var(--font-script);
    font-size: 3.2rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(245, 215, 127, 0.6), 0 2px 10px rgba(0, 0, 0, 0.9);
}
.invitation-parents {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-metallic);
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.invitation-with {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold-bright);
    margin: 10px 0;
    text-shadow: 0 0 15px rgba(245, 215, 127, 0.5);
}
.invitation-divider {
    font-size: 2rem;
    color: var(--gold-bright);
    margin: 25px 0 20px 0;
    text-shadow: 0 0 10px rgba(245, 215, 127, 0.5);
}
.invitation-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ivory-cream);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Formal Invitation — Mobile Responsive */
@media (max-width: 767px) {
    .invitation-section {
        padding: 75px 20px 80px 20px;
        min-height: auto;
    }
    .invitation-wrapper {
        max-width: 100%;
        padding: 0 4px;
    }
    /* OM motif */
    .motif-top {
        font-size: 2rem;
        margin-bottom: 18px;
    }
    /* Opening request text */
    .invitation-request {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 18px;
        max-width: 100%;
        letter-spacing: 0.2px;
    }
    /* Name blocks */
    .invitation-block {
        margin: 10px 0;
    }
    .invitation-name {
        font-size: 2.4rem;
        margin-bottom: 3px;
    }
    .invitation-parents {
        font-size: 0.88rem;
        letter-spacing: 0.5px;
    }
    /* "With" separator */
    .invitation-with {
        font-size: 1.8rem;
        margin: 6px 0;
    }
    /* Floral divider glyph */
    .invitation-divider {
        font-size: 1.6rem;
        margin: 18px 0 14px 0;
    }
    /* Closing quote */
    .invitation-quote {
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 100%;
    }
}

/* Interactive Our Story Section */
.story-section {
    background-image: url("Assets/bg1_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
}
@media (min-width: 768px) {
    .story-section {
        background-image: url("Assets/bg1_image_desktop.webp") !important;
    }
}
.story-subtitle {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ivory-cream);
    text-align: center;
    margin-bottom: 45px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::after {
    display: none;
}
.timeline-item {
    position: relative;
    padding: 15px 0;
    text-align: left;
}
.timeline-marker {
    display: none;
}

.story-card {
    background: var(--navy-card);
    border: 1.5px solid var(--navy-card-border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.story-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 215, 127, 0.35);
}
.story-photo-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.story-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.story-card:hover .story-photo {
    transform: scale(1.08);
}
.story-date-badge {
    position: absolute;
    bottom: 12px;
    right: 15px;
    background: linear-gradient(135deg, #F5D77F, #E5C158, #C9A66B);
    color: var(--midnight-bg);
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.no-image-story-card {
    padding: 24px 22px 18px 22px;
}
.story-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(245, 215, 127, 0.2);
}
.story-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.story-date-badge.inline-badge {
    position: static;
    display: inline-block;
}
.no-image-story-card .story-details {
    padding: 0;
}
.story-details {
    padding: 22px;
}
.story-details h3 {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.story-details p {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--ivory-cream);
    line-height: 1.6;
    margin-bottom: 18px;
    opacity: 0.95;
}
.story-heart-btn {
    background: rgba(245, 215, 127, 0.12);
    border: 1px solid var(--gold-metallic);
    color: var(--gold-bright);
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.story-heart-btn:hover {
    background: linear-gradient(135deg, #F5D77F, #E5C158);
    color: var(--midnight-bg);
    box-shadow: 0 4px 15px rgba(245, 215, 127, 0.5);
    transform: scale(1.05);
}
.story-heart-btn:active {
    transform: scale(0.95);
}

/* Default: hide mobile slider UI (shown only via @media max-width 767px) */
.story-slider-nav { display: none; }

/* Our Story — Mobile Slider */
@media (max-width: 767px) {
    .story-section {
        padding: 100px 16px 110px 16px;
        min-height: auto;
    }
    .story-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }
    .story-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    /* Show mobile stepper nav */
    .story-slider-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 22px;
        width: 100%;
    }

    /* ── Stepper Track ── */
    .stepper-track {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        max-width: 340px;
        padding-top: 20px;
    }

    /* Connecting lines: bg (dim) + fill (gold) */
    .stepper-line-bg {
        position: absolute;
        top: 38px; /* vertically centres with node dot */
        left: calc(16.66%);
        right: calc(16.66%);
        height: 3px;
        border-radius: 2px;
        background: rgba(245, 215, 127, 0.2);
        overflow: hidden;
    }
    .stepper-line-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--gold-bright), var(--gold-metallic));
        transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 6px rgba(245, 215, 127, 0.5);
    }

    /* ── Individual Node ── */
    .stepper-node {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        z-index: 2;
        width: 33.33%;
        transition: transform 0.2s;
    }
    .stepper-node:active {
        transform: scale(0.92);
    }

    /* Dot circle */
    .stepper-node-dot {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(15, 27, 47, 0.85);
        border: 2px solid rgba(245, 215, 127, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    .stepper-icon {
        font-size: 1.2rem;
        line-height: 1;
        filter: grayscale(0.6);
        transition: filter 0.35s ease;
    }

    /* Label */
    .stepper-label {
        font-family: var(--font-serif);
        font-size: 0.7rem;
        color: rgba(255, 248, 237, 0.5);
        text-align: center;
        letter-spacing: 0.3px;
        line-height: 1.3;
        transition: color 0.35s ease;
        max-width: 70px;
    }

    /* Active node */
    .stepper-node.active .stepper-node-dot {
        background: linear-gradient(135deg, rgba(245, 215, 127, 0.18), rgba(229, 193, 88, 0.25));
        border-color: var(--gold-bright);
        box-shadow: 0 0 16px rgba(245, 215, 127, 0.55), 0 4px 12px rgba(0, 0, 0, 0.5);
    }
    .stepper-node.active .stepper-icon {
        filter: grayscale(0);
    }
    .stepper-node.active .stepper-label {
        color: var(--gold-bright);
        font-weight: 600;
    }

    /* Completed node (visited) */
    .stepper-node.visited .stepper-node-dot {
        border-color: var(--gold-metallic);
        background: rgba(229, 193, 88, 0.12);
    }
    .stepper-node.visited .stepper-icon {
        filter: grayscale(0);
    }
    .stepper-node.visited .stepper-label {
        color: var(--gold-metallic);
    }
    /* Timeline: single-column, overflow hidden */
    .timeline {
        display: block;
        padding: 0;
        max-width: 100%;
        width: 100%;
        position: relative;
    }
    /* All items hidden by default */
    .timeline-item {
        display: none;
        padding: 0;
        width: 100%;
    }
    /* Only the active item is visible */
    .timeline-item.story-active {
        display: block;
    }
    /* Card sizing on mobile */
    .story-card {
        border-radius: 14px;
    }
    .story-photo-wrapper {
        height: 230px;
    }
    .story-details {
        padding: 16px 16px 18px 16px;
    }
    .story-details h3 {
        font-size: 1.9rem;
        margin-bottom: 6px;
    }
    .story-details p {
        font-size: 0.92rem;
        margin-bottom: 14px;
    }
    .story-date-badge {
        font-size: 0.78rem;
        padding: 3px 11px;
    }
    .story-heart-btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

@media (min-width: 768px) {
    /* Hide mobile-only slider nav on desktop */
    .story-slider-nav {
        display: none;
    }
    .timeline {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 25px;
        max-width: 1050px;
        padding-top: 10px;
    }
    .timeline::after {
        display: none;
    }
    .timeline-item {
        width: 32%;
        padding: 0;
        text-align: left;
        left: auto !important;
        right: auto !important;
        display: flex;
        flex-direction: column;
    }
    .timeline-marker {
        display: none;
    }
    .story-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .story-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Wedding Events Section */
.events-section {
    background-image: url("Assets/bg_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
}
@media (min-width: 768px) {
    .events-section {
        background-image: url("Assets/bg_image_desktop.webp") !important;
    }
}
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}
.event-card {
    border-radius: 20px;
    padding: 30px 22px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.event-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.event-image-frame {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.event-img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}
.event-card:hover .event-img {
    transform: scale(1.12) rotate(3deg);
}

.event-card h3 {
    font-family: var(--font-script);
    font-size: 2.4rem;
    margin-bottom: 14px;
    line-height: 1.1;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-details-list {
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.event-detail-item {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--ivory-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.95;
}
.event-map-link {
    margin-top: 6px;
}
.event-map-link a {
    color: #F5D77F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.event-map-link a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(245, 215, 127, 0.8);
}

/* Event Vibes - Unique Colors & Gradients */

/* 1. Ring Ceremony - Sapphire Blue & Celestial Gold Glow */
.vibe-ring {
    background: radial-gradient(circle at top, rgba(25, 45, 80, 0.75), rgba(11, 21, 38, 0.85));
    border: 1.5px solid rgba(135, 180, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(100, 160, 255, 0.1);
}
.vibe-ring h3 {
    color: #92C2FF;
    text-shadow: 0 0 12px rgba(146, 194, 255, 0.6);
}
.vibe-ring:hover {
    border-color: #92C2FF;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(146, 194, 255, 0.4);
}

/* 2. Mehndi - Emerald Mehndi Green Glow */
.vibe-mehndi {
    background: radial-gradient(circle at top, rgba(20, 60, 38, 0.75), rgba(8, 26, 16, 0.85));
    border: 1.5px solid rgba(100, 210, 150, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(80, 200, 130, 0.1);
}
.vibe-mehndi h3 {
    color: #82EAB7;
    text-shadow: 0 0 12px rgba(130, 234, 183, 0.6);
}
.vibe-mehndi:hover {
    border-color: #82EAB7;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(130, 234, 183, 0.4);
}

/* 3. Haldi - Turmeric Sun Gold Glow */
.vibe-haldi {
    background: radial-gradient(circle at top, rgba(75, 55, 12, 0.75), rgba(30, 20, 5, 0.85));
    border: 1.5px solid rgba(255, 210, 80, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 200, 60, 0.15);
}
.vibe-haldi h3 {
    color: #FFDF6D;
    text-shadow: 0 0 12px rgba(255, 223, 109, 0.7);
}
.vibe-haldi:hover {
    border-color: #FFDF6D;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 223, 109, 0.45);
}

/* 4. Sangeet - Royal Violet & Magenta Party Glow */
.vibe-sangeet {
    background: radial-gradient(circle at top, rgba(65, 22, 70, 0.75), rgba(28, 9, 32, 0.85));
    border: 1.5px solid rgba(220, 120, 230, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(200, 100, 210, 0.1);
}
.vibe-sangeet h3 {
    color: #E89BF7;
    text-shadow: 0 0 12px rgba(232, 155, 247, 0.6);
}
.vibe-sangeet:hover {
    border-color: #E89BF7;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(232, 155, 247, 0.4);
}

/* 5. Wedding - Sacred Crimson Ruby Gold Glow */
.vibe-wedding {
    background: radial-gradient(circle at top, rgba(78, 18, 28, 0.75), rgba(32, 8, 12, 0.85));
    border: 1.5px solid rgba(240, 95, 110, 0.45);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(230, 80, 95, 0.12);
}
.vibe-wedding h3 {
    color: #FF8E9B;
    text-shadow: 0 0 12px rgba(255, 142, 155, 0.7);
}
.vibe-wedding:hover {
    border-color: #FF8E9B;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 142, 155, 0.45);
}

/* 6. Reception - Champagne Platinum Gold Glow */
.vibe-reception {
    background: radial-gradient(circle at top, rgba(55, 45, 28, 0.75), rgba(22, 18, 11, 0.85));
    border: 1.5px solid rgba(245, 215, 127, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(245, 215, 127, 0.15);
}
.vibe-reception h3 {
    color: #F7E5B5;
    text-shadow: 0 0 12px rgba(247, 229, 181, 0.7);
}
.vibe-reception:hover {
    border-color: #F7E5B5;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(247, 229, 181, 0.45);
}

/* Events Schedule — Mobile Responsive */
@media (max-width: 767px) {
    .events-section {
        padding: 70px 14px 80px 14px;
        min-height: auto;
    }
    .events-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 26px;
    }
    /* 1 card per row on mobile (2 rows total) */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin: 0 auto;
    }
    /* Mobile card sizing */
    .event-card {
        border-radius: 16px;
        padding: 24px 18px;
    }
    /* Event image frame */
    .event-image-frame {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }
    .event-img {
        max-width: 72px;
        max-height: 72px;
    }
    /* Event title */
    .event-card h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        min-height: auto;
    }
    /* Event detail rows */
    .event-details-list {
        padding-top: 12px;
        gap: 6px;
    }
    .event-detail-item {
        font-size: 0.88rem;
        gap: 6px;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 800px; }
}

/* Venue & Location Section */
.venue-section {
    background-image: url("Assets/bg4_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
}
@media (min-width: 768px) {
    .venue-section {
        background-image: url("Assets/bg4_image_desktop.webp") !important;
    }
}
.venue-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}
.venue-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.venue-card:hover {
    transform: none;
    box-shadow: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(245, 215, 127, 0.2);
    padding-bottom: 15px;
}
.header-icon {
    font-size: 2.2rem;
}
.card-header h3 {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold-bright);
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(245, 215, 127, 0.5);
}

.venue-address-box {
    margin-bottom: 22px;
}
.address-line {
    font-family: var(--font-serif);
    font-size: calc(1.05rem + 5px);
    color: var(--ivory-cream);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contacts-box {
    background: rgba(245, 215, 127, 0.06);
    border: 1px dashed rgba(245, 215, 127, 0.3);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 25px;
}
.contacts-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-bright);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.family-contact-group h5 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--gold-metallic);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(245, 215, 127, 0.15);
    padding-bottom: 3px;
}
.family-contact-group p {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: var(--ivory-cream);
    margin-bottom: 4px;
}
.family-contact-group a {
    color: var(--gold-bright);
    text-decoration: none;
    transition: color 0.2s;
}
.family-contact-group a:hover {
    color: #FFF;
    text-decoration: underline;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #F5D77F, #E5C158, #C9A66B);
    color: var(--midnight-bg);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(229, 193, 88, 0.4);
    align-self: flex-start;
}
.btn-directions:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(245, 215, 127, 0.6);
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--gold-metallic);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .venue-container {
        flex-direction: row;
        gap: 30px;
    }
    .venue-card {
        width: 50%;
    }
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Venue & Location — Mobile Responsive */
@media (max-width: 767px) {
    .venue-section {
        padding: 100px 36px 110px 36px;
        min-height: auto;
    }
    .venue-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 28px;
    }
    /* Full-width stacked column layout */
    .venue-container {
        flex-direction: column;
        gap: 22px;
        max-width: 100%;
    }
    .venue-card {
        padding: 6px 0;
    }
    /* Card header */
    .card-header {
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }
    .header-icon {
        font-size: 1.8rem;
    }
    .card-header h3 {
        font-size: 1.8rem;
    }
    /* Address */
    .venue-address-box {
        margin-bottom: 16px;
    }
    .address-line {
        font-size: calc(0.92rem + 5px);
        gap: 8px;
    }
    /* Contacts box */
    .contacts-box {
        padding: 14px;
        margin-bottom: 18px;
        border-radius: 12px;
    }
    .contacts-title {
        font-size: 0.88rem;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }
    /* Single column contacts on mobile */
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .family-contact-group h5 {
        font-size: 0.82rem;
        margin-bottom: 4px;
    }
    .family-contact-group p {
        font-size: 0.82rem;
    }
    /* Directions button — full width on mobile */
    .btn-directions {
        align-self: stretch;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    /* Map — reduced height on mobile */
    .map-frame {
        min-height: 240px;
        border-radius: 12px;
    }
    .map-frame iframe {
        height: 240px;
    }
}

/* 3D Coverflow Gallery Slider (Mobile First Optimization) */
.gallery-section {
    background-image: url("Assets/bg1_image_mobile.webp") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 15px;
}
@media (min-width: 768px) {
    .gallery-section {
        background-image: url("Assets/bg1_image_desktop.webp") !important;
    }
}

.coverflow-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    overflow: hidden;
}
.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.coverflow-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(245, 215, 127, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
    -webkit-user-drag: none;
}
.coverflow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.coverflow-slide.active {
    border-color: var(--gold-bright);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 215, 127, 0.6);
}

.coverflow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F5D77F, #E5C158);
    color: var(--midnight-bg);
    border: none;
    font-size: 0.95rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 215, 127, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.coverflow-prev { left: 5px; }
.coverflow-next { right: 5px; }
.coverflow-arrow:hover {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(245, 215, 127, 0.7);
}
.coverflow-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.coverflow-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.coverflow-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(245, 215, 127, 0.25);
    border: 1px solid var(--gold-metallic);
    cursor: pointer;
    transition: all 0.3s ease;
}
.coverflow-dots .dot.active {
    width: 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5D77F, #E5C158);
    box-shadow: 0 0 12px rgba(245, 215, 127, 0.6);
}

@media (min-width: 480px) {
    .coverflow-container { height: 380px; }
    .coverflow-slide { width: 230px; height: 320px; }
    .coverflow-arrow { width: 42px; height: 42px; font-size: 1.05rem; }
    .coverflow-prev { left: 15px; }
    .coverflow-next { right: 15px; }
}

@media (min-width: 768px) {
    .gallery-section { padding: 100px 20px; }
    .coverflow-container { height: 450px; perspective: 1000px; }
    .coverflow-slide { width: 290px; height: 380px; border-radius: 20px; }
    .coverflow-arrow { width: 48px; height: 48px; font-size: 1.15rem; }
    .coverflow-prev { left: 35px; }
    .coverflow-next { right: 35px; }
}

/* Gallery — Mobile Responsive */
@media (max-width: 767px) {
    .gallery-section {
        padding: 70px 10px 80px 10px;
        min-height: auto;
    }
    .gallery-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 28px;
    }
    /* Container — compact height for small screens */
    .coverflow-container {
        height: 310px;
        perspective: 600px;
    }
    /* Slides — smaller on mobile */
    .coverflow-slide {
        width: 175px;
        height: 245px;
        border-radius: 12px;
    }
    /* Arrows — keep them accessible but compact */
    .coverflow-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .coverflow-prev { left: 4px; }
    .coverflow-next { right: 4px; }
    /* Dots — slightly tighter */
    .coverflow-dots {
        gap: 6px;
        margin-top: 16px;
    }
    .coverflow-dots .dot {
        width: 7px;
        height: 7px;
    }
    .coverflow-dots .dot.active {
        width: 20px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 21, 38, 0.95);
    backdrop-filter: blur(10px);
}
.lightbox-content {
    margin: auto;
    display: block;
    width: 85%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--gold-metallic);
    border-radius: 10px;
    animation: zoom 0.3s;
    box-shadow: 0 0 30px rgba(245, 215, 127, 0.3);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--gold-bright);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
@keyframes zoom { from {transform:scale(0.8)} to {transform:scale(1)} }

/* Luxury RSVP Form Section */
.rsvp-section {
    background-color: transparent;
    padding: 100px 20px;
}
.rsvp-card {
    background: radial-gradient(circle at top, rgba(22, 38, 62, 0.85), rgba(11, 21, 38, 0.95));
    border: 2px solid var(--gold-metallic);
    padding: 45px 32px;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 25px rgba(245, 215, 127, 0.12), 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 215, 127, 0.25);
    position: relative;
}
.rsvp-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(245, 215, 127, 0.2);
    border-radius: 16px;
    pointer-events: none;
}
.rsvp-header {
    text-align: center;
    margin-bottom: 30px;
}
.rsvp-motif {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.rsvp-subtitle {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--ivory-cream);
    font-style: italic;
    opacity: 0.9;
}
.form-group {
    margin-bottom: 22px;
    text-align: left;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media (min-width: 580px) {
    .form-row {
        flex-direction: row;
        gap: 18px;
    }
    .form-group.half-width {
        width: 50%;
    }
}
.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(11, 21, 38, 0.65);
    border: 1.5px solid rgba(245, 215, 127, 0.3);
    color: var(--ivory-cream);
    border-radius: 12px;
    font-family: var(--font-serif);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F5D77F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}
.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(255, 248, 237, 0.5);
    font-style: italic;
}
.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-bright);
    background: rgba(15, 27, 47, 0.85);
    box-shadow: 0 0 18px rgba(245, 215, 127, 0.45);
}
.form-group select option {
    background-color: var(--midnight-bg);
    color: var(--ivory-cream);
    padding: 10px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #F5D77F, #E5C158, #C9A66B);
    color: var(--midnight-bg);
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(229, 193, 88, 0.4);
    margin-top: 10px;
}
.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(245, 215, 127, 0.6);
}
.btn-submit:active {
    transform: scale(0.97);
}
/* RSVP Confirmation & Greeting Card */
.rsvp-success-card {
    text-align: center;
    padding: 20px 10px;
    animation: fadeInScale 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.success-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
}
.greeting-title {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold-bright);
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(245, 215, 127, 0.5);
}
.greeting-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--ivory-cream);
    line-height: 1.6;
    margin-bottom: 25px;
}
.rsvp-summary-box {
    background: rgba(245, 215, 127, 0.08);
    border: 1px dashed rgba(245, 215, 127, 0.4);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 0.98rem;
}
.summary-label {
    color: var(--gold-metallic);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.summary-val {
    color: var(--gold-bright);
    font-weight: 700;
}

.btn-resubmit {
    background: transparent;
    border: 1.5px solid var(--gold-metallic);
    color: var(--gold-bright);
    padding: 12px 26px;
    border-radius: 25px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-resubmit:hover {
    background: rgba(245, 215, 127, 0.15);
    box-shadow: 0 0 15px rgba(245, 215, 127, 0.4);
    transform: translateY(-2px);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* RSVP Section — Mobile Responsive */
@media (max-width: 767px) {
    .rsvp-section {
        padding: 70px 16px 80px 16px;
        min-height: auto;
    }
    /* Card — full width, tighter padding */
    .rsvp-card {
        padding: 30px 20px 28px 20px;
        border-radius: 18px;
        max-width: 100%;
    }
    /* Header */
    .rsvp-header {
        margin-bottom: 22px;
    }
    .rsvp-motif {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    .rsvp-section .section-title {
        font-size: 2.6rem;
    }
    .rsvp-subtitle {
        font-size: 0.88rem;
    }
    /* Form groups */
    .form-group {
        margin-bottom: 16px;
    }
    .form-label {
        font-size: 0.82rem;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.92rem;
        border-radius: 10px;
    }
    .form-group select {
        padding-right: 36px;
        background-position: right 12px center;
    }
    /* Submit button */
    .btn-submit {
        padding: 14px;
        font-size: 0.92rem;
        letter-spacing: 1.5px;
        border-radius: 25px;
        margin-top: 6px;
    }
    /* Success card */
    .success-icon {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    .greeting-title {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    .greeting-text {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    .rsvp-summary-box {
        padding: 12px 16px;
        margin-bottom: 18px;
        border-radius: 12px;
    }
    .summary-item {
        font-size: 0.85rem;
    }
    .btn-resubmit {
        padding: 10px 20px;
        font-size: 0.82rem;
        letter-spacing: 1px;
    }
}

/* Luxury Royal Gold Footer */
.footer-section {
    position: relative;
    background: radial-gradient(circle at top, rgba(15, 27, 47, 0.98), rgba(8, 16, 28, 1));
    border-top: 2px solid var(--gold-metallic);
    padding: 45px 20px 25px 20px;
    text-align: center;
    overflow: hidden;
}
.footer-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-to-top-btn {
    background: rgba(245, 215, 127, 0.1);
    border: 1px solid var(--gold-metallic);
    color: var(--gold-bright);
    padding: 9px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.back-to-top-btn:hover {
    background: linear-gradient(135deg, #F5D77F, #E5C158);
    color: var(--midnight-bg);
    box-shadow: 0 5px 20px rgba(245, 215, 127, 0.5);
    transform: translateY(-3px);
}

.footer-blessing {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.footer-couple-names {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
    text-shadow: 0 0 15px rgba(245, 215, 127, 0.5);
}
.footer-wedding-tag {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: var(--gold-metallic);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-copyright {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: var(--gold-metallic);
    opacity: 0.85;
    border-top: 1px solid rgba(245, 215, 127, 0.15);
    padding-top: 16px;
    width: 100%;
}
.footer-designer-link {
    color: var(--gold-bright);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.footer-designer-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(245, 215, 127, 0.8);
}

/* Footer — Mobile Responsive */
@media (max-width: 767px) {
    .footer-section {
        padding: 32px 16px 20px 16px;
    }
    /* Back to Top button */
    .back-to-top-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }
    /* Blessing quote */
    .footer-blessing {
        font-size: 1.25rem;
        margin-bottom: 4px;
        line-height: 1.35;
    }
    /* Couple names */
    .footer-couple-names {
        font-size: 2.1rem;
        margin-bottom: 3px;
    }
    /* Date & venue tag */
    .footer-wedding-tag {
        font-size: 0.78rem;
        letter-spacing: 1.2px;
        margin-bottom: 14px;
    }
    /* Copyright line */
    .footer-copyright {
        font-size: 0.78rem;
        padding-top: 12px;
    }
}

/* Animation utilities for GSAP */
.fade-up { opacity: 0; transform: translateY(30px); }
.fade-in { opacity: 0; }

/* Floating Premium Preview Mode Payment Banner */
.preview-payment-banner {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: calc(100% - 50px);
    max-width: 380px;
    background: rgba(11, 21, 38, 0.92);
    border: 1.5px solid var(--gold-metallic);
    border-radius: 18px;
    padding: 20px 22px 18px 22px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 215, 127, 0.3);
    z-index: 99999;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.preview-payment-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.close-payment-banner {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: var(--ivory-cream);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
    padding: 4px 8px;
}
.close-payment-banner:hover {
    opacity: 1;
    color: var(--gold-bright);
    transform: scale(1.15);
}

.payment-banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.banner-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(245, 215, 127, 0.15), rgba(229, 193, 88, 0.25));
    border: 1px solid var(--gold-metallic);
    padding: 4px 12px;
    border-radius: 20px;
}
.banner-header-badge .lock-icon {
    font-size: 0.85rem;
}
.banner-header-badge .badge-title {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-bright);
    text-transform: uppercase;
}

.banner-message {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: var(--ivory-cream);
    line-height: 1.45;
    margin: 0;
    opacity: 0.95;
}

.btn-payment-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #F5D77F, #E5C158, #C9A66B);
    color: var(--midnight-bg);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 215, 127, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.btn-payment-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.5);
    color: #000;
}
.btn-payment-cta .btn-arrow {
    transition: transform 0.3s ease;
}
.btn-payment-cta:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .preview-payment-banner {
        bottom: 15px;
        left: 15px;
        right: 15px;
        width: auto;
        max-width: none;
        padding: 16px 18px 14px 18px;
        border-radius: 16px;
    }
    .banner-message {
        font-size: 0.86rem;
    }
    .btn-payment-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}
