/* Modern Footer Styles */

footer {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column h4 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-column p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-weight: 400;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-column ul li a i {
    width: 16px;
    color: var(--primary-color);
}

/* App Download Section */
.app-download {
    margin: 32px 0;
}

.badge-title {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
    font-size: 1.1rem;
}

.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badges a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.store-badges a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-badges a i {
    font-size: 1.25rem;
}

.store-badges a span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.social-links a i {
    font-size: 1.25rem;
}

/* Footer Note */
.footer-note {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 0;
    position: relative;
    z-index: 2;
}

.footer-note p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom b {
    color: white;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    gap: 16px;
    align-items: center;
}

.payment-methods i {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
}

.payment-methods i:hover {
    color: white;
    transform: scale(1.1);
}

/* Footer Credit */
.footer-credit {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.footer-credit p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-credit b {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 60px 0 32px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    
    .store-badges {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0 24px;
    }
    
    .footer-column:first-child {
        grid-column: auto;
    }
    
    .store-badges a {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
    
    .payment-methods {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .payment-methods i {
        font-size: 1.5rem;
    }
}

/* Modern scrollbar for footer content */
.footer-content::-webkit-scrollbar {
    width: 6px;
}

.footer-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.footer-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.footer-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}