        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

        /* Scrollbar Cyberpunk */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #050505;
        }

        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 0;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #00f3ff;
        }

        /* Evita scroll horizontal indeseado en móvil */
        html,
        body {
            width: 100%;
            overflow-x: hidden;
        }

        main {
            overflow-x: hidden;
        }

        /* Efectos Base */
        .glass-panel {
            background: rgba(15, 15, 19, 0.7);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Grid de fondo animado */
        .cyber-grid {
            background-size: 50px 50px;
            background-image:
                linear-gradient(to right, rgba(0, 243, 255, 0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
            mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
        }

        /* Skill Bar Animation */
        .skill-fill {
            width: 0%;
            transition: width 1s ease-out;
        }

        .group:hover .skill-fill {
            width: var(--percent);
        }

        /* Text Glow */
        .text-glow {
            text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
        }

        /* Utilidades Modo Claro/Oscuro */
        html:not(.dark) body {
            background-color: #f8fafc;
            color: #0f172a;
        }

        html:not(.dark) .glass-panel {
            background: rgba(255, 255, 255, 0.9);
            border-color: #e2e8f0;
        }

        html:not(.dark) .neon-text {
            color: #0055cc;
            text-shadow: none;
        }

        html.dark body {
            background-color: #050505;
            color: #e2e8f0;
        }

        html.dark .neon-text {
            color: #00f3ff;
        }

        /* Estilos Tabs Modal */
        .tab-btn.active {
            border-bottom: 2px solid #00f3ff;
            color: #00f3ff;
            background: rgba(0, 243, 255, 0.05);
        }

        /* Tech Switch Toggle (Nuevo Estilo) */
        .tech-switch {
            position: relative;
            display: flex;
            background: #e2e8f0;
            border-radius: 6px;
            padding: 2px;
            cursor: pointer;
            border: 1px solid #cbd5e1;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            font-weight: bold;
            overflow: hidden;
        }

        .dark .tech-switch {
            background: #0f0f13;
            border-color: #333;
        }

        .tech-switch input {
            display: none;
        }

        .tech-switch-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            bottom: 2px;
            width: calc(50% - 2px);
            background: white;
            border-radius: 4px;
            transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            z-index: 0;
        }

        .dark .tech-switch-slider {
            background: #00f3ff;
            box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
        }

        .tech-switch input:checked+.tech-switch-labels+.tech-switch-slider {
            transform: translateX(100%);
        }

        .tech-switch-labels {
            position: relative;
            z-index: 1;
            display: flex;
            width: 100%;
        }

        .tech-switch-label {
            flex: 1;
            text-align: center;
            padding: 4px 10px;
            color: #64748b;
            transition: color 0.3s;
        }

        .dark .tech-switch-label {
            color: #64748b;
        }

        /* Active Text Colors */
        .tech-switch input:not(:checked)+.tech-switch-labels .label-es {
            color: #0f172a;
        }

        .dark .tech-switch input:not(:checked)+.tech-switch-labels .label-es {
            color: #000;
        }

        .tech-switch input:checked+.tech-switch-labels .label-en {
            color: #0f172a;
        }

        .dark .tech-switch input:checked+.tech-switch-labels .label-en {
            color: #000;
        }
