/* Sticky footer layout — site-wide */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    flex: 1 0 auto;
}

.main-content,
.page-wrap,
main {
    flex: 1 0 auto;
    padding-bottom: 60px !important;
}

.lists-grid,
.backlog-grid,
#lists-container {
    margin-bottom: 40px;
}

.site-footer,
footer {
    flex-shrink: 0;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    background-color: #0a0c10 !important;
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-family: inherit;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.footer-links a {
    color: #9ab0c1;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00ffcc;
}

.footer-socials a {
    color: #9ab0c1;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: #00ffcc;
}

.footer-credits {
    text-align: center;
    color: #667c8e;
    font-size: 0.85rem;
    border-top: 1px solid #141b24;
    padding-top: 20px;
}

.footer-credits a {
    color: #9ab0c1;
    text-decoration: none;
}

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

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin-right: 12px;
        margin-left: 12px;
    }

    .footer-socials a {
        margin-left: 10px;
        margin-right: 10px;
    }
}
