/* /assets/css/footer.css */
.site-footer {
    background:
        linear-gradient(180deg, rgba(24, 18, 13, 0.97), rgba(11, 8, 6, 0.99));
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -10px 22px rgba(0, 0, 0, 0.20);
    box-sizing: border-box;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: var(--footer-height);
    padding: 0 18px;
    box-sizing: border-box;
}

.footer__copy,
.footer__credit {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.2;
}

.footer__credit a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
}

.footer__credit a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

@media (max-width: 700px) {
    .footer {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        min-height: var(--footer-height);
        padding: 10px 14px;
        text-align: center;
    }
}

/* desktop footer thickness refinement */
@media (min-width: 901px) {
    .site-footer {
        border-top: 2px solid rgba(212, 166, 58, 0.26);
        box-shadow:
            0 -14px 28px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .footer {
        min-height: 86px;
        padding: 18px 32px;
    }

    .footer__copy,
    .footer__credit {
        font-size: 1rem;
        line-height: 1.45;
    }
}


/* desktop footer spacing repair */
@media (min-width: 901px) {
    .site-footer {
        min-height: 92px;
        border-top: 2px solid rgba(212, 166, 58, 0.30);
        background:
            linear-gradient(180deg, rgba(31, 21, 14, 0.96), rgba(15, 10, 7, 0.98));
        box-shadow:
            0 -16px 30px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .footer {
        min-height: 92px;
        padding: 22px 36px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .footer__copy,
    .footer__credit {
        margin: 0;
        font-size: 1rem;
        line-height: 1.4;
    }

    .footer__credit {
        text-align: right;
    }
}


/* REAL FOOTER REPAIR */
.site-footer {
    border-top: 1px solid rgba(212, 166, 58, 0.28) !important;
    background:
        linear-gradient(180deg, rgba(26, 18, 12, 0.98), rgba(12, 8, 6, 0.99)) !important;
}

.footer {
    box-sizing: border-box !important;
}

@media (min-width: 901px) {
    .site-footer {
        min-height: 72px !important;
        margin-top: 0 !important;
    }

    .footer {
        min-height: 72px !important;
        padding: 14px 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }

    .footer__copy,
    .footer__credit {
        margin: 0 !important;
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 900px) {
    .site-footer {
        min-height: 86px !important;
        margin-top: 0 !important;
    }

    .footer {
        min-height: 86px !important;
        padding: 14px 18px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .footer__copy,
    .footer__credit {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1.22 !important;
    }

    .footer__credit {
        font-size: 1.04rem !important;
    }
}
