        :root {
            --bg-body: #f4f5f7;
            --text-main: #111; 
            --header-bg: rgba(10, 14, 20, 0.9);
            --header-border: rgba(0, 210, 255, 0.3);
            --card-bg: #ffffff;
            --primary-cyan: #00d2ff; 
            --accent-purple: #9d50bb;
            --studio-dark: #0a0e14; 
            --glass: rgba(255, 255, 255, 0.05);
            --font-main: 'Outfit', sans-serif;
            --font-accent: 'Montserrat', sans-serif;
            --jade-green: #00ff37;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-light: 0 10px 30px rgba(0,0,0,0.08);
            --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
        }

        [data-theme="dark"] {
            --bg-body: #111318;
            --text-main: #98ec10; 
            --card-bg: #161b22;
            --shadow-light: 0 10px 30px rgba(0,0,0,0.4);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { 
            font-family: var(--font-main); 
            background-color: var(--bg-body); 
            color: var(--text-main); 
            transition: var(--transition);
            padding-top: 100px;
            padding-bottom: 100px;
            overflow-x: hidden;
        }

        /* --- Header Principal --- */
        header { 
            padding: 15px 4%; 
            position: fixed; 
            width: 100%; 
            height: 80px;
            top: 0; left: 0;
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            z-index: 1000; 
            backdrop-filter: blur(20px); 
            border-bottom: 1px solid var(--header-border); 
            background: var(--header-bg);
            background-color: #0e131a;
        }

        .header-left, .header-right { display: flex; align-items: center; gap: 15px; }

        .floating-icon { color: var(--primary-cyan); font-size: 1.8rem; animation: float 3s ease-in-out infinite; }

        #root-menu-toggle { 
            cursor: pointer; 
            padding: 10px 12px;
            background: rgba(255, 8, 0, 0.897);
            border-radius: 8px;
            border: 1px solid var(--primary-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-center {
            position: absolute;
            left: 40%;
            transform: translateX(-50%);
        }

        .vip-btn {
            text-decoration: none;
            color: #00ffca; 
            font-family: var(--font-accent);
            font-weight: 900;
            text-transform: uppercase;
            font-size: 0.65rem;
            letter-spacing: 1px;
            padding: 8px 18px;
            border: 2px solid #00ffca;
            border-radius: 50px; 
            background: rgba(0, 255, 202, 0.05);
            transition: 0.4s;
            display: inline-block;
            animation: floating-3d 3s ease-in-out infinite;
        }

        .vip-btn:hover {
            background: #00ffca;
            color: #000;
            box-shadow: 0 0 25px #00ffca;
        }

        /* --- Menú Hamburguesa --- */
        .menu-toggle { cursor: pointer; z-index: 1100; background: transparent; border: none; }
        .menu-toggle .bar { 
            display: block; width: 28px; height: 3px; margin: 5px 0; 
            background-color: rgb(235, 4, 4); transition: 0.3s; border-radius: 2px; 
        }
        .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
        .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--primary-cyan); }
        .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--primary-cyan); }

/* --- Botón de Tema: Dinámico, Rústico y de Élite --- */
.theme-toggle {
    cursor: pointer;
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #1a1d23, #111419); /* Gradiente profundo */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Efecto de brillo dinámico al pasar el mouse */
.theme-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.theme-toggle:hover::after {
    opacity: 1;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgb(255, 0, 0);
}

/* Iconos con resplandor dinámico */
.theme-toggle i {
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* MODO DARK (Estado Sol - Ámbar Eléctrico) */
[data-theme="dark"] .theme-toggle i {
    color: #eefd18; /* Cyan rústico para modo oscuro */
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
    transform: rotate(360deg);
}

/* MODO LIGHT (Estado Luna - Acero Pulido) */
body:not([data-theme="dark"]) .theme-toggle {
    background: #0e131a;
    border-color: #f80505;
}

body:not([data-theme="dark"]) .theme-toggle i {
    color: #095ee6;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
    transform: rotate(-360deg);
}

/* Animación de "latido" muy sutil */
.theme-toggle:active {
    transform: scale(0.92);
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.5);
}

        /* --- Overlays de Navegación --- */
        .nav-overlay, .nav-root-overlay {
            position: fixed;
            top: 0; 
            height: calc(100vh - 80px);
            background: rgba(0, 0, 0, 0.98);
            backdrop-filter: blur(20px);
            transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
            z-index: 999;
            padding: 40px 40px;
            overflow-y: auto;
            margin-top: 80px;
        }

        .nav-overlay { right: -100%; width: 245px; border-left: 1px solid rgba(0, 210, 255, 0.2); }
        .nav-overlay.is-active { right: 0; }

        .nav-root-overlay { left: -100%; width: 300px; border-right: 1px solid var(--primary-cyan); }
        .nav-root-overlay.is-active { left: 0; }

        .nav-links-vertical li, .root-links li { margin-bottom: 25px; list-style: none; }
        .nav-links-vertical a, .root-links a, .root-links button {
            text-decoration: none; color: rgb(255, 136, 0);
            font-size: 0.8rem; font-weight: 60;
            text-transform: uppercase; font-family: var(--font-accent);
            transition: 0.3s; display: flex; align-items: center; gap: 15px;
            background: none; border: none; width: 100%; cursor: pointer;
        }

        .submenu {
            max-height: 0; overflow: hidden; padding-left: 20px;
            transition: max-height 0.4s ease; border-left: 1px solid var(--glass);
            margin-top: 10px;
        }
        .submenu.open { max-height: 500px; padding-top: 10px; }
        .submenu a { font-size: 0.8rem; font-weight: 400; color: #e3fc09; text-transform: capitalize; margin-bottom: 15px; }

        .panel-title { color: var(--primary-cyan); font-family: var(--font-accent); margin-bottom: 30px; text-transform: uppercase; font-size: 1rem; }
        .btn-logout { background: #ff4444 !important; color: white !important; padding: 12px; border-radius: 5px; justify-content: center !important; }
        .login-link { font-size: 0.8rem !important; opacity: 0.4; margin-top: 50px; }

        .hero-title { text-align: center; margin: 40px 0 50px; font-family: 'Montserrat'; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; background: linear-gradient(45deg, var(--primary-cyan), var(--jade-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; max-width: 1400px; margin: 0 auto; padding: 0 30px; }
        .service-card { background: var(--card-bg); height: 160px; border-radius: 24px; cursor: pointer; display: flex; justify-content: center; align-items: center; padding: 30px; box-shadow: var(--shadow-light); transition: var(--transition); text-decoration: none; }
        .service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); }
        .service-card img { max-width: 100%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(238, 5, 5, 0.2)); }

        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
        @keyframes floating-3d { 0%, 100% { transform: scale(0.95); } 50% { transform: scale(1.05); } }