/**
 * Estilos para la página de Links
 * Basado en la plantilla original
 */

/* Quitar padding del main-content solo en esta página */
.links-page.main-content {
    padding: 0;
}

/* Página de Links */
.links-page .links-hero {
    background-image: url('../images/bg-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* Burbujas decorativas */
.links-page .bubble {
    position: fixed;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Contenedor principal */
.links-page .links-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    animation: fadeInLinks 1s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes fadeInLinks {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Perfil */
.links-page .profile {
    text-align: center;
    margin-bottom: 30px;
    animation: slideUpLinks 0.8s ease-out 0.2s both;
    color: #fff;
}

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

.links-page .avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(90, 45, 130, 0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.links-page .avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.links-page .profile h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.links-page .bio {
    font-size: 16px;
    opacity: 0.9;
    max-width: 80%;
    margin: 0 auto;
    font-weight: 600;
    color: #fff;
}

/* Links */
.links-page .links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.links-page .link-item {
    background: white;
    color: #5a2d82;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.15);
    transform: translateY(0);
    opacity: 0;
    animation: slideUpLinks 0.5s ease-out forwards;
}

.links-page .link-item:nth-child(1) { animation-delay: 0.4s; }
.links-page .link-item:nth-child(2) { animation-delay: 0.5s; }
.links-page .link-item:nth-child(3) { animation-delay: 0.6s; }
.links-page .link-item:nth-child(4) { animation-delay: 0.7s; }
.links-page .link-item:nth-child(5) { animation-delay: 0.8s; }

.links-page .link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(90, 45, 130, 0.25);
    background: #f8f0ff;
}

.links-page .link-icon {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, #a45deb 0%, #6a5dec 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.links-page .link-text {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.links-page .link-arrow {
    color: #b388ff;
    transition: transform 0.3s ease;
}

.links-page .link-item:hover .link-arrow {
    transform: translateX(5px);
}

/* Redes sociales */
.links-page .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    animation: fadeInLinks 1s ease-out 1s both;
}

.links-page .social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a2d82;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.15);
    text-decoration: none;
}

.links-page .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(90, 45, 130, 0.25);
}

.links-page .social-link.instagram:hover {
    color: #e1306c;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    background: #fff;
    color: #e1306c;
}

.links-page .social-link.youtube:hover {
    color: #ff0000;
}

.links-page .social-link.tiktok:hover {
    color: #000000;
}

.links-page .social-link.facebook:hover {
    color: #1877f2;
}

.links-page .social-link.twitter:hover {
    color: #1da1f2;
}

/* Responsive */
@media (max-width: 600px) {
    .links-page .links-container {
        padding: 0 20px;
    }

    .links-page .bio {
        max-width: 100%;
    }

    .links-page .avatar {
        width: 110px;
        height: 110px;
    }

    .links-page .profile h1 {
        font-size: 24px;
    }

    .links-page .link-item {
        padding: 12px 15px;
    }

    .links-page .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
