/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 2rem 0;
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(139,92,246,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(139,92,246,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(139,92,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-purple);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.footer-subtitle:first-child {
    margin-top: 0;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    transform: translateX(5px);
}

.footer-social-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact {
    margin-top: 0.5rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-contact-link:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    transform: translateX(5px);
}

.footer-contact-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-copyright p {
    margin: 0.25rem 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social-links,
    .footer-contact,
    .footer-links {
        align-items: center;
    }
    
    .footer-social-link:hover,
    .footer-contact-link:hover,
    .footer-link:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-subtitle {
        font-size: 0.9rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-social-link,
    .footer-contact-link,
    .footer-link {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
}
