@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    background: linear-gradient(135deg, #f5f0fa 0%, #e0d7f6 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #6a5d7b;
}

/* Contenedor general que alinea todo en columna */
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
}

/* Contenedor de biografía */
.container {
    background: #ffffffdd;
    padding: 40px 50px;
    max-width: 700px;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(170, 155, 185, 0.25);
    border: 1px solid #d7cde3;
    text-align: left;
}

.container h1 {
    font-weight: 600;
    font-size: 30px;
    color: #7b6f8a;
    margin-bottom: 25px;
    letter-spacing: 1.4px;
    font-style: italic;
    line-height: 1.2;
}

.container h2 {
    font-weight: 400;
    font-size: 20px;
    color: #a798b9;
    margin-bottom: 30px;
}

.container p, .container li {
    font-size: 16px;
    line-height: 1.65;
    color: #7f7991;
    margin-left: 12px;
    font-weight: 300;
}

.email-link {
    color: #a893c2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.email-link:hover {
    color: #7c6cae;
    border-bottom: 1.5px solid #7c6cae;
}

.bio-card {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.photo-section img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(143, 129, 165, 0.3);
    border: 3px solid #cfc4e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(143, 129, 165, 0.45);
}

.text-section p {
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.text-section p:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #e2dff7, #f9f7fc, #e2dff7);
    border-radius: 1px;
}

/* Botones debajo del perfil */
.buttons-section {
    background: #ffffffdd;
    padding: 30px 20px;
    max-width: 700px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(170, 155, 185, 0.2);
    border: 1px solid #dcd0ee;
    text-align: center;
}

.buttons-section h2 {
    margin-bottom: 20px;
    color: #7b6f8a;
    font-weight: 500;
}

.buttons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bio-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 12px 16px;
    background-color: #f5f0fb;
    border: 2px solid #d3c5f0;
    border-radius: 16px;
    width: 130px;
    box-shadow: 0 4px 10px rgba(143, 129, 165, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #6a5d7b;
}

.bio-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(143, 129, 165, 0.3);
}

.bio-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Responsive móvil */
@media (max-width: 600px) {
    .bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .photo-section img {
        max-width: 140px;
        margin-bottom: 25px;
    }
    .text-section p {
        margin-left: 0;
        padding-bottom: 8px;
        text-align: center;
    }
    .buttons-grid {
        flex-direction: column;
        align-items: center;
    }
}
