        :root {
            --rose: #A47764;
            /* Dusty Rose / Terracotta */
            --cream: #F9F6F0;
            --gold-soft: #D4AF37;
            --white: #FFFFFF;
            --dark: #4A4A4A;
        }

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

        html {
            scroll-behavior: smooth;
            background-color: #E5E5E5;
            overflow-x: hidden;
        }

        body {
            font-family: 'Work Sans', sans-serif;
            color: var(--dark);
            background-color: var(--white);
            max-width: 500px;
            margin: 0 auto;
            min-height: 100vh;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        h1,
        h2,
        h3 {
            font-family: 'Playfair Display', serif;
            color: var(--rose);
            font-weight: 700;
        }

        .cursive {
            font-family: 'Sacramento', cursive;
            color: var(--rose);
            font-size: 3rem;
        }

        .arabic {
            font-family: 'Amiri', serif;
            font-size: 1.8rem;
            color: var(--rose);
            direction: rtl;
            padding: 20px 0;
        }

        section {
            padding: 80px 25px;
            text-align: center;
        }

        /* ========== CIRI KHAS ANIMASI: HEARTBEAT & STAGGER ========== */
        .reveal {
            opacity: 0;
            transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reveal-bottom {
            transform: translateY(40px);
        }

        .reveal-left {
            transform: translateX(-40px);
        }

        .reveal-right {
            transform: translateX(40px);
        }

        .reveal.active {
            opacity: 1;
            transform: translate(0, 0);
        }

        /* Efek Heartbeat pada Foto */
        .heartbeat {
            animation: heartbeat 4s ease-in-out infinite;
        }

        @keyframes heartbeat {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.02);
            }
        }

        /* ========== COVER ========== */
        #cover {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 500px;
            height: 100%;
            background: linear-gradient(rgba(249, 246, 240, 0.9), rgba(249, 246, 240, 0.9)),
                url('/img/basic-img/essensial/bg-hero.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: 1s ease-in-out;
            padding: 40px;
            text-align: center;
        }

        #cover.hide {
            transform: translateX(-50%) translateY(-100%);
        }

        .btn-open {
            padding: 12px 30px;
            background: var(--rose);
            /*color: var(--color-primary);*/
            color: #fff;
            border: none;
            border-radius: 50px;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            cursor: pointer;
        
            /* Flex di dalam tombol untuk icon & teks */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        
            /* Shadow Awal */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin-top: 20px;
            
            /* Animasi Berdetak saat diam (Optional: agar tamu tahu ini tombol) */
            animation: heartbeat 2s infinite;
        }
        
        .btn-open:hover {
            color: var(--rose);;
            background: #fff; /* Tetap putih agar cahaya lebih terlihat */
            transform: scale(1.1);
            
            /* Efek Cahaya dan Shadow yang kuat */
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 
                        0 0 40px rgba(var(--color-primary-rgb), 0.5), 
                        0 10px 30px rgba(0, 0, 0, 0.3);
            
            /* Berdetak lebih cepat saat di-hover */
            animation: heartbeat 0.8s infinite;
        }
        
        /* Kunci Animasi Berdetak */
        @keyframes heartbeat {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }
            50% {
                transform: scale(1.05);
                /* Efek Cahaya memancar saat berdetak */
                box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 
                            0 10px 25px rgba(0, 0, 0, 0.4);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }
        }
        

        /* ========== HERO ========== */
        .hero-frame {
            width: 280px;
            height: 380px;
            border: 1px solid var(--rose);
            margin: 0 auto 30px;
            padding: 15px;
            position: relative;
        }

        .hero-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-frame::after {
            content: '';
            position: absolute;
            top: 10px;
            left: -10px;
            width: 100%;
            height: 100%;
            border: 1px solid var(--rose);
            z-index: -1;
        }

        /* ========== COUNTDOWN ========== */
        .timer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-top: 30px;
        }

        .timer-item {
            background: var(--cream);
            padding: 15px 5px;
            border-radius: 10px;
        }

        .timer-item span {
            display: block;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--rose);
        }

        .timer-item small {
            font-size: 0.6rem;
            text-transform: uppercase;
            opacity: 0.6;
        }

        /* ========== EVENT CARD ========== */
        .event-card {
            background: var(--cream);
            padding: 40px 20px;
            border-radius: 20px;
            margin-bottom: 25px;
            border: 1px solid #efebe5;
        }

        .btn-maps {
            display: inline-block;
            padding: 10px 20px;
            border: 1px solid var(--rose);
            color: var(--rose);
            text-decoration: none;
            font-size: 0.8rem;
            border-radius: 50px;
            margin-top: 15px;
        }

        /* ========== GALLERY ========== */
        .masonry-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 150px;
            gap: 12px;
            margin-top: 30px;
        }

        .masonry-item {
            border-radius: 15px;
            overflow: hidden;
        }

        .masonry-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .item-large {
            grid-column: span 1;
            grid-row: span 2;
        }

        /* ========== RSVP ========== */
        .rsvp-form {
            text-align: left;
        }

        .rsvp-form input,
        .rsvp-form select,
        .rsvp-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            background: var(--cream);
            border: none;
            border-bottom: 2px solid var(--rose);
            outline: none;
            font-family: inherit;
        }

        .btn-submit {
            width: 100%;
            padding: 15px;
            background: var(--rose);
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
        }

        /* ========== MUSIC ========== */
        .music-control {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-235px);
            z-index: 1000;
        }

        .music-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--rose);
            color: white;
            border: none;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .playing i {
            animation: spin 4s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* ========== FOOTER ========== */
        .back-to-top {
            color: var(--rose);
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 2px;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            cursor: pointer;
        }
