
        /* =========================================
           1. SISTEMA DE DISEÑO & VARIABLES VIP
           ========================================= */
        :root {
            --color-texto-principal: #FFFFFF;
            --color-texto-secundario: #C0C0C0;
            --color-medianoche: #030405; 
            --color-oro: #D4AF37;
            --color-oro-oscuro: #997A00;
            --color-oro-claro: #F3E5AB;
            
            /* Glassmorphism de Alta Gama */
            --bg-cristal: rgba(10, 12, 15, 0.5);
            --blur-cristal: blur(20px);
            --borde-cristal: 1px solid rgba(212, 175, 55, 0.15);
            --sombra-cristal: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.02);
            
            --fuente-titulos: 'Playfair Display', serif;
            --fuente-textos: 'Montserrat', sans-serif;
            --fuente-editorial: 'Cormorant Garamond', serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        
        body {
            font-family: var(--fuente-textos);
            background-color: var(--color-medianoche);
            color: var(--color-texto-principal);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1, h2, h3 { font-family: var(--fuente-titulos); font-weight: 600; }
        .contenedor { max-width: 680px; margin: 0 auto; padding: 0 6%; position: relative; z-index: 10; }
        .seccion-padding { padding: 90px 0; }
        a { text-decoration: none; color: inherit; }

        /* =========================================
           2. FONDO "BOTANICAL LUXURY" VIVO (ANIMADO)
           ========================================= */
        .bg-global { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-color: var(--color-medianoche); overflow: hidden;}
        
        .bg-botanico {
            position: absolute; 
            /* Se hace más grande que el viewport para que al moverse no se vean los bordes cortados */
            top: -5%; left: -5%; right: -5%; bottom: -5%;
            background-image: url('https://images.unsplash.com/photo-1599940824399-b87987ceb72a?auto=format&fit=crop&q=80&w=1080');
            background-size: cover; background-position: center;
            opacity: 0.25; filter: grayscale(50%) contrast(1.2);
            /* Animación suave de Ken Burns (Movimiento de fondo) */
            animation: fondoVivo 40s linear infinite alternate;
            will-change: transform;
        }

        /* Movimiento ultra lento y sutil del fondo (scale aquí es seguro porque NO tiene texto) */
        @keyframes fondoVivo {
            0% { transform: scale(1) translate3d(0, 0, 0); }
            50% { transform: scale(1.05) translate3d(-10px, 10px, 0); }
            100% { transform: scale(1.1) translate3d(10px, -10px, 0); }
        }

        .bg-overlay-ahumado {
            position: absolute; inset: 0;
            background: radial-gradient(circle at center, rgba(3,4,5,0.4) 0%, rgba(3,4,5,0.9) 100%);
            backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        }

        .bg-ruido {
            position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
            opacity: 0.9;
        }

        /* Partículas de Oro */
        .particulas-container { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
        .particula {
            position: absolute; bottom: -20px; width: 4px; height: 4px;
            background-color: var(--color-oro); border-radius: 50%;
            box-shadow: 0 0 12px 2px rgba(212, 175, 55, 0.5);
            animation: flotarPolvo linear infinite;
            will-change: transform, opacity;
        }
        .particula:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; width: 3px; height: 3px; }
        .particula:nth-child(2) { left: 25%; animation-duration: 18s; animation-delay: 2s; width: 5px; height: 5px; opacity: 0.6;}
        .particula:nth-child(3) { left: 40%; animation-duration: 12s; animation-delay: 5s; width: 2px; height: 2px; }
        .particula:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: 1s; opacity: 0.8;}
        .particula:nth-child(5) { left: 70%; animation-duration: 16s; animation-delay: 7s; width: 4px; height: 4px; }
        .particula:nth-child(6) { left: 85%; animation-duration: 14s; animation-delay: 3s; width: 3px; height: 3px; opacity: 0.5;}

        @keyframes flotarPolvo {
            0% { transform: translate3d(0, 0, 0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translate3d(0, -110vh, 0); opacity: 0; }
        }

        /* Animaciones de Scroll (Aceleradas por GPU) */
        .fade-up { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: opacity, transform; }
        .fade-up.visible { opacity: 1; transform: translate3d(0, 0, 0); }
        .fade-left { opacity: 0; transform: translate3d(-40px, 0, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: opacity, transform; }
        .fade-left.visible { opacity: 1; transform: translate3d(0, 0, 0); }
        .fade-right { opacity: 0; transform: translate3d(40px, 0, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: opacity, transform; }
        .fade-right.visible { opacity: 1; transform: translate3d(0, 0, 0); }
        .delay-1 { transition-delay: 150ms; }
        .delay-2 { transition-delay: 300ms; }

        /* Utilidades */
        .glass-card {
            background: var(--bg-cristal); backdrop-filter: var(--blur-cristal); -webkit-backdrop-filter: var(--blur-cristal);
            border: var(--borde-cristal); border-radius: 20px; box-shadow: var(--sombra-cristal);
        }
        .titulo-seccion { font-size: 2.8rem; text-align: center; color: var(--color-oro); margin-bottom: 50px; text-shadow: 0 4px 15px rgba(0,0,0,0.8); font-weight: 400; }

        /* =========================================
           3. LA DOBLE ENTRADA (PRELOADER + SOBRE MASIVO)
           ========================================= */
        #master-screen {
            position: fixed; inset: 0; background: var(--color-medianoche);
            z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center;
            transition: opacity 1.5s ease, visibility 1.5s ease;
            perspective: 1200px; overflow: hidden;
        }
        
        .preloader-view {
            position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
            transition: opacity 1s ease, transform 1s ease; z-index: 100;
        }
        .loader-copas { font-size: 3.5rem; color: var(--color-oro); animation: brindar 2s ease-in-out infinite; margin-bottom: 20px; }
        .loader-texto { font-family: var(--fuente-editorial); font-size: 1.5rem; color: var(--color-oro-claro); font-style: italic; letter-spacing: 2px; }
        @keyframes brindar { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -10px, 0) rotate(5deg); } }
        
        .preloader-view.oculto { opacity: 0; transform: translate3d(0, -30px, 0); pointer-events: none; }

        .envelope-view {
            position: absolute; inset: 0; display: flex; justify-content: center; align-items: center;
            opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            pointer-events: none;
        }
        .envelope-view.visible { opacity: 1; transform: translate3d(0, 0, 0); pointer-events: all; }

        .envelope-container {
            position: relative; width: 90vw; max-width: 500px; height: 60vh; max-height: 350px;
            background: #111; border: 1px solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 40px 80px rgba(0,0,0,0.9), inset 0 0 50px rgba(0,0,0,0.5);
            transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        }
        
        .envelope-flap {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: #181818; border-bottom: 1px solid rgba(212, 175, 55, 0.3);
            clip-path: polygon(0 0, 50% 65%, 100% 0);
            transform-origin: top; transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 3;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        }
        
        .envelope-front {
            position: absolute; inset: 0; background: #111; z-index: 2;
            clip-path: polygon(0 100%, 50% 45%, 100% 100%, 100% 100%, 0 100%);
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        
        .wax-seal {
            position: absolute; top: 60%; left: 50%; transform: translate3d(-50%, -50%, 0);
            width: 80px; height: 80px; background: radial-gradient(circle at 30% 30%, #F3E5AB, #D4AF37 40%, #997A00 80%, #4A3B00);
            border-radius: 50%; z-index: 10; display: flex; justify-content: center; align-items: center;
            font-family: var(--fuente-titulos); font-size: 2.5rem; color: #111; font-weight: 700; cursor: pointer;
            box-shadow: 0 10px 25px rgba(0,0,0,0.8), inset 0 2px 5px rgba(255,255,255,0.4), inset 0 -4px 10px rgba(0,0,0,0.5);
            transition: opacity 0.5s ease;
            -webkit-backface-visibility: hidden; backface-visibility: hidden;
            border: 2px solid rgba(255,255,255,0.1);
        }
        .wax-seal::after {
            content: ''; position: absolute; inset: -15px; border-radius: 50%;
            box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
            animation: latidoSello 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate; z-index: -1;
        }
        @keyframes latidoSello { 0% { opacity: 0.1; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1.05); } }
        
        .tap-text {
            position: absolute; bottom: -50px; left: 0; width: 100%; text-align: center;
            color: var(--color-oro); font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase;
            animation: flotarTexto 2s infinite alternate; font-family: var(--fuente-textos);
        }
        @keyframes flotarTexto { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,-5px,0); } }

        #master-screen.abriendo .envelope-flap { transform: rotateX(180deg); }
        #master-screen.abriendo .wax-seal, #master-screen.abriendo .tap-text { opacity: 0; pointer-events: none; }
        #master-screen.bajando .envelope-container { transform: translate3d(0, 150vh, 0); }
        #master-screen.oculto { opacity: 0; visibility: hidden; }

        /* =========================================
           4. REPRODUCTOR DE MÚSICA FLOTANTE
           ========================================= */
        #music-player {
            position: fixed; bottom: 30px; right: 30px; z-index: 999;
            width: 60px; height: 60px; border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            cursor: pointer; color: var(--color-oro); font-size: 2rem;
            transition: transform 0.3s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.8);
            border: 1px solid rgba(212,175,55,0.3);
        }
        #music-player::before {
            content: ''; position: absolute; inset: 0; border-radius: 50%;
            border: 2px solid var(--color-oro); opacity: 0; transition: opacity 0.3s ease;
        }
        #music-player.playing::before { animation: radarMusic 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite; }
        @keyframes radarMusic { 0% { inset: 0; opacity: 0.8; } 100% { inset: -20px; opacity: 0; } }
        #music-player.playing i { animation: girarDisco 4s linear infinite; }
        @keyframes girarDisco { 100% { transform: rotate(360deg); } }

        /* =========================================
           5. HERO (PORTADA)
           ========================================= */
        .hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 10; padding-top: 60px;}
        .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
        .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
        .hero-fade-bottom { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(3,4,5,0) 0%, rgba(3,4,5,0.4) 50%, var(--color-medianoche) 100%); }
        .hero-content { position: relative; z-index: 2; width: 100%; max-width: 600px; }
        
        .hero-edad { font-family: var(--fuente-editorial); font-size: 1.5rem; font-style: italic; color: var(--color-oro-claro); margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
        .hero-nombre { font-family: var(--fuente-titulos); font-size: 5.5rem; line-height: 1; margin-bottom: 20px; color: #fff; text-shadow: 0 5px 30px rgba(0,0,0,0.9); }
        .hero-fecha { font-size: 1.2rem; color: var(--color-texto-secundario); letter-spacing: 4px; text-transform: uppercase; border-top: 1px solid rgba(212, 175, 55, 0.5); border-bottom: 1px solid rgba(212, 175, 55, 0.5); display: inline-block; padding: 15px 40px; margin-top: 15px; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); }

        .mensaje-intro { text-align: center; font-family: var(--fuente-editorial); font-size: 1.6rem; color: var(--color-texto-secundario); line-height: 1.6; padding: 50px 40px; font-style: italic; }
        .mensaje-intro i { font-size: 2.5rem; color: var(--color-oro); margin-bottom: 20px; display: block; font-style: normal;}

        /* =========================================
           6. ITINERARIO EXTENDIDO (TIMELINE)
           ========================================= */
        .timeline { position: relative; max-width: 100%; margin: 0 auto; padding: 20px 0; }
        .timeline::after { content: ''; position: absolute; width: 2px; background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.5), transparent); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
        
        .timeline-item { padding: 15px 40px; position: relative; background: inherit; width: 50%; }
        .timeline-item:nth-child(odd) { left: 0; text-align: right; }
        .timeline-item:nth-child(even) { left: 50%; text-align: left; }
        
        .timeline-item::after {
            content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background: var(--color-medianoche);
            border: 4px solid var(--color-oro); top: 50%; transform: translateY(-50%); border-radius: 50%; z-index: 1;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
        }
        .timeline-item:nth-child(even)::after { left: -10px; }
        
        .timeline-content { padding: 25px; border-radius: 15px; position: relative; }
        .timeline-hora { font-family: var(--fuente-editorial); font-size: 2rem; color: var(--color-oro); margin-bottom: 5px; font-weight: 600; line-height: 1;}
        .timeline-texto { font-size: 1rem; color: var(--color-texto-secundario); font-weight: 300;}
        .timeline-icon { font-size: 2rem; color: #fff; margin-bottom: 10px; opacity: 0.8;}

        /* =========================================
           7. DRESS CODE ALTA COSTURA (ELLAS Y ELLOS)
           ========================================= */
        .dresscode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        .dresscode-col { text-align: center; padding: 40px 20px; }
        .dresscode-col i { font-size: 4rem; color: var(--color-oro); margin-bottom: 20px; font-weight: 100;}
        .dresscode-col h3 { font-family: var(--fuente-editorial); font-size: 1.8rem; margin-bottom: 10px; font-style: italic;}
        .dresscode-col p { font-size: 0.9rem; color: var(--color-texto-secundario); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;}
        
        .paleta-colores { display: flex; justify-content: center; gap: 15px; }
        .color-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 5px 10px rgba(0,0,0,0.5); }

        .aviso-card { margin-top: 30px; padding: 30px; text-align: center; border: 1px solid var(--color-oro); box-shadow: inset 0 0 30px rgba(212,175,55,0.05); }

        /* =========================================
           8. GALERÍA EDITORIAL ASIMÉTRICA
           ========================================= */
        .galeria-editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
        .galeria-item { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; }
        .galeria-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) contrast(1.1); transition: filter 0.8s ease; }
        
        .galeria-item:nth-child(1) { grid-column: 1 / 8; aspect-ratio: 4/3; }
        .galeria-item:nth-child(2) { grid-column: 8 / 13; aspect-ratio: 3/4; margin-top: 40px; }
        .galeria-item:nth-child(3) { grid-column: 1 / 6; aspect-ratio: 1/1; margin-top: -60px; z-index: 2;}
        .galeria-item:nth-child(4) { grid-column: 6 / 13; aspect-ratio: 16/9; }

        .galeria-item::after {
            content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.4) 25%, transparent 30%);
            transform: translateX(-100%); transition: transform 0.8s ease; pointer-events: none; z-index: 2;
        }
        .galeria-item:hover { transform: translate3d(0, -10px, 0); z-index: 10; }
        .galeria-item:hover img { filter: grayscale(0%) contrast(1); }
        .galeria-item:hover::after { transform: translateX(100%); }

        /* =========================================
           9. REGALOS, UBICACIÓN Y COMPONENTES
           ========================================= */
        .regalo-card { padding: 50px 30px; text-align: center; }
        .datos-bancarios { max-height: 0; overflow: hidden; opacity: 0; transition: all 0.6s ease; background: rgba(0,0,0,0.5); border-radius: 12px; margin-top: 0; }
        .datos-bancarios.abierto { max-height: 300px; opacity: 1; margin-top: 25px; padding: 25px; border: 1px solid rgba(212, 175, 55, 0.3); }

        .btn-oro {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px;
            background: linear-gradient(135deg, #E8D3A2, #D4AF37, #997A00); color: #000; padding: 18px 40px; font-weight: 600; font-size: 0.95rem;
            text-transform: uppercase; letter-spacing: 2px; border-radius: 50px; border: none; cursor: pointer;
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            -webkit-backface-visibility: hidden; backface-visibility: hidden; transform-style: preserve-3d; will-change: transform;
        }
        .btn-oro::after { content: ''; position: absolute; inset: 0; border-radius: 50px; box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5); opacity: 0; transition: opacity 0.4s ease; z-index: -1; }
        .btn-oro:hover { transform: translate3d(0, -4px, 0); }
        .btn-oro:hover::after { opacity: 1; }

        .btn-outline {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            background: rgba(0,0,0,0.4); color: var(--color-oro); border: 1px solid var(--color-oro);
            padding: 15px 30px; border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
            transition: transform 0.4s, background 0.3s; cursor: pointer; backdrop-filter: blur(4px);
        }
        .btn-outline:hover { background: rgba(212, 175, 55, 0.2); transform: translate3d(0, -3px, 0); }

        .contador-grid { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
        .contador-box { flex: 1; height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
        .contador-numero { font-family: var(--fuente-editorial); font-size: 2.8rem; line-height: 1; margin-bottom: 5px; color: #fff;}
        .contador-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-oro); }

        .ubicacion-card { padding: 50px 30px; text-align: center; }
        .ubicacion-icono { width: 70px; height: 70px; background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212,175,55,0.3); color: var(--color-oro); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.5);}

        .rsvp-section { text-align: center; padding: 70px 20px; margin: 40px 0 80px; border-top: 1px solid rgba(212,175,55,0.2); border-bottom: 1px solid rgba(212,175,55,0.2); background: linear-gradient(to right, transparent, rgba(212,175,55,0.03), transparent);}
        footer { text-align: center; padding: 40px 20px; font-size: 0.8rem; color: rgba(255,255,255,0.3); position: relative; z-index: 10; font-family: var(--fuente-editorial); font-style: italic; font-size: 1.1rem;}
        footer a { color: var(--color-oro); font-style: normal; font-family: var(--fuente-textos); font-size: 0.8rem; letter-spacing: 1px;}

        /* =========================================
           RESPONSIVO
           ========================================= */
        @media (max-width: 768px) {
            .timeline::after { left: 31px; }
            .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
            .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; text-align: left; }
            .timeline-item::after { left: 21px; right: auto; }
            .timeline-item:nth-child(even)::after { left: 21px; }
            .dresscode-grid { grid-template-columns: 1fr; gap: 15px;}
        }
        @media (max-width: 480px) {
            .hero-nombre { font-size: 4rem; }
            .titulo-seccion { font-size: 2.2rem; }
            .galeria-editorial { display: flex; flex-direction: column;}
            .galeria-item { aspect-ratio: 4/3 !important; margin-top: 0 !important; }
        }
