/**
 * Footer component for Fanify
 * Glassmorphic footer with gradient accents
 */

.footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

/* Footer brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

/* Footer social */
.footer-social {
    display: flex;
    gap: var(--spacing-xs);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer-social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Footer section */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section-title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    list-style: none;
}

.footer-link {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--color-primary);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.footer-legal-link {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-legal-link:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}
