/* Footer */
.footer {
    background: linear-gradient(135deg,
            #000000 0%,
            #1a1a1a 25%,
            #000000 50%,
            #0d0d0d 75%,
            #000000 100%);
    background-size: 400% 400%;
    animation: footerGradient 8s ease-in-out infinite;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes footerGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Premium Social Icons */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.social-icon-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* GitHub Glass Effect */
.social-icon-link:first-child:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.8));
    color: #333333;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* LinkedIn Glass Effect */
.social-icon-link:last-child:hover {
    background: linear-gradient(145deg, rgba(0, 119, 181, 0.9), rgba(0, 102, 164, 0.8));
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 119, 181, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    padding-bottom: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.made-with-love {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 300;
    margin-top: 0.75rem;
    position: relative;
    display: inline-block;
}

.made-with-love:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    transition: color 0.3s ease;
}

/* Animated Heart */
.made-with-love:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: heartGlow 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes heartGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Responsive Footer Design */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

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

    .social-links {
        justify-content: center;
        gap: 2rem;
    }

    .social-icon-link {
        width: 52px;
        height: 52px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .made-with-love:hover::before {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .social-icon-link {
        width: 48px;
        height: 48px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }
}