footer {
    padding: 60px 20px;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-brand p {
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: var(--text-main);
    font-weight: 600;
}

.instagram-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 4px;
}

.footer-link {
    font-family: var(--font-primary);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: var(--main-purple);
    border-bottom: 1px solid var(--main-purple);
}

.footer-copyright {
    font-family: var(--font-primary);
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 4px;
    font-weight: 400;
}

.dark-mode footer .instagram-icon {
    filter: invert(0.9);
}

/* Mobile Footer */

@media (max-width: 600px) {
    footer {
        padding: 24px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-divider {
        color: var(--text-muted);
        opacity: 0.5;
        font-size: 0.8rem;
    }
}