 :root {
            --gold-primary: #d4af37;
            --gold-light: #f3e5ab;
            --gold-dark: #aa7c11;
            --ivory: #fffdf6;
            --bg-dark: #070708;
            --glass-bg: rgba(255, 253, 246, 0.03);
            --glass-border: rgba(212, 175, 55, 0.25);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            user-select: none;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--ivory);
            font-family: 'Montserrat', sans-serif;
            overflow-x: hidden;
            height: 100%;
        }

        h1, h2, h3, .cinzel {
            font-family: 'Cinzel', serif;
            letter-spacing: 3px;
        }

        #webgl-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 1;
            pointer-events: none;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--gold-dark);
            border-radius: 3px;
        }

        #intro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: radial-gradient(circle, #121216 0%, #050506 100%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            transition: opacity 1.5s ease;
        }

        .intro-text-sub {
            font-size: clamp(14px, 2vw, 18px);
            color: var(--gold-light);
            text-transform: uppercase;
            letter-spacing: 6px;
            opacity: 0;
            margin-bottom: 20px;
        }

        .intro-text-main {
            font-size: clamp(32px, 5vw, 64px);
            font-weight: 400;
            background: linear-gradient(to right, #fff, var(--gold-light), #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0;
            margin-bottom: 40px;
            text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
        }

        .premium-btn {
            background: transparent;
            border: 1px solid var(--gold-primary);
            color: var(--gold-light);
            padding: 16px 40px;
            font-family: 'Cinzel', serif;
            font-size: 16px;
            letter-spacing: 4px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transition: all 0.5s ease;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
        }

        .premium-btn:hover {
            color: var(--bg-dark);
            background: var(--gold-primary);
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
            text-shadow: none;
        }

        #main-content {
            position: relative;
            z-index: 10;
            display: none;
        }

        .scene {
            position: relative;
            min-height: 100vh;
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        #gate-scene {
            background: linear-gradient(to bottom, transparent, rgba(5,5,5,0.8));
        }

        .gate-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            height: 60vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gate-half {
            width: 45%;
            height: 100%;
            border: 3px solid var(--gold-primary);
            position: absolute;
            background: rgba(15, 15, 20, 0.4);
            backdrop-filter: blur(2px);
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: inset 0 0 30px rgba(212,175,55,0.2), 0 0 50px rgba(0,0,0,0.8);
        }

        .gate-left {
            left: 5%;
            border-radius: 200px 0 0 200px;
            transform-origin: left center;
            border-right: 1.5px solid var(--gold-primary);
        }

        .gate-right {
            right: 5%;
            border-radius: 0 200px 200px 0;
            transform-origin: right center;
            border-left: 1.5px solid var(--gold-primary);
        }

        .gate-ornament {
            width: 80%;
            height: 80%;
            border: 1px dashed var(--gold-dark);
            border-radius: inherit;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0.7;
        }

        .gate-center-emblem {
            position: absolute;
            width: 100px;
            height: 100px;
            border: 2px solid var(--gold-primary);
            border-radius: 50%;
            background: var(--bg-dark);
            z-index: 5;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Cinzel', serif;
            color: var(--gold-light);
            font-size: 24px;
            box-shadow: 0 0 20px var(--gold-dark);
        }

        .volumetric-light {
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(212,175,55,0.3) 0%, transparent 70%);
            opacity: 0;
            pointer-events: none;
            z-index: 2;
            mix-blend-mode: screen;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            padding: 60px 40px;
            border-radius: 4px;
            width: 90%;
            max-width: 650px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(212,175,55,0.05);
            position: relative;
            z-index: 20;
            margin: 40px 0;
        }

        .glass-card::before, .glass-card::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border: 1px solid var(--gold-primary);
        }
        .glass-card::before { top: 15px; left: 15px; border-right: none; border-bottom: none; }
        .glass-card::after { bottom: 15px; right: 15px; border-left: none; border-top: none; }

        .card-reveal {
            opacity: 0;
            transform: translateY(30px);
        }

        .couple-names {
            font-size: clamp(28px, 4vw, 48px);
            color: var(--gold-light);
            margin: 20px 0;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        .heart {
            color: #c92a2a;
            display: inline-block;
            animation: pulse 2s infinite;
            font-size: clamp(20px, 3vw, 32px);
            vertical-align: middle;
            margin: 0 10px;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }

        .details-text {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 30px;
            color: #ccc;
        }

        .luxury-divider {
            height: 1px;
            width: 100px;
            background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
            margin: 25px auto;
        }

        .wedding-info-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 30px;
        }

        .info-item h3 {
            font-size: 18px;
            color: var(--gold-light);
            margin-bottom: 5px;
        }

        .info-item p {
            font-size: 14px;
            font-weight: 200;
            color: #e0e0e0;
        }

        .countdown-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 40px 0;
        }

        .countdown-box {
            background: rgba(0,0,0,0.4);
            border: 1px solid rgba(212, 175, 55, 0.15);
            min-width: 70px;
            padding: 15px;
            border-radius: 4px;
            text-align: center;
        }

        .countdown-val {
            font-family: 'Cinzel', serif;
            font-size: clamp(24px, 3vw, 36px);
            color: var(--gold-primary);
            display: block;
        }

        .countdown-lbl {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #aaa;
            margin-top: 5px;
        }

        .map-preview-container {
            width: 100%;
            height: 200px;
            background: linear-gradient(45deg, #16161c, #22222b);
            border: 1px solid rgba(212,175,55,0.2);
            margin: 25px 0;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
        }

        .map-preview-container::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background-image: 
                radial-gradient(rgba(212,175,55,0.08) 1px, transparent 0),
                linear-gradient(to right, rgba(212,175,55,0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(212,175,55,0.03) 1px, transparent 1px);
            background-size: 20px 20px;
            animation: mapPan 60s linear infinite;
        }

        @keyframes mapPan {
            0% { transform: translate(0, 0); }
            100% { transform: translate(-50px, -50px); }
        }

        .map-pin {
            position: relative;
            z-index: 2;
            width: 40px;
            height: 40px;
            fill: var(--gold-primary);
            filter: drop-shadow(0 0 10px var(--gold-dark));
            animation: pinBounce 2s infinite ease-in-out;
        }

        @keyframes pinBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        #audio-control {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 150;
            background: rgba(7, 7, 8, 0.6);
            border: 1px solid var(--gold-primary);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: none;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 0 15px rgba(212,175,55,0.2);
            transition: all 0.3s ease;
        }

        #audio-control:hover {
            transform: scale(1.1);
            background: var(--gold-primary);
        }

        #audio-control:hover svg {
            fill: var(--bg-dark);
        }

        #audio-control svg {
            width: 20px;
            height: 20px;
            fill: var(--gold-light);
            transition: fill 0.3s ease;
        }

        .final-message-box {
            padding: 80px 20px;
            text-align: center;
            max-width: 700px;
            z-index: 20;
        }

        .final-title {
            font-size: clamp(24px, 4vw, 42px);
            color: var(--gold-light);
            margin-bottom: 20px;
            line-height: 1.4;
        }

        .final-sub {
            font-size: clamp(14px, 2vw, 20px);
            letter-spacing: 6px;
            text-transform: uppercase;
            color: var(--gold-primary);
        }

        @media (max-width: 600px) {
            .glass-card {
                padding: 40px 20px;
            }
            .countdown-container {
                gap: 10px;
            }
            .countdown-box {
                min-width: 60px;
                padding: 10px;
            }
        }