/* Custom Footer Styles */

#footer.custom-footer {
    background: #2c1810 url('../static/components/Pane/Pane-dirtDark.ea235926d6487091ac2d6786fd7d2615.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #e0e0e0 !important;
    padding: 60px 20px 40px 20px !important;
    margin-top: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

#footer.custom-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(44, 24, 16, 0.7) !important;
    z-index: 0 !important;
}

#footer.custom-footer > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Hide old footer elements */
#footer .Pane,
#footer .Divider,
#footer .SocialLinks,
#footer .SiteFooter,
#footer blz-nav-footer {
    display: none !important;
}

.footer-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 60px !important;
    align-items: start !important;
}

.footer-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.footer-copyright {
    font-family: serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #f7b10a !important;
    margin-bottom: 10px !important;
}

.footer-disclaimer {
    font-family: sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #e0e0e0 !important;
    max-width: 500px !important;
    margin-bottom: 20px !important;
}

.footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 30px !important;
}

.footer-links-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-link {
    font-family: sans-serif !important;
    font-size: 14px !important;
    color: #e0e0e0 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.footer-link:hover {
    color: #ffffff !important;
}

.footer-heading {
    font-family: serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #f7b10a !important;
    margin-bottom: 10px !important;
}

.footer-developer {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease !important;
}

.footer-developer:hover {
    opacity: 0.8 !important;
}

.footer-developer-logo {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.footer-developer-text {
    display: flex !important;
    flex-direction: column !important;
    font-family: serif !important;
    font-size: 14px !important;
    color: #f7b10a !important;
    line-height: 1.4 !important;
}

.footer-developer-text div:first-child {
    font-size: 12px !important;
}

.footer-developer-text div:last-child {
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    
    .footer-column-left {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 15px 30px 15px !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .footer-disclaimer {
        max-width: 100% !important;
        font-size: 11px !important;
    }
    
    .footer-links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    .footer-copyright {
        font-size: 14px !important;
    }
    
    .footer-link {
        font-size: 11px !important;
    }
    
    .footer-heading {
        font-size: 14px !important;
    }
    
    .footer-developer-text {
        font-size: 11px !important;
    }
    
    .footer-developer-text div:first-child {
        font-size: 10px !important;
    }
    
    .footer-developer-text div:last-child {
        font-size: 13px !important;
    }
    
    .footer-developer-logo {
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Hide Community and Account columns on mobile */
    .footer-column-center,
    .footer-column-right {
        display: none !important;
    }
}
