       :root {
            --primary-color: #00ff88;
            --secondary-color: #0066ff;
            --dark-bg: #0a0a0a;
            --card-bg: #111111;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --accent-red: #ff4444;
            --accent-orange: #ff8800;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Courier New', monospace;
            background: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }
/* Estilo para que la imagen llene el círculo */
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: filter 0.5s ease; 
    object-position: bottom 100%;
}

/* Modificamos el contenedor para la transición */
.profile-photo {
    transition: all 0.3s ease-in-out; 
}

/* El NUEVO efecto que se activa al pasar el cursor */
.profile-photo:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color); 
}

.profile-photo:hover img {
    filter: grayscale(80%); 
}

        /* Animated background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.1;
        }

        .matrix-rain {
            position: absolute;
            color: var(--primary-color);
            font-size: 12px;
            animation: fall linear infinite;
        }

        @keyframes fall {
            0% { transform: translateY(-100vh); }
            100% { transform: translateY(100vh); }
        }

        /* Header Section */
        .header {
            position: relative;
            background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
            padding: 60px 0;
            text-align: center;
            border-bottom: 2px solid var(--primary-color);
        }

        .profile-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .profile-photo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 3px solid var(--primary-color);
            margin: 0 auto 30px;
            background: var(--card-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--primary-color);
            position: relative;
            overflow: hidden;
        }

        .name {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 10px;
            text-shadow: 0 0 20px var(--primary-color);
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { text-shadow: 0 0 20px var(--primary-color); }
            to { text-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--primary-color); }
        }

        .title {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .typing-effect {
            font-size: 1.2rem;
            color: var(--text-secondary);
            border-right: 2px solid var(--primary-color);
            white-space: nowrap;
            overflow: hidden;
            animation: typing 4s steps(40, end), blink 0.75s step-end infinite;
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink {
            from, to { border-color: transparent; }
            50% { border-color: var(--primary-color); }
        }

        /* Social Links */
        .social-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
        }

        .social-link {
            display: inline-block;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--card-bg);
            border: 2px solid var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--primary-color);
            transition: all 0.3s ease;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

        .social-link:hover::before {
            width: 100%;
            height: 100%;
        }

        .social-link:hover {
            color: var(--dark-bg);
            transform: scale(1.1);
        }

        .social-link i {
            position: relative;
            z-index: 1;
        }

        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .section {
            background: var(--card-bg);
            margin: 30px 0;
            padding: 30px;
            border-radius: 10px;
            border: 1px solid #333;
            position: relative;
            overflow: hidden;
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            animation: scan 3s linear infinite;
        }

        @keyframes scan {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .section-title {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .section-title::before {
            content: '>';
            color: var(--accent-red);
            font-weight: bold;
        }
        .command-palette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding-top: 15vh;
}

.command-palette-container {
    width: 100%;
    max-width: 600px;
    background: #111;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.command-palette-input-wrapper {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.command-palette-input-wrapper i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

#command-input {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

#command-input:focus {
    outline: none;
}

.command-palette-results {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.command-item {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-item:hover, .command-item.selected {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.command-item.selected .command-shortcut {
    color: var(--dark-bg);
}

.command-shortcut {
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid #555;
    padding: 2px 6px;
    border-radius: 3px;
}

.command-palette-footer {
    background: #1a1a1a;
    padding: 10px 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid #333;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
}

        /* Skills Grid */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .skill-category {
            background: #1a1a1a;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--primary-color);
        }

        .skill-category h4 {
            color: var(--secondary-color);
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .skill-item {
            display: flex;
            align-items: center;
            margin: 8px 0;
            color: var(--text-secondary);
        }

        .skill-item i {
            color: var(--primary-color);
            width: 20px;
            margin-right: 10px;
        }

        /* Experience Cards */
        .experience-item {
            background: #1a1a1a;
            padding: 25px;
            margin: 20px 0;
            border-radius: 8px;
            border-left: 4px solid var(--secondary-color);
            position: relative;
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .job-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            font-weight: bold;
        }

        .company {
            color: var(--secondary-color);
            font-size: 1.1rem;
        }

        .date {
            color: var(--accent-orange);
            font-size: 0.9rem;
            background: rgba(255, 136, 0, 0.1);
            padding: 5px 10px;
            border-radius: 4px;
        }

        .job-description {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .job-description ul {
            margin-left: 20px;
        }

        .job-description li {
            margin: 8px 0;
            position: relative;
        }

        .job-description li::marker {
            color: var(--primary-color);
        }

        /* Project Links */
        .project-link {
            display: inline-block;
            background: var(--secondary-color);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            text-decoration: none;
            margin: 10px 0;
            transition: all 0.3s ease;
        }

        .project-link:hover {
            background: var(--primary-color);
            color: var(--dark-bg);
            transform: translateY(-2px);
        }

        /* Certifications */
        .cert-item {
            background: #1a1a1a;
            padding: 20px;
            margin: 15px 0;
            border-radius: 8px;
            border-left: 4px solid var(--accent-orange);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .cert-icon {
            font-size: 2rem;
            color: var(--accent-orange);
        }

        .cert-info h4 {
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .cert-info p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Languages */
        .language-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: #1a1a1a;
            border-radius: 8px;
            margin: 10px 0;
        }

        .language-flag {
            font-size: 2rem;
        }

        /* Footer */
        .footer {
            background: var(--card-bg);
            padding: 30px 0;
            text-align: center;
            border-top: 2px solid var(--primary-color);
            margin-top: 50px;
        }

        .terminal-prompt {
            color: var(--primary-color);
            font-family: 'Courier New', monospace;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .name {
                font-size: 2.5rem;
            }

            .social-links {
                gap: 20px;
            }

            .social-link {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            .cert-info p {
                 font-size: 0.9rem; 
                 line-height: 1.5; 
            }
            .section-title {
                font-size: 1.6rem; 
            }
            .section {
                padding: 20px;
            }

            .experience-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }
            
        }

        /* Terminal effect */
        .terminal {
            background: #000;
            color: var(--primary-color);
            padding: 15px;
            border-radius: 5px;
            font-family: 'Courier New', monospace;
            margin: 20px 0;
            border: 1px solid var(--primary-color);
        }