:root {
    --footer-height: 70px;
}

body {
    padding-bottom: var(--footer-height);
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    /* background-color: var(--color-text-muted); */
    background-image: linear-gradient(135deg,
            color-mix(in hsl, var(--color-text-muted) 85%, #e9e5e5 15%),
            color-mix(in hsl, var(--color-text-muted) 55%, #000000 45%));
    color: var(--color-surface);
    padding: 1rem 0;
    font-size: 14px;
    z-index: 20;
}

.footer .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.footer .container > * {
    flex: 0 0 auto;
}

.footer .container > :first-child {
    margin-left: auto;
}

.footer .container > :last-child {
    margin-right: auto;
}

.footer .container .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 999px;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.15)); */
}

.footer .container .footer-links a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(220, 220, 220, 0.6));
    color: var(--color-text-default);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer .container .footer-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1000px) {
    .footer {
        height: 70px;
    }

    .footer .container {
        height: 50px;
    }
}
