/* Footer styles */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line, #000);
}

.footer-section h3,
.footer-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    transition: color .2s ease-out;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--brand, #1E1984);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal p {
    color: #666;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-links a {
    transition: color .2s ease-out;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--brand, #1E1984);
}

.separator {
    color: #999;
    font-size: 0.8rem;
}

.footer-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.footer-creator a {
    transition: color .2s ease-out;
    color: var(--brand, #1E1984);
    text-decoration: none;
    font-weight: 500;
}

.footer-creator a:hover {
    text-decoration: underline;
}

.creator-separator {
    color: #999;
    font-size: 0.8rem;
}

.cms-lock-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius, 0);
    background: transparent; border: 1px solid var(--line, #000);
    transition: background-color 0.3s ease;
}

.cms-lock-link:hover {
    background: transparent;
}

.cms-lock-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .footer-creator {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 2rem 0;
    }
    
    .footer-bottom {
        padding: 1rem 0;
    }
}
