body {
    padding-bottom: 78px;
}

.nexus-footer {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 64px;
    padding: 16px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    color: var(--muted, var(--on-surface-muted, var(--color-muted, #9eb3be)));
    border-top: 1px solid rgba(91, 214, 228, 0.22);
    background: rgba(5, 9, 20, 0.96);
    font-size: 0.88rem;
}

.nexus-footer__center {
    min-width: 0;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.nexus-footer__right {
    min-width: 0;
    justify-self: end;
    text-align: right;
}

.nexus-footer__left,
.nexus-footer__right,
.nexus-footer__brand,
.nexus-footer__privacy,
.nexus-footer__changelog {
    overflow-wrap: anywhere;
}

.nexus-footer__left {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.nexus-footer a {
    color: var(--cyan, var(--primary, var(--color-info, #5bd6e4)));
    text-decoration: none;
}

.nexus-footer a:hover {
    text-decoration: none;
}

.nexus-footer__privacy {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 2px;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.nexus-footer__privacy:hover {
    color: var(--text, #f0fbff);
    border-color: rgba(91, 214, 228, 0.42);
    transform: translateY(-1px) scaleY(1.04);
}

.nexus-footer__changelog {
    font-size: 0.76em;
    font-weight: 800;
    opacity: 0.72;
}

.nexus-footer__changelog:hover {
    opacity: 1;
    text-decoration: underline;
}

.nexus-footer__brand {
    position: relative;
    padding: 2px 0;
    color: var(--text, var(--on-surface, #f0fbff));
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(91, 214, 228, 0.2);
    transition: color 180ms ease, transform 180ms ease;
}

.nexus-footer__brand::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--cyan, #5bd6e4), var(--pink, #d45abf), transparent);
    opacity: 0.78;
    transform: scaleX(0.78);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.nexus-footer__brand:hover {
    color: var(--cyan, #5bd6e4);
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(91, 214, 228, 0.26);
}

.nexus-footer__brand:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 760px) {
    body {
        padding-bottom: 0;
    }

    .nexus-footer {
        position: static;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        text-align: center;
    }

    .nexus-footer__left {
        justify-self: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nexus-footer__center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .nexus-footer__right {
        justify-self: center;
        text-align: center;
    }
}
