.footer {
    background: var(--bg-secondary);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 105, 180, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 5;
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(233, 30, 99, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 10px 20px;
    position: relative;
    z-index: 6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px var(--shadow-color);
}

.footer-text-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-quick-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-quick-link {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    transform-style: preserve-3d;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.footer-quick-link:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 
        0 15px 35px var(--shadow-color),
        0 0 20px var(--accent-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-quick-link:hover::before {
    left: 100%;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--shadow-color);
    line-height: 1.2;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    text-align: left;
}

.footer-column-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.social-link:hover::before {
    opacity: 0.1;
}

.social-link:active {
    transform: translateY(-1px) scale(1.05);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .footer-quick-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-quick-link {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 15px 15px 8px 15px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
    }
    
    .footer-quick-link {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}
