
        /* ==========================================================================
           1. SISTEMA DE DISEÑO (FIESTA CONFETI)
           ========================================================================== */
        :root {
            --color-fondo: #FAFAFA; /* Blanco muy suave */
            --color-texto: #2B2D42; /* Azul marino casi negro */
            
            /* Colores de Fiesta (Vibrantes) */
            --color-rojo: #FF6B6B;
            --color-azul: #4ECDC4;
            --color-amarillo: #FFD166;
            --color-verde: #06D6A0;
            
            --fuente-titulos: 'Fredoka', sans-serif;
            --fuente-textos: 'Nunito', sans-serif;

            --sombra-divertida: 0 8px 25px rgba(43, 45, 66, 0.08);
            --borde-radio: 20px;
        }

        /* ==========================================================================
           2. RESET Y ESTILOS GLOBALES
           ========================================================================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { 
            font-family: var(--fuente-textos); 
            background-color: var(--color-fondo); 
            color: var(--color-texto); 
            line-height: 1.6; 
            overflow-x: hidden; 
            text-align: center;
            /* Patrón de puntitos divertidos de fondo */
            background-image: radial-gradient(var(--color-amarillo) 1px, transparent 1px), radial-gradient(var(--color-azul) 1px, transparent 1px);
            background-size: 40px 40px;
            background-position: 0 0, 20px 20px;
            background-attachment: fixed;
        }
        
        h1, h2, h3, h4 { font-family: var(--fuente-titulos); font-weight: 600; }
        p { font-size: 1rem; font-weight: 600; color: #555; }
        a { text-decoration: none; color: inherit; }
        
        .contenedor { max-width: 600px; margin: 0 auto; padding: 0 6%; }
        .seccion-padding { padding: 60px 0; }

        /* --- ANIMACIONES DE REBOTE (BOING) --- */
        .bounce-up { 
            opacity: 0; 
            transform: translateY(50px) scale(0.9); 
            /* Curva de Bézier que hace que se pase del 100% y regrese (Efecto gelatina) */
            transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
        }
        .bounce-up.visible { opacity: 1; transform: translateY(0) scale(1); }
        
        .delay-1 { transition-delay: 100ms; }
        .delay-2 { transition-delay: 200ms; }
        .delay-3 { transition-delay: 300ms; }
        .delay-4 { transition-delay: 400ms; }

        /* ==========================================================================
           3. PRELOADER
           ========================================================================== */
        #preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-fondo); z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
        #preloader.oculto { opacity: 0; pointer-events: none; }
        .globo-loader { font-size: 5rem; color: var(--color-rojo); animation: flotarGlobo 1.5s ease-in-out infinite alternate; }
        .texto-loader { font-family: var(--fuente-titulos); font-size: 1.5rem; color: var(--color-texto); margin-top: 15px; letter-spacing: 1px; }
        
        @keyframes flotarGlobo { 0% { transform: translateY(10px); } 100% { transform: translateY(-15px); } }

        /* ==========================================================================
           4. PORTADA PRINCIPAL (HERO)
           ========================================================================== */
        .portada { position: relative; padding: 40px 20px 60px; background: white; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 20px; }
        
        /* Detalles de confeti en las esquinas (CSS puro) */
        .confeti-decor { position: absolute; font-size: 2rem; opacity: 0.8; z-index: 1; animation: rotar 10s linear infinite; }
        .confeti-1 { top: 20px; left: 20px; color: var(--color-amarillo); }
        .confeti-2 { top: 40px; right: 20px; color: var(--color-azul); animation-direction: reverse; }
        .confeti-3 { bottom: 30px; left: 30px; color: var(--color-verde); }
        .confeti-4 { bottom: 50px; right: 30px; color: var(--color-rojo); }
        @keyframes rotar { 100% { transform: rotate(360deg); } }

        .marco-foto {
            width: 180px; height: 180px; margin: 0 auto 20px;
            border-radius: 50%; padding: 6px;
            /* Borde divertido de colores */
            background: conic-gradient(var(--color-rojo) 0deg 90deg, var(--color-amarillo) 90deg 180deg, var(--color-azul) 180deg 270deg, var(--color-verde) 270deg 360deg);
            position: relative; z-index: 2;
            box-shadow: var(--sombra-divertida);
        }
        
        .imagen-hero { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid white; background-color: white; }
        .imagen-hero img { width: 100%; height: 100%; object-fit: cover; }

        .portada-titulos { position: relative; z-index: 5; }
        .texto-edad { font-size: 1.2rem; color: var(--color-azul); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; font-weight: 800; }
        .nombre-cumple { font-size: 4.5rem; line-height: 1; color: var(--color-rojo); margin-bottom: 10px; text-shadow: 2px 2px 0px rgba(255, 107, 107, 0.2); }
        .fecha-hero { font-size: 1.1rem; color: var(--color-texto); font-weight: 700; background: var(--color-amarillo); display: inline-block; padding: 5px 20px; border-radius: 20px; transform: rotate(-2deg); }

        /* ==========================================================================
           5. CUENTA REGRESIVA (BLOQUES DE COLORES)
           ========================================================================== */
        .titulo-seccion { font-size: 2.2rem; margin-bottom: 15px; color: var(--color-texto); }
        
        .contador-grid { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
        .contador-box { flex: 1; max-width: 80px; padding: 15px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 16px; box-shadow: var(--sombra-divertida); color: white; border: 3px solid rgba(255,255,255,0.5); }
        
        /* Colores individuales para cada bloque */
        .contador-box:nth-child(1) { background-color: var(--color-rojo); transform: rotate(-2deg); }
        .contador-box:nth-child(2) { background-color: var(--color-azul); transform: rotate(2deg); }
        .contador-box:nth-child(3) { background-color: var(--color-amarillo); color: var(--color-texto); transform: rotate(-1deg); }
        .contador-box:nth-child(4) { background-color: var(--color-verde); transform: rotate(3deg); }

        .contador-numero { font-family: var(--fuente-titulos); font-size: 2rem; line-height: 1; }
        .contador-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; margin-top: 5px; }

        /* ==========================================================================
           6. DÓNDE Y CUÁNDO
           ========================================================================== */
        .ubicacion-card { background: white; padding: 35px 20px; border-radius: var(--borde-radio); box-shadow: var(--sombra-divertida); position: relative; overflow: hidden; margin-top: 20px; border: 2px solid var(--color-azul); }
        
        .ubicacion-icon { font-size: 3rem; color: var(--color-azul); margin-bottom: 10px; animation: brincar 2s infinite; display: inline-block; }
        @keyframes brincar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

        .ubicacion-card h3 { font-size: 1.6rem; color: var(--color-texto); margin-bottom: 5px; }
        .ubicacion-hora { font-size: 1.1rem; color: var(--color-rojo); font-weight: 800; margin-bottom: 15px; }
        .ubicacion-direccion { margin-bottom: 25px; color: #666; font-size: 0.95rem; }
        
        .btn-maps { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background-color: var(--color-azul); color: white; padding: 14px 30px; font-family: var(--fuente-titulos); font-size: 1rem; border-radius: 50px; transition: all 0.3s; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4); border: none; cursor: pointer; }
        .btn-maps:hover { background-color: #3BB5AC; transform: translateY(-3px) scale(1.05); }

        /* ==========================================================================
           7. RSVP Y FOOTER
           ========================================================================== */
        .seccion-rsvp { background-color: white; border-top-left-radius: 40px; border-top-right-radius: 40px; padding-bottom: 60px; box-shadow: 0 -10px 30px rgba(0,0,0,0.03); margin-top: 30px;}
        
        .btn-rsvp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background-color: var(--color-rojo); color: white; padding: 16px 40px; border-radius: 50px; font-family: var(--fuente-titulos); font-size: 1.1rem; letter-spacing: 1px; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4); border: none; cursor: pointer; width: 100%; max-width: 320px; }
        .btn-rsvp:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 25px rgba(255, 107, 107, 0.5); }

        .footer-comercial { background-color: var(--color-texto); color: white; padding: 40px 20px; text-align: center; }
        .footer-comercial h3 { font-family: var(--fuente-textos); font-size: 1.1rem; margin-bottom: 20px; font-weight: 700; }
        
        .social-links { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
        .social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--color-amarillo); transition: all 0.3s ease; }
        .social-link:hover { background: var(--color-amarillo); color: var(--color-texto); transform: translateY(-3px) rotate(10deg); }
        
        .creditos { font-size: 0.8rem; color: #999; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 15px; max-width: 300px; margin: 0 auto; font-weight: 600;}
        .creditos a { color: var(--color-azul); text-decoration: none; }
