/* ════════════════════════════════════════════════════════════════
   FMF LURKER STRIP — always-present logged-out CTA (B2)
   Fixed-bottom strip rendered by fmf_render_lurker_strip() in
   functions.php when !is_user_logged_in() and the page is /,
   /community/, bbPress, or BuddyPress.

   Extracted from fmf-community-skin.css 2026-05-18 (M-043) so the
   homepage no longer pulls in 101 KB of community-skin CSS just to
   style this ~100-line strip. Render condition for the strip must
   stay in sync with fmf_render_lurker_strip().
   ════════════════════════════════════════════════════════════════ */

/* Variables defined in fmf-global.css (:root) — loaded on every page. */

.fmf-lurker-strip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 0.65rem 1.2rem;
    background: linear-gradient(180deg, #120906 0%, var(--fm-black) 100%);
    border-top: 2px solid var(--fm-red);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.65);
    text-align: center;
    line-height: 1.4;
}
.fmf-lurker-strip-text {
    margin: 0;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--fm-bone);
    letter-spacing: 0.02em;
}
.fmf-lurker-strip-lead {
    opacity: 1;
    font-weight: 600;
}
.fmf-lurker-strip-login {
    display: inline-block;
    margin-left: 0.6rem;
    color: var(--fm-amber);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(201, 134, 10, 0.7);
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease, text-shadow 180ms ease;
}
.fmf-lurker-strip-login:hover,
.fmf-lurker-strip-login:focus {
    color: var(--fm-red-bright);
    text-decoration-color: var(--fm-red-bright);
    text-shadow: 0 0 8px rgba(232, 54, 42, 0.5);
    outline: none;
}
.fmf-lurker-strip-cta {
    display: inline-block;
    margin-left: 0.6rem;
    padding: 0.3rem 0.9rem;
    font-family: 'Nosifer', 'Creepster', serif;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fm-red) !important;
    background: var(--fm-paper);
    border: 1.5px solid var(--fm-red);
    border-radius: 2px;
    text-decoration: none !important;
    transform: rotate(-0.8deg);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.fmf-lurker-strip-cta:hover,
.fmf-lurker-strip-cta:focus {
    transform: rotate(0deg) scale(1.06);
    background: var(--fm-red);
    color: var(--fm-paper) !important;
    box-shadow: 0 3px 12px rgba(179, 26, 26, 0.55);
    outline: none;
}

/* Push footer content up so the fixed strip doesn't crop it.
   Scoped to homepage + community surfaces AND logged-out state. */
body.fmf-page.home:not(.logged-in),
body.fmf-page.bbpress:not(.logged-in),
body.fmf-page.buddypress:not(.logged-in),
body.fmf-page.fmf-community-page:not(.logged-in) {
    padding-bottom: 56px;
}

@media (max-width: 640px) {
    .fmf-lurker-strip {
        padding: 0.5rem 0.8rem;
    }
    .fmf-lurker-strip-text {
        font-size: 0.875rem;
    }
    .fmf-lurker-strip-cta {
        display: block;
        margin: 0.35rem auto 0.1rem;
        width: fit-content;
    }
    body.fmf-page.home:not(.logged-in),
    body.fmf-page.bbpress:not(.logged-in),
    body.fmf-page.buddypress:not(.logged-in),
    body.fmf-page.fmf-community-page:not(.logged-in) {
        padding-bottom: 82px;
    }
}
