@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;700&display=swap');
        
:root {
    --primary-dark: #121212;
    --secondary-dark: #1e1e1e;
    --accent: #8a5cf7;
    --text-primary: #fff;
    --text-secondary: #aaa;
    --padding-border: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-primary);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
    padding: var(--padding-border) var(--padding-border);
}

header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--padding-border);
    background-color: var(--primary-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.profile-img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.verified {
    background-color: var(--accent);
    color: var(--primary-dark);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 0px;
    margin-top: 0px;
    border: 2px solid var(--secondary-dark);
}

.contact-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.hero {
    padding: var(--padding-border) var(--padding-border);
    height: 76vh;
    align-items: center;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Efecto Typewriter con cursor separado */
.typewriter-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.typewriter-text {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    opacity: 0; /* Oculto inicialmente */
}

/* Cuando está activo, se muestra */
.typewriter-text.typing {
    opacity: 1;
}

/* Cursor con brillo */
.typewriter-text::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    animation: blink-cursor-2 1.2s ease-in-out infinite;
}

/* Animación del cursor con brillo (ESTA FALTABA) */
@keyframes blink-cursor-2 {
    0%, 40% { 
        opacity: 1; 
        box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    }
    50%, 90% { 
        opacity: 0.3; 
        box-shadow: 0 0 5px var(--accent);
    }
    100% { 
        opacity: 1; 
        box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .typewriter-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .typewriter-title {
        font-size: 1.7rem;
    }
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


.hero-subtext {
    margin-top: 1rem;
    max-width: 650px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    margin-bottom: 3rem;
}

.hero-feature {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}


.skills {
    padding: var(--padding-border) var(--padding-border);
    background-color: var(--primary-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--secondary-dark);
    color: var(--text-primary);
    border: 2px solid var(--secondary-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.filter-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.filter-count {
    display: inline-block;
    background-color: rgba(138, 92, 247, 0.2);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 0.5rem;
    min-width: 24px;
    text-align: center;
}

.filter-btn.active .filter-count {
    background-color: rgba(18, 18, 18, 0.3);
    color: var(--primary-dark);
}

.project-badge-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-category-badge {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.like-btn:hover {
    transform: scale(1.1);
}

.like-btn:hover .like-icon {
    color: #ff4757;
}

.like-btn.liked .like-icon {
    color: #ff4757;
    animation: heartBeat 0.3s ease;
}

.like-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.like-count {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
}

.featured-star {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.featured-star:hover {
    transform: scale(1.15);
    color: #ffd700;
}

.featured-star.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill {
    background-color: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 8px;
    width: calc(25% - 1rem);
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill h3{
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.skill p {
    padding: 0 1rem;
    color: var(--text-secondary);
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--accent);
}

.projects {
    background-color: var(--secondary-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--primary-dark);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.project-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-content {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.project-tag {
    background-color: rgba(138, 92, 247, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.project-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

footer {
    background-color: var(--secondary-dark);
    padding: 2rem var(--padding-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pequeño detalle de ajedrez - sutil */
.chess-detail {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    opacity: 0.2;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 101;
}

.chess-detail:hover {
    opacity: 0.5;
}

/* Tablero de ajedrez */
.chess-board {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(3, 50px);
    grid-template-rows: repeat(3, 50px);
    gap: 2px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.chess-board.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.chess-cell {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
}

.light {
    background-color: #f0d9b5;
    color: #b58863;
}

.dark {
    background-color: #b58863;
    color: #f0d9b5;
}

.selected {
    position: relative;
    box-shadow: inset 0 0 0 3px var(--accent);
    z-index: 2;
}

.destination {
    position: relative;
    cursor: pointer;
}

.destination::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
}

/* Celdas vacías para formar el patrón en L */
.empty-cell {
    background-color: transparent;
}

/* Animación de transición de pantalla completa */
.fullscreen-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: grid;
    pointer-events: none;
    overflow: hidden;
}

.transition-cell {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.light-cell {
    background-color: #f0d9b5;
}

.dark-cell {
    background-color: #b58863;
}


/* Estilos específicos para la sección de contacto */
.contact-section {
    background-color: var(--primary-dark);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-section p {
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.contact-card {
    background-color: var(--secondary-dark);
    border-radius: 1rem;
    padding: 2rem;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-action {
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-action:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.contact-map-card {
    width: calc(800px + 1.5rem);
    align-items: flex-start;
    padding: 2.5rem;
}

.contact-map-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-icon-left {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-map-text {
    flex: 1;
    text-align: left;
}

.contact-map-text .contact-title {
    text-align: left;
    margin-bottom: 0.75rem;
}

.contact-map-text .contact-title:last-of-type {
    margin-bottom: 1rem;
}

.contact-map-text .contact-description {
    text-align: left;
    margin-bottom: 0;
}

.contact-map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-map-container iframe {
    width: 100%;
    height: 350px;
    display: block;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.contact-card:hover .contact-map-container iframe {
    filter: grayscale(0%) contrast(1);
}

/* Animación para entrada */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos responsivos */
@media (max-width: 470px) {
    .nav-links {
        display: none;
    }
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-map-card {
        width: 100%;
        max-width: 320px;
    }

    .contact-map-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-map-text {
        text-align: center;
    }

    .contact-map-text .contact-title,
    .contact-map-text .contact-description {
        text-align: center;
    }

    .contact-map-container iframe {
        height: 250px;
    }

    section {
        padding: 2rem 1rem;
    }
    nav{
        padding: 1rem 1rem;
    }
    .hero{
        padding: 2rem 1rem;
    }
}

@media (max-width: 1100px) {
    .hero{
        height: 60vh;
    }
}

/* Estilos para la sección FAQ */
.faq-section {
    background-color: var(--secondary-dark);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: var(--padding-border) auto 0;
}

.faq-item {
    background-color: var(--primary-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 5px 15px var(--accent);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--primary-dark);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-section {
        margin: 0;
        border-radius: 0;
        padding: 3rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

.footer {
    background-color: var(--secondary-dark);
    color: var(--text-secondary);
    padding: 4rem var(--padding-border) 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    text-align: start;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: start;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
}

.links ul {
    list-style: none;
}

.links ul li {
    margin-bottom: 0.8rem;
    text-align: start;
}

.links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.links ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact i {
    color: var(--accent);
    width: 16px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.f11-hint {
    position: fixed;
    top: 150px; /* Posicionado justo debajo del theme-switcher */
    right: 60px;
    z-index: 99;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    animation: fadeOut 0.5s ease-in-out forwards;
    animation-delay: 2s; /* Permanece visible por 6 segundos */
}

.f11-hint-content {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(30, 30, 30, 0.85); /* Usando secondary-dark con transparencia */
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-left: 2px solid var(--accent);
}

.f11-icon {
    color: var(--accent);
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .f11-hint {
        display: none; /* Ocultamos en móviles donde F11 no es relevante */
    }
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    }

    .modal.show {
    display: block;
    opacity: 1;
    }

    .modal-content {
    position: relative;
    background-color: var(--secondary-dark);
    margin: 5% auto;
    max-width: 700px;
    width: 85%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    animation: modalAppear 0.5s ease;
    overflow: hidden;
    }

    @keyframes modalAppear {
    from {transform: translateY(-30px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
    }

    .close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    }

    .close-modal:hover {
    color: var(--accent);
    }

    .modal-body {
    padding: 2rem;
    }

    /* Estilos del contenido About Me */
    .about-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
    }

    .about-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    }

    .about-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    }

    .about-subtitle {
    color: var(--accent);
    font-size: 1rem;
    }

    .about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    }

    .about-content h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    }

    .about-specialties {
    list-style: none;
    margin: 1.5rem 0;
    }

    .about-specialties li {
    display: flex;
    margin-bottom: 1.2rem;
    gap: 1rem;
    }

    .specialty-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    }

    .specialty-text strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    }

    .specialty-text p {
    margin: 0;
    font-size: 0.95rem;
    }

    .about-cta {
    margin-top: 2rem;
    text-align: center;
    }

    .modal-contact-btn {
    padding: 0.8rem 2rem;
    }

    /* Estilo para hacer el nombre en el header clickeable */
    .profile-name {
    cursor: pointer;
    position: relative;
    transition: color 0.5s;
    }


    .profile-name:hover {
    color: var(--accent);
    }

    /* Definimos la animación del subrayado */
    @keyframes underline-slide {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 30%;
    }
    75% {
        left: 70%;
        width: 30%;
    }
    100% {
        left: 100%;
        width: 0;
    }
    }

    /* Responsive */
    @media (max-width: 600px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .about-specialties li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .specialty-icon {
        margin: 0 auto;
    }
    }

    
  .more-about-section {
    text-align: center;
    margin: 2rem 0 1rem;
  }
  
  .more-about-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: all 0.3s ease;
  }
  
  .more-about-btn:hover {
    background-color: rgba(138, 92, 247, 0.1);
    transform: translateY(-2px);
  }
  
  .more-icon {
    transition: transform 0.3s ease;
  }
  
  .more-about-btn.active .more-icon {
    transform: rotate(180deg);
  }
  
  .personal-interests {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    opacity: 0;
    margin-top: 0;
  }
  
  .personal-interests.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
  }
  
  .interest-card {
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
  }
  
  .interest-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .interest-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  
.chess-profile {
    margin-top: 1.5rem;
  }
  
  .fide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255,255,255,0.1);
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .fide-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  .fide-icon {
    transition: transform 0.3s ease;
  }
  
  .fide-btn:hover .fide-icon {
    transform: translateX(2px);
  }
  