        :root {
            --primary: #d4af37;        /* Gold */
            --primary-2: #f3e5ab;      /* Light Gold */
            --accent: #b8860b;         /* Dark Gold */
            --text: #fdfbf7;           /* Off White */
            --muted: #d0c2b4;          /* Soft Cream */
            --border: rgba(212, 175, 55, 0.4); /* Translucent Gold */
            --bg-1: #2a030c;           /* Darkest Maroon */
            --bg-2: #4a0412;           /* Dark Maroon */
            --card-bg: rgba(74, 4, 18, 0.85); /* Semi-transparent Maroon */
            --shadow: rgba(0, 0, 0, 0.6);
        }
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { margin: 0; font-family: 'Montserrat', sans-serif; background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%); color: var(--text); }
        .page { width: 100%; max-width: 480px; margin: 0 auto; background: var(--card-bg); position: relative; overflow-x: hidden; }
        .section { min-height: 100vh; padding: 30px 20px 90px; display: flex; flex-direction: column; justify-content: center; }
        .heading-script { font-family: 'Great Vibes', cursive; font-size: 54px; line-height: 1.1; background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; margin: 0 0 14px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
        .heading-title { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--primary); text-align: center; margin: 0 0 18px; }
        .card { background: var(--card-bg); border-radius: 22px; padding: 22px; border: 1px solid var(--border); box-shadow: 0 14px 34px var(--shadow); }
        .text-center { text-align: center; }
        .muted { color: var(--muted); font-size: 14px; line-height: 1.7; }
        .divider { width: 80px; height: 2px; background: var(--accent); margin: 14px auto; }
        .couple-name { font-family: 'Great Vibes', cursive; font-size: 46px; margin: 8px 0; background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
        .event-grid { display: grid; gap: 14px; margin-top: 10px; }
        #event-section .card { padding: 20px 18px 22px; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--border); backdrop-filter: blur(8px); }
        .event-title { font-family: 'Playfair Display', serif; color: var(--primary); font-size: 22px; margin: 0 0 6px; }
        .event-meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-2); margin-bottom: 6px; }
        .event-location { margin-top: 4px; font-size: 14px; }
        .story-list { display: grid; gap: 14px; margin-top: 10px; }
        .story-item { padding: 12px 12px 10px; border-radius: 14px; background: rgba(0,0,0,0.2); border: 1px solid var(--border); box-shadow: 0 10px 24px var(--shadow); position: relative; }
        .story-item::before { content: ''; position: absolute; left: 10px; top: 16px; width: 4px; height: 40%; border-radius: 999px; background: linear-gradient(180deg, var(--accent), var(--primary)); opacity: .65; }
        .story-item strong { color: var(--primary); display: block; margin-bottom: 6px; margin-left: 10px; }
        .story-item span { margin-left: 10px; display: block; }
        .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
        .gallery-item { border-radius: 16px; background: rgba(0,0,0,0.3); min-height: 140px; overflow: hidden; position: relative; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .4s ease; }
        .gallery-item::after { content: 'Lihat Foto'; position: absolute; inset: auto 10px 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
        .gallery-item:hover img { transform: scale(1.05); filter: brightness(.95); }
        .gallery-item:hover::after { opacity: 1; transform: translateY(0); }
        @media (hover: none) {
            .gallery-item::after { opacity: 1; transform: translateY(0); }
        }
        .gallery-item:focus-visible { outline: 3px solid rgba(212, 175, 55, 0.55); outline-offset: 4px; }

        .lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(14, 6, 6, 0.72); }
        .lightbox.active { display: flex; }
        .lightbox-dialog { width: min(420px, 100%); border-radius: 22px; background: var(--bg-1); border: 1px solid var(--border); box-shadow: 0 24px 60px var(--shadow); overflow: hidden; color: var(--text); }
        .lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
        .lightbox-meta { display: inline-flex; align-items: baseline; gap: 10px; }
        .lightbox-title { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
        .lightbox-count { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--shadow); font-weight: 700; }
        .lightbox-close { width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.5); background: var(--card-bg); color: var(--primary); font-weight: 900; cursor: pointer; }
        .lightbox-media { background: rgba(0,0,0,0.3); }
        .lightbox-media img { width: 100%; height: auto; display: block; }
        .lightbox-footer { display: grid; gap: 10px; padding: 12px; }
        .lightbox-caption { margin: 0; font-size: 13px; color: var(--text); text-align: center; }
        .lightbox-controls { display: flex; gap: 8px; justify-content: center; }
        .lightbox-btn { min-width: 92px; height: 38px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.6); background: var(--card-bg); color: var(--primary); font-weight: 700; cursor: pointer; }

        .toast { position: fixed; left: 50%; bottom: 78px; transform: translateX(-50%); z-index: 65; background: rgba(0,0,0, 0.85); color: var(--primary); border: 1px solid var(--border); padding: 10px 14px; border-radius: 14px; font-size: 12px; letter-spacing: .02em; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; backdrop-filter: blur(8px); }
        .toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }
        .countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
        .count-box { background: rgba(0,0,0,0.3); border: 1px solid var(--border); color: var(--text); border-radius: 16px; padding: 12px 6px; text-align: center; box-shadow: 0 10px 20px var(--shadow); backdrop-filter: blur(4px); }
        .count-box b { display: block; font-size: 24px; line-height: 1; color: var(--primary); }
        .count-box span { font-size: 12px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; cursor: pointer; text-decoration: none; }
        .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #1a0207; }
        .btn-outline { background: var(--card-bg); border: 1px solid var(--accent); color: var(--primary-2); }
        .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(212, 175, 55, 0.55); outline-offset: 3px; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
        .hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
        .hide-scrollbar::-webkit-scrollbar { width: 0; height: 0; }
        .cover-layer { position: fixed; inset: 0; z-index: 30; background: #000; color: #fff; display: flex; align-items: stretch; justify-content: center; padding: 0; overflow: hidden; }
        .cover-layer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.82) 100%); pointer-events: none; }
        .cover-layer::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 115%, var(--shadow) 0%, var(--shadow) 55%); pointer-events: none; }
        .cover-photo { position: absolute; inset: 0; z-index: 0; background: #000; }
        .cover-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.65) 100%); pointer-events: none; mix-blend-mode: normal; }
        .cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.02) contrast(1.03); }
        .cover-top-title { position: absolute; top: 26px; left: 20px; transform: none; z-index: 2; font-family: 'Playfair Display', serif; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
        .cover-card-wrapper { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
        .cover-card { position: relative; max-width: 420px; width: 100%; padding: 24px 22px 20px; border-radius: 22px; background: rgba(0, 0, 0, 0.46); border: 1px solid var(--border); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7); }
        .cover-card-inner { text-align: center; }
        .cover-open-pill { margin-top: 14px; border: 0; border-radius: 999px; padding: 10px 24px; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #1a0207; font-size: 14px; font-weight: 700; box-shadow: 0 10px 26px var(--shadow); cursor: pointer; }
        .cover-open-icon { width: 24px; height: 24px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.15); color: #1a0207; font-size: 13px; }
        .cover-date { letter-spacing: 2.8px; font-size: 11px; text-transform: uppercase; color: var(--text); font-weight: 600; margin: 0 0 6px; }
        .cover-kicker { margin: 0 auto 10px; width: 90px; height: 1px; background: linear-gradient(90deg, rgba(212, 175, 55, 0), var(--primary), rgba(212, 175, 55, 0)); }
        .cover-name { margin: 0; line-height: 1.12; font-size: clamp(40px, 13vw, 52px); color: var(--text); text-shadow: 0 10px 26px rgba(0, 0, 0, 0.7); }
        .cover-name-line { display: block; }
        .cover-subtitle { margin: 18px 0 0; font-size: 11px; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
        .cover-guest { margin: 4px 0 0; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--text); line-height: 1.4; text-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); }
        .cover-date-pill { display: inline-flex; align-items: center; justify-content: center; margin: 16px auto 8px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.35); font-size: 12px; color: var(--text); letter-spacing: .04em; }
        .cover-to { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
        .cover-to-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; letter-spacing: .08em; }
        .cover-to-name { margin: 0; padding: 0 6px; font-family: 'Playfair Display', serif; font-size: 16px; color: var(--text); text-align: center; word-break: break-word; }
        .cover-name-line + .cover-name-line { margin-top: -8px; }
        @media (max-width: 360px) {
            .cover-top-title { font-size: 13px; letter-spacing: .14em; padding: 4px 10px; }
        }
        @keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
        @keyframes pulseGlow { 0%, 100% { text-shadow: 0 10px 24px rgba(37, 2, 10, 0.36); } 50% { text-shadow: 0 14px 30px rgba(254, 214, 163, 0.35); } }
        @keyframes driftLeft { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-10px) rotate(-4deg); } }
        @keyframes driftRight { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(12px) rotate(15deg); } }
        @keyframes fallPetal { 0% { transform: translateY(0) rotate(0deg); opacity: .7; } 60% { opacity: .9; } 100% { transform: translateY(28px) rotate(28deg); opacity: .12; } }
        @keyframes twinkle { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.8); opacity: 1; } }
        @keyframes shimmer { 0% { left: -40%; } 100% { left: 125%; } }
        @keyframes pulseRing { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .2; } }
        .cover-layer.hidden { display: none; }
        .main-content { display: none; }
        .main-content.active { display: block; }
        .bottom-nav { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); background: rgba(42, 3, 12, 0.85); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 999px; padding: 8px; z-index: 25; box-shadow: 0 10px 30px var(--shadow); }
        .bottom-nav ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
        .bottom-nav a { text-decoration: none; color: var(--primary); font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 999px; }
        .bottom-nav a.active { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #1a0207; font-weight: 700; }
        input, select, textarea { width: 100%; border: 1px solid var(--border); background: rgba(0,0,0,0.3); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; }
        textarea { min-height: 100px; resize: vertical; }
        .form-grid { display: grid; gap: 10px; }
        .stack { display: grid; gap: 10px; }
        .opening-section { position: relative; min-height: 100vh; padding: 0 0 90px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; background: transparent; color: var(--text); }
        .opening-hero { position: absolute; inset: 0; z-index: 0; }
        .opening-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.02) contrast(1.03); border-bottom-left-radius: 50% 10%; border-bottom-right-radius: 50% 10%; border-bottom: 3px solid var(--primary); box-shadow: 0 15px 30px var(--shadow); }
        .opening-hero::after { content: none; }
        .opening-content { position: relative; z-index: 1; width: 100%; max-width: 420px; margin: 0 auto 10px; padding: 32px 22px 32px; text-align: center; }
        .opening-label { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
        .opening-names { font-size: clamp(40px, 13vw, 52px); color: var(--text); text-shadow: 0 10px 26px rgba(0, 0, 0, 0.7); margin: 0; }
        .opening-names + .opening-names { margin-top: -10px; }
        .opening-date-line { margin: 18px 0 10px; font-size: 14px; color: var(--text); letter-spacing: .08em; text-transform: uppercase; }
        .opening-guest-label { margin: 14px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--shadow); }
        .opening-guest-name { margin: 4px 0 0; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary); text-shadow: 0 6px 18px rgba(0, 0, 0, 0.7); }
        .quote-section { position: relative; background: transparent; }
        .quote-card { position: relative; max-width: 420px; margin: 0 auto; padding: 26px 20px 24px; border-radius: 26px; background: var(--card-bg); box-shadow: 0 22px 46px var(--shadow); border: 1px solid var(--border); backdrop-filter: blur(8px); }
        .quote-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0 1px, transparent 1px 14px); opacity: .4; pointer-events: none; }
        .quote-arabic { margin: 0 0 12px; font-size: 16px; line-height: 1.8; color: var(--text); text-align: center; }
        .quote-translation { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: var(--muted); text-align: center; }
        .quote-source { margin: 4px 0 0; font-size: 13px; color: var(--primary); text-align: center; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
        .closing-section { position: relative; background: transparent; }
        .closing-card { position: relative; max-width: 420px; margin: 0 auto; padding: 26px 20px 26px; border-radius: 26px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: 0 22px 46px var(--shadow); backdrop-filter: blur(8px); }
        .closing-actions { display: inline-flex; gap: 8px; padding: 4px; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: 0 10px 24px var(--shadow); margin: 0 auto 20px; }
        .closing-action-pill { width: 34px; height: 34px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #1a0207; font-size: 16px; }
        .closing-text-main { margin: 0 0 18px; font-size: 14px; line-height: 1.9; color: var(--text); text-align: center; }
        .closing-signature { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--primary); text-align: center; }
        .closing-family { margin: 0 0 12px; font-size: 14px; color: var(--muted); text-align: center; }
        .closing-music-label { margin: 12px 0 2px; font-size: 12px; font-style: italic; color: var(--primary-2); text-align: center; }
        .closing-music-title { margin: 0; font-size: 13px; color: var(--text); text-align: center; }
        .music-control { position: fixed; bottom: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); border: none; color: #1a0207; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 40; box-shadow: 0 8px 18px var(--shadow); font-size: 18px; }
        .music-control.playing { animation: musicPulse 2.2s ease-in-out infinite; }
        @keyframes musicPulse {
            0% { transform: scale(1); box-shadow: 0 8px 18px var(--shadow); }
            50% { transform: scale(1.08); box-shadow: 0 14px 26px var(--shadow); }
            100% { transform: scale(1); box-shadow: 0 8px 18px var(--shadow); }
        }
        .opening-corner { position: absolute; width: 22px; height: 22px; border-color: var(--primary); pointer-events: none; }
        .opening-corner.tl { top: 14px; left: 14px; border-top: 2px solid; border-left: 2px solid; border-radius: 8px 0 0 0; }
        .opening-corner.tr { top: 14px; right: 14px; border-top: 2px solid; border-right: 2px solid; border-radius: 0 8px 0 0; }
        .opening-corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid; border-left: 2px solid; border-radius: 0 0 0 8px; }
        .opening-corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid; border-right: 2px solid; border-radius: 0 0 8px 0; }
        .couple-section { position: relative; background: transparent; overflow: hidden; }
        .couple-section::after { content: ''; position: absolute; left: 50%; bottom: -120px; transform: translateX(-50%); width: 420px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 50% 0%, var(--shadow) 0%, var(--shadow) 70%); pointer-events: none; }
        #couple-section.section { min-height: auto; padding-top: 40px; padding-bottom: 70px; justify-content: flex-start; }
        .couple-card { position: relative; margin-top: 16px; padding: 26px 24px 32px; border-radius: 26px; border: 1px solid var(--border); background: var(--card-bg); box-shadow: 0 22px 46px var(--shadow); overflow: hidden; backdrop-filter: blur(8px); }
        .couple-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 45%), radial-gradient(circle at 80% 100%, rgba(212, 175, 55, 0.15) 0%, transparent 60%), repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0 2px, transparent 2px 18px); opacity: .95; pointer-events: none; }
        .couple-inner { position: relative; z-index: 1; display: grid; gap: 24px; }
        .couple-profile { display: grid; justify-items: center; gap: 10px; }
        .couple-photo { width: 140px; height: 180px; border-top-left-radius: 70px; border-top-right-radius: 70px; border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; padding: 4px; background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 100%); box-shadow: 0 14px 30px var(--shadow); }
        .couple-photo-inner { width: 100%; height: 100%; border-top-left-radius: 66px; border-top-right-radius: 66px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; overflow: hidden; background: var(--bg-1); display: flex; align-items: center; justify-content: center; }
        .couple-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
        .couple-label { display: inline-flex; align-items: center; justify-content: center; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.6); background: var(--bg-1); color: var(--primary); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
        .couple-role { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary-2); margin: 0 0 4px; }
        .couple-name { font-size: 40px; line-height: 1.15; }
        .couple-parents { margin-top: 4px; margin-bottom: 0; font-size: 13px; }
        .couple-socials { display: flex; gap: 10px; margin-top: 8px; }
        .couple-social-pill { width: 30px; height: 30px; border-radius: 999px; border: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px var(--shadow); color: #1a0207; text-decoration: none; }
        .couple-social-pill svg { width: 16px; height: 16px; display: block; }
        .couple-divider-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.7); background: var(--bg-1); color: var(--primary); font-size: 18px; box-shadow: 0 10px 22px var(--shadow); margin: 18px auto; }
        .couple-divider-line { width: 110px; height: 1px; background: linear-gradient(90deg, var(--shadow), var(--shadow), var(--shadow)); margin: -8px auto 10px; }
        .couple-section-ornament { position: absolute; pointer-events: none; color: rgba(212, 175, 55, 0.25); font-size: 40px; }
        .couple-section-ornament.top { top: 26px; right: 22px; }
        .couple-section-ornament.bottom { bottom: 32px; left: 18px; }
        #couple-section .heading-title { margin-bottom: 6px; }
        @media (max-width: 520px) {
            .opening-title { font-size: 40px; }
            .opening-greeting, .opening-copy { font-size: 16px; }
            .opening-date { font-size: 29px; }
        }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
        }


/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-down"] { transform: translateY(-30px); }
[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="zoom-in"] { transform: scale(0.9); }

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* Continuous floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}
.animate-pulse {
    animation: pulse-soft 3s ease-in-out infinite;
}
