/* Enhanced Footer Design - Colorful & Interactive */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
    border-top: 2px solid #4CAF50;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4CAF50, #00E676, #4CAF50, transparent);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.footer-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.6));
}

.footer-logo-icon {
    font-size: 2rem;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    transition: all 0.3s ease;
}

.footer-logo-text:hover .footer-logo-icon {
    color: #00E676;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.8);
}

.footer-logo-brand {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #4CAF50, #00E676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.footer-logo-text:hover .footer-logo-brand {
    background: linear-gradient(45deg, #00E676, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #4CAF50;
    font-size: 1rem;
    margin-top: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Footer Navigation */
.footer-nav {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Legal Links Section */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    animation: fadeInUp 1s ease-out 0.25s both;
}

.footer-legal-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-link:hover {
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

/* Social Icons Section */
.footer-social {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Telegram specific styling */
.footer-social-icon[href*="telegram"] {
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.3);
    background: linear-gradient(45deg, rgba(0, 136, 204, 0.1), rgba(0, 136, 204, 0.05));
}

.footer-social-icon[href*="telegram"]:hover {
    background: linear-gradient(45deg, #0088cc, #00a0e6);
    border-color: #00a0e6;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 0 20px rgba(0, 136, 204, 0.6),
        0 0 40px rgba(0, 160, 230, 0.4);
}

/* Instagram specific styling */
.footer-social-icon[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border-color: rgba(240, 148, 51, 0.3);
}

.footer-social-icon[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #f09433;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 0 20px rgba(240, 148, 51, 0.6),
        0 0 40px rgba(220, 39, 67, 0.4);
}

.footer-social-icon::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.6s ease;
}

.footer-social-icon:hover::before {
    left: 100%;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav ul li {
    position: relative;
}

.footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s ease;
    padding: 1rem 2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), rgba(0, 230, 118, 0.1));
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.4), rgba(0, 230, 118, 0.4), transparent);
    transition: left 0.6s ease;
}

.footer-nav ul li a:hover::before {
    left: 100%;
}

.footer-nav ul li a:hover {
    color: #000000;
    background: linear-gradient(45deg, #4CAF50, #00E676);
    border-color: #00E676;
    box-shadow: 
        0 0 20px rgba(76, 175, 80, 0.6),
        0 0 40px rgba(0, 230, 118, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.footer-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #00E676);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-nav ul li a:hover::after {
    width: 100%;
}

/* Footer Copyright */
.footer-copyright {
    border-top: 1px solid rgba(76, 175, 80, 0.3);
    padding-top: 1.5rem;
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
}

.footer-copyright::before {
    content: '⚡';
    margin-right: 0.5rem;
    color: #4CAF50;
    animation: bounce 2s ease-in-out infinite;
}

.footer-copyright::after {
    content: '⚡';
    margin-left: 0.5rem;
    color: #4CAF50;
    animation: bounce 2s ease-in-out infinite 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-nav ul {
        gap: 1.5rem;
    }
    
    .footer-nav ul li a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-nav ul li a {
        display: inline-block;
        width: auto;
        min-width: 150px;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

