:root {
            --primary-black: #030014;
            --neon-purple: #a855f7; --neon-purple-deep: #7c3aed; --neon-orange: #ff6b35; --neon-orange-warm: #f97316;
            --pure-white: #f0f0f0;
            --gray-sub: #8b8b9e;
            --card-bg: rgba(255,255,255,0.03);
            --input-bg: rgba(255,255,255,0.05);
            --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

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

        body {
            background-color: var(--primary-black);
            color: var(--pure-white);
            font-family: 'Inter', sans-serif;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- Navegación General --- */
        .glass-nav {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            width: 92%; max-width: 1400px; z-index: 1000;
            background: rgba(3, 0, 20, 0.5);
            backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
            padding: 12px 30px; display: flex; justify-content: space-between;
            align-items: center; transition: var(--transition);
            box-shadow: 0 10px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
        }
        .nav-logo img { height: 45px; transition: var(--transition); }
        .nav-logo img:hover { transform: scale(1.02); opacity: 0.9; }
        
        .nav-links { display: flex; gap: 35px; align-items: center; }
        .nav-links a {
            color: var(--pure-white); text-decoration: none;
            font-weight: 500; font-size: 0.85rem; transition: var(--transition);
            text-transform: uppercase; font-family: 'Space Grotesk', monospace; letter-spacing: 0.5px;
        }
        .nav-links a:hover, .nav-links a.active { color: var(--neon-purple); }

        /* Botón de Hamburguesa (Oculto en Desktop) */
        .hamburger-menu {
            display: none;
            color: var(--neon-purple);
            font-size: 1.8rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .hamburger-menu:hover { transform: scale(1.1); }

        /* Header Interno */
        header.internal-header {
            padding: 180px 20px 80px; text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            background: radial-gradient(ellipse at bottom, rgba(168,85,247,0.08) 0%, transparent 60%);
            position: relative;
        }
        header.internal-header h1 {
            font-family: 'Space Grotesk', monospace; font-size: 3.5rem;
            text-transform: uppercase; letter-spacing: 4px;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #fff 30%, var(--neon-purple) 70%, var(--neon-orange) 100%);
            background-size: 200% 200%; animation: gradShift 6s ease infinite;
            -webkit-background-clip: text; color: transparent;
            filter: drop-shadow(0 10px 30px rgba(168,85,247,0.3));
        }
        @keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
        header.internal-header p {
            color: var(--gray-sub); max-width: 600px; margin: 0 auto; font-size: 1.1rem;
        }

        /* Sección del Formulario */
        .demo-section {
            padding: 80px 5%; max-width: 800px; margin: 0 auto; flex: 1; width: 100%;
        }
        
        .form-container {
            background: rgba(255,255,255,0.03); padding: 50px; border-radius: 24px;
            border: 1px solid rgba(255,255,255,0.08);
            backdrop-filter: blur(20px) saturate(180%);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
            position: relative; overflow: hidden;
        }
        .form-container::before {
            content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
            background: linear-gradient(135deg, var(--neon-purple), transparent 40%, transparent 60%, var(--neon-orange));
            border-radius: 25px; z-index: -1; opacity: 0.2;
        }

        .form-group { margin-bottom: 25px; }
        .form-group label {
            display: block; margin-bottom: 10px; font-weight: 500;
            font-family: 'Space Grotesk', monospace; color: var(--gray-sub);
            font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
        }
        .form-control {
            width: 100%; padding: 15px 20px; background: var(--input-bg);
            border: 1px solid rgba(168,85,247,0.2); border-radius: 8px; color: white;
            font-family: 'Inter', sans-serif; font-size: 1rem; transition: var(--transition);
        }
        .form-control:focus {
            outline: none; border-color: var(--neon-purple);
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
        }
        textarea.form-control { resize: vertical; min-height: 120px; }

        .btn-submit {
            background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-orange) 100%);
            color: #fff; border: none; padding: 16px 40px; width: 100%;
            border-radius: 12px; font-weight: 700; font-size: 1rem;
            font-family: 'Space Grotesk', monospace; text-transform: uppercase;
            letter-spacing: 2px; cursor: pointer; transition: var(--transition);
            display: flex; justify-content: center; align-items: center; gap: 10px;
            position: relative; overflow: hidden;
        }
        .btn-submit::after {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }
        .btn-submit:hover::after { left: 100%; }
        .btn-submit:hover {
            transform: translateY(-3px); box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
        }

        /* Reglas y Requisitos */
        .demo-rules {
            margin-top: 50px; padding: 30px; background: rgba(168, 85, 247, 0.05);
            border-left: 4px solid var(--neon-purple); border-radius: 0 8px 8px 0;
        }
        .demo-rules h3 {
            font-family: 'Space Grotesk', monospace; color: var(--neon-purple);
            margin-bottom: 15px; text-transform: uppercase; font-size: 1.1rem;
        }
        .demo-rules ul { list-style: none; color: #ccc; font-size: 0.95rem; }
        .demo-rules ul li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
        .demo-rules ul li i { color: var(--neon-purple); }

        /* Footer */
        footer { padding: 50px 5%; text-align: center; border-top: 1px solid rgba(168,85,247,0.15); color: var(--gray-sub); background: var(--primary-black); margin-top: 40px; width: 100%; }
        .social { margin-bottom: 24px; display: flex; justify-content: center; gap: 30px; }
        .social a { color: var(--pure-white); font-size: 1.5rem; transition: var(--transition); }
        .social a:hover { color: var(--neon-purple); transform: translateY(-3px); }
        .footer-nav { margin-bottom: 20px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
        .footer-nav a { color: var(--gray-sub); text-decoration: none; font-size: 0.85rem; transition: var(--transition); text-transform: uppercase; font-family: 'Space Grotesk', monospace; }
        .footer-nav a:hover { color: var(--neon-purple); }

        /* =========================================================================
           DISEÑO RESPONSIVO (Móviles y Tablets)
           ========================================================================= */
        @media (max-width: 900px) {
            /* Navbar Móvil: Menú Hamburguesa */
            .glass-nav { padding: 15px 5%; }
            .hamburger-menu { display: block; }
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(3, 0, 20, 0.9);
                backdrop-filter: blur(20px);
                flex-direction: column;
                align-items: center;
                padding: 30px 0;
                gap: 25px;
                border-bottom: 1px solid rgba(168, 85, 247, 0.2);
                box-shadow: 0 10px 30px rgba(0,0,0,0.8);
                
                /* Estado Oculto (Cerrado) */
                transform: translateY(-120%);
                opacity: 0;
                visibility: hidden;
            }
            /* Estado Visible (Abierto) */
            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            .nav-links a {
                font-size: 1.1rem;
                width: 100%;
                text-align: center;
                padding: 10px 0;
            }

            header.internal-header { padding: 150px 20px 60px; }
            header.internal-header h1 { font-size: 2.5rem; }
            .form-container { padding: 30px 20px; }
            .demo-rules { padding: 20px; }
        }

        
        /* --- PRELOADER --- */
        .preloader {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: #030014; z-index: 9999;
            display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
        }
        .preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
        .preloader-logo {
            width: 100px; height: 100px; margin-bottom: 50px;
            animation: preloaderPulse 2.5s ease-in-out infinite;
            filter: drop-shadow(0 0 40px rgba(168,85,247,0.6));
            z-index: 2;
        }
        .preloader-logo img { width: 100%; height: 100%; object-fit: contain; }
        @keyframes preloaderPulse { 0%,100%{transform:scale(1);filter:drop-shadow(0 0 20px rgba(168,85,247,0.4))} 50%{transform:scale(1.1);filter:drop-shadow(0 0 50px rgba(168,85,247,0.8))} }
        
        .preloader-rings { position: relative; width: 160px; height: 160px; display: flex; justify-content: center; align-items: center; }
        .ring {
            position: absolute; border: 2px solid transparent; border-radius: 50%;
        }
        .ring-1 {
            width: 160px; height: 160px; border-top-color: #a855f7;
            animation: spinRing 2s linear infinite;
        }
        .ring-2 {
            width: 140px; height: 140px; border-right-color: #ff6b35;
            animation: spinRing 1.5s linear infinite reverse;
        }
        .ring-3 {
            width: 120px; height: 120px; border-bottom-color: #00d2ff;
            animation: spinRing 3s linear infinite;
        }
        @keyframes spinRing { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
        
        .preloader-bar {
            position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
            width: 250px; height: 4px; background: rgba(255,255,255,0.04);
            border-radius: 4px; overflow: hidden;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
        }
        .preloader-bar-fill {
            height: 100%; width: 0%; border-radius: 4px;
            background: linear-gradient(90deg, #a855f7, #00d2ff, #ff6b35);
            background-size: 200% 100%;
            animation: fillBar 3s ease-in-out forwards;
            box-shadow: 0 0 15px rgba(168,85,247,0.5);
        }
        @keyframes fillBar { 0%{width:0%} 100%{width:100%} }
 40%{width:60%} 80%{width:85%} 100%{width:100%} }
        .preloader-text {
            position: absolute; bottom: calc(15% + 20px); left: 50%; transform: translateX(-50%);
            font-family: 'Space Grotesk', monospace; font-size: 0.7rem;
            color: rgba(255,255,255,0.3); letter-spacing: 4px; text-transform: uppercase;
        }

@keyframes fo1{0%,100%{transform:translate(0,0)}50%{transform:translate(60px,40px)}}@keyframes fo2{0%,100%{transform:translate(0,0)}50%{transform:translate(-40px,-60px)}}
