
/*
 * VargaMesh Home Mining custom presentation layer.
 * Hide the legacy NAMP UI footer. Upstream licensing attribution
 * is retained in the custom footer below.
 */

footer:not(#vmesh-custom-footer) {
    display: none !important;
}

#vmesh-custom-footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(127,127,127,.22);
    background:
        radial-gradient(circle at 15% 0%, rgba(77,163,255,.08), transparent 32%),
        rgba(3,8,15,.72);
    backdrop-filter: blur(14px);
}

.vmesh-footer-inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.5rem 0 2rem;
}

.vmesh-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px,1.4fr) minmax(220px,1fr) minmax(220px,1fr);
    gap: 2rem;
}

.vmesh-footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.vmesh-footer-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(73,155,255,.22));
}

.vmesh-footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.vmesh-footer-sub {
    opacity: .7;
    line-height: 1.55;
    font-size: .9rem;
}

.vmesh-footer-heading {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .62;
    margin-bottom: .75rem;
}

.vmesh-footer-links {
    display: grid;
    gap: .45rem;
}

.vmesh-footer-links a {
    text-decoration: none;
}

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

.vmesh-footer-meta {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(127,127,127,.18);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: .68;
    font-size: .78rem;
    line-height: 1.6;
}

.vmesh-footer-pill {
    display: inline-flex;
    align-items: center;
    padding: .28rem .55rem;
    margin: .15rem .2rem .15rem 0;
    border: 1px solid rgba(127,127,127,.2);
    border-radius: 999px;
    font-size: .75rem;
}

.vmesh-footer-warning {
    margin-top: .9rem;
    opacity: .62;
    font-size: .78rem;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .vmesh-footer-grid {
        grid-template-columns: 1fr;
    }

    .vmesh-footer-inner {
        padding-top: 2rem;
    }
}
