        :root {
            --celeste: #94BAC4;
            --naranja: #E57D37;
            --gris: #ECDFCB;
            --texto: #2b2d42;
            --azul-mar: #94BAC4; /* Cambiado a negro/oscuro para legibilidad */
            --premium-font: 'Outfit', sans-serif;
        }



        body {
            margin: 0;
            padding: 0;
            font-family: 'Outfit', sans-serif;
            background: var(--gris);
            color: var(--texto);
            overflow-x: hidden;
        }

        #global-stats-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 50px;
            background: var(--celeste);
            display: none;
            /* Oculto por defecto para evitar parpadeos en Login */
            justify-content: center;
            align-items: center;
            z-index: 10001;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .view {
            padding-top: calc(70px + env(safe-area-inset-top)) !important;
            padding-bottom: calc(80px + env(safe-area-inset-bottom));
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            min-height: 100vh;
            /* Aislamiento tradicional: */
            position: relative;
        }

        .main-title {
            text-align: center;
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--naranja);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* COMPONENTE ADS REUTILIZABLE */
        .ads-link-reusable {
            color: var(--naranja);
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            padding: 6px;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
            margin: 0;
        }
        .ads-link-reusable:active {
            transform: scale(0.92);
            opacity: 0.75;
        }
        .ads-link-reusable.main {
            font-size: 0.85rem;
            opacity: 1;
        }
        .ads-link-reusable.backup {
            font-size: 0.7rem;
            opacity: 0.7;
        }
        .ads-link-reusable.underlined {
            text-decoration: underline;
            color: var(--azul-mar);
        }
        .question-text {
            font-size: 1.4rem;
            color: #1a202c !important; /* Texto en negro para legibilidad */
            font-weight: 800;
            margin-bottom: 25px;
            line-height: 1.3;
            text-shadow: none; /* Quitamos sombras que puedan dificultar la lectura */
        }
        .puzzle-instruction {
            color: #1a202c !important; /* Texto en negro para legibilidad */
            font-weight: 800;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        .ads-link-reusable.underlined {
            opacity: 0.6;
            letter-spacing: 1px;
        }

        @media (max-width: 600px) {
            .view {
                padding-top: calc(60px + env(safe-area-inset-top)) !important;
                padding-left: calc(2px + env(safe-area-inset-left)) !important;
                padding-right: calc(2px + env(safe-area-inset-right)) !important;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                margin: 0 !important;
            }
            .main-title {
                font-size: 1.6rem;
            }
            .categories-grid {
                padding: 0 !important;
                gap: 15px;
                width: 100% !important;
                margin: 0 !important;
            }
            .card-3d, .content-wrapper, .card {
                padding: 25px 20px !important;
                border-radius: 20px !important;
                margin: 20px 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }
            #view-ads-success h2 {
                font-size: 1.3rem !important;
            }
        }

        .categories-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 0 20px;
        }

        /* SISTEMA DE PROGRESIÓN (LANDING) MEJORADO */
        .intro-locked {
            opacity: 0.8;
            position: relative;
            cursor: not-allowed !important;
            overflow: hidden !important;
            border: 1px solid rgba(0,0,0,0.05) !important;
            box-shadow: none !important;
            transform: scale(0.98);
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
        }

        .intro-locked * {
            pointer-events: none !important;
            user-select: none !important;
            filter: grayscale(0.9) blur(3px); /* Desenfoque aplicado solo al contenido interno */
        }

        /* Capa de cristal que ayuda al contraste */
        .intro-locked::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(2px);
            z-index: 5;
        }

        .intro-locked::after {
            content: "🔒 COMPLETAR NIVEL ANTERIOR";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.85); /* Fondo más oscuro para máximo contraste */
            color: white;
            padding: 12px 24px;
            border-radius: 100px;
            font-weight: 800;
            font-size: 0.8rem;
            z-index: 20; /* Superior a la capa de desenfoque */
            white-space: nowrap;
            letter-spacing: 0.5px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.2);
            filter: none !important; /* Asegurar que no se desenfoque */
        }

        /* Animación de Desbloqueo */
        .intro-unlocked-anim {
            animation: introUnlockEffect 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }

        @keyframes introUnlockEffect {
            0% { transform: scale(0.98); filter: grayscale(0.8); }
            40% { transform: scale(1.05); filter: grayscale(0); box-shadow: 0 0 40px rgba(16, 185, 129, 0.4); }
            100% { transform: scale(1); filter: none; }
        }

        .intro-locked:active {
            animation: introLockShake 0.3s ease-in-out;
        }

        @keyframes introLockShake {
            0%, 100% { transform: scale(0.98) translateX(0); }
            25% { transform: scale(0.98) translateX(-4px); }
            75% { transform: scale(0.98) translateX(4px); }
        }

        /* Estilo para el esqueleto de carga (Skeleton) */
        .card-skeleton {
            height: 120px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 20px;
            animation: pulse 1.5s infinite;
        }

        /* ESTILOS DEL FOOTER DE INTRO */
        .intro-footer {
            padding: 60px 20px;
            text-align: center;
            border-top: 1px solid rgba(0,0,0,0.05);
            width: 100%;
            margin-top: 40px;
        }
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 30px;
            font-size: 0.9rem;
            color: #718096;
            font-weight: 600;
        }
        .footer-links a {
            color: inherit;
            text-decoration: none;
            transition: opacity 0.2s;
        }
        .footer-links a:hover {
            opacity: 0.7;
        }
        .footer-dot {
            opacity: 0.4;
        }
        .footer-contact {
            font-size: 1.1rem;
            color: #4a5568;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .footer-contact strong {
            color: #2d3748;
        }
        .footer-copyright {
            font-size: 1.1rem;
            color: #2d3748;
            font-weight: 800;
        }
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--celeste);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 20000;
            transition: opacity 0.5s;
        }

        /* Estilos Críticos Inline (Elimina Bloqueo de Renderizado en Mobile) */
        :root {
            --celeste: #94BAC4;
            --naranja: #E57D37;
            --naranja-claro: #EAAD62;
            --naranja-oscuro: #b35a20;
            --azul-mar: #94BAC4; /* Cambiado a negro/oscuro para legibilidad */
            --oro: #EAAD62;
            --verde: #10b981;
            --rojo: #ef233c;
            --texto: #2b2d42;
            --violeta: #9d4edd;
            --gris: #ECDFCB;
            --gris-medio: #b8ac94;
            --gris-oscuro: #696047;
            --blanco-trans: rgba(255, 255, 255, 0.95);
            --glass-border: rgba(148, 186, 196, 0.3);
            --premium-font: 'Inter', sans-serif;
        }

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

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--gris);
            color: var(--texto);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        main {
            min-height: 100vh;
            width: 100%;
        }

        /* NUBES DE FONDO EXCLUSIVAS Y AISLADAS - 5.5.9 */
        .clouds-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
            background: transparent;
        }

        /* --- SEGURIDAD DEV --- */
        body:not(.is-authorized-dev) .dev-only {
            display: none !important;
        }

        /* --- SWITCH DE DESARROLLADOR --- */
        .dev-switch-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background: rgba(255,255,255,0.6);
            border-radius: 20px;
            border: 1px solid rgba(0,0,0,0.05);
            margin-top: 20px;
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 46px;
            height: 24px;
        }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #cbd5e0;
            transition: .4s;
            border-radius: 34px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider { background-color: var(--azul-mar); }
        input:checked + .slider:before { transform: translateX(22px); }

        .admin-cheats {
            position: absolute;
            top: -10px;
            right: -15px;
            display: flex;
            gap: 4px;
            z-index: 100;
        }
        .admin-cheats div {
            background: var(--violeta);
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: transform 0.2s;
            border: 1px solid rgba(255,255,255,0.3);
        }
        .admin-cheats div:active { transform: scale(0.9); }

        .map-node.premium-locked {
            background: #cbd5e0 !important;
            border: 3px solid #a0aec0 !important;
            box-shadow: none !important;
            cursor: pointer;
        }
        .map-node.premium-locked span {
            filter: grayscale(1);
            opacity: 0.5;
        }

        .lock-badge {
            position: absolute;
            bottom: -5px;
            right: -5px;
            background: var(--naranja);
            color: white;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            border: 2px solid white;
            z-index: 20;
        }

        /* --- BOTONES PREMIUM HARMONY --- */
        .btn-premium-orange {
            background: var(--naranja) !important;
            box-shadow: 0 8px 0 var(--naranja-oscuro) !important;
        }
        .btn-premium-celeste {
            background: var(--celeste) !important;
            box-shadow: 0 8px 0 #7a9ba5 !important;
        }
        .btn-premium-gris {
            background: var(--gris) !important;
            color: var(--texto) !important;
            box-shadow: 0 8px 0 var(--gris-medio) !important;
        }
        .btn-premium-orange:active, .btn-premium-celeste:active, .btn-premium-gris:active {
            transform: translateY(4px) !important;
            box-shadow: 0 4px 0 currentColor !important;
        }
        /* Ajustar sombra en active para que sea dinámica según el botón */
        .btn-premium-orange:active { box-shadow: 0 4px 0 var(--naranja-oscuro) !important; }
        .btn-premium-celeste:active { box-shadow: 0 4px 0 #7a9ba5 !important; }
        .btn-premium-gris:active { box-shadow: 0 4px 0 var(--gris-medio) !important; }

        .btn-ad-custom {
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            display: block !important;
            text-align: center !important;
            text-decoration: none !important;
            outline: none !important;
        }
        .btn-ad-custom:active {
            transform: translateY(4px) !important;
            box-shadow: 0 2px 0 currentColor !important;
        }

        .nube-fondo {
            position: absolute;
            background: #ffffff;
            border-radius: 50px;
            box-shadow: none !important;
            pointer-events: none;
            will-change: transform;
        }

        .nube-fondo::after,
        .nube-fondo::before {
            content: '';
            position: absolute;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: none !important;
        }

        .nube-fondo::after {
            width: 50%;
            height: 140%;
            top: -60%;
            left: 15%;
        }

        .nube-fondo::before {
            width: 40%;
            height: 110%;
            top: -40%;
            left: 45%;
        }

        @keyframes moverNubesFondo {
            0% {
                transform: translateX(-300px);
            }

            100% {
                transform: translateX(120vw);
            }
        }

        @keyframes pulseReady {
            0% {
                transform: scale(1.1);
                box-shadow: 0 8px 0 #e2e8f0, 0 0 10px rgba(255, 255, 255, 0.4);
            }

            50% {
                transform: scale(1.15);
                box-shadow: 0 8px 0 #e2e8f0, 0 0 25px rgba(255, 255, 255, 0.8);
            }

            100% {
                transform: scale(1.1);
                box-shadow: 0 8px 0 #e2e8f0, 0 0 10px rgba(255, 255, 255, 0.4);
            }
        }

        @keyframes pulseReadyCloud {
            0% {
                transform: scale(1.05);
            }

            50% {
                transform: scale(1.1);
                box-shadow: 0 8px 0 #e2e8f0, 0 0 30px rgba(255, 255, 255, 1);
            }

            100% {
                transform: scale(1.05);
            }
        }

        @keyframes modalIn {
            to {
                transform: translateY(0);
            }
        }

        @keyframes fadeInHint {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

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

        @keyframes shakeLightning {
            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-10px);
            }

            75% {
                transform: translateX(10px);
            }
        }

        /* --- ADMIN DASHBOARD V1 --- */
        #view-admin {
            background: var(--gris);
            min-height: 100vh;
        }
        .admin-header {
            margin-bottom: 25px;
            text-align: center;
            background: white;
            padding: 30px 20px;
            border-bottom: 2px solid rgba(148, 186, 196, 0.2);
        }
        .admin-title {
            font-size: 1.8rem;
            color: var(--texto);
            font-weight: 900;
            margin-bottom: 5px;
        }
        .admin-subtitle {
            font-size: 0.9rem;
            color: var(--gris-oscuro);
            font-weight: 700;
            opacity: 0.7;
        }
        .admin-stats-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--celeste);
            color: white;
            padding: 12px 20px;
            border-radius: 15px;
            margin-top: 15px;
            font-weight: 800;
            box-shadow: 0 4px 10px rgba(148, 186, 196, 0.3);
        }
        .admin-pagination {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 30px 0;
            align-items: center;
            background: white;
            padding: 15px;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        #admin-page-info {
            background: var(--celeste);
            color: white;
            padding: 6px 16px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 900;
            box-shadow: 0 2px 5px rgba(148, 186, 196, 0.3);
        }
        .btn-premium-small {
            background: var(--verde);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 10px;
            font-weight: 900;
            cursor: pointer;
            box-shadow: 0 4px 0 #059669;
            font-size: 0.8rem;
            transition: transform 0.1s;
        }
        .btn-premium-small:active { transform: translateY(2px); box-shadow: 0 2px 0 #059669; }
        
        .admin-search-box {
            position: relative;
            margin: 0 20px 25px;
        }
        .admin-search-box input {
            width: 100%;
            padding: 15px 15px 15px 45px;
            border-radius: 18px;
            border: 2px solid var(--celeste);
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            background: white;
        }
        .admin-search-box i {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--celeste);
            font-size: 1.1rem;
        }
        .admin-users-grid {
            display: grid;
            gap: 15px;
            padding: 0 20px;
        }
        .admin-user-card {
            background: white;
            border-radius: 20px;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            border: 1px solid rgba(0,0,0,0.05);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }
        .admin-user-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }
        .btn-sort {
            background: rgba(255,255,255,0.8);
            border: 2px solid var(--celeste);
            color: var(--texto);
            padding: 8px 15px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .btn-sort:hover {
            background: var(--celeste);
            color: white;
            transform: translateY(-2px);
        }
        .user-main-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .user-avatar {
            width: 45px;
            height: 45px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 900;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        .user-details { flex: 1; overflow: hidden; }
        .user-name { font-weight: 900; color: var(--texto); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .user-email { font-size: 0.8rem; color: #666; font-weight: 600; }
        .user-meta {
            display: flex;
            justify-content: space-between;
            padding-top: 10px;
            border-top: 1px dashed #edf2f7;
            font-size: 0.8rem;
            color: #4a5568;
            font-weight: 700;
        }
        .user-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 5px;
        }
        .status-badge {
            padding: 4px 10px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 900;
            letter-spacing: 0.5px;
        }
        .status-badge.premium { background: var(--oro); color: white; }
        .status-badge.pending { background: var(--naranja); color: white; }
        .status-badge.free { background: #e2e8f0; color: #718096; }
        .xp-badge { font-size: 0.85rem; font-weight: 900; color: var(--celeste); }
        .admin-actions { margin: 40px 0 60px; text-align: center; }
        
        .admin-loading, .admin-error, .admin-no-results {
            padding: 40px;
            text-align: center;
            font-weight: 800;
            color: var(--gris-oscuro);
            background: white;
            border-radius: 20px;
            margin: 0 20px;
        }
        .admin-error { color: var(--rojo); }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: calc(65px + env(safe-area-inset-bottom)); /* Ajustado para iPhone */
            background: #94BAC4 !important;
            border-top: 3px solid rgba(255, 255, 255, 0.4) !important;
            display: flex;
            justify-content: space-around;
            align-items: flex-start; /* Subir contenido */
            z-index: 10000;
            box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
            padding: 0 15px; /* Centrar más los iconos laterales */
            padding-bottom: env(safe-area-inset-bottom);
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: white !important;
            opacity: 0.65 !important;
            flex: 1;
            height: 65px; /* Altura fija de interacción */
        }

        .nav-item.active {
            opacity: 1 !important;
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .nav-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0px !important;
        }

        .main-title {
            font-family: var(--premium-font);
            font-size: 2.2rem;
            text-align: center;
            color: var(--naranja);
            font-weight: 900;
            letter-spacing: -0.5px;
            margin-top: 10px;
            margin-bottom: 30px;
            text-shadow: 0 4px 12px rgba(251, 133, 0, 0.1);
        }

        /* --- ESTILOS PARA LA NUEVA INTRO (LANDING PAGE) --- */
        /* --- INTRO GENUINA (MIMETIZADA CON EL JUEGO) --- */
        #view-intro.intro-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw !important;
            max-width: none !important; /* Saltarse el límite de 600px */
            height: 100vh !important;
            background: transparent !important; /* Volvemos a la transparencia */
            z-index: 30000 !important;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            overflow-y: auto;
            padding: 10px 20px !important;
            padding-top: calc(10px + env(safe-area-inset-top)) !important; /* Sobrescribir explícitamente el padding-top: 60/70px de .view */
            padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
            padding-left: calc(20px + env(safe-area-inset-left)) !important;
            padding-right: calc(20px + env(safe-area-inset-right)) !important;
            margin: 0 !important;
        }

        .intro-welcome-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 30px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 500px;
            margin: 0 auto 10px auto; /* FORZAR CENTRADO */
        }

        .intro-demo-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 25px;
            width: 100%;
            max-width: 500px;
            margin: 0 auto 10px auto; /* FORZAR CENTRADO */
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            border: 2px solid rgba(148, 186, 196, 0.2);
            text-align: center;
        }

        .intro-demo-title {
            font-size: 0.9rem;
            font-weight: 900;
            color: var(--naranja);
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Réplica de Botones de Juego */
        .intro-game-option {
            flex: 1;
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            padding: 14px;
            border-radius: 15px;
            font-weight: 700;
            font-size: 1rem;
            margin: 6px 0;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        /* Réplica Exacta de Puzle (Imagen de Referencia) */
        .intro-puzzle-box {
            background: white;
            border-radius: 20px;
            padding: 15px;
            width: 100%;
            text-align: center;
        }

        .puzzle-instruction {
            color: #94BAC4; /* Negro/Oscuro para legibilidad */
            font-weight: 800;
            font-size: 1.1rem;
            margin-bottom: 15px;
        }

        .puzzle-drop-zone {
            border: 2px dashed #e07a5f; /* Naranja punteado */
            border-radius: 20px;
            min-height: 45px;
            margin-bottom: 15px;
            display: flex;
            flex-wrap: wrap;
            padding: 5px;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }
        .puzzle-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .puzzle-pill {
            background: white;
            border: 2px solid #e07a5f;
            color: #e07a5f;
            padding: 8px 15px;
            border-radius: 15px;
            font-weight: 900;
            font-size: 0.85rem;
            cursor: pointer;
            box-shadow: 0 4px 0 rgba(224, 122, 95, 0.2);
            transition: all 0.2s;
            user-select: none;
        }

        .puzzle-pill.selected {
            opacity: 0.3;
            pointer-events: none;
        }

        /* Réplica de Relámpago (Imagen Emojis) */
        .intro-lightning-box {
            background: white;
            border-radius: 25px;
            padding: 15px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .emoji-prompt-box {
            border: 2px dashed #e07a5f; /* Naranja punteado */
            border-radius: 20px;
            padding: 8px;
            font-size: 1.8rem;
            margin-bottom: 10px;
            width: 100%;
            text-align: center;
            background: #f8fafc;
        }

        .option-lightning-btn {
            background: white;
            border: 2px solid #a2ccd3;
            padding: 10px;
            border-radius: 15px;
            font-weight: 800;
            font-size: 0.9rem;
            color: var(--azul-oscuro);
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .leo-circle-intro {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 4px solid #a2ccd3;
            margin-bottom: 15px;
            padding: 5px;
            background: white;
        }

        .timer-row-intro {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f1f5f9;
            padding: 5px 15px;
            border-radius: 50px;
            margin-bottom: 20px;
            width: 80%;
        }

        .timer-bar-intro {
            flex: 1;
            height: 8px;
            background: #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
        }

        .timer-progress-intro {
            width: 75%;
            height: 100%;
            background: linear-gradient(90deg, var(--naranja), #ff9f7d);
            border-radius: 10px;
            animation: pulse-timer 2s infinite alternate ease-in-out;
        }

        @keyframes pulse-timer {
            from { opacity: 0.8; width: 70%; }
            to { opacity: 1; width: 80%; }
        }

        .options-grid-intro {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
        }

        .option-lightning-btn {
            background: white;
            border: 2px solid #e2e8f0;
            padding: 12px;
            border-radius: 15px;
            font-weight: 800;
            font-size: 0.9rem;
            box-shadow: 0 4px 0 rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.2s;
        }

        .intro-dot.active {
            background: var(--naranja);
            width: 30px;
            border-radius: 10px;
        }

        .intro-badge {
            background: var(--naranja);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 950;
            font-size: 0.7rem;
            text-transform: uppercase;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(229, 125, 55, 0.3);
            animation: float 3s ease-in-out infinite;
        }

        .intro-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            color: var(--texto);
            margin-bottom: 15px;
            line-height: 1.1;
        }

        .intro-desc {
            font-size: 1rem;
            color: #4a5568;
            max-width: 320px;
            line-height: 1.5;
            margin-bottom: 30px;
        }

        .demo-box {
            width: 280px;
            height: 180px;
            background: white;
            border-radius: 30px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            border: 3px solid rgba(148, 186, 196, 0.2);
            overflow: hidden;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-12px); }
        }

        /* Animaciones para los mini-demos */
        .trivia-bubble {
            padding: 10px 15px;
            border-radius: 15px;
            background: var(--celeste);
            color: white;
            font-weight: 800;
            font-size: 0.8rem;
            position: absolute;
            animation: popInIntro 2s infinite;
        }

        @keyframes popInIntro {
            0% { transform: scale(0); opacity: 0; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(1); opacity: 1; }
        }

        .puzzle-demo {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
            padding: 15px;
        }

        .puzzle-piece-demo {
            width: 45px;
            height: 45px;
            background: var(--oro);
            border-radius: 10px;
            animation: puzzleIn 3s infinite;
        }

        @keyframes puzzleIn {
            0% { transform: translate(-40px, -40px) rotate(45deg); opacity: 0; }
            50%, 100% { transform: translate(0, 0) rotate(0); opacity: 1; }
        }

        .lightning-bolt-demo {
            font-size: 60px;
            color: var(--rojo);
            filter: drop-shadow(0 0 15px var(--oro));
            animation: flashIntro 1s infinite;
        }

        @keyframes flashIntro {
            0%, 100% { opacity: 0.4; transform: scale(0.9); }
            50% { opacity: 1; transform: scale(1.1); }
        }