/* --- DESIGN SYSTEM & CSS VARIABLES --- */
        :root {
            --gold: #b28e28;
            --gold-light: #f6ecd5;
            --gold-dark: #8c6e1c;
            --saffron: #df8a28;
            --saffron-light: #fad6a5;
            --sage: #52796f;
            --sage-light: #eef4f0;
            --sage-dark: #354f52;
            --bg-light: #fdfdf9;
            --bg-cream: #f6f2e7;
            --bg-glass: rgba(253, 253, 249, 0.88);
            --text-dark: #2f3e46;
            --text-muted: #526260;
            --glass-border: rgba(178, 142, 40, 0.25);
            --font-serif: 'Cinzel', serif;
            --font-display: 'Cinzel Decorative', serif;
            --font-sans: 'Montserrat', sans-serif;
            --font-script: 'Great Vibes', cursive;
            --card-shadow: 0 8px 32px 0 rgba(178, 142, 40, 0.08);
        }

        /* --- CSS RESET --- */
        html {
            scroll-behavior: smooth;
        }

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

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-cream);
            background: radial-gradient(circle at top, #ffffff, #fbf7ee, #f5ecd5);
            color: var(--text-dark);
            overflow-x: hidden;
            line-height: 1.6;
            padding-bottom: 2rem;
        }

        /* Scrollbar styling */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-cream);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--gold);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--gold-dark);
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            font-family: var(--font-serif);
            font-weight: 600;
            letter-spacing: 2px;
            color: var(--gold-dark);
        }
        
        .script-font {
            font-family: var(--font-script);
            font-size: 2.5rem;
            color: var(--saffron);
            text-shadow: none;
            letter-spacing: normal;
        }

        /* --- LAYOUT & CONTAINERS --- */
        .app-container {
            max-width: 600px;
            margin: 0 auto;
            min-height: 100vh;
            position: relative;
            background: linear-gradient(to bottom, #ffffff, #fcfaf3, #f5ecd6);
            box-shadow: 0 0 40px rgba(178,142,40,0.15);
        }

        /* --- GLASS EFFECT CARDS --- */
        .glass-card {
            background: var(--bg-glass);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 2rem 1.5rem;
            margin: 1.5rem 1rem;
            box-shadow: var(--card-shadow);
            position: relative;
            overflow: hidden;
        }

        /* Decorative Gold Corner Borders (rounded to match card edges) */
        .glass-card::before {
            content: '';
            position: absolute;
            top: 5px;
            left: 5px;
            width: 15px;
            height: 15px;
            border-top: 2px solid var(--gold);
            border-left: 2px solid var(--gold);
            border-top-left-radius: 15px;
        }
        .glass-card::after {
            content: '';
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 15px;
            height: 15px;
            border-bottom: 2px solid var(--gold);
            border-right: 2px solid var(--gold);
            border-bottom-right-radius: 15px;
        }

        /* --- HERO HEADER BAR (TOP) --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            background: rgba(255, 255, 255, 0.96);
            border-bottom: 1px solid var(--glass-border);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-logo {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: bold;
            color: var(--gold-dark);
            text-decoration: none;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .header-btn {
            background: none;
            border: none;
            color: var(--gold-dark);
            font-size: 1.2rem;
            cursor: pointer;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(178, 142, 40, 0.08);
            transition: all 0.3s ease;
        }

        .header-btn:hover, .header-btn:active {
            background: rgba(178, 142, 40, 0.18);
            transform: scale(1.05);
        }

        /* --- BOTTOM NAVIGATION BAR (HIDDEN IN SINGLE PAGE SCROLL MODE) --- */
        .bottom-nav {
            display: none !important;
        }

        /* --- SINGLE PAGE CONTINUOUS SCROLL SECTIONS --- */
        .tab-content {
            display: block !important;
            opacity: 1 !important;
            transform: none !important;
            padding: 1.5rem 0 0.5rem;
            scroll-margin-top: 75px;
        }

        /* --- HERO QUICK NAV JUMP ANCHORS --- */
        .hero-quick-nav {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-top: 1rem;
        }

        .hero-nav-btn {
            background: #ffffff;
            border: 1.5px solid var(--gold);
            border-radius: 14px;
            padding: 14px 10px;
            color: var(--gold-dark);
            font-family: var(--font-sans);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 14px rgba(178, 142, 40, 0.08);
            transition: all 0.25s ease;
        }

        .hero-nav-btn:hover, .hero-nav-btn:active {
            background: var(--gold-dark);
            color: #ffffff;
            border-color: var(--gold-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(178, 142, 40, 0.22);
        }

        .hero-nav-btn i {
            font-size: 1rem;
            color: var(--saffron);
        }

        .hero-nav-btn:hover i {
            color: #ffffff;
        }

        .section-divider {
            text-align: center;
            margin: 2.5rem 1rem 1rem;
            position: relative;
        }

        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 10%;
            width: 80%;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--gold), transparent);
            z-index: 1;
        }

        .section-divider-title {
            display: inline-block;
            background: var(--bg-cream);
            padding: 0 15px;
            position: relative;
            z-index: 2;
            font-family: var(--font-serif);
            font-size: 1.2rem;
            color: var(--gold-dark);
            font-weight: 700;
            letter-spacing: 2px;
        }

        /* --- FALLING PETALS (MOGRA/JASMINE) & ROTATING MANDALAS --- */
        .petal-container {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 600px;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 1;
        }

        .petal {
            position: absolute;
            background: linear-gradient(135deg, #ffffff, #fffdf0);
            border-radius: 150% 0 150% 150%;
            width: 10px;
            height: 14px;
            opacity: 0.8;
            box-shadow: 0 1px 3px rgba(178, 142, 40, 0.1);
            animation: fallDown linear infinite;
        }

        @keyframes fallDown {
            0% {
                transform: translateY(-20px) translateX(0) rotate(0deg) rotateY(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.75;
            }
            50% {
                transform: translateY(50vh) translateX(var(--sway)) rotate(180deg) rotateY(180deg);
            }
            90% {
                opacity: 0.75;
            }
            100% {
                transform: translateY(105vh) translateX(0) rotate(360deg) rotateY(360deg);
                opacity: 0;
            }
        }

        /* --- CLICK RIPPLE EFFECT --- */
        .click-ripple {
            position: absolute;
            width: 32px;
            height: 32px;
            background: radial-gradient(circle, rgba(178, 142, 40, 0.2) 0%, rgba(178, 142, 40, 0) 70%);
            border: 1.5px solid rgba(178, 142, 40, 0.4);
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%) scale(0.2);
            opacity: 1;
            z-index: 9999;
            animation: rippleEffect 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
        }

        .click-ripple::before, .click-ripple::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            border-radius: 50%;
            border: 1px solid rgba(178, 142, 40, 0.2);
        }
        .click-ripple::before { transform: rotate(30deg); }
        .click-ripple::after { transform: rotate(60deg); }

        @keyframes rippleEffect {
            0% {
                transform: translate(-50%, -50%) scale(0.3);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(1.8);
                opacity: 0;
            }
        }

        .mandala-bg {
            position: absolute;
            width: 280px;
            height: 280px;
            opacity: 0.06;
            pointer-events: none;
            animation: rotateMandala 60s linear infinite;
        }

        @keyframes rotateMandala {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* --- MUSIC PLAYER FLOATING WIDGET --- */
        .music-widget {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--gold);
            padding: 8px 12px;
            border-radius: 30px;
            font-size: 0.75rem;
            color: var(--text-dark);
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(178,142,40,0.1);
            transition: all 0.3s ease;
        }

        .music-widget:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 20px rgba(178,142,40,0.2);
        }

        .cd-disk {
            font-size: 1.2rem;
            color: var(--saffron);
            animation: rotateCD 3s linear infinite;
            animation-play-state: paused;
        }

        .playing .cd-disk {
            animation-play-state: running;
        }

        @keyframes rotateCD {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .wave-bar {
            display: inline-block;
            width: 2px;
            height: 10px;
            background-color: var(--saffron);
            margin: 0 1px;
            animation: waveBounce 1s ease-in-out infinite alternate;
            animation-play-state: paused;
        }

        .playing .wave-bar {
            animation-play-state: running;
        }

        .wave-bar:nth-child(2) { animation-delay: 0.2s; }
        .wave-bar:nth-child(3) { animation-delay: 0.4s; }
        .wave-bar:nth-child(4) { animation-delay: 0.6s; }

        @keyframes waveBounce {
            from { height: 3px; }
            to { height: 12px; }
        }

        /* --- TAB 1: HOME PANEL --- */
        .hero-banner {
            position: relative;
            padding: 3.5rem 1rem 2rem;
            text-align: center;
            overflow: hidden;
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: 2.3rem;
            line-height: 1.2;
            color: var(--gold-dark);
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 8px rgba(178, 142, 40, 0.1);
        }

        /* JAIN MANTRA BANNER */
        .mantra-banner {
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(223, 138, 40, 0.2);
            border-radius: 12px;
            padding: 12px;
            margin: 0.5rem 1rem 1rem;
            font-family: var(--font-serif);
            text-align: center;
            box-shadow: 0 4px 15px rgba(223, 138, 40, 0.04);
        }

        .mantra-title {
            font-size: 0.85rem;
            color: var(--saffron);
            font-weight: bold;
            margin-bottom: 4px;
            letter-spacing: 2px;
        }

        .mantra-text {
            font-size: 0.85rem;
            color: var(--text-dark);
            line-height: 1.5;
            font-weight: 500;
        }

        .mantra-peace {
            font-size: 0.7rem;
            color: var(--sage);
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-top: 6px;
        }

        /* Photo Arched Frame */
        .arch-container {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
            position: relative;
            z-index: 2;
        }

        .royal-arch {
            width: 240px;
            height: 330px;
            background-color: var(--gold-light);
            border-top-left-radius: 120px;
            border-top-right-radius: 120px;
            position: relative;
            box-shadow: 0 15px 35px rgba(178,142,40,0.1), inset 0 0 30px rgba(178, 142, 40, 0.05);
            padding: 10px;
            border: 2px solid var(--gold);
        }

        .royal-arch-inner {
            width: 100%;
            height: 100%;
            border-top-left-radius: 110px;
            border-top-right-radius: 110px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(to top, #f6ecd5, #ffffff);
        }

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

        .royal-arch:hover .couple-img {
            transform: scale(1.05);
        }

        /* --- SCRATCH CARD WEDDING DATE REVEAL --- */
        .scratch-reveal-container {
            margin: 1.5rem 1rem 0.5rem;
            text-align: center;
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 1.25rem 0.75rem 1.5rem;
            box-shadow: var(--card-shadow);
            position: relative;
            z-index: 2;
            overflow: visible;
        }

        .scratch-instruction {
            font-family: var(--font-sans);
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--gold-dark);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .scratch-cards-row {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 360px;
            margin: 0 auto;
        }

        .scratch-card-wrapper {
            position: relative;
            width: 90px;
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Flower Blossom SVG animation background */
        .flower-blossom-svg {
            position: absolute;
            top: -15px;
            left: -15px;
            width: 120px;
            height: 120px;
            pointer-events: none;
            z-index: 1;
            transform: scale(0) rotate(-45deg);
            opacity: 0;
            transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
        }

        .scratch-card-wrapper.revealed .flower-blossom-svg {
            transform: scale(1.08) rotate(0deg);
            opacity: 1;
        }

        /* Circle Inner Value View */
        .scratch-circle-inner {
            width: 84px;
            height: 84px;
            border-radius: 50%;
            background: radial-gradient(circle, #ffffff 30%, #f6ecd5 100%);
            border: 2px solid var(--gold);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: inset 0 0 12px rgba(178, 142, 40, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
            position: relative;
            z-index: 2;
            transition: border-color 0.4s ease, box-shadow 0.4s ease;
        }

        .scratch-card-wrapper.revealed .scratch-circle-inner {
            border-color: var(--saffron);
            box-shadow: inset 0 0 15px rgba(223, 138, 40, 0.2), 0 0 15px rgba(223, 138, 40, 0.25);
        }

        .scratch-value {
            font-family: var(--font-serif);
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--gold-dark);
            line-height: 1;
        }

        .scratch-label {
            font-family: var(--font-sans);
            font-size: 0.55rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: var(--saffron);
            margin-top: 3px;
        }

        /* Canvas Scratch Foil Layer */
        .scratch-canvas {
            position: absolute;
            top: 3px;
            left: 3px;
            width: 84px;
            height: 84px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 3;
            touch-action: none;
            transition: opacity 0.5s ease;
        }

        .scratch-canvas.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        /* Countdown Widget (Hidden initially, slides and fades out from behind scratch component when revealed) */
        .countdown-widget {
            margin: 0 1rem;
            padding: 0 1.5rem;
            background: var(--bg-glass);
            border: 1px dashed var(--gold);
            border-radius: 15px;
            text-align: center;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transform: translateY(-40px) scale(0.92);
            pointer-events: none;
            transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.25, 0.64, 1), max-height 0.7s ease, margin 0.7s ease, padding 0.7s ease;
            position: relative;
            z-index: 1;
        }

        .countdown-widget.show-timer {
            opacity: 1;
            max-height: 250px;
            margin: 1.5rem 1rem;
            padding: 1.5rem 1rem;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        .countdown-title {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 1rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .countdown-timer {
            display: flex;
            justify-content: space-around;
            max-width: 320px;
            margin: 0 auto;
        }

        .timer-segment {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .timer-val {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--gold-dark);
        }

        .timer-label {
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        /* --- TIMELINE OF OUR STORY --- */
        .story-section {
            padding: 1rem;
        }

        .timeline {
            position: relative;
            max-width: 100%;
            margin: 2rem 0;
            padding-left: 30px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 10px;
            height: 100%;
            width: 2px;
            background: var(--gold);
            opacity: 0.3;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 2.5rem;
        }

        .timeline-dot {
            position: absolute;
            left: -26px;
            top: 4px;
            width: 14px;
            height: 14px;
            background: #ffffff;
            border: 2px solid var(--gold);
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 8px rgba(178, 142, 40, 0.3);
        }

        .timeline-item:hover .timeline-dot {
            background: var(--gold);
        }

        .timeline-date {
            font-family: var(--font-serif);
            font-size: 0.85rem;
            font-weight: bold;
            color: var(--gold-dark);
            margin-bottom: 4px;
        }

        .timeline-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .timeline-desc {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* --- TAB 2: EVENTS TIMELINE PANEL --- */
        .event-card {
            display: flex;
            flex-direction: column;
            gap: 15px;
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 1.8rem;
            margin: 1.5rem 1rem;
            box-shadow: var(--card-shadow);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .event-card:hover {
            transform: translateY(-3px);
            border-color: var(--gold);
        }

        .event-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px dashed rgba(178,142,40,0.2);
            padding-bottom: 10px;
        }

        .event-card-title {
            font-size: 1.25rem;
            color: var(--gold-dark);
        }

        .event-card-icon {
            font-size: 1.4rem;
            color: var(--saffron);
        }

        .event-detail-row {
            display: flex;
            gap: 12px;
            font-size: 0.85rem;
            align-items: flex-start;
            text-align: left;
        }

        .event-detail-row i {
            color: var(--gold-dark);
            margin-top: 4px;
            width: 15px;
        }

        .dress-code-badge {
            background: rgba(82, 121, 111, 0.1);
            border: 1px solid var(--sage);
            color: var(--sage-dark);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 5px;
            font-weight: 500;
        }

        .event-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .event-btn {
            flex: 1;
            background: rgba(178, 142, 40, 0.06);
            border: 1px solid var(--gold);
            color: var(--gold-dark);
            padding: 8px 12px;
            border-radius: 25px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-decoration: none;
        }

        .event-btn:hover, .event-btn:active {
            background: var(--gold);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(178,142,40,0.15);
        }

        /* --- VIVAH CEREMONIES ITINERARY LAYOUT --- */
        .vivah-day-header {
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 18px;
            padding: 1.25rem 1.4rem;
            margin: 1.5rem 1rem 0.6rem;
            text-align: center;
            box-shadow: var(--card-shadow);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .vivah-day-title {
            font-family: var(--font-serif);
            font-size: 1.2rem;
            color: var(--gold-dark);
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .vivah-day-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 8px 16px;
            font-size: 0.8rem;
            color: var(--text-dark);
            font-weight: 400;
        }

        .vivah-day-meta span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 400;
        }

        .vivah-day-meta i {
            color: var(--gold-dark);
        }

        .event-card.ceremony-card {
            padding: 0.95rem 1.25rem;
            margin: 0.5rem 1rem;
            gap: 0;
            border-left: 3.5px solid var(--gold);
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        }

        .event-card.ceremony-card:hover {
            transform: translateX(4px);
            border-left-color: var(--saffron);
        }

        .ceremony-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            width: 100%;
        }

        .ceremony-title-group {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .ceremony-icon {
            font-size: 1.15rem;
            color: var(--saffron);
            width: 20px;
            text-align: center;
            display: inline-flex;
            justify-content: center;
            align-items: center;
        }

        .ceremony-row .event-card-title {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--gold-dark);
            margin: 0;
        }

        .ceremony-dots {
            flex-grow: 1;
            border-bottom: 1.5px dotted var(--gold);
            opacity: 0.4;
            margin: 0 4px;
            min-width: 12px;
        }

        .ceremony-time-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(178, 142, 40, 0.08);
            color: var(--gold-dark);
            padding: 4px 10px;
            border-radius: 12px;
            font-family: var(--font-serif);
            font-size: 0.78rem;
            font-weight: 500;
            white-space: nowrap;
            border: 1px solid rgba(178, 142, 40, 0.2);
        }

        .ceremony-time-badge i {
            color: var(--saffron);
            font-size: 0.75rem;
        }

        .event-card.vivah-sync-card {
            padding: 1.25rem 1.4rem;
            margin: 0.9rem 1rem 1.5rem;
            background: linear-gradient(135deg, rgba(246, 236, 213, 0.4), rgba(253, 253, 249, 0.95));
            border: 1.5px dashed var(--gold);
            gap: 12px;
        }

        .vivah-sync-header {
            display: flex;
            align-items: center;
            gap: 12px;
            text-align: left;
        }

        /* --- TAB 3: RSVP PANEL --- */
        .step-progress {
            display: flex;
            justify-content: space-between;
            margin: 0 auto 2rem;
            max-width: 320px;
            position: relative;
        }

        .step-progress::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--gold-light);
            z-index: 1;
        }

        .progress-line {
            position: absolute;
            top: 15px;
            left: 0;
            width: 0%;
            height: 2px;
            background: var(--gold);
            z-index: 2;
            transition: width 0.3s ease;
        }

        .step-dot {
            width: 32px;
            height: 32px;
            background: #ffffff;
            border: 2px solid var(--gold-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            font-size: 0.8rem;
            font-weight: bold;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .step-dot.active {
            border-color: var(--gold);
            background: #ffffff;
            color: var(--gold-dark);
            box-shadow: 0 0 10px rgba(178,142,40,0.2);
        }

        .step-dot.completed {
            border-color: var(--gold);
            background: var(--gold);
            color: #ffffff;
        }

        .rsvp-step {
            display: none;
        }

        .rsvp-step.active {
            display: block;
            animation: fadeIn 0.4s ease-out;
        }

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

        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }

        .form-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--gold-dark);
            margin-bottom: 8px;
            display: block;
            font-weight: 600;
        }

        .form-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 12px 16px;
            font-family: var(--font-sans);
            font-size: 0.9rem;
            color: var(--text-dark);
            outline: none;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            border-color: var(--gold);
            box-shadow: 0 0 8px rgba(178,142,40,0.15);
            background: #ffffff;
        }

        .radio-group {
            display: flex;
            gap: 15px;
        }

        .radio-option {
            flex: 1;
            position: relative;
        }

        .radio-option input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .radio-label {
            display: block;
            text-align: center;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--glass-border);
            padding: 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: var(--text-dark);
        }

        .radio-option input:checked + .radio-label {
            border-color: var(--gold);
            background: rgba(178, 142, 40, 0.08);
            color: var(--gold-dark);
            box-shadow: 0 0 10px rgba(178,142,40,0.1);
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            background: rgba(255, 255, 255, 0.7);
            padding: 10px 14px;
            border-radius: 10px;
            border: 1px solid rgba(178,142,40,0.08);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .checkbox-item:hover {
            border-color: rgba(178,142,40,0.2);
        }

        .checkbox-item input {
            accent-color: var(--gold);
            width: 18px;
            height: 18px;
        }

        .checkbox-item label {
            font-size: 0.85rem;
            cursor: pointer;
            width: 100%;
            text-align: left;
        }

        .form-nav-btn {
            width: 100%;
            background: var(--gold-dark);
            color: #ffffff;
            border: none;
            padding: 14px;
            border-radius: 30px;
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 1rem;
        }

        .form-nav-btn:hover {
            background: var(--gold);
            box-shadow: 0 5px 15px rgba(178,142,40,0.2);
        }

        .btn-secondary {
            background: none;
            border: 1px solid var(--gold);
            color: var(--gold-dark);
            margin-top: 8px;
        }

        .btn-secondary:hover {
            background: rgba(178,142,40,0.06);
        }

        .success-box {
            text-align: center;
            padding: 2rem 1.5rem;
            display: none;
            animation: scaleUp 0.4s ease-out forwards;
        }

        @keyframes scaleUp {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .success-icon {
            font-size: 3.5rem;
            color: var(--gold-dark);
            margin-bottom: 1.5rem;
            filter: drop-shadow(0 0 10px rgba(178,142,40,0.15));
        }

        .whatsapp-summary-btn {
            background: #25d366;
            color: white;
            border: none;
            padding: 14px;
            border-radius: 30px;
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 1.5rem auto 0;
            max-width: 320px;
            text-decoration: none;
        }

        .whatsapp-summary-btn:hover {
            background: #20ba5a;
            box-shadow: 0 5px 15px rgba(37,211,102,0.25);
        }

        /* --- TAB 4: GUESTBOOK PANEL --- */
        .wishes-container {
            padding: 0 1rem 2rem;
            position: relative;
        }

        .wishes-masonry {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 1.25rem;
            max-height: min(680px, 65vh);
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior-y: auto;
            overscroll-behavior: auto;
            padding: 4px 6px 14px 4px;
            scrollbar-width: thin;
            scrollbar-color: var(--gold) rgba(178, 142, 40, 0.08);
            -webkit-overflow-scrolling: touch;
            border-radius: 14px;
        }

        .wishes-masonry::-webkit-scrollbar {
            width: 6px;
        }

        .wishes-masonry::-webkit-scrollbar-track {
            background: rgba(178, 142, 40, 0.06);
            border-radius: 10px;
        }

        .wishes-masonry::-webkit-scrollbar-thumb {
            background: var(--gold);
            border-radius: 10px;
        }

        .wishes-masonry::-webkit-scrollbar-thumb:hover {
            background: var(--gold-dark);
        }

        .wish-card {
            padding: 1.25rem 1.25rem 1rem;
            border-radius: 18px;
            position: relative;
            box-shadow: var(--card-shadow);
            text-align: left;
            overflow: hidden;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .wish-card:hover {
            transform: translateY(-2px);
        }

        .wish-card-name {
            font-family: var(--font-serif);
            font-size: 0.95rem;
            font-weight: bold;
            margin-bottom: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .wish-card-date {
            font-size: 0.65rem;
            font-weight: normal;
            opacity: 0.7;
        }

        .wish-card-msg {
            font-size: 0.8rem;
            line-height: 1.5;
            margin-bottom: 12px;
            font-style: italic;
        }

        .wish-card-footer {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            border-top: 1px dashed rgba(0,0,0,0.06);
            padding-top: 8px;
        }

        .wishes-scroll-hint {
            text-align: center;
            font-size: 0.75rem;
            color: var(--gold-dark);
            margin-top: 10px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            opacity: 0.85;
            transition: all 0.3s ease;
            cursor: pointer;
            user-select: none;
            padding: 5px 12px;
            border-radius: 20px;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        .wishes-scroll-hint:hover {
            opacity: 1;
            background: rgba(178, 142, 40, 0.08);
        }

        .wishes-scroll-hint.at-bottom {
            color: var(--saffron);
            font-weight: 600;
        }

        .wishes-scroll-hint i {
            font-size: 0.7rem;
            color: var(--saffron);
            animation: bounceSubtle 1.8s infinite;
        }

        @keyframes bounceSubtle {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(3px);
            }
            60% {
                transform: translateY(1.5px);
            }
        }

        .like-btn {
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font-sans);
            font-size: 0.75rem;
            color: inherit;
            transition: all 0.2s ease;
        }

        .like-btn i {
            font-size: 0.95rem;
            transition: transform 0.2s ease;
        }

        .like-btn:hover i {
            transform: scale(1.2);
        }

        .like-btn.liked i {
            color: #e2435c !important;
            animation: heartBeat 0.3s ease-out;
        }

        @keyframes heartBeat {
            0% { transform: scale(1); }
            50% { transform: scale(1.4); }
            100% { transform: scale(1); }
        }

        /* Pure Jain Wish themes (Peace & Compassion) */
        .theme-sage {
            background: linear-gradient(135deg, #e8f0eb, #c3d7cc);
            color: var(--sage-dark);
            border: 1.5px solid var(--sage);
        }
        .theme-sage .like-btn i { color: rgba(82, 121, 111, 0.6); }

        .theme-saffron {
            background: linear-gradient(135deg, #fdf6ec, #f5d6b3);
            color: #92540c;
            border: 1.5px solid var(--saffron);
        }
        .theme-saffron .like-btn i { color: rgba(223, 138, 40, 0.6); }

        .theme-gold-pure {
            background: linear-gradient(135deg, #ffffff, #fdf8ee);
            color: var(--gold-dark);
            border: 1.5px solid var(--gold);
        }
        .theme-gold-pure .like-btn i { color: rgba(178, 142, 40, 0.6); }

        .theme-lotus {
            background: linear-gradient(135deg, #fff5f5, #fcdada);
            color: #9b4053;
            border: 1.5px solid #d4a5b1;
        }
        .theme-lotus .like-btn i { color: rgba(155, 64, 83, 0.6); }

        /* Wish Theme Selector Grid */
        .theme-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 1.2rem;
        }

        .theme-radio {
            flex: 1;
            position: relative;
            height: 40px;
            cursor: pointer;
        }

        .theme-radio input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .theme-preview {
            width: 100%;
            height: 100%;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            border: 1px solid rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .theme-radio input:checked + .theme-preview {
            border: 2px solid var(--gold-dark);
            box-shadow: 0 0 8px rgba(178,142,40,0.15);
            transform: scale(1.03);
        }

        /* --- TAB 5: VENUE GUIDE & TRAVEL INFO --- */
        .weather-card {
            background: linear-gradient(to right, #fad6a5, #fdfaf3); /* Dawn colors */
            color: var(--text-dark);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--card-shadow);
        }

        .weather-info {
            text-align: left;
        }

        .weather-temp {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.2;
            margin: 5px 0;
            color: var(--gold-dark);
        }

        .weather-desc {
            font-size: 0.75rem;
            opacity: 0.9;
        }

        .weather-icon {
            font-size: 3rem;
            color: var(--saffron);
            animation: sunPulse 3s ease-in-out infinite alternate;
        }

        @keyframes sunPulse {
            from { transform: scale(1); filter: drop-shadow(0 0 5px rgba(223,138,40,0.3)); }
            to { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(223,138,40,0.5)); }
        }

        .contact-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 10px;
        }

        .contact-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255,255,255,0.7);
            padding: 10px 14px;
            border-radius: 10px;
            border: 1px solid rgba(178,142,40,0.08);
        }

        .contact-meta {
            text-align: left;
        }

        .contact-name {
            font-size: 0.85rem;
            font-weight: 600;
        }

        .contact-role {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .contact-link {
            color: var(--gold-dark);
            font-size: 1.1rem;
            text-decoration: none;
            width: 34px;
            height: 34px;
            background: rgba(178,142,40,0.06);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .contact-link:hover {
            background: rgba(178,142,40,0.15);
            color: var(--gold);
        }

        /* --- COORDINATOR ADMIN PANEL (MODAL) --- */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 600px;
            height: 100%;
            background: rgba(255, 255, 255, 0.99);
            color: var(--text-dark);
            z-index: 2000;
            overflow-y: auto;
            padding: 2rem 1.5rem;
            animation: modalFadeIn 0.3s ease forwards;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 15px;
            margin-bottom: 1.5rem;
        }

        .admin-table-container {
            width: 100%;
            overflow-x: auto;
            margin: 1.5rem 0;
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid var(--glass-border);
        }

        .admin-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.75rem;
            text-align: left;
        }

        .admin-table th {
            background: var(--gold-light);
            color: var(--gold-dark);
            padding: 12px 10px;
            font-weight: 600;
            border-bottom: 1px solid var(--glass-border);
        }

        .admin-table td {
            padding: 10px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            color: var(--text-dark);
        }

        .admin-summary-row {
            display: flex;
            justify-content: space-around;
            background: rgba(178, 142, 40, 0.05);
            padding: 12px;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-size: 0.8rem;
        }

        .admin-stat {
            text-align: center;
        }

        .admin-stat span {
            display: block;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--gold-dark);
        }

        .admin-btn {
            background: var(--gold-dark);
            color: #ffffff;
            border: none;
            padding: 10px 18px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .admin-btn:hover {
            background: var(--gold);
        }

        .admin-btn.danger {
            background: #e2435c;
            color: white;
        }

        .admin-btn.danger:hover {
            background: #c13249;
        }

        /* --- TAB 2: PHOTO GALLERY --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            padding: 5px;
        }

        .gallery-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--glass-border);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(178, 142, 40, 0.15);
        }

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

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

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(47, 62, 70, 0.85), transparent);
            padding: 15px 10px;
            opacity: 0.9;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: flex-end;
            justify-content: center;
        }

        .gallery-caption {
            color: #ffffff;
            font-size: 0.75rem;
            font-weight: 500;
            text-align: center;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-family: var(--font-sans);
        }

        /* --- LIGHTBOX MODAL --- */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 2000;
            padding-top: 100px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(47, 62, 70, 0.95);
            backdrop-filter: blur(8px);
            animation: lightboxFadeIn 0.3s ease;
        }

        @keyframes lightboxFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* --- FLOATING BACK TO TOP BUTTON --- */
        .back-to-top-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--gold);
            color: #ffffff;
            border: 1px solid rgba(255,255,255,0.4);
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(178,142,40,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .back-to-top-btn.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top-btn:hover {
            transform: translateY(-3px);
            background: var(--gold-dark);
        }

        /* --- INLINE FORM VALIDATION BADGE --- */
        .form-error-badge {
            background: rgba(226, 67, 92, 0.08);
            border: 1px solid rgba(226, 67, 92, 0.3);
            color: #e2435c;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .lightbox-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 70vh;
            border-radius: 8px;
            border: 2px solid var(--gold);
            animation: zoomIn 0.3s ease;
        }

        @keyframes zoomIn {
            from { transform: scale(0.9); }
            to { transform: scale(1); }
        }

        .lightbox-close {
            position: absolute;
            top: 30px;
            right: 35px;
            color: #ffffff;
            font-size: 40px;
            font-weight: bold;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .lightbox-close:hover,
        .lightbox-close:focus {
            color: var(--saffron);
            text-decoration: none;
            cursor: pointer;
        }

        .lightbox-caption {
            margin: auto;
            display: block;
            width: 80%;
            text-align: center;
            color: #ffffff;
            padding: 15px 0;
            font-family: var(--font-serif);
            font-size: 1.1rem;
            letter-spacing: 1px;
        }

        /* --- GIFT REGISTRY STYLING --- */
        .registry-subtitle {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        .registry-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            padding: 0 1rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 480px) {
            .registry-grid {
                grid-template-columns: 1fr;
            }
        }

        .registry-card {
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .registry-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(178, 142, 40, 0.12);
        }

        .registry-img-container {
            width: 100%;
            height: 160px;
            overflow: hidden;
            position: relative;
            background: #eaeaea;
        }

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

        .registry-card:hover .registry-img {
            transform: scale(1.08);
        }

        .registry-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            z-index: 10;
        }

        .badge-available {
            background: rgba(82, 121, 111, 0.12);
            color: var(--sage-dark);
            border: 1px solid rgba(82, 121, 111, 0.25);
        }

        .badge-reserved {
            background: rgba(223, 138, 40, 0.12);
            color: var(--saffron);
            border: 1px solid rgba(223, 138, 40, 0.25);
        }

        .registry-info {
            padding: 1.25rem 1rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
            gap: 12px;
        }

        .registry-title {
            font-family: var(--font-serif);
            font-size: 0.95rem;
            font-weight: bold;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .registry-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .registry-btn {
            width: 100%;
            padding: 8px 12px;
            border-radius: 8px;
            font-family: var(--font-sans);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-decoration: none;
        }

        .btn-purchase {
            background: transparent;
            color: var(--gold-dark);
            border: 1px solid var(--gold);
        }

        .btn-purchase:hover {
            background: rgba(178, 142, 40, 0.06);
        }

        .btn-reserve {
            background: var(--gold);
            color: #ffffff;
            border: none;
        }

        .btn-reserve:hover {
            background: var(--gold-dark);
        }

        .btn-reserved {
            background: var(--text-muted);
            color: #ffffff;
            border: none;
            cursor: not-allowed;
            opacity: 0.8;
        }

        /* --- MONETARY CONTRIBUTION CARD --- */
        .contribution-card {
            grid-column: span 2;
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 2rem 1.5rem;
            box-shadow: var(--card-shadow);
            margin-top: 1rem;
            position: relative;
        }

        @media (max-width: 480px) {
            .contribution-card {
                grid-column: span 1;
            }
        }

        /* --- REGISTRY MODAL --- */
        .registry-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(47, 62, 70, 0.6);
            backdrop-filter: blur(8px);
        }

        .registry-modal-content {
            background: var(--bg-cream);
            background: radial-gradient(circle at top, #ffffff, #fbf7ee, #f5ecd5);
            margin: 15% auto;
            padding: 2rem 1.5rem;
            border: 1px solid var(--glass-border);
            width: 90%;
            max-width: 450px;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            position: relative;
            transform: scale(0.9);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .registry-modal.active {
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        .registry-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            padding: 0 1rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 480px) {
            .registry-grid {
                grid-template-columns: 1fr;
            }
        }

        .registry-card {
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .registry-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(178, 142, 40, 0.12);
        }

        .registry-img-container {
            width: 100%;
            height: 160px;
            overflow: hidden;
            position: relative;
            background: #eaeaea;
        }

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

        .registry-card:hover .registry-img {
            transform: scale(1.08);
        }

        .registry-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            z-index: 10;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            transition: all 0.3s ease;
        }

        .badge-available {
            background: rgba(35, 85, 70, 0.92);
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.35);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .badge-reserved {
            background: rgba(185, 45, 25, 0.92);
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.35);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .registry-info {
            padding: 1.25rem 1rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
            gap: 12px;
        }

        .registry-title {
            font-family: var(--font-serif);
            font-size: 0.95rem;
            font-weight: bold;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .registry-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .registry-btn {
            width: 100%;
            padding: 8px 12px;
            border-radius: 8px;
            font-family: var(--font-sans);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-decoration: none;
        }

        .btn-purchase {
            background: transparent;
            color: var(--gold-dark);
            border: 1px solid var(--gold);
        }

        .btn-purchase:hover {
            background: rgba(178, 142, 40, 0.06);
        }

        .btn-purchase.disabled,
        .btn-purchase[disabled] {
            background: rgba(0, 0, 0, 0.04) !important;
            color: var(--text-muted) !important;
            border: 1px dashed rgba(0, 0, 0, 0.2) !important;
            cursor: not-allowed !important;
            opacity: 0.6;
            pointer-events: none;
        }

        .btn-reserve {
            background: var(--gold);
            color: #ffffff;
            border: none;
        }

        .btn-reserve:hover {
            background: var(--gold-dark);
        }

        .btn-reserved {
            background: var(--text-muted);
            color: #ffffff;
            border: none;
            cursor: not-allowed;
            opacity: 0.8;
        }

        /* --- MONETARY CONTRIBUTION CARD --- */
        .contribution-card {
            grid-column: span 2;
            background: var(--bg-glass);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 2rem 1.5rem;
            box-shadow: var(--card-shadow);
            margin-top: 1rem;
            position: relative;
        }

        @media (max-width: 480px) {
            .contribution-card {
                grid-column: span 1;
            }
        }

        /* --- REGISTRY MODAL --- */
        .registry-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(47, 62, 70, 0.6);
            backdrop-filter: blur(8px);
        }

        .registry-modal-content {
            background: var(--bg-cream);
            background: radial-gradient(circle at top, #ffffff, #fbf7ee, #f5ecd5);
            margin: 15% auto;
            padding: 2rem 1.5rem;
            border: 1px solid var(--glass-border);
            width: 90%;
            max-width: 450px;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            position: relative;
            transform: scale(0.9);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .registry-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .registry-modal.active .registry-modal-content {
            transform: scale(1);
            opacity: 1;
            margin: 0;
        }

        /* --- SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER) --- */
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }

        .reveal-on-scroll.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- ROYAL NIGHT (DARK MODE) STYLES --- */
        [data-theme="dark"] {
            --gold: #d4af37;
            --gold-light: #2d261a;
            --gold-dark: #f0c952;
            --saffron: #f59e0b;
            --saffron-light: #3d2c18;
            --sage: #6b9080;
            --sage-light: #1c2723;
            --sage-dark: #a4c3b2;
            --bg-light: #14181b;
            --bg-cream: #181d21;
            --bg-glass: rgba(24, 29, 33, 0.92);
            --text-dark: #f3efe6;
            --text-muted: #9aa8ab;
            --glass-border: rgba(212, 175, 55, 0.32);
            --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.55);
        }

        [data-theme="dark"] body {
            background-color: #121518;
            background: radial-gradient(circle at top, #1e262b, #151a1d, #0d1012);
            color: var(--text-dark);
            transition: background 0.5s ease, color 0.3s ease;
        }

        [data-theme="dark"] header {
            background: rgba(20, 25, 29, 0.96);
            border-bottom: 1px solid var(--glass-border);
        }

        [data-theme="dark"] .header-logo {
            color: var(--gold-dark);
        }

        [data-theme="dark"] .music-widget {
            background: rgba(29, 36, 41, 0.85);
            border-color: var(--glass-border);
            color: var(--text-dark);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .header-btn {
            background: rgba(212, 175, 55, 0.12);
            color: var(--gold-dark);
        }

        [data-theme="dark"] .header-btn:hover {
            background: rgba(212, 175, 55, 0.22);
        }

        [data-theme="dark"] .app-container {
            background: var(--bg-glass);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        [data-theme="dark"] .bottom-nav {
            background: rgba(20, 25, 29, 0.96);
            border-top: 1px solid var(--glass-border);
        }

        [data-theme="dark"] .nav-item {
            color: var(--text-muted);
        }

        [data-theme="dark"] .nav-item.active {
            color: var(--gold);
        }

        [data-theme="dark"] .section-divider-title {
            background: #181d21;
            color: var(--gold-dark);
        }

        [data-theme="dark"] .section-divider::before {
            background: linear-gradient(to right, transparent, var(--gold), transparent);
        }

        [data-theme="dark"] .glass-card,
        [data-theme="dark"] .event-card,
        [data-theme="dark"] .timeline,
        [data-theme="dark"] .scratch-reveal-container {
            background: rgba(29, 36, 41, 0.75);
            border-color: var(--glass-border);
            color: var(--text-dark);
        }

        [data-theme="dark"] .mantra-banner {
            background: rgba(29, 36, 41, 0.75);
            border: 1px solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] .mantra-title {
            color: var(--saffron);
        }

        [data-theme="dark"] .mantra-text {
            color: #f3efe6;
        }

        [data-theme="dark"] .mantra-peace {
            color: var(--sage-dark);
        }

        [data-theme="dark"] .royal-arch {
            background-color: var(--gold-light);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(212, 175, 55, 0.1);
        }

        [data-theme="dark"] .royal-arch-inner {
            background: linear-gradient(to top, #242c30, #151a1d);
        }

        [data-theme="dark"] .timeline-item {
            border-left-color: var(--gold);
        }

        [data-theme="dark"] .form-input,
        [data-theme="dark"] .form-textarea,
        [data-theme="dark"] select.form-input {
            background: rgba(18, 23, 26, 0.9) !important;
            color: #f3efe6 !important;
            border-color: rgba(212, 175, 55, 0.35) !important;
        }

        [data-theme="dark"] .form-input:focus,
        [data-theme="dark"] .form-textarea:focus {
            border-color: var(--gold) !important;
            background: rgba(24, 30, 35, 0.98) !important;
        }

        [data-theme="dark"] .radio-option {
            background: rgba(24, 30, 34, 0.85);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .radio-option:hover {
            background: rgba(33, 41, 47, 0.95);
        }

        [data-theme="dark"] .radio-option input[type="radio"]:checked + .radio-label {
            color: var(--gold);
        }

        [data-theme="dark"] .modal-content,
        [data-theme="dark"] .registry-modal-content,
        [data-theme="dark"] .admin-dashboard,
        [data-theme="dark"] #adminModal {
            background: radial-gradient(circle at top, #232c32, #181d21, #101315);
            color: var(--text-dark);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .countdown-widget {
            background: rgba(24, 30, 35, 0.85);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .timer-segment {
            background: rgba(33, 42, 48, 0.8);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .timer-val {
            color: var(--gold);
        }

        [data-theme="dark"] .wish-card,
        [data-theme="dark"] .gift-card {
            background: rgba(26, 33, 38, 0.85);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .wishes-masonry {
            scrollbar-color: var(--gold) rgba(255, 255, 255, 0.05);
        }

        [data-theme="dark"] .wishes-masonry::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.04);
        }

        [data-theme="dark"] .wishes-scroll-hint {
            color: var(--gold);
        }

        [data-theme="dark"] .wishes-scroll-hint:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        [data-theme="dark"] .wishes-scroll-hint.at-bottom {
            color: var(--gold-dark);
        }

        [data-theme="dark"] .vivah-day-header {
            background: rgba(24, 30, 35, 0.88);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .event-card.ceremony-card {
            background: rgba(26, 33, 38, 0.85);
            border-left-color: var(--gold);
        }

        [data-theme="dark"] .ceremony-time-badge {
            background: rgba(212, 175, 55, 0.15);
            color: var(--gold);
            border-color: rgba(212, 175, 55, 0.3);
            font-weight: 500;
        }

        [data-theme="dark"] .event-card.vivah-sync-card {
            background: rgba(24, 30, 35, 0.9);
            border-color: var(--gold);
        }

        [data-theme="dark"] .hero-nav-btn {
            background: rgba(29, 36, 41, 0.8);
            border-color: var(--glass-border);
            color: var(--text-dark);
        }

        [data-theme="dark"] .hero-nav-btn:hover {
            background: var(--gold-dark);
            color: #ffffff;
        }

        [data-theme="dark"] .weather-card {
            background: rgba(24, 30, 35, 0.85);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .dress-code-badge {
            background: rgba(212, 175, 55, 0.12);
            color: var(--gold-dark);
            border-color: var(--glass-border);
        }

        [data-theme="dark"] .admin-table th {
            background: rgba(212, 175, 55, 0.15);
            color: var(--gold);
        }

        [data-theme="dark"] .admin-table td {
            border-bottom-color: rgba(212, 175, 55, 0.12);
            color: var(--text-dark);
        }

        [data-theme="dark"] .admin-summary-row {
            background: rgba(212, 175, 55, 0.08);
            border-color: var(--glass-border);
        }

        /* --- EASTER EGG FOOTER HINT --- */
        .easter-egg-hint {
            text-align: center;
            font-size: 0.72rem;
            color: var(--text-muted);
            opacity: 0.45;
            padding: 1.5rem 1rem 3rem;
            letter-spacing: 0.8px;
            user-select: none;
            transition: opacity 0.3s ease;
        }

        [data-theme="dark"] .easter-egg-hint {
            color: #d1d5db;
            opacity: 0.35;
        }
