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

        html, body { overflow-x: hidden; }

        body {
            font-family: 'Cormorant Garamond', serif;
            background: linear-gradient(135deg, #e8f4ff 0%, #ffe5f0 35%, #e5f5ff 70%, #fff0e8 100%);
            background-size: 200% 200%;
            animation: gradientShift 20s ease infinite;
            min-height: 100vh;
            overflow: hidden;
            position: relative;
            color: #4a4a6a;
            -webkit-tap-highlight-color: transparent;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* Soft colored blobs floating in background */
        .blob {
            position: fixed;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.55;
            pointer-events: none;
            z-index: 1;
            animation: blobFloat 20s ease-in-out infinite;
        }

        .blob-1 {
            width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(255, 180, 200, 0.8) 0%, transparent 70%);
            top: -150px; left: -150px;
            animation-delay: 0s;
        }

        .blob-2 {
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(150, 200, 255, 0.7) 0%, transparent 70%);
            bottom: -200px; right: -200px;
            animation-delay: -7s;
        }

        .blob-3 {
            width: 450px; height: 450px;
            background: radial-gradient(circle, rgba(255, 210, 180, 0.65) 0%, transparent 70%);
            top: 40%; right: 10%;
            animation-delay: -14s;
        }

        .blob-4 {
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(200, 180, 255, 0.6) 0%, transparent 70%);
            bottom: 20%; left: 15%;
            animation-delay: -10s;
        }

        @keyframes blobFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(40px, -50px) scale(1.1); }
            66% { transform: translate(-30px, 30px) scale(0.95); }
        }

        /* Subtle grain */
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            opacity: 0.035;
            pointer-events: none;
            z-index: 2;
            mix-blend-mode: overlay;
        }

        /* Floating sparkles */
        .sparkles-bg {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 3;
            overflow: hidden;
        }

        .sparkle {
            position: absolute;
            opacity: 0;
            animation: floatUp linear infinite;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
            /* Force text rendering for emoji-style glyphs (☀ ☁ ❄ etc.)
               so they take our white color instead of becoming colored emoji */
            font-variant-emoji: text;
            -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
        }

        @keyframes floatUp {
            0% {
                transform: translateY(-20vh) translateX(0) scale(0.4);
                opacity: 0;
            }
            10% { opacity: 0.7; }
            90% { opacity: 0.7; }
            100% {
                transform: translateY(110vh) translateX(var(--drift)) scale(1);
                opacity: 0;
            }
        }

        /* Main container */
        .container {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        /* Glass card */
        .card {
            position: relative;
            text-align: center;
            max-width: 560px;
            width: 100%;
            padding: 3.5rem 2.5rem;
            background: rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 32px;
            box-shadow:
                    0 8px 32px rgba(100, 100, 150, 0.12),
                    0 2px 8px rgba(100, 100, 150, 0.08),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9),
                    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
            animation: cardAppear 1.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 32px;
            background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.1) 100%);
            pointer-events: none;
        }

        @keyframes cardAppear {
            0% { opacity: 0; transform: translateY(30px) scale(0.95); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .decorative-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.3s forwards;
            position: relative;
        }

        .decorative-line span {
            font-family: 'Parisienne', cursive;
            font-size: 1.1rem;
            color: #6a6a8a;
            letter-spacing: 0.1em;
        }

        .decorative-line::before,
        .decorative-line::after {
            content: '';
            height: 1px;
            width: 50px;
            background: linear-gradient(to right, transparent, rgba(106, 106, 138, 0.5), transparent);
        }

        .names {
            font-family: 'Parisienne', cursive;
            font-size: clamp(1.5rem, 4.5vw, 2.4rem);
            color: #4a4a6a;
            margin-bottom: 0.5rem;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.5s forwards;
            line-height: 1.1;
            position: relative;
        }

        .question {
            font-family: 'Cormorant Garamond', serif;
            font-weight: 300;
            font-style: italic;
            font-size: clamp(2rem, 5.5vw, 3.2rem);
            color: #3a3a5a;
            line-height: 1.3;
            margin-bottom: 2.5rem;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.8s forwards;
            position: relative;
        }

        .question .big-word {
            font-family: 'Parisienne', cursive;
            font-style: normal;
            color: #5a4a8a;
            font-size: 1.15em;
            display: inline-block;
            position: relative;
        }

        .question .big-word::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 10%;
            width: 80%;
            height: 2px;
            background: linear-gradient(to right, transparent, rgba(90, 74, 138, 0.5), transparent);
        }

        @keyframes fadeIn { to { opacity: 1; } }

        /* Buttons */
        .buttons {
            position: relative;
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            min-height: 80px;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.1s forwards;
        }

        .btn {
            font-family: 'Caveat', cursive;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            position: relative;
            outline: none;
        }

        /* YES - dark glass button */
        .btn-yes {
            padding: 1rem 3rem;
            font-size: 1.65rem;
            background: rgba(80, 80, 120, 0.85);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            color: white;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow:
                    0 4px 20px rgba(80, 80, 120, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3),
                    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
            letter-spacing: 0.05em;
        }

        .btn-yes:hover {
            transform: translateY(-3px) scale(1.05);
            background: rgba(70, 70, 110, 0.9);
            box-shadow:
                    0 8px 30px rgba(80, 80, 120, 0.45),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4),
                    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
        }

        .btn-yes:active { transform: translateY(-1px) scale(1.02); }

        /* NO - light glass button */
        .btn-no {
            padding: 0.65rem 1.8rem;
            font-size: 1.1rem;
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            color: #5a5a7a;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow:
                    0 2px 10px rgba(100, 100, 150, 0.12),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
            transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.15s ease, top 0.15s ease, opacity 0.2s ease;
        }

        .btn-no.initial {
            padding: 1rem 2.5rem;
            font-size: 1.5rem;
        }

        /* Hint text */
        .hint {
            margin-top: 2.5rem;
            font-family: 'Caveat', cursive;
            font-size: 1.05rem;
            color: #6a6a8a;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.5s forwards, hintPulse 3s ease-in-out 2.5s infinite;
            position: relative;
        }

        @keyframes hintPulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 0.9; }
        }

        /* Corner decorations */
        .corner-deco {
            position: fixed;
            font-family: 'Parisienne', cursive;
            color: rgba(90, 90, 130, 0.35);
            font-size: 1rem;
            z-index: 4;
            pointer-events: none;
        }

        .corner-deco.top-left { top: 2rem; left: 2rem; }
        .corner-deco.top-right { top: 2rem; right: 2rem; }
        .corner-deco.bottom-left { bottom: 2rem; left: 2rem; }
        .corner-deco.bottom-right { bottom: 2rem; right: 2rem; }

        /* Yes clicked - celebration */
        .celebration {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            background: linear-gradient(135deg, #e8f4ff 0%, #ffe5f0 35%, #e5f5ff 70%, #fff0e8 100%);
            background-size: 200% 200%;
            animation: gradientShift 20s ease infinite;
            opacity: 0;
            pointer-events: none;
            transition: opacity 1.2s ease;
            padding: 2rem;
        }

        .celebration.active {
            opacity: 1;
            pointer-events: all;
        }

        .celebration-content {
            text-align: center;
            transform: scale(0.8);
            transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
            position: relative;
            z-index: 10;
            max-width: 900px;
            width: 100%;
        }

        .celebration.active .celebration-content { transform: scale(1); }

        .celebration-card {
            background: rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 32px;
            padding: 3rem 2rem;
            box-shadow:
                    0 8px 32px rgba(100, 100, 150, 0.12),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .celebration-title {
            font-family: 'Parisienne', cursive;
            font-size: clamp(3rem, 10vw, 5.5rem);
            color: #4a4a6a;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .celebration-subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(1.25rem, 3vw, 1.65rem);
            color: #5a5a7a;
            margin-bottom: 2.5rem;
        }

        .video-container {
            max-width: 780px;
            width: 100%;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 10px 40px rgba(100, 100, 150, 0.15);
            overflow: hidden;
        }

        /* When the container has no video yet (placeholder shown), give it 16:9 aspect ratio */
        .video-container:not(:has(video)):not(:has(iframe)) {
            aspect-ratio: 16 / 9;
        }

        /* Real video/iframe fills container fully, no cropping.
           Uses !important to beat any inline width/height/object-fit you might leave in the HTML. */
        .video-container video,
        .video-container iframe {
            display: block !important;
            width: auto !important;
            height: auto !important;
            max-width: 100% !important;
            max-height: 70vh !important;
            object-fit: contain !important;
            border-radius: 20px !important;
            border: none !important;
            outline: none !important;
            background: #000;
        }

        .video-placeholder {
            font-family: 'Caveat', cursive;
            font-size: 1.5rem;
            color: #6a6a8a;
            text-align: center;
            padding: 2rem;
        }

        .video-placeholder .heart-emoji {
            font-size: 3rem;
            display: block;
            margin-bottom: 1rem;
            animation: heartBeat 1.5s ease-in-out infinite;
        }

        @keyframes heartBeat {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        /* Confetti */
        .confetti {
            position: fixed;
            font-size: 2rem;
            pointer-events: none;
            z-index: 101;
            animation: confettiFall 3s ease-out forwards;
        }

        @keyframes confettiFall {
            0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
            100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
        }

        /* Mobile adjustments */
        @media (max-width: 640px) {
            .card {
                padding: 2.5rem 1.5rem;
                border-radius: 24px;
            }
            .corner-deco { font-size: 0.85rem; }
            .corner-deco.top-left, .corner-deco.bottom-left { left: 1rem; }
            .corner-deco.top-right, .corner-deco.bottom-right { right: 1rem; }
            .corner-deco.top-left, .corner-deco.top-right { top: 1rem; }
            .corner-deco.bottom-left, .corner-deco.bottom-right { bottom: 1rem; }

            .buttons { gap: 1.25rem; }
            .hint { margin-top: 2rem; }

            .blob-1, .blob-2, .blob-3, .blob-4 {
                width: 350px;
                height: 350px;
            }

            .celebration-card { padding: 2rem 1.25rem; }
        }

        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* ===== Sweeping silhouette ===== */
        .sweeper {
            position: fixed;
            bottom: 0;
            left: -120px;
            width: 110px;
            height: 140px;
            z-index: 5;
            pointer-events: none;
            color: #4a4a6a;
            opacity: 0;
            animation: sweeperWalk 28s linear 20s 1 forwards, sweeperFadeIn 1s ease-out 20s forwards;
            transform-origin: bottom center;
        }

        @keyframes sweeperFadeIn {
            from { opacity: 0; }
            to   { opacity: 0.55; }
        }

        /* Walk right across screen, flip, walk back */
        @keyframes sweeperWalk {
            0%, 100% { left: -120px; transform: scaleX(1); }
            48%      { left: calc(100vw + 10px); transform: scaleX(1); }
            50%      { left: calc(100vw + 10px); transform: scaleX(-1); }
            98%      { left: -120px; transform: scaleX(-1); }
        }

        /* Subtle bobbing while walking */
        .sweeper-svg {
            display: block;
            width: 100%;
            height: 100%;
            animation: sweeperBob 0.7s ease-in-out 20s 40 forwards;
            transform-origin: bottom center;
            overflow: visible;
        }
        @keyframes sweeperBob {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(-2px); }
        }

        /* Front leg swings forward/back */
        .sw-leg-front {
            animation: swLegFront 0.7s ease-in-out 20s 40 forwards;
            transform-origin: 50px 70px;
        }
        @keyframes swLegFront {
            0%, 100% { transform: rotate(15deg); }
            50%      { transform: rotate(-15deg); }
        }

        /* Back leg swings opposite */
        .sw-leg-back {
            animation: swLegBack 0.7s ease-in-out 20s 40 forwards;
            transform-origin: 50px 70px;
        }
        @keyframes swLegBack {
            0%, 100% { transform: rotate(-15deg); }
            50%      { transform: rotate(15deg); }
        }

        /* Broom arm sweeps in arc */
        .sw-broom {
            animation: swBroom 0.7s ease-in-out 20s 40 forwards;
            transform-origin: 50px 38px;
        }
        @keyframes swBroom {
            0%, 100% { transform: rotate(-18deg); }
            50%      { transform: rotate(18deg); }
        }

        /* White dust particles - bigger and more visible */
        .sw-dust {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.95);
            box-shadow:
                0 0 10px rgba(255, 255, 255, 0.9),
                0 0 20px rgba(255, 255, 255, 0.5);
            opacity: 0;
            pointer-events: none;
            mix-blend-mode: screen;
        }
        .sw-dust-1 {
            right: 6px;
            bottom: 14px;
            width: 9px;
            height: 9px;
            animation: dustPuff1 1.4s ease-out 20s 20 forwards;
        }
        .sw-dust-2 {
            right: -2px;
            bottom: 20px;
            width: 7px;
            height: 7px;
            animation: dustPuff2 1.4s ease-out calc(20s + 0.3s) 20 forwards;
        }
        .sw-dust-3 {
            right: 16px;
            bottom: 10px;
            width: 8px;
            height: 8px;
            animation: dustPuff3 1.4s ease-out calc(20s + 0.6s) 20 forwards;
        }
        .sw-dust-4 {
            right: 2px;
            bottom: 24px;
            width: 5px;
            height: 5px;
            animation: dustPuff1 1.4s ease-out calc(20s + 0.9s) 20 forwards;
        }
        .sw-dust-5 {
            right: 12px;
            bottom: 18px;
            width: 6px;
            height: 6px;
            animation: dustPuff2 1.4s ease-out calc(20s + 1.1s) 20 forwards;
        }
        @keyframes dustPuff1 {
            0%   { opacity: 0; transform: translate(0, 0) scale(0.3); }
            15%  { opacity: 1; }
            60%  { opacity: 0.8; }
            100% { opacity: 0; transform: translate(22px, -40px) scale(2); }
        }
        @keyframes dustPuff2 {
            0%   { opacity: 0; transform: translate(0, 0) scale(0.3); }
            15%  { opacity: 1; }
            60%  { opacity: 0.8; }
            100% { opacity: 0; transform: translate(32px, -32px) scale(2.2); }
        }
        @keyframes dustPuff3 {
            0%   { opacity: 0; transform: translate(0, 0) scale(0.3); }
            15%  { opacity: 1; }
            60%  { opacity: 0.8; }
            100% { opacity: 0; transform: translate(16px, -48px) scale(1.8); }
        }

        @media (max-width: 640px) {
            .sweeper {
                width: 80px;
                height: 110px;
            }
            @keyframes sweeperFadeIn {
                from { opacity: 0; }
                to   { opacity: 0.5; }
            }
        }

        /* Safari backdrop-filter fallback */
        @supports not (backdrop-filter: blur(30px)) {
            .card, .celebration-card {
                background: rgba(255, 255, 255, 0.75);
            }
            .btn-yes { background: rgba(80, 80, 120, 0.95); }
            .btn-no { background: rgba(255, 255, 255, 0.85); }
            .video-container { background: rgba(255, 255, 255, 0.6); }
        }

/* ====================================================================
   Burger menu (site navigation)
   ==================================================================== */
/* ===== Burger button ===== */
.menu-btn {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 50;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    box-shadow:
        0 4px 16px rgba(100, 100, 150, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
    padding: 0;
    outline: none;
}
.menu-btn.menu-show {
    opacity: 1;
    transform: translateY(0);
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.7); }

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #4a4a6a;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animate to X when open */
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Slide-out menu panel ===== */
.menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    max-width: 80vw;
    z-index: 49;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 4px 0 30px rgba(100, 100, 150, 0.12);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
}
.menu-panel.open { transform: translateX(0); }

.menu-section-title {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: #6a6a8a;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
.menu-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.menu-list li { margin-bottom: 0.1rem; }
.menu-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 1.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #4a4a6a;
    background: none;
    border: none;
    border-left: 2px solid rgba(122, 122, 196, 0.25);
    border-radius: 0;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
    text-align: left;
}
.menu-link:hover {
    color: #5a4a8a;
    border-color: rgba(122, 122, 196, 0.7);
    padding-left: 1.6rem;
}
.menu-link .menu-ico { font-size: 1.1rem; opacity: 0.8; }

/* Backdrop dimmer */
.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgba(60, 60, 90, 0.15);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
    .menu-btn { top: 1rem; left: 1rem; }
}

@media (max-width: 640px) {
    .menu-btn { top: 1rem; left: 1rem; }
}
