/* Variables CSS */
:root {
    --primary-color: #6366f1;
    --secondary-color: #0f172a;
    --accent-color: #f97316;
    --danger-color: #ef4444;
    --info-color: #ec4899;
    --light-color: #f1f5f9;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


a {
  text-decoration: none; /* Quita el subrayado */
  color: #333; /* Color del icono */
  margin: 0 5px;
}

/* Para iconos de imagen */
img {
  vertical-align: middle; /* Alinea la imagen con el texto/icono */
}

/* Para iconos de Font Awesome */
a i {
  font-size: 24px; /* Tamaño del icono */
  transition: color 0.3s ease; /* Efecto suave al pasar el ratón */
}

a:hover i {
  color: #007bff; /* Cambia el color al pasar el ratón */
}

/* Añade un cursor de mano */
a {
  cursor: pointer;
}





/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f35 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 80%;
    border: 4px solid var(--primary-color);
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 30px 30px rgba(99, 102, 241, 0.2);
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #6366f1, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Contenedor de Botones */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

/* Botones */
.btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateX(2px);
}

.icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.text {
    flex: 1;
}

/* Variantes de Botones */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #334155, #475569);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), #db2777);
    color: white;
}

.btn-light {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: var(--dark-bg);
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.footer p {
    font-size: 13px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .name {
        font-size: 24px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .icon {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }
}

/* Modo Claro (opcional) */
@media (prefers-color-scheme: light) {
    :root {
        --dark-bg: #f8fafc;
        --card-bg: #ffffff;
    }

    body {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        color: #1e293b;
    }

    .name {
        background: linear-gradient(135deg, #6366f1, #f97316);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .bio {
        color: #64748b;
    }

    .btn-light {
        background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
        color: #0f172a;
    }

    .container {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}




