/* bf-pubfoot.css — the landing's footer for the other public pages (feature
   pages, rules). Same look as the footer in index.html, scoped to .bf-pubfoot.
   The social icons need Font Awesome (brands), as on the landing. */
.bf-pubfoot {
    --pf-primary: #00d4ff;
    --pf-text: #f5f5f7;
    --pf-muted: #86868b;
    position: relative;
    z-index: 5;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    isolation: isolate;
    overflow: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--pf-text);
}
.bf-pubfoot *, .bf-pubfoot *::before, .bf-pubfoot *::after { box-sizing: border-box; }
/* the art along the bottom: its top melts into the page, darker under the bottom row */
.bf-pubfoot::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: -1;
    width: max(100%, 1100px);
    aspect-ratio: 2560 / 855;
    transform: translateX(-50%);
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 120px),
        url("/img/footer-art.webp") center / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
    opacity: 0.9;
}
/* the logo file carries its own black plate; screen drops it over the art */
.bf-pubfoot .footer-brand img,
.bf-pubfoot .footer-interactive-logo img { mix-blend-mode: screen; }
.bf-pubfoot .footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 6% 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}
.bf-pubfoot .footer-brand { max-width: 320px; }
.bf-pubfoot .footer-brand p { color: var(--pf-muted); font-size: 0.9em; line-height: 1.6; margin: 20px 0 0; }
.bf-pubfoot .footer-brand img { height: 36px; width: auto; opacity: 0.9; display: inline-block; }
.bf-pubfoot .footer-links-group h4 {
    font-family: 'Blastron', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pf-text);
    margin: 0 0 24px;
}
.bf-pubfoot .footer-links-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--pf-muted);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
    transition: color 0.3s;
}
.bf-pubfoot .footer-links-group a:hover { color: var(--pf-primary); }
.bf-pubfoot .footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.bf-pubfoot .social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1.2, 0.3, 1);
}
.bf-pubfoot .social-btn:hover { background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); color: var(--pf-primary); transform: translateY(-3px) scale(1.05); }
.bf-pubfoot .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 6% 250px;   /* the row above the art; the scene lies below it */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.bf-pubfoot .footer-copy { color: var(--pf-muted); font-size: 0.78em; }
.bf-pubfoot .footer-lang { display: flex; align-items: center; gap: 10px; }
.bf-pubfoot .footer-lang [data-bf-lang] { zoom: 0.9; }
.bf-pubfoot .footer-lang-label { color: var(--pf-muted); font-family: 'Blastron', sans-serif; font-size: 0.66em; letter-spacing: 1px; text-transform: uppercase; }
.bf-pubfoot .footer-interactive-logo img { height: 34px; opacity: 0.4; transition: opacity 0.3s; display: block; }
.bf-pubfoot .footer-interactive-logo img:hover { opacity: 0.8; }

@media (max-width: 1000px) {
    .bf-pubfoot .footer-main { flex-direction: column; gap: 50px; }
    .bf-pubfoot::before {
        width: max(100%, 1000px);
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 120px),
            url("/img/footer-art-1280.webp") center / 100% 100% no-repeat;
    }
    .bf-pubfoot .footer-bottom { padding-bottom: 170px; flex-direction: column; text-align: center; justify-content: center; }
}
