        :root {
            /* ===== Black & White Premium — Token System ===== */
            --primary: #1a1a1a;
            --primary-dark: #0d0d0d;
            --secondary: #f5f5f5;
            --gold: #1a1a1a;
            --gold-soft: #333333;
            --gold-light: #666666;
            --text-dark: #1a1a1a;
            --text-muted: #666666;
            --white: #ffffff;
            --champagne: #f0f0f0;
            --ivory: #fafafa;

            --shadow-soft: 0 10px 35px rgba(0, 0, 0, 0.08);
            --shadow-lift: 0 18px 45px rgba(0, 0, 0, 0.12);
            --shadow-gold: 0 8px 26px rgba(0, 0, 0, 0.2);

            --font-display: 'Playfair Display', serif;
            --font-script: 'Great Vibes', cursive;
            --font-body: 'Poppins', sans-serif;
            --font-elegant: 'Cormorant Garamond', serif;

            --ease-premium: cubic-bezier(.19, 1, .22, 1);
            --ease-soft: cubic-bezier(.22, .9, .32, 1.1);
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-body);
            background-color: var(--secondary);
            color: var(--text-dark);
            overflow-x: hidden;
            overflow-y: hidden;
            line-height: 1.7;
            text-rendering: optimizeSpeed;
            -webkit-font-smoothing: antialiased;
        }

        :focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
            border-radius: 4px;
        }

        ::selection { background: var(--primary); color: var(--white); }

        .container {
            max-width: 500px;
            margin: 0 auto;
            background-color: var(--white);
            /* ===== Premium Modern Batik Pattern — Kawung + Parang + Luxury Geometry ===== */
            background-image:
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cdefs%3E%3Cpattern id='batikPremium' x='0' y='0' width='240' height='240' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0 L240 240' stroke='%231a1a1a' stroke-width='0.4' stroke-opacity='0.035'/%3E%3Cpath d='M0 80 L160 240' stroke='%231a1a1a' stroke-width='0.4' stroke-opacity='0.03'/%3E%3Cpath d='M80 0 L240 160' stroke='%231a1a1a' stroke-width='0.4' stroke-opacity='0.03'/%3E%3Cpath d='M-40 40 L120 200' stroke='%23333333' stroke-width='0.3' stroke-opacity='0.025'/%3E%3Cpath d='M120 -40 L280 120' stroke='%23333333' stroke-width='0.3' stroke-opacity='0.025'/%3E%3Cg transform='translate(60,60)'%3E%3Ccircle cx='0' cy='-15' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='0' cy='15' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='-15' cy='0' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='15' cy='0' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='0' cy='0' r='4' fill='%231a1a1a' fill-opacity='0.03'/%3E%3C/g%3E%3Cg transform='translate(180,180)'%3E%3Ccircle cx='0' cy='-15' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='0' cy='15' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='-15' cy='0' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='15' cy='0' r='14' fill='none' stroke='%23000000' stroke-width='0.35' stroke-opacity='0.04'/%3E%3Ccircle cx='0' cy='0' r='4' fill='%231a1a1a' fill-opacity='0.03'/%3E%3C/g%3E%3Cpath d='M120 40 L138 58 L120 76 L102 58 Z' fill='none' stroke='%23333333' stroke-width='0.3' stroke-opacity='0.035'/%3E%3Cpath d='M40 164 L58 182 L40 200 L22 182 Z' fill='none' stroke='%23333333' stroke-width='0.3' stroke-opacity='0.035'/%3E%3Cpath d='M200 104 L218 122 L200 140 L182 122 Z' fill='none' stroke='%23333333' stroke-width='0.3' stroke-opacity='0.035'/%3E%3Ccircle cx='120' cy='120' r='1.4' fill='%23000000' fill-opacity='0.03'/%3E%3Ccircle cx='0' cy='120' r='1.2' fill='%23000000' fill-opacity='0.025'/%3E%3Ccircle cx='240' cy='120' r='1.2' fill='%23000000' fill-opacity='0.025'/%3E%3Ccircle cx='120' cy='0' r='1.2' fill='%23000000' fill-opacity='0.025'/%3E%3Ccircle cx='120' cy='240' r='1.2' fill='%23000000' fill-opacity='0.025'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='240' height='240' fill='url(%23batikPremium)'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 240px 240px;
            position: relative;
            box-shadow: 0 0 40px rgba(0,0,0,0.06);
            min-height: 100vh;
            padding-bottom: 90px;
            overflow: hidden;
        }

        h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--primary-dark); }

        .text-script { font-family: var(--font-script); color: var(--primary); font-weight: 400; }

        p { color: var(--text-dark); }

        /* ===== EYEBROW / LABELS ===== */
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.7rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 8px;
        }
        .eyebrow::before, .eyebrow::after { content: ''; width: 18px; height: 1px; background: var(--primary); }

        .gold-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 14px auto 22px;
            width: 140px;
        }
        .gold-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
        .gold-divider i { color: var(--primary); font-size: 0.55rem; }

        /* ===== BUTTON — premium black & white ===== */
        .btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--white);
            padding: 13px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.82rem;
            letter-spacing: 1px;
            box-shadow: var(--shadow-soft);
            transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease;
            border: 1px solid rgba(255,255,255,0.1);
            cursor: pointer;
            overflow: hidden;
            isolation: isolate;
            will-change: transform;
        }
        .btn::before {
            content: '';
            position: absolute;
            top: 0; left: -120%;
            width: 60%; height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
            transform: skewX(-20deg);
            animation: shineSweep 3.2s ease-in-out infinite;
            will-change: left;
        }
        @keyframes shineSweep {
            0% { left: -120%; }
            45%, 100% { left: 140%; }
        }
        .btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lift); }
        .btn .ripple-el {
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: scale(0);
            animation: rippleAnim 0.6s ease-out forwards;
            pointer-events: none;
            will-change: transform, opacity;
        }
        @keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

        .btn-gold { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); border-color: rgba(255,255,255,0.2); font-weight: 600; }

        /* ===== SCROLL PROGRESS ===== */
        #scrollProgress {
            position: fixed; top: 0; left: 0; height: 3px; width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--gold-soft));
            transform: scaleX(0); transform-origin: left;
            z-index: 1500;
            box-shadow: 0 0 8px rgba(0,0,0,0.3);
            will-change: transform;
        }

        /* ===== HERO ===== */
        .decoration { position: absolute; width: 150px; z-index: 4; pointer-events: none; opacity: 0.85; }
        .flower-top-left { top: -10px; left: -10px; transform: rotate(180deg); }
        .flower-top-right { top: -10px; right: -10px; transform: scaleX(-1) rotate(180deg); }
        .flower-bottom-left { bottom: -10px; left: -10px; }
        .flower-bottom-right { bottom: -10px; right: -10px; transform: scaleX(-1); }

        .hero-decor { opacity: 0; animation: fadeInDecor 1s ease-out forwards; }
        .hero-decor.delay-1 { animation-delay: 0.4s; }
        .hero-decor.delay-2 { animation-delay: 0.55s; }
        .hero-decor.delay-3 { animation-delay: 0.7s; }
        .hero-decor.delay-4 { animation-delay: 0.85s; }
        @keyframes fadeInDecor { to { opacity: 0.85; } }

        /* ===== PREMIUM BLACK & WHITE SVG SECTION PATTERNS (menggantikan background foto b1-b7) ===== */
        #hero, #home, .mempelai-section, .ayat-section, #gallery, #rsvp {
            background-color: #0d0d0d;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.6'%3E%3Cpath d='M100 0 L200 100 L100 200 L0 100 Z' stroke-opacity='0.055'/%3E%3Cpath d='M100 40 L160 100 L100 160 L40 100 Z' stroke-opacity='0.045'/%3E%3Cpath d='M0 0 L200 200 M200 0 L0 200' stroke-opacity='0.03'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='2.6' fill='%23ffffff' fill-opacity='0.05'/%3E%3Ccircle cx='0' cy='0' r='1.6' fill='%23ffffff' fill-opacity='0.04'/%3E%3Ccircle cx='200' cy='0' r='1.6' fill='%23ffffff' fill-opacity='0.04'/%3E%3Ccircle cx='0' cy='200' r='1.6' fill='%23ffffff' fill-opacity='0.04'/%3E%3Ccircle cx='200' cy='200' r='1.6' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 200px 200px;
        }
        .event-section {
            background-color: #fafafa;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%231a1a1a' stroke-width='0.6'%3E%3Cpath d='M100 0 L200 100 L100 200 L0 100 Z' stroke-opacity='0.05'/%3E%3Cpath d='M100 40 L160 100 L100 160 L40 100 Z' stroke-opacity='0.04'/%3E%3Cpath d='M0 0 L200 200 M200 0 L0 200' stroke-opacity='0.025'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='2.6' fill='%231a1a1a' fill-opacity='0.04'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 200px 200px;
        }

        #hero {
            position: fixed; inset: 0; z-index: 9999;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center;
            transition: transform 0.9s var(--ease-premium), opacity 0.5s ease;
            padding: 0 24px;
            overflow: hidden;
            will-change: transform;
        }
        .hero-bg-zoom {
            position: absolute; inset: -5%;
            background: inherit;
            background-size: 200px 200px; background-position: center;
            z-index: -2;
        }

        .aurora-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.15; z-index: -1; pointer-events: none; will-change: transform; }
        .aurora-1 { width: 260px; height: 260px; background: rgba(255,255,255,0.3); top: -60px; left: -60px; animation: auroraMove 14s ease-in-out infinite alternate; }
        .aurora-2 { width: 220px; height: 220px; background: rgba(255,255,255,0.2); bottom: -40px; right: -40px; animation: auroraMove 18s ease-in-out infinite alternate-reverse; }
        @keyframes auroraMove { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(25px,-15px,0) scale(1.15); } }

        .particle {
            position: absolute; bottom: -10px;
            width: 4px; height: 4px; border-radius: 50%;
            background: rgba(255,255,255,0.8);
            opacity: 0; pointer-events: none;
            animation-name: floatParticle;
            animation-timing-function: ease-in;
            animation-iteration-count: infinite;
            box-shadow: 0 0 6px 1px rgba(255,255,255,0.5);
            will-change: transform, opacity;
        }
        @keyframes floatParticle {
            0% { transform: translate3d(0,0,0); opacity: 0; }
            10% { opacity: 0.7; }
            90% { opacity: 0.4; }
            100% { transform: translate3d(20px,-100vh,0); opacity: 0; }
        }

        .hero-glass-card {
            position: relative; z-index: 2;
            background: rgba(255,255,255,.08);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255,255,255,.3);
            border-radius: 28px;
            padding: 34px 26px 30px;
            box-shadow: 0 25px 70px rgba(0,0,0,.35);
        }

        .hero-img-frame {
            width: 168px; height: 232px;
            border-radius: 18px;
            border: 2px solid rgba(255,255,255,0.5);
            box-shadow: 0 0 0 6px rgba(255,255,255,0.05), 0 15px 40px rgba(0,0,0,0.4);
            overflow: hidden;
            margin: 0 auto 18px;
            position: relative;
        }
        .hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }

        .hero-monogram { font-family: var(--font-script); color: rgba(255,255,255,0.8); font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 2px; }

        .hero-title {
            font-size: 1.38rem;
            font-weight: 600;
            margin: 10px 0 16px;
            color: var(--white);
            line-height: 1.42;
            letter-spacing: 0.9px;
            text-shadow: 0 4px 18px rgba(0,0,0,0.5);
        }

        .guest-tag { font-size: 0.78rem; margin-bottom: 3px; font-style: italic; color: rgba(255,255,255,0.8); font-family: var(--font-elegant); letter-spacing: 1px; text-transform: uppercase; }
        .guest-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; color: rgba(255,255,255,0.92); font-family: var(--font-display); }

        .hero-anim { opacity: 0; transform: translateY(34px); animation: fadeUpHero 1s var(--ease-soft) forwards; }
        .hero-anim.delay-1 { animation-delay: 0.35s; }
        .hero-anim.delay-2 { animation-delay: 0.55s; }
        .hero-anim.delay-3 { animation-delay: 0.75s; }
        .hero-anim.delay-4 { animation-delay: 0.95s; }
        @keyframes fadeUpHero { to { opacity: 1; transform: translateY(0); } }

        .hero-open { transform: translateY(-100vh); opacity: 0; }

        section { padding: 30px 15px; position: relative; text-align: center; }
        #home { padding-top: 44px; padding-bottom: 6px; }

        #home .gold-divider span { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); }
        #home .gold-divider i { color: rgba(255,255,255,0.85); }
        #home img[alt="Bismillah"] { filter: brightness(0) invert(1); opacity: 0.85 !important; }
        #home h3 { color: var(--white); }
        #home > p.reveal { color: rgba(255,255,255,0.85); }

        .section-header img { width: 110px; margin-bottom: 14px; }

        /* ===== MEMPELAI — floating luxury frame ===== */
        .couple-card { margin: 10px 0; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }

        /* ===== ORNAMEN WAYANG — dekorasi Jawa, di belakang foto, ringan ===== */
        .wayang-decor {
            position: absolute;
            top: 50%;
            width: 120px;
            max-width: 58vw;
            z-index: 0;
            opacity: 0;
            pointer-events: none;
            filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
            transition: transform 1s var(--ease-soft), opacity 1s ease;
            will-change: transform, opacity;
        }
        .wayang-left { left: -58px; transform: translateY(-50%) translateX(-22px); }
        .wayang-right { right: -58px; transform: translateY(-50%) translateX(22px); }
        .wayang-decor.active.wayang-left { opacity: 0.55; transform: translateY(-50%) translateX(0); }
        .wayang-decor.active.wayang-right { opacity: 0.55; transform: translateY(-50%) translateX(0); }

        .photo-frame-wrapper {
            position: relative;
            display: inline-block;
            width: 190px; height: 290px;
            margin: 46px auto 26px;
            overflow: visible;
            transition: transform 0.4s var(--ease-soft);
        }
        .frame-glow {
            position: absolute; inset: -14px;
            border-radius: 50px;
            background: radial-gradient(circle, rgba(0,0,0,0.15), transparent 70%);
            filter: blur(14px);
            z-index: 0;
            animation: glowPulse 4s ease-in-out infinite;
            will-change: opacity;
        }
        @keyframes glowPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 0.8; } }

        .photo-frame-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    transform: scale(1.2);
}
        .photo-frame-inner {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            object-fit: cover; z-index: 1;
            border-radius: 20px;
            border: 1px solid rgba(0,0,0,0.2);
            box-shadow: var(--shadow-lift);
        }

        .couple-name { font-size: 1.7rem; color: var(--white); margin-bottom: 4px; font-family: var(--font-script); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
        .couple-parents { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 6px; font-family: var(--font-elegant); font-style: italic; }

        .divider-and { font-family: var(--font-script); font-size: 2.3rem; margin: 18px 0; color: var(--white); font-weight: 400; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

        /* ===== AYAT ===== */
        .ayat-section {
            color: var(--white);
            padding: 54px 28px;
            position: relative;
            margin-top: 0;
            overflow: hidden;
        }
        .ayat-flower { width: 46px; height: auto; margin: 0 auto 14px; opacity: 0.85; display: block; }
        .ayat-text { font-family: var(--font-elegant); font-style: italic; font-size: 1rem; line-height: 1.9; margin: 10px 0 16px; color: rgba(255,255,255,0.92); }
        .ayat-source { font-weight: 600; color: rgba(255,255,255,0.78); letter-spacing: 1px; font-size: 0.85rem; }

        /* ===== COUNTDOWN — video background autoplay with clear text ===== */
        #date {
            position: relative;
            padding: 72px 20px 78px;
            margin-top: 4px;
            margin-bottom: 4px;
            color: var(--white);
            overflow: hidden;
            isolation: isolate;
            background: var(--primary-dark);
        }
        .date-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
        .date-video-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(26,26,26,.4), rgba(51,51,51,.3), rgba(26,26,26,.4));
            z-index: 1;
        }
        #date .aurora-blob { opacity: 0.1; z-index: 1; }
        #date h2 {
            position: relative; z-index: 2;
            font-family: var(--font-script);
            font-size: 2.4rem;
            color: var(--white) !important;
            text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
        }
        #date .save-the-date-text {
            position: relative; z-index: 2;
            font-family: var(--font-elegant);
            font-style: italic;
            font-size: 0.95rem;
            color: rgba(255,255,255,0.85);
            margin: 4px 0 2px;
            letter-spacing: 0.5px;
        }
        #date .eyebrow { position: relative; z-index: 2; color: rgba(255,255,255,0.7); }
        #date .eyebrow::before, #date .eyebrow::after { background: rgba(255,255,255,0.5); }

        .countdown-grid { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

        .countdown-cell {
            background: rgba(0,0,0,.5);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,.2);
            color: var(--white);
            padding: 14px 10px;
            border-radius: 16px;
            min-width: 60px;
            text-align: center;
            box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        }
        .countdown-num {
            font-family: var(--font-display);
            font-size: 1.5rem; font-weight: 700; display: block;
            color: var(--white);
            transition: transform 0.25s ease;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        .countdown-num.tick { animation: numTick 0.4s var(--ease-soft); }
        @keyframes numTick { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
        .countdown-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.82); margin-top: 4px; display: block; }

        /* ===== EVENT — premium cards with decorative interior motif ===== */
        .event-premium-card {
            background: var(--white);
            border-radius: 22px;
            margin: 16px 8px;
            padding: 28px 24px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0,0,0,0.08);
            transition: transform 0.4s var(--ease-soft), box-shadow 0.4s ease;
        }
        .event-premium-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
        .event-premium-card::before, .event-premium-card::after {
            content: ''; position: absolute; width: 26px; height: 26px;
            border: 1.5px solid var(--primary); opacity: 0.3;
            z-index: 2;
        }
        .event-premium-card::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
        .event-premium-card::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

        .event-card-motif {
            position: absolute;
            inset: 0;
            z-index: 0;
            opacity: 0.05;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%231a1a1a' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='16'/%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Ccircle cx='150' cy='30' r='16'/%3E%3Ccircle cx='150' cy='30' r='5'/%3E%3Ccircle cx='30' cy='150' r='16'/%3E%3Ccircle cx='30' cy='150' r='5'/%3E%3Ccircle cx='150' cy='150' r='16'/%3E%3Ccircle cx='150' cy='150' r='5'/%3E%3Cpath d='M90 20 L110 40 L90 60 L70 40 Z'/%3E%3Cpath d='M90 120 L110 140 L90 160 L70 140 Z'/%3E%3C/g%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 130px 130px;
            pointer-events: none;
        }
        .event-card-corner {
            position: absolute;
            width: 34px; height: 34px;
            z-index: 1;
            opacity: 0.35;
            pointer-events: none;
        }
        .event-card-corner svg { width: 100%; height: 100%; }
        .event-card-corner-tr { top: 8px; right: 8px; transform: rotate(90deg); }
        .event-card-corner-bl { bottom: 8px; left: 8px; transform: rotate(-90deg); }

        .event-premium-card > * { position: relative; z-index: 2; }

        .event-icon-circle {
            width: 50px; height: 50px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 12px;
            box-shadow: var(--shadow-gold);
            color: var(--white); font-size: 1.1rem;
        }

        .event-title { font-family: var(--font-script); font-size: 2.2rem; margin-bottom: 8px; color: var(--primary-dark); }
        .event-date { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; display: block; color: var(--primary); }
        .event-detail { font-size: 0.85rem; margin-bottom: 4px; color: var(--text-muted); }
        .event-detail i { color: var(--primary); margin-right: 4px; }

        /* ===== MAP ===== */
        .map-glass {
            margin: 18px 10px 16px;
            border-radius: 22px;
            overflow: hidden;
            padding: 6px;
            background: rgba(0,0,0,0.02);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(0,0,0,0.1);
            box-shadow: var(--shadow-soft);
        }
        .map-glass iframe { width: 100%; height: 230px; border: 0; border-radius: 16px; display: block; }

        /* ===== GALLERY — scattered artistic photo focus (seperti Love Story, khusus foto) ===== */
        #gallery { color: var(--white); padding-bottom: 44px; }
        #gallery h1 { color: var(--white); }
        #gallery .eyebrow { color: rgba(255,255,255,0.75); }
        #gallery .eyebrow::before, #gallery .eyebrow::after { background: rgba(255,255,255,0.5); }
        #gallery .gallery-hint { font-size: 0.85rem; color: rgba(255,255,255,0.75); font-style: italic; margin-bottom: 4px; }

        .gallery-stage {
            position: relative;
            width: 100%;
            max-width: 320px;
            height: 420px;
            margin: 34px auto 12px;
        }
        .g-photo {
            position: absolute;
            left: 50%; top: 50%;
            width: 128px; height: 158px;
            margin: -79px 0 0 -64px;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.18);
            box-shadow: 0 14px 32px rgba(0,0,0,0.4);
            opacity: 0;
            transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)) scale(0.88);
            transition: transform 0.65s var(--ease-premium), opacity 0.6s ease, box-shadow 0.4s ease, filter 0.45s ease, border-color 0.4s ease;
            will-change: transform, opacity;
        }
        .g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .g-photo.active { opacity: 1; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)) scale(1); }
        .g-photo.dimmed { opacity: 0.4; filter: grayscale(0.3) brightness(0.85); }
        .g-photo.selected {
            transform: translate(0, 0) rotate(0deg) scale(1.16) !important;
            z-index: 50;
            opacity: 1;
            box-shadow: 0 26px 58px rgba(0,0,0,0.5);
            border-color: rgba(255,255,255,0.45);
        }

        /* ===== AMPLOP — dua kartu rekening glassmorphism black & white ===== */
        .amplop-section-title { font-family: var(--font-script); color: var(--primary-dark); font-size: 2.3rem; }
        .amplop-cards-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            margin: 24px 0 8px;
        }
        .amplop-gcard {
            width: 100%;
            max-width: 320px;
            text-align: left;
            background: rgba(255,255,255,0.07);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: 20px;
            padding: 22px 22px 20px;
            box-shadow: 0 18px 45px rgba(0,0,0,0.3);
            transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease, border-color 0.35s ease;
        }
        .amplop-gcard:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.45); }
        .amplop-gcard-top {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 16px; color: rgba(255,255,255,0.85);
        }
        .amplop-gcard-bank {
            font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
            letter-spacing: 1px; display: flex; align-items: center; gap: 8px; color: var(--white);
        }
        .amplop-gcard-number {
            font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
            letter-spacing: 2px; color: var(--white); margin-bottom: 4px; word-break: break-all;
        }
        .amplop-gcard-name {
            font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 18px;
            font-family: var(--font-elegant); font-style: italic;
        }
        .amplop-gcard .copy-btn { width: 100%; justify-content: center; }
        .amplop-doa { font-size: 0.88rem; color: rgba(255,255,255,0.82); margin: 12px 0 4px; font-family: var(--font-elegant); font-style: italic; }

        /* ===== RSVP / COMMENTS WALL ===== */
        #rsvp { position: relative; }
        #rsvp .amplop-section-title { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
        #rsvp .eyebrow { color: rgba(255,255,255,0.75); }
        #rsvp .eyebrow::before, #rsvp .eyebrow::after { background: rgba(255,255,255,0.5); }
        #rsvp > div > h2.reveal { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
        .rsvp-title-row { display: flex; flex-direction: column; align-items: center; margin-bottom: 4px; }
        .rsvp-title-row p.reveal { color: rgba(255,255,255,0.85) !important; }
        .ucapan-count {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(255,255,255,0.1); color: var(--white);
            border: 1px solid rgba(255,255,255,0.25);
            padding: 5px 14px; border-radius: 999px;
            font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
            margin-bottom: 14px;
        }

        .rsvp-form input, .rsvp-form textarea {
            width: 100%; padding: 13px 16px; margin-bottom: 14px;
            border: 1px solid #e0e0e0; border-radius: 14px;
            background-color: var(--white); font-family: var(--font-body);
            font-size: 0.9rem;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .rsvp-form input:focus, .rsvp-form textarea:focus {
            outline: none; border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
        }

        #comments-container {
            max-height: 320px; overflow-y: auto; margin-top: 18px;
            padding-right: 4px; scroll-behavior: smooth;
        }
        #comments-container::-webkit-scrollbar { width: 4px; }
        #comments-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 999px; }
        #comments-container { scrollbar-width: thin; }

        .comment-card {
            background: var(--white);
            padding: 14px 16px;
            border-radius: 16px;
            text-align: left;
            margin-bottom: 12px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex; gap: 12px;
            animation: commentIn 0.5s var(--ease-soft);
        }
        @keyframes commentIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

        .avatar-circle {
            width: 38px; height: 38px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--white); font-weight: 600; font-size: 0.85rem;
            flex-shrink: 0; font-family: var(--font-display);
            box-shadow: var(--shadow-soft);
        }
        .comment-body-wrap { flex: 1; min-width: 0; }
        .comment-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
        .comment-name { font-weight: 700; font-size: 0.88rem; color: var(--primary-dark); }
        .badge-verified { color: var(--primary); font-size: 0.7rem; background: rgba(0,0,0,0.05); padding: 1px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }
        .comment-time { font-size: 0.68rem; color: #888; margin-left: auto; }
        .comment-text { font-size: 0.86rem; margin-top: 4px; color: var(--text-dark); }

        /* ===== FOOTER ===== */
        footer {
            background: linear-gradient(165deg, var(--primary), var(--primary-dark));
            color: white; padding: 36px 20px 100px; text-align: center;
        }
        footer .text-script { font-size: 1.7rem; margin-bottom: 14px; color: rgba(255,255,255,0.8); line-height: 1.35; }
        footer p { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

        /* ===== BOTTOM NAV — floating glass ===== */
        .bottom-nav {
            position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
            width: 88%; max-width: 380px;
            background: rgba(0,0,0,.85);
            backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            padding: 12px 22px; border-radius: 22px;
            display: flex; justify-content: space-between; align-items: center;
            z-index: 1000;
            box-shadow: 0 10px 35px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,.15);
            opacity: 0; transition: opacity 0.5s, transform 0.3s var(--ease-soft);
            pointer-events: none;
        }
        .bottom-nav.active { opacity: 1; pointer-events: all; }

        .nav-item {
            color: rgba(255,255,255,0.5); font-size: 1.1rem; text-decoration: none;
            position: relative; transition: color 0.3s, transform 0.25s var(--ease-soft);
            display: flex; flex-direction: column; align-items: center; gap: 4px;
        }
        .nav-item:hover { transform: translateY(-2px); }
        .nav-item.active { color: var(--white); }
        .nav-item.active::after {
            content: ''; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
            width: 5px; height: 5px; background: var(--white); border-radius: 50%;
            box-shadow: 0 0 6px 1px rgba(255,255,255,0.5);
            animation: dotPop 0.35s var(--ease-soft);
        }
        @keyframes dotPop { from { transform: translateX(-50%) scale(0); } to { transform: translateX(-50%) scale(1); } }

        /* ===== MUSIC BUTTON ===== */
        .music-control {
            position: fixed; bottom: 152px; right: 18px; z-index: 1000;
            width: 42px; height: 42px;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(10px);
            border-radius: 50%; display: flex; justify-content: center; align-items: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
            cursor: pointer; opacity: 0; transition: opacity 0.5s, transform 0.3s;
        }
        .music-control.active { opacity: 1; }
        .music-control:active { transform: scale(0.92); }
        .music-icon { color: var(--white); font-size: 1.15rem; animation: spin 4s linear infinite; }
        .paused .music-icon { animation-play-state: paused; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ===== AUTO SCROLL BUTTON ===== */
        .autoscroll-control {
            position: fixed; bottom: 96px; right: 18px; z-index: 1000;
            width: 42px; height: 42px;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(10px);
            border-radius: 50%; display: flex; justify-content: center; align-items: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
            cursor: pointer; opacity: 0; transition: opacity 0.5s, transform 0.3s, border-color 0.3s;
        }
        .autoscroll-control.active { opacity: 1; }
        .autoscroll-control:active { transform: scale(0.92); }
        .autoscroll-icon { color: var(--white); font-size: 1.05rem; }
        .autoscroll-control.running { border-color: rgba(255,255,255,0.55); }
        .autoscroll-control.running .autoscroll-icon { animation: autoscrollSpin 1.3s linear infinite; }
        @keyframes autoscrollSpin { to { transform: rotate(360deg); } }

        /* ===== SKY DECOR — BIRDS & BUTTERFLIES (Hero) ===== */
        .sky-decor {
            position: absolute; inset: 0;
            z-index: 1;
            overflow: hidden;
            pointer-events: none;
        }
        .bird, .butterfly {
            position: absolute;
            pointer-events: none;
            opacity: 0;
            will-change: transform, opacity;
        }

        /* --- Birds --- */
        .bird {
            color: rgba(255, 255, 255, 0.4);
            width: 34px; height: auto;
        }
        .bird .wing { transform-origin: 50px 20px; }
        .bird .wing-l { animation: birdFlap 0.68s ease-in-out infinite; }
        .bird .wing-r { animation: birdFlap 0.68s ease-in-out infinite; }
        @keyframes birdFlap {
            0%, 100% { transform: scaleY(1) translateY(0); }
            50% { transform: scaleY(0.35) translateY(4px); }
        }
        .bird-1 { top: 16%; width: 30px; animation: flyAcrossA 26s linear infinite; animation-delay: 0.6s; }
        .bird-2 { top: 26%; width: 24px; animation: flyAcrossB 32s linear infinite; animation-delay: 4s; }
        .bird-3 { top: 10%; width: 20px; animation: flyAcrossA 22s linear infinite; animation-delay: 9s; }

        @keyframes flyAcrossA {
            0% { transform: translate3d(-15vw, 6vh, 0) scale(0.85); opacity: 0; }
            8% { opacity: 0.5; }
            50% { transform: translate3d(55vw, -8vh, 0) scale(1); }
            92% { opacity: 0.5; }
            100% { transform: translate3d(122vw, 4vh, 0) scale(0.85); opacity: 0; }
        }
        @keyframes flyAcrossB {
            0% { transform: translate3d(-15vw, -4vh, 0) scale(0.8) scaleX(-1); opacity: 0; }
            8% { opacity: 0.4; }
            50% { transform: translate3d(58vw, 10vh, 0) scale(0.95) scaleX(-1); }
            92% { opacity: 0.4; }
            100% { transform: translate3d(122vw, -6vh, 0) scale(0.8) scaleX(-1); opacity: 0; }
        }

        /* --- Butterflies --- */
        .butterfly {
            width: 22px; height: auto;
            color: rgba(255, 255, 255, 0.5);
        }
        .butterfly .bfly-wing { transform-origin: 30px 25px; }
        .butterfly .bfly-wing-l { animation: bflyFlapL 0.42s ease-in-out infinite; }
        .butterfly .bfly-wing-r { animation: bflyFlapR 0.42s ease-in-out infinite; }
        .butterfly line { stroke: currentColor; opacity: 0.7; }
        @keyframes bflyFlapL {
            0%, 100% { transform: scaleX(1); }
            50% { transform: scaleX(0.35); }
        }
        @keyframes bflyFlapR {
            0%, 100% { transform: scaleX(1); }
            50% { transform: scaleX(0.35); }
        }

        .bfly-1 { top: 14%; left: 10%; width: 20px; animation: bflyDriftA 7s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 0.8s, 0.8s; }
        .bfly-2 { top: 20%; right: 12%; width: 18px; animation: bflyDriftB 8.5s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 1.6s, 1.6s; }
        .bfly-3 { top: 66%; left: 8%; width: 16px; animation: bflyDriftA 6.5s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 2.4s, 2.4s; }
        .bfly-4 { top: 70%; right: 9%; width: 22px; animation: bflyDriftB 9s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 1.1s, 1.1s; }
        .bfly-5 { top: 8%; left: 42%; width: 15px; animation: bflyDriftA 7.5s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 3s, 3s; }
        .bfly-6 { bottom: 6%; right: 30%; width: 17px; animation: bflyDriftB 6.8s ease-in-out infinite, bflyFadeIn 1.8s ease forwards; animation-delay: 2s, 2s; }

        @keyframes bflyFadeIn {
            0% { opacity: 0; }
            100% { opacity: 0.5; }
        }
        @keyframes bflyDriftA {
            0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
            25% { transform: translate3d(10px, -14px, 0) rotate(8deg); }
            50% { transform: translate3d(-6px, -22px, 0) rotate(-6deg); }
            75% { transform: translate3d(-14px, -8px, 0) rotate(4deg); }
        }
        @keyframes bflyDriftB {
            0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
            25% { transform: translate3d(-12px, -10px, 0) rotate(-8deg); }
            50% { transform: translate3d(4px, -20px, 0) rotate(6deg); }
            75% { transform: translate3d(12px, -6px, 0) rotate(-4deg); }
        }

        /* ===== REVEAL ANIMATIONS ===== */
        .reveal { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(4px); transition: all 0.75s var(--ease-soft); will-change: transform, opacity; }
        .reveal.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
        .reveal-left { opacity: 0; transform: translateX(-32px); filter: blur(3px); transition: all 0.75s var(--ease-soft); will-change: transform, opacity; }
        .reveal-left.active { opacity: 1; transform: translateX(0); filter: blur(0); }
        .reveal-right { opacity: 0; transform: translateX(32px); filter: blur(3px); transition: all 0.75s var(--ease-soft); will-change: transform, opacity; }
        .reveal-right.active { opacity: 1; transform: translateX(0); filter: blur(0); }

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

        @media (min-width: 768px) {
            .container { border-left: 1px solid #eee; border-right: 1px solid #eee; }
            .bottom-nav, .music-control, .autoscroll-control { left: 50%; margin-left: 0; }
            .music-control { margin-left: 200px; right: auto; }
            .autoscroll-control { margin-left: 200px; right: auto; }
            #hero { left: 50%; right: auto; width: 500px; max-width: 500px; transform: translateX(-50%); }
            #hero.hero-open { transform: translateX(-50%) translateY(-100vh); }
        }

        @media (max-width: 414px) {
            .hero-title { font-size: 1.28rem; }
        }

        @media (max-width: 390px) {
            .hero-title { font-size: 1.2rem; }
            .photo-frame-wrapper { width: 180px; height: 250px; }
            .gallery-stage { max-width: 290px; height: 400px; }
            .g-photo { width: 112px; height: 140px; margin: -70px 0 0 -56px; }
        }

        @media (max-width: 360px) {
            .hero-title { font-size: 1.14rem; }
            .countdown-cell { min-width: 56px; padding: 10px 5px; }
            .countdown-num { font-size: 1.3rem; }
            .event-premium-card { padding: 24px 18px; margin: 14px 6px; }
        }

        @media (max-width: 340px) {
            .hero-glass-card { padding: 26px 18px 24px; }
            .hero-title { font-size: 1.02rem; }
            .hero-img-frame { width: 148px; height: 204px; }
            .countdown-grid { gap: 7px; }
            .countdown-cell { min-width: 50px; padding: 9px 4px; }
            .countdown-num { font-size: 1.15rem; }
            .countdown-label { font-size: 0.56rem; letter-spacing: 1px; }
            .gallery-stage { max-width: 260px; height: 360px; }
            .g-photo { width: 98px; height: 124px; margin: -62px 0 0 -49px; }
            .photo-frame-wrapper { width: 160px; height: 224px; margin: 40px auto 22px; }
            .couple-name { font-size: 1.5rem; }
        }

        /* ===== TOAST NOTIFICATION — premium glass ===== */
        .toast-container {
            position: fixed;
            left: 50%; bottom: 100px;
            transform: translateX(-50%);
            width: 90%; max-width: 380px;
            z-index: 10500;
            display: flex; flex-direction: column; gap: 10px;
            pointer-events: none;
        }
        .toast {
            display: flex; align-items: flex-start; gap: 12px;
            background: rgba(0,0,0,0.85);
            backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 18px;
            padding: 14px 16px;
            box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
            opacity: 0;
            transform: translateY(24px) scale(0.96);
            transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
            pointer-events: all;
        }
        .toast.show { opacity: 1; transform: translateY(0) scale(1); }
        .toast.hide { opacity: 0; transform: translateY(14px) scale(0.97); }
        .toast-icon {
            flex-shrink: 0;
            width: 34px; height: 34px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem;
        }
        .toast-success .toast-icon { background: linear-gradient(135deg, #333, #1a1a1a); color: var(--white); }
        .toast-warning .toast-icon { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
        .toast-body-wrap { flex: 1; min-width: 0; text-align: left; }
        .toast-title { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
        .toast-message { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
