/* footer.css - Código completo actualizado */
.footer {
    background: linear-gradient(to bottom, #1a237e, #0d47a1);
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 4rem;
    color: white;
    overflow: hidden;
}

/* Efecto de partículas */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 40px 60px, rgba(255,255,255,0.1) 50%, transparent 100%),
        radial-gradient(2px 2px at 20% 20%, rgba(255,255,255,0.07) 50%, transparent 100%),
        radial-gradient(2px 2px at 30% 70%, rgba(255,255,255,0.08) 50%, transparent 100%);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    animation: particleAnimation 20s linear infinite;
    opacity: 0.2;
}

@keyframes particleAnimation {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50%) rotate(45deg); }
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    position: relative;
    width: 100%;
    text-align: center;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
    width: 3rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.footer-links li {
    margin: 0;
}

/* Estilos generales para enlaces no sociales */
.footer-links a:not(.social-link) {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0.3rem 0;
    position: relative;
}

.footer-links a:not(.social-link):hover {
    color: #ffffff;
}

.footer-links a:not(.social-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.footer-links a:not(.social-link):hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Estilos para enlaces sociales */
.social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    width: auto !important;
    position: relative;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.social-link-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.social-link-content::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.social-link:hover .social-link-content::after {
    transform: scaleX(1);
    transform-origin: left;
}

.social-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.social-link:hover {
    color: #e3f2fd !important;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.license {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.license a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.license a:hover {
    color: #ffffff;
}

/* Media Queries */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        padding: 0 1rem;
    }
}