        :root {
            --orange: #E8722A;
            --orange-light: #F4A054;
            --orange-pale: #FDE9D4;
            --brown: #C89B6E;
            --brown-light: #E8D5B7;
            --brown-pale: #FDF5EC;
            --gold: #D4A843;
            --gold-light: #F0CC6E;
            --gold-pale: #FFF8E7;
            --cream: #FFFBF5;
            --text-dark: #3D2B1F;
            --text-mid: #7A5535;
        }

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

        body {
            font-family: 'Nunito', sans-serif;
            background-color: var(--cream);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--brown-pale);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--orange-light);
            border-radius: 99px;
        }

        /* ===== FLOATING PARTICLES ===== */
        .particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
            animation: float-particle linear infinite;
        }

        @keyframes float-particle {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 0.15;
            }

            90% {
                opacity: 0.15;
            }

            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* ===== MUSIC PLAYER ===== */
        .music-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 999;
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--orange), var(--gold));
            border-radius: 50%;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(232, 114, 42, 0.4);
            transition: all 0.3s ease;
        }

        .music-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 28px rgba(232, 114, 42, 0.6);
        }

        .music-btn.playing {
            animation: pulse-music 1.5s ease-in-out infinite;
        }

        @keyframes pulse-music {

            0%,
            100% {
                box-shadow: 0 4px 20px rgba(232, 114, 42, 0.4);
            }

            50% {
                box-shadow: 0 4px 30px rgba(232, 114, 42, 0.8), 0 0 0 8px rgba(232, 114, 42, 0.1);
            }
        }

        /* ===== ENVELOPE INTRO ===== */
        #envelope-screen {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: linear-gradient(135deg, #F4A054, #E8722A, #D4A843);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        .envelope-wrap {
            position: relative;
            cursor: pointer;
            filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
        }

        .envelope-svg {
            width: 240px;
            height: 180px;
        }

        .envelope-flap {
            transform-origin: top center;
            transition: transform 0.8s cubic-bezier(.4, 0, .2, 1);
        }

        .envelope-wrap.open .envelope-flap {
            transform: rotateX(180deg);
        }

        .envelope-wrap.open .envelope-letter {
            animation: letter-pop 0.6s 0.4s ease forwards;
        }

        .envelope-letter {
            position: absolute;
            left: 50%;
            bottom: 40px;
            transform: translateX(-50%) translateY(0);
            width: 120px;
            height: 80px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            opacity: 0;
        }

        @keyframes letter-pop {
            0% {
                transform: translateX(-50%) translateY(0);
                opacity: 0;
            }

            100% {
                transform: translateX(-50%) translateY(-70px);
                opacity: 1;
            }
        }

        #open-btn {
            background: white;
            color: var(--orange);
            border: none;
            border-radius: 50px;
            padding: 14px 36px;
            font-size: 16px;
            font-weight: 700;
            font-family: 'Nunito', sans-serif;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.3s;
            opacity: 0;
            animation: fade-in 0.5s 0.5s ease forwards;
        }

        @keyframes fade-in {
            to {
                opacity: 1;
            }
        }

        #open-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }

        /* ===== HERO SECTION ===== */
        #hero {
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background: linear-gradient(160deg, #FDE9D4 0%, #FFF8E7 40%, #FDE9D4 100%);
        }

        .hero-deco-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.08;
        }

        .hero-photo-frame {
            position: relative;
            z-index: 2;
        }

        .hero-photo-outer {
            width: 280px;
            height: 350px;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            background: linear-gradient(135deg, var(--gold), var(--orange));
            padding: 5px;
            box-shadow: 0 20px 60px rgba(212, 168, 67, 0.4);
            animation: float-hero 4s ease-in-out infinite;
        }

        @keyframes float-hero {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-14px);
            }
        }

        .hero-photo-inner {
            width: 100%;
            height: 100%;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            overflow: hidden;
            background: var(--brown-pale);
        }

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

        .hero-badge {
            position: absolute;
            bottom: -18px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--orange), var(--gold));
            color: white;
            border-radius: 50px;
            padding: 10px 24px;
            font-size: 15px;
            font-weight: 800;
            white-space: nowrap;
            box-shadow: 0 6px 20px rgba(232, 114, 42, 0.4);
            z-index: 3;
        }

        .name-display {
            font-family: 'Dancing Script', cursive;
            font-size: clamp(2.8rem, 7vw, 5rem);
            font-weight: 700;
            background: linear-gradient(135deg, var(--orange), var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
        }

        .hi-text {
            font-family: 'Nunito', sans-serif;
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: var(--text-mid);
            font-weight: 600;
        }

        /* Guest name banner */
        .guest-banner {
            background: linear-gradient(135deg, var(--orange-pale), var(--gold-pale));
            border: 2px solid var(--gold-light);
            border-radius: 16px;
            padding: 16px 24px;
            text-align: center;
        }

        .guest-name-display {
            font-family: 'Dancing Script', cursive;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--orange);
        }

        /* ===== COUNTDOWN ===== */
        .countdown-box {
            background: white;
            border-radius: 20px;
            padding: 12px 0;
            box-shadow: 0 8px 32px rgba(212, 168, 67, 0.15);
            border: 1.5px solid var(--brown-light);
        }

        .countdown-item {
            text-align: center;
            padding: 0 16px;
        }

        .countdown-num {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--orange), var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }

        .countdown-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-mid);
            font-weight: 700;
        }

        .countdown-sep {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--orange-light);
            align-self: flex-start;
            padding-top: 6px;
        }

        /* ===== DETAILS CARDS ===== */
        .detail-card {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
            border: 1.5px solid var(--brown-light);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .detail-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(212, 168, 67, 0.2);
        }

        .detail-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--orange-pale), var(--gold-pale));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }

        /* ===== GALLERY ===== */
        .gallery-item {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            transition: transform 0.4s, box-shadow 0.4s;
            cursor: pointer;
            aspect-ratio: 1;
        }

        .gallery-item:hover {
            transform: scale(1.04) rotate(1deg);
            box-shadow: 0 16px 40px rgba(212, 168, 67, 0.3);
        }

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

        /* ===== LIGHTBOX ===== */
        #lightbox {
            position: fixed;
            inset: 0;
            z-index: 200;
            background: rgba(0, 0, 0, 0.85);
            display: none;
            align-items: center;
            justify-content: center;
        }

        #lightbox.show {
            display: flex;
        }

        #lightbox img {
            max-width: 90vw;
            max-height: 85vh;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        #lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dark);
        }

        /* ===== GUESTBOOK ===== */
        .guestbook-form {
            background: white;
            border-radius: 28px;
            padding: 32px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
            border: 2px solid var(--brown-light);
        }

        .form-input {
            width: 100%;
            border: 2px solid var(--brown-light);
            border-radius: 14px;
            padding: 14px 18px;
            font-family: 'Nunito', sans-serif;
            font-size: 15px;
            color: var(--text-dark);
            background: var(--cream);
            transition: border-color 0.3s, box-shadow 0.3s;
            outline: none;
        }

        .form-input:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 4px rgba(232, 114, 42, 0.1);
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--orange), var(--gold));
            color: white;
            border: none;
            border-radius: 14px;
            padding: 15px 32px;
            font-size: 16px;
            font-weight: 700;
            font-family: 'Nunito', sans-serif;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
            box-shadow: 0 6px 24px rgba(232, 114, 42, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(232, 114, 42, 0.4);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .wish-card {
            background: white;
            border-radius: 20px;
            padding: 20px 24px;
            border-left: 4px solid var(--orange);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            animation: slide-in 0.4s ease;
        }

        @keyframes slide-in {
            from {
                opacity: 0;
                transform: translateY(16px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== MAP SECTION ===== */
        .map-container {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 3px solid var(--gold-light);
        }

        /* ===== SECTION HEADERS ===== */
        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 900;
            background: linear-gradient(135deg, var(--orange), var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            font-size: 1rem;
            color: var(--text-mid);
            font-weight: 600;
        }

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

        .divider-line {
            height: 2px;
            flex: 1;
            max-width: 80px;
            background: linear-gradient(90deg, transparent, var(--gold));
        }

        .divider-line.right {
            background: linear-gradient(90deg, var(--gold), transparent);
        }

        /* ===== FLOWERS DECO ===== */
        .flower-deco {
            font-size: 1.5rem;
            opacity: 0.7;
            animation: spin-flower 8s linear infinite;
        }

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

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

        /* ===== TOAST ===== */
        #toast {
            position: fixed;
            bottom: 90px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: linear-gradient(135deg, var(--orange), var(--gold));
            color: white;
            padding: 14px 28px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 15px;
            z-index: 999;
            box-shadow: 0 8px 30px rgba(232, 114, 42, 0.4);
            opacity: 0;
            transition: all 0.4s ease;
            pointer-events: none;
            white-space: nowrap;
        }

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

        /* ===== ANIMATIONS ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== RIBBON ===== */
        .ribbon {
            background: linear-gradient(90deg, var(--orange), var(--gold), var(--orange));
            background-size: 200% 100%;
            animation: ribbon-anim 3s linear infinite;
            color: white;
            text-align: center;
            padding: 10px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
        }

        @keyframes ribbon-anim {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 200% 50%;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 640px) {
            .hero-photo-outer {
                width: 220px;
                height: 280px;
            }

            .countdown-num {
                font-size: 1.8rem;
            }

            .countdown-item {
                padding: 0 10px;
            }
        }