body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin: 10%;
    background-color: #f0f0f0; /* Color de fondo claro */
    color: #333;
    overflow: hidden; /* Oculta barras de desplazamiento innecesarias */
    position: relative;
}

.container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3)); /* Fondo translúcido */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(10px); /* Para compatibilidad con Safari */
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative; /* Para posicionar la barra lateral social */
}

.profile-section {
    margin-bottom: 30px;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 0;
    font-weight: bold;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.1em;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.link-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.link-button i {
    font-size: 1.2em;
    margin-right: 15px;
    color: #555;
}

.link-button .arrow-icon {
    margin-right: 0;
    margin-left: auto;
    color: #999;
}

/* Social Sidebar */
.social-sidebar {
    position: absolute;
    top: 30px; /* Ajusta según sea necesario */
    right: 30px; /* Ajusta según sea necesario */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.toggle-social-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.toggle-social-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(120%); /* Oculto por defecto */
    opacity: 0;
    pointer-events: none; /* Evita interacciones cuando está oculto */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links-container.active {
    transform: translateX(0); /* Visible */
    opacity: 1;
    pointer-events: auto; /* Permite interacciones cuando está visible */
}

.social-icon-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Para los enlaces */
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon-button:hover {
    color: #eee;
    transform: scale(1.1);
}

/* Estilos para el fondo de la imagen del mockup */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png'); /* Reemplaza con tu imagen de fondo */
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Desenfocar la imagen de fondo */
    z-index: -1; /* Enviar al fondo */
}

/* Media Queries para pantallas más pequeñas (smartphones) */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    .link-button {
        padding: 12px 15px;
        font-size: 1em;
    }

    .social-sidebar {
        top: 20px;
        right: 20px;
    }

    .toggle-social-button {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .social-icon-button {
        font-size: 1.3em;
        width: 35px;
        height: 35px;
    }
}