/* =========================================================
   UNDANGAN PERNIKAHAN DIGITAL - ARYA & DARMA
   Tema: Romantic, Elegant, Luxurious Soft Dusty Blue & Gold
   Mobile-First Design System with Complete Browser Protection
   ========================================================= */

/* --- 1. DESIGN TOKENS & ROOTS --- */
:root {
    color-scheme: only light !important;
    forced-color-adjust: none !important;
    -webkit-color-scheme: light !important;

    /* Palette Warna Utama */
    --color-primary-bg: #4c6a87;       /* Biru dusty kalem */
    --color-primary-dark: #2b3a55;     /* Biru navy pekat */
    --color-primary-text: #1e293b;     /* Slate pekat untuk judul & teks penting */
    --color-secondary-bg: #f0f5fa;     /* Biru es lembut untuk background card/section */
    --color-body-text: #475569;        /* Abu-abu netral elegan */
    
    /* Aksen Emas & Champagne */
    --color-gold: #d9b68a;
    --color-gold-light: #ecd8c3;
    --color-gold-dark: #a47b4d;
    --color-champagne-bg: #fdf8f3;

    /* Bayangan & Efek */
    --shadow-soft: 0 10px 30px rgba(43, 58, 85, 0.08);
    --shadow-card: 0 15px 40px rgba(43, 58, 85, 0.12);
    --shadow-floating: 0 6px 20px rgba(0, 0, 0, 0.18);
    --border-radius-card: 28px;
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    forced-color-adjust: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #2b3a55; /* Desktop backdrop */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-primary-text);
    background-color: #e6eef5;
    background-image: radial-gradient(#d6e4f0 1px, transparent 1px), radial-gradient(#d6e4f0 1px, #e6eef5 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Lock scroll saat cover masih aktif */
#body-root {
    overflow: hidden;
}
#body-root.scroll-enabled {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Desktop container: undangan dipusatkan dengan max-width mobile premium */
.main-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* --- 3. TYPOGRAPHY HELPERS --- */
.script-title {
    font-family: 'Alex Brush', 'Playfair Display', cursive;
    font-weight: 400;
    line-height: 1.3;
}

.couple-name {
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: 2.7rem;
    font-style: italic;
    color: var(--color-primary-dark);
    font-weight: 700;
    margin: 8px 0;
    letter-spacing: 0.5px;
}

/* --- 4. ANIMASI PARTIKEL CONFETTI --- */
.plastic-particle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 99999;
    animation: blast 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.plastic-particle.white { background: rgba(255, 255, 255, 0.9); }
.plastic-particle.blue { background: rgba(107, 137, 168, 0.85); }
.plastic-particle.dark-blue { background: rgba(43, 58, 85, 0.85); }
.plastic-particle.gold { background: rgba(217, 182, 138, 0.95); }
.plastic-particle.circle { border-radius: 50%; }

@keyframes blast {
    0% {
        transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
        opacity: 1;
    }
    70% {
        opacity: 0.9;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1.1) rotate(var(--rot));
        opacity: 0;
    }
}

/* --- 5. ANIMASI DAUN & KELOPAK JATUH --- */
.leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 90;
}

.leaf-wrapper {
    position: fixed;
    top: -60px;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
}

.leaf-img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

@keyframes leafFall {
    0% { transform: translateY(0); opacity: 0; }
    12% { opacity: 0.85; }
    85% { opacity: 0.85; }
    100% { transform: translateY(108vh); opacity: 0; }
}

@keyframes leafFallInitial {
    0% { opacity: 0.85; }
    85% { opacity: 0.85; }
    100% { transform: translateY(108vh); opacity: 0; }
}

@keyframes leafSway {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(30px); }
}

@keyframes leafRotate1 {
    0% { transform: rotate(0deg) rotateY(0deg); }
    50% { transform: rotate(180deg) rotateY(180deg); }
    100% { transform: rotate(360deg) rotateY(360deg); }
}

@keyframes leafRotate2 {
    0% { transform: rotate(0deg) rotateX(0deg); }
    50% { transform: rotate(-180deg) rotateX(180deg); }
    100% { transform: rotate(-360deg) rotateX(360deg); }
}

/* --- 6. SCROLL ANIMATION (FADE IN & APPEAR) --- */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- 7. ORNAMEN BUNGA SUDUT --- */
.corner-flower-top {
    position: absolute;
    top: 0;
    width: 105px;
    max-width: 26vw;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

.corner-flower-top.left-corner {
    left: 0;
    transform: scaleY(-1);
}

.corner-flower-top.right-corner {
    right: 0;
    transform: scale(-1, -1);
}

.corner-flower {
    position: absolute;
    bottom: 0;
    width: 110px;
    max-width: 26vw;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

.corner-flower.left-corner {
    left: 0;
    transform: none;
}

.corner-flower.right-corner {
    right: 0;
    transform: scaleX(-1);
}

/* =========================================
   8. COVER PAGE (FULLSCREEN OVERLAY)
   ========================================= */
.cover-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #1e2e42;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease-in-out;
}

/* Layer 1: Stronger Romantic Dreamy Bokeh Blur Background */
.cover-bg-blur {
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background-image: url('assets/foto/foto1.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.85) saturate(1.25);
    transform: scale(1.2);
    z-index: 0;
    pointer-events: none;
}

/* Layer 2: Romantic Vignette & Soft Tint Overlay */
.cover-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 25%, rgba(215, 232, 248, 0.5) 0%, rgba(70, 98, 126, 0.6) 65%, rgba(20, 32, 48, 0.78) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

/* Arch Frame Lines Elegan di Latar Belakang Cover */
.cover-container::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 392px);
    height: auto;
    border: 1.5px solid rgba(217, 182, 138, 0.45);
    border-radius: 195px 195px 24px 24px;
    pointer-events: none;
    z-index: 4;
}

.cover-container::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(86%, 368px);
    height: auto;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 185px 185px 20px 20px;
    pointer-events: none;
    z-index: 4;
}

/* 4 Sudut Bunga Cover (Atas Kiri & Kanan, Bawah Kiri & Kanan) */
.cover-corner-flower {
    position: absolute;
    width: 110px;
    max-width: 26vw;
    height: auto;
    pointer-events: none;
    z-index: 5;
    opacity: 0.95;
    filter: drop-shadow(0 4px 10px rgba(43, 58, 85, 0.12));
}

.cover-corner-flower.top-left {
    top: 0;
    left: 0;
    transform: scaleY(-1);
}

.cover-corner-flower.top-right {
    top: 0;
    right: 0;
    transform: scale(-1, -1);
}

.cover-corner-flower.bottom-left {
    bottom: 0;
    left: 0;
    transform: none;
}

.cover-corner-flower.bottom-right {
    bottom: 0;
    right: 0;
    transform: scaleX(-1);
}

.cover-container.cover-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cover-content {
    max-width: 420px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 2px 0 4px;
    box-sizing: border-box;
}

/* 1. Header & Nama di Atas */
.cover-header-group {
    margin-top: 4px;
    margin-bottom: 2px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: #a47b4d;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 14px;
    border-radius: 16px;
    border: 1px solid rgba(217, 182, 138, 0.4);
    display: inline-block;
    margin-bottom: 3px;
    box-shadow: 0 2px 8px rgba(164, 123, 77, 0.12);
}

.cover-title-name {
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: 2.3rem;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 2px 0 0;
    text-shadow: 0 2px 14px rgba(25, 40, 60, 0.9), 0 0 20px rgba(255, 255, 255, 0.4);
}

/* 2. Foto di Tengah dengan Arched Luxury Frame */
.cover-photo-container {
    position: relative;
    width: 210px;
    height: 235px;
    margin: 2px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
}

.cover-photo-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(217, 182, 138, 0.3) 55%, transparent 75%);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 1; }
}

.cover-photo-frame-wrap {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 90px 90px 18px 18px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 28px rgba(20, 32, 48, 0.35), 0 0 0 1.5px rgba(217, 182, 138, 0.5);
    overflow: hidden;
    background: #ffffff;
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cover-photo:hover {
    transform: scale(1.04);
}

/* 3. Blurred Photo Glassmorphism Guest Card Box */
.guest-card-box {
    position: relative;
    width: 100%;
    max-width: 310px;
    margin: 3px auto 6px;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 24px rgba(15, 25, 40, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 15;
}

.guest-card-bg-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('assets/foto/foto1.jpeg');
    background-size: cover;
    background-position: center bottom;
    filter: blur(20px) brightness(0.55) saturate(1.3);
    transform: scale(1.2);
    z-index: 1;
    pointer-events: none;
}

.guest-card-content {
    position: relative;
    z-index: 2;
    padding: 10px 16px;
    background: rgba(20, 32, 48, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.guest-card-box .greeting-title {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.2px;
}

.guest-card-box .greeting-subtitle {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 500;
    margin: 1px 0 6px;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.2px;
}

.guest-card-box .guest-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.42rem;
    font-weight: 800;
    color: #ffffff;
    margin: 2px 0 6px;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.guest-card-box .guest-location {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.2px;
}

/* 4. Tombol Buka Undangan Modern Pulse */
.btn-open {
    background: linear-gradient(135deg, #2b3a55 0%, #446382 100%);
    color: #ffffff;
    border: 1px solid rgba(217, 182, 138, 0.55);
    padding: 10px 24px;
    border-radius: 28px;
    font-size: 0.92rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 6px 20px rgba(35, 52, 73, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s;
    z-index: 15;
    margin-bottom: 6px;
    animation: pulseButtonModern 2.5s infinite;
}

.btn-open:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, #222f46 0%, #36506a 100%);
    box-shadow: 0 10px 26px rgba(35, 52, 73, 0.45);
}

.btn-open:active {
    transform: translateY(0) scale(0.98);
}

.btn-open-icon {
    font-size: 0.95rem;
    color: #f6e2cc;
}

.btn-open-arrow {
    font-size: 0.75rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.btn-open:hover .btn-open-arrow {
    transform: translateX(3px);
}

@keyframes pulseButtonModern {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(35, 52, 73, 0.35);
    }
    50% {
        box-shadow: 0 8px 28px rgba(76, 106, 135, 0.55), 0 0 0 4px rgba(217, 182, 138, 0.25);
    }
}

@keyframes pulseButton {
    0%, 100% { box-shadow: 0 6px 20px rgba(43, 58, 85, 0.28); }
    50% { box-shadow: 0 8px 28px rgba(76, 106, 135, 0.45); }
}

/* =========================================
   9. HERO SECTION
   ========================================= */
.hero-section {
    background-color: #f7fafc;
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(217, 182, 138, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(76, 106, 135, 0.1) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 70px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-pill-badge {
    background: linear-gradient(135deg, #d9b68a 0%, #a47b4d 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(164, 123, 77, 0.25);
    position: relative;
    z-index: 12;
}

.wedding-subtitle {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    color: var(--color-primary-dark);
    margin-bottom: 18px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 12;
    padding: 0 10px;
}

/* Hero Arched Photo Container */
.hero-img-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    position: absolute;
    width: 72%;
    height: 72%;
    object-fit: cover;
    z-index: 1;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(43, 58, 85, 0.2);
}

.hero-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(43, 58, 85, 0.15));
}

.wedding-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-body-text);
    margin-top: -2px;
    margin-bottom: 28px;
    letter-spacing: 0.8px;
}

/* Countdown Wrapper */
.countdown-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 178, 205, 0.4);
    border-radius: 24px;
    padding: 22px 18px 18px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(43, 58, 85, 0.08);
}

.countdown-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary-text);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.countdown-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.countdown-box {
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    width: 62px;
    height: 74px;
    border-radius: 20px 20px 8px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(43, 58, 85, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.count-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.count-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.countdown-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: #28a745;
    margin-top: 10px;
}

/* =========================================
   10. SECTION DO'A & AYAT SUCI (VERSE)
   ========================================= */
.verse-section {
    background-color: var(--color-primary-bg);
    background-image: 
        linear-gradient(rgba(43, 58, 85, 0.85), rgba(76, 106, 135, 0.85)),
        radial-gradient(#94b2cd 1px, transparent 1px);
    background-size: auto, 24px 24px;
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.verse-container {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.verse-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-card);
    padding: 38px 22px 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148, 178, 205, 0.4);
    position: relative;
    outline: 1px dashed rgba(76, 106, 135, 0.35);
    outline-offset: -8px;
}

.verse-ornament-wrapper {
    margin-top: -10px;
    margin-bottom: 12px;
}

.verse-ornament {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(43, 58, 85, 0.12));
}

.verse-bismillah {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.quote-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.verse-text {
    font-size: 0.86rem;
    font-style: italic;
    color: var(--color-primary-text);
    line-height: 1.85;
    margin-bottom: 20px;
    padding: 0 6px;
    font-weight: 500;
}

.verse-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.verse-divider .line {
    height: 1px;
    width: 45px;
    background: linear-gradient(90deg, transparent, #4c6a87, transparent);
}

.verse-divider i {
    font-size: 0.75rem;
    color: #4c6a87;
    opacity: 0.8;
}

.verse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(43, 58, 85, 0.2);
}

/* =========================================
   11. SECTION MEMPELAI (BRIDE & GROOM)
   ========================================= */
.couple-section {
    background-color: var(--color-secondary-bg);
    text-align: center;
    padding: 70px 20px 60px;
    position: relative;
    overflow: hidden;
}

.couple-card-unified {
    position: relative;
    overflow: hidden;
    max-width: 430px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-card);
    padding: 38px 22px 35px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148, 178, 205, 0.4);
}

.card-corner-ornament {
    position: absolute;
    width: 100px;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

.card-corner-ornament.top-left { top: 0; left: 0; }
.card-corner-ornament.top-right { top: 0; right: 0; transform: scaleX(-1); }
.card-corner-ornament.bottom-left { bottom: 0; left: 0; }
.card-corner-ornament.bottom-right { bottom: 0; right: 0; transform: scaleX(-1); }

.card-header-garland {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(43, 58, 85, 0.12));
}

.section-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary-bg);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 6px;
}

.salam-title {
    font-size: 2.2rem;
    color: var(--color-primary-text);
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.couple-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px auto 14px;
    width: 60%;
}

.couple-divider .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4c6a87, transparent);
}

.couple-divider i {
    font-size: 0.75rem;
    color: #4c6a87;
    opacity: 0.8;
}

.intro-text {
    font-size: 0.84rem;
    color: var(--color-body-text);
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 0 6px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Profil Mempelai Individual */
.profile-block {
    position: relative;
    z-index: 2;
}

.profile-img-container {
    position: relative;
    width: 220px; 
    height: 220px;
    margin: 0 auto 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    position: absolute;
    width: 72%; 
    height: 72%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.flower-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(43, 58, 85, 0.15));
}

.couple-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4c6a87 0%, #384e73 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    box-shadow: 0 3px 8px rgba(43, 58, 85, 0.2);
}

.name-title {
    font-size: 2.3rem;
    color: var(--color-primary-text);
    margin-bottom: 6px;
    line-height: 1.2;
}

.parents-box {
    background: rgba(240, 245, 250, 0.75);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 4px auto 0;
    max-width: 320px;
    border: 1px dashed rgba(76, 106, 135, 0.25);
}

.parents-text {
    font-size: 0.84rem;
    color: var(--color-body-text);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Ampersand Divider */
.ampersand-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 28px auto;
    width: 85%;
    position: relative;
    z-index: 2;
}

.ampersand-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 106, 135, 0.35), transparent);
}

.ampersand-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #384e73 0%, #2b3a55 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Great Vibes', cursive;
    font-size: 1.9rem;
    box-shadow: 0 4px 12px rgba(43, 58, 85, 0.25);
    border: 3px solid #ffffff;
    flex-shrink: 0;
}

/* =========================================
   12. SECTION ACARA & GOOGLE MAPS
   ========================================= */
.event-section {
    background-color: var(--color-primary-bg);
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23f0f5fa' fill-opacity='0.25' d='M0,192L48,176C96,160,192,128,288,138.7C384,149,480,203,576,213.3C672,224,768,192,864,170.7C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3Cpath fill='%23f0f5fa' fill-opacity='0.5' d='M0,128L48,138.7C96,149,192,171,288,160C384,149,480,107,576,106.7C672,107,768,149,864,170.7C960,192,1056,192,1152,170.7C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3Cpath fill='%23f0f5fa' fill-opacity='1' d='M0,64L48,80C96,96,192,128,288,117.3C384,107,480,53,576,58.7C672,64,768,128,864,138.7C960,149,1056,107,1152,85.3C1248,64,1344,64,1392,64L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-position: top center;
    background-size: 100% 100px;
    background-repeat: no-repeat;
    text-align: center;
    padding: 90px 20px 70px;
    position: relative;
    overflow: hidden;
}

.event-header-container {
    margin-bottom: 25px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #e6eef5;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title-light {
    color: #ffffff !important;
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.event-subtitle {
    font-size: 0.84rem;
    color: #dbe7f2;
    max-width: 360px;
    margin: 0 auto;
}

/* Event Banner Photo */
.event-photo-container {
    position: relative;
    margin: 0 auto 35px;
    width: 100%;
    max-width: 340px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.event-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Kartu Acara */
.event-card-box {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px 20px 25px;
    max-width: 380px;
    margin: 0 auto 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.event-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: -55px auto 14px;
    box-shadow: 0 6px 15px rgba(43, 58, 85, 0.3);
    border: 3px solid #ffffff;
}

.event-card-title {
    font-size: 2.3rem;
    color: var(--color-primary-text);
    margin-bottom: 12px;
}

.event-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--color-body-text);
    font-weight: 600;
    margin-bottom: 8px;
}

.event-info-item i {
    color: var(--color-primary-bg);
}

.event-info-item.location {
    flex-direction: column;
    margin-top: 12px;
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.6;
}

.event-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto;
    width: 60%;
}

.event-section-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.event-section-divider i {
    color: #ffffff;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Google Maps Iframe Container */
.event-map-container {
    width: 100%;
    margin: 16px auto 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #d0deeb;
}

.event-map-container iframe {
    display: block;
    width: 100%;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    border: none;
    padding: 11px 24px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(43, 58, 85, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 58, 85, 0.3);
}

/* =========================================
   13. SECTION OUR LOVE STORY / JOURNEY
   ========================================= */
.story-section {
    background-color: var(--color-secondary-bg);
    text-align: center;
    padding: 70px 20px 60px;
    position: relative;
    overflow: hidden;
}

.story-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 45px;
}

.story-bg-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: rgba(76, 106, 135, 0.15);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.story-script-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 2.8rem;
    color: var(--color-primary-text);
    white-space: nowrap;
    margin: 0;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.story-timeline {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 10px 0 20px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    border-left: 2px dashed #94b2cd;
}

.story-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-left: 52px;
    text-align: left;
}

.story-node {
    position: absolute;
    left: 4px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    box-shadow: 0 0 0 4px rgba(227, 238, 248, 0.9), 0 4px 10px rgba(43, 58, 85, 0.2);
    z-index: 2;
}

.story-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 22px 18px 20px;
    box-shadow: 0 8px 24px rgba(43, 58, 85, 0.08);
    border: 1px solid rgba(148, 178, 205, 0.35);
    width: 100%;
}

.story-photo-wrapper {
    margin: -36px auto 14px;
    width: 90%;
    max-width: 240px;
    background: #ffffff;
    padding: 6px 6px 12px 6px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(43, 58, 85, 0.15);
    transition: transform 0.3s ease;
}

.story-photo-wrapper.tilt-left { transform: rotate(-2.5deg); }
.story-photo-wrapper.tilt-right { transform: rotate(2.5deg); }
.story-photo-wrapper:hover { transform: rotate(0deg) scale(1.02); }

.story-photo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.story-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4c6a87 0%, #384e73 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.story-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-text);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.story-divider {
    height: 2px;
    width: 35px;
    background: linear-gradient(90deg, #4c6a87, transparent);
    margin-bottom: 8px;
}

.story-desc {
    font-size: 0.82rem;
    color: var(--color-body-text);
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   14. SECTION GALERI & LIGHTBOX
   ========================================= */
.gallery-gift-section {
    background-color: #ffffff;
    background-image: radial-gradient(#e6eef5 1px, transparent 1px);
    background-size: 20px 20px;
    text-align: center;
    padding: 60px 20px;
}

.gallery-header-wrapper {
    margin-bottom: 30px;
}

.gallery-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary-bg);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 4px;
}

.gallery-subtitle {
    font-size: 0.84rem;
    color: var(--color-body-text);
    max-width: 340px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 50px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(43, 58, 85, 0.1);
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(43, 58, 85, 0.18);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 58, 85, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 1.4rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
}

.lightbox-dialog {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 14px;
    text-align: center;
    max-width: 80vw;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
    z-index: 10002;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-close {
    top: -50px;
    right: 0;
}

.lightbox-prev {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================================
   15. SECTION WEDDING GIFT / AMPLOP DIGITAL
   ========================================= */
.gift-wrapper {
    padding: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.gift-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d9b68a 0%, #a47b4d 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(164, 123, 77, 0.3);
}

.gift-text {
    font-size: 0.85rem;
    color: var(--color-body-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-gift-toggle {
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
}

.gift-cards-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bank Cards */
.bank-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5fa 100%);
    border: 1px solid rgba(148, 178, 205, 0.4);
    border-radius: 18px;
    width: 100%;
    max-width: 340px;
    padding: 22px 20px;
    box-shadow: 0 8px 22px rgba(43, 58, 85, 0.08);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.bank-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: rgba(217, 182, 138, 0.15);
    border-radius: 50%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.chip-icon {
    color: #d4af37;
    font-size: 1.6rem;
}

.bank-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.bank-logo.mandiri { color: #003d79; }
.bank-logo.bca { color: #003399; font-style: italic; }

.card-body {
    position: relative;
    z-index: 2;
}

.account-label {
    font-size: 0.72rem;
    color: #889bb0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 2px;
}

.account-number {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1e293b;
    margin-bottom: 4px;
    font-family: 'Montserrat', monospace;
}

.account-name {
    font-size: 0.84rem;
    color: #556980;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 14px;
}

.btn-copy {
    background-color: #ffffff;
    border: 1px solid #c9d8e6;
    color: var(--color-primary-dark);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    position: relative;
    z-index: 2;
}

.btn-copy:hover {
    background-color: var(--color-secondary-bg);
    border-color: #4c6a87;
}

/* Address Card */
.address-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5fa 100%);
    border: 1px solid rgba(148, 178, 205, 0.4);
    border-radius: 18px;
    width: 100%;
    max-width: 340px;
    padding: 22px 20px;
    box-shadow: 0 8px 22px rgba(43, 58, 85, 0.08);
    text-align: center;
}

.gift-icon-large {
    font-size: 2rem;
    color: var(--color-primary-bg);
    margin-bottom: 8px;
}

.address-card h3 {
    font-size: 1.05rem;
    color: var(--color-primary-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.address-text {
    font-size: 0.82rem;
    color: var(--color-body-text);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
    background: #ffffff;
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed #c9d8e6;
}

.address-btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-copy-address {
    background-color: #ffffff;
    border: 1px solid #c9d8e6;
    color: var(--color-primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}

.btn-copy-address:hover {
    background-color: var(--color-secondary-bg);
}

.btn-wa-gift {
    background: #25d366;
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-wa-gift:hover {
    background: #1ebc59;
}

/* =========================================
   16. SECTION RSVP & BUKU UCAPAN
   ========================================= */
.wishes-section {
    background-color: var(--color-secondary-bg);
    text-align: center;
    padding: 70px 20px 60px;
    position: relative;
    overflow: hidden;
}

.wishes-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.wishes-bg-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: rgba(76, 106, 135, 0.15);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.wishes-script-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 2.8rem;
    color: var(--color-primary-text);
    white-space: nowrap;
    margin: 0;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.wishes-subtitle {
    font-size: 0.84rem;
    color: var(--color-body-text);
    margin-top: -24px;
    margin-bottom: 28px;
    font-weight: 500;
}

.wishes-container {
    max-width: 420px;
    margin: 0 auto;
}

/* Form RSVP */
.wishes-form {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 178, 205, 0.35);
    text-align: left;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 14px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-text);
    margin-bottom: 5px;
}

.form-group label i {
    color: #4c6a87;
    margin-right: 4px;
}

.wishes-form input,
.wishes-form select,
.wishes-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d0deeb;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.84rem;
    color: #1e293b;
    background: #ffffff;
    color-scheme: only light;
    forced-color-adjust: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.wishes-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234c6a87'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
}

.wishes-form textarea {
    resize: vertical;
    min-height: 75px;
}

.wishes-form input:focus,
.wishes-form select:focus,
.wishes-form textarea:focus {
    outline: none;
    border-color: #4c6a87;
    box-shadow: 0 0 0 3px rgba(76, 106, 135, 0.18);
}

.btn-send-wish {
    width: 100%;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(43, 58, 85, 0.22);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-send-wish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(43, 58, 85, 0.3);
}

/* Header Count Bar */
.wishes-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}

.wishes-count {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--color-primary-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wishes-count i {
    color: #4c6a87;
}

/* Feed List Ucapan */
.wishes-list {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.wishes-list::-webkit-scrollbar {
    width: 5px;
}

.wishes-list::-webkit-scrollbar-track {
    background: rgba(227, 238, 248, 0.6);
    border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: #94b2cd;
    border-radius: 10px;
}

.wish-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 3px 10px rgba(43, 58, 85, 0.05);
    border: 1px solid rgba(148, 178, 205, 0.28);
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: fadeInWish 0.4s ease-out;
}

@keyframes fadeInWish {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wish-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wish-body {
    flex-grow: 1;
    min-width: 0;
}

.wish-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 2px;
}

.wish-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--color-primary-text);
}

.badge-attend {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-attend.hadir { background: #e6f7ec; color: #1e7e34; }
.badge-attend.ragu { background: #fff4e6; color: #d97706; }
.badge-attend.absen { background: #fdf0f0; color: #dc3545; }

.wish-time {
    font-size: 0.7rem;
    color: #889bb0;
    margin-bottom: 6px;
}

.wish-message {
    font-size: 0.82rem;
    color: var(--color-body-text);
    line-height: 1.55;
    word-break: break-word;
    margin: 0;
}

/* =========================================
   17. SECTION CLOSING / PENUTUP
   ========================================= */
.closing-section {
    background-color: var(--color-primary-bg);
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,192L48,176C96,160,192,128,288,138.7C384,149,480,203,576,213.3C672,224,768,192,864,170.7C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3Cpath fill='%23ffffff' fill-opacity='0.3' d='M0,128L48,138.7C96,149,192,171,288,160C384,149,480,107,576,106.7C672,107,768,149,864,170.7C960,192,1056,192,1152,170.7C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M0,64L48,80C96,96,192,128,288,117.3C384,107,480,53,576,58.7C672,64,768,128,864,138.7C960,149,1056,107,1152,85.3C1248,64,1344,64,1392,64L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-position: top center;
    background-size: 100% 100px;
    background-repeat: no-repeat;
    text-align: center;
    padding: 90px 20px 90px;
    position: relative;
    overflow: hidden;
}

.closing-img-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.closing-photo {
    position: absolute;
    width: 72%;
    height: 72%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.closing-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(43, 58, 85, 0.2));
}

.closing-text {
    font-size: 0.85rem;
    color: #e6eef5;
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.closing-salam {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.closing-couple-name {
    color: #ffffff !important;
    font-size: 3.2rem;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.closing-footer-note {
    font-size: 0.72rem;
    color: #a3bfd9;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* =========================================
   18. FLOATING DOCK NAVIGATION
   ========================================= */
.floating-menu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 35px;
    padding: 7px 12px;
    box-shadow: var(--shadow-floating);
    z-index: 100;
    border: 1px solid rgba(148, 178, 205, 0.4);
    animation: slideUpNav 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpNav {
    from { transform: translate(-50%, 40px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.floating-menu ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.floating-menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-bg);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.floating-menu li a:hover,
.floating-menu li a.active {
    background-color: var(--color-primary-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(43, 58, 85, 0.35);
}

/* =========================================
   19. FLOATING MUSIC PLAYER BUTTON
   ========================================= */
.music-btn {
    position: fixed;
    bottom: 82px;
    left: 20px;
    background: linear-gradient(135deg, #4c6a87 0%, #2b3a55 100%);
    color: white;
    border: 2px solid #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow-floating);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: transform 0.25s ease, background 0.3s;
    animation: rotateVinyl 8s linear infinite;
}

.music-btn.paused {
    animation-play-state: paused;
    opacity: 0.75;
}

@keyframes rotateVinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* =========================================
   20. TOAST NOTIFICATION
   ========================================= */
.toast-notification {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: rgba(30, 41, 59, 0.95);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10005;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =========================================
   21. RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 440px) {
    .floating-menu {
        padding: 5px 8px;
        bottom: 14px;
        max-width: 95%;
    }
    .floating-menu ul {
        gap: 5px;
    }
    .floating-menu li a {
        width: 36px;
        height: 36px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    .music-btn {
        bottom: 74px;
        left: 14px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .couple-name { font-size: 2.8rem; }
    .cover-content .couple-name { font-size: 3rem; }
}

@media (max-width: 360px) {
    .floating-menu {
        padding: 4px 6px;
        bottom: 10px;
    }
    .floating-menu ul {
        gap: 3px;
    }
    .floating-menu li a {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }
    .countdown-box {
        width: 52px;
        height: 64px;
    }
    .count-number {
        font-size: 1.25rem;
    }
}

@media (max-height: 720px) {
    .cover-container {
        padding: 16px 12px 20px;
    }
    .cover-title-name {
        font-size: 2rem;
    }
    .cover-photo-container {
        width: 250px;
        height: 270px;
        margin: 4px auto;
    }
    .cover-photo-spotlight {
        width: 240px;
        height: 240px;
    }
    .cover-photo-frame-wrap {
        width: 210px;
        height: 250px;
    }
    .cover-photo {
        border-radius: 100px 100px 20px 20px;
    }
}

/* =========================================
   22. FORCE ANTI-DARK MODE PROTECTION
   ========================================= */
@media (prefers-color-scheme: dark) {
    :root, html, body {
        color-scheme: only light !important;
        forced-color-adjust: none !important;
        -webkit-color-scheme: light !important;
        background-color: #2b3a55 !important;
        color: #1e293b !important;
    }

    .main-wrapper {
        background: #ffffff !important;
    }

    .cover-container {
        color: #1e293b !important;
        background-color: #b7c7db !important;
    }

    .cover-title-name,
    .couple-name,
    .name-title,
    .salam-title,
    .wedding-subtitle {
        color: #1e293b !important;
        text-shadow: none !important;
    }

    .cover-container .tggl,
    .cover-container .greeting-text,
    .intro-text,
    .parents-text,
    .wedding-date,
    .wishes-subtitle,
    .gift-text {
        color: #475569 !important;
    }

    .verse-card,
    .couple-card-unified,
    .bank-card,
    .address-card,
    .wishes-form,
    .wish-card,
    .story-card,
    .guest-card-box,
    .countdown-wrapper {
        background: rgba(255, 255, 255, 0.96) !important;
        color: #1e293b !important;
        border-color: rgba(148, 178, 205, 0.4) !important;
    }

    .wishes-form input,
    .wishes-form select,
    .wishes-form textarea {
        background-color: #ffffff !important;
        color: #1e293b !important;
        border-color: #d0deeb !important;
    }

    .floating-menu {
        background-color: rgba(255, 255, 255, 0.95) !important;
    }

    .floating-menu li a {
        background-color: #4c6a87 !important;
        color: #ffffff !important;
    }
}
