/* ===== VARIABLES CSS PARA FÁCIL PERSONALIZACIÓN ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
    /* Colores principales */
    --primary-color: #0A1019;
    --secondary-color: #0A4B20;
    --accent-color: #00CF6A;
    --text-color: #333;
    --text-light: #666;
    /*--background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    --card-background: rgba(255, 255, 255, 0.95);
    --button-background: rgba(255, 255, 255, 0.9);
    --button-hover: rgba(255, 255, 255, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Tipografía */
    --font-family: 'Inter', sans-serif;
    --font-size-name: 2rem;
    --font-size-bio: 1rem;
    --font-size-button: 1.1rem;
    
    /* Espaciado */
    --container-padding: 2rem;
    --button-padding: 1rem 1.5rem;
    --border-radius: 15px;
    --button-gap: 1rem;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--background);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 80px; /* Espacio para el footer fijo */
    margin-top: 15px;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--container-padding);
    animation: fadeInUp 0.8s ease-out;
}

/* ===== SECCIÓN DE PERFIL ===== */
.profile {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.profile-image {
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile h1 {
    font-size: var(--font-size-name);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile p {
    font-size: var(--font-size-bio);
    color: var(--text-light);
    max-width: 400px;
    margin: 0 auto;
}

/* ===== CONTENEDOR DE ENLACES ===== */
.links-container {
    display: flex;
    flex-direction: column;
    gap: var(--button-gap);
    align-items: center;
}

/* ===== BOTONES DE ENLACES ===== */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--button-background);
    color: var(--text-color);
    padding: var(--button-padding);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    font-size: var(--font-size-button);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: attr(data-icon);
    margin-right: 12px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.link-button:hover {
    background: var(--button-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.link-button:hover::before {
    transform: scale(1.2);
}

.link-button:active {
    transform: translateY(0);
}

/* Efecto de onda al hacer clic */
.link-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.link-button:active::after {
    width: 300px;
    height: 300px;
}

/* ===== FOOTER FIJO ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVIDAD ===== */
/* Tablets */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --font-size-name: 1.8rem;
        --font-size-bio: 0.95rem;
        --font-size-button: 1rem;
    }
    
    .profile {
        padding: 1.5rem;
    }
    
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .footer {
        padding: 0.8rem 1.5rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --font-size-name: 1.6rem;
        --font-size-bio: 0.9rem;
        --font-size-button: 0.95rem;
        --button-padding: 0.8rem 1.2rem;
    }
    
    .profile {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .profile-image img {
        width: 80px;
        height: 80px;
    }
    
    .footer {
        padding: 0.7rem 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .link-button::before {
        font-size: 1.1rem;
        margin-right: 8px;
    }
}

/* ===== TEMAS ALTERNATIVOS (EJEMPLOS) ===== */
/* Descomenta el tema que prefieras */

/* Tema Oscuro */
/*
:root {
    --primary-color: #bb86fc;
    --secondary-color: #3700b3;
    --accent-color: #03dac6;
    --text-color: #ffffff;
    --text-light: #b3b3b3;
    --background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --card-background: rgba(45, 45, 45, 0.95);
    --button-background: rgba(60, 60, 60, 0.9);
    --button-hover: rgba(80, 80, 80, 1);
}
*/

/* Tema Minimalista */
/*
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #666666;
    --text-color: #000000;
    --text-light: #666666;
    --background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    --card-background: rgba(255, 255, 255, 0.95);
    --button-background: rgba(245, 245, 245, 0.9);
    --button-hover: rgba(235, 235, 235, 1);
}
*/

body {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at 30% 30%, #00CF6A, #0A4B20, #0A1019);
  background-size: 400% 400%;
  animation: lavaLamp 20s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Animación del gradiente tipo lava */
@keyframes lavaLamp {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Capa de ruido */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://grainy-gradients.vercel.app/noise.svg'); /* imagen de ruido */
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}
