/* nftlore.css — 🔢🔥 the two collection lore pages (Blaze Numbers, Sacred
 * Flames). One sheet, two sibling pages: same dark-panel, gold-glow,
 * Comic-Sans identity as the rest of the site, self-sufficient on purpose —
 * nav.css is the only other stylesheet these pages link, so the
 * footer/trust-strip rules are copied here rather than shared.
 *
 * nav.css CONSUMES --navbar-bg, --glow, --c-gold and --c-orange from the
 * page's own stylesheet. Declared first, below, as on every sibling.
 */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --nav-h: 80px;
    --touch: 44px;

    /* The four tokens nav.css needs. Do not remove. */
    --navbar-bg: rgba(0, 0, 0, 0.95);
    --glow: 0 0 10px rgba(255, 69, 0, 0.7);
    --c-gold: #ffcf48;
    --c-orange: orange;

    --c-red: #ff4500;
    --c-soft: #f2ece0;
    --c-dim: #ded6c6;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body, "Comic Sans MS", system-ui, sans-serif);
    background: url('images/BlazeitBG.png') no-repeat center center;
    background-size: 100% auto;
    background-attachment: fixed;
    background-color: #b0e8f7;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    padding-top: calc(var(--nav-h) + 24px);
}
@media screen and (max-width: 768px) {
    body { padding-top: calc(var(--nav-h) + 16px); }
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #000; color: var(--c-gold); padding: 10px 16px; z-index: 3000;
}
.skip-link:focus { left: 8px; top: calc(var(--nav-h) + 8px); }

main.container {
    flex: 1 1 auto;
    width: min(940px, 96vw);
    margin: 0 auto 24px;
    padding: 18px;
    background: rgba(0, 0, 20, 0.75);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.title {
    margin: 8px 0 0;
    color: var(--c-gold);
    text-shadow: 0 0 12px rgba(255, 69, 0, 0.8);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    text-align: center;
}
.tagline { margin: 0 0 6px; color: var(--c-dim); text-align: center; }

.stats {
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 207, 72, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--glow);
    width: 100%;
    color: var(--c-soft);
}
.stats h2, .stats h3 { margin: 0 0 10px; color: var(--c-gold); font-size: 1.1rem; text-align: center; }
.stats p { margin: 6px 0; font-size: 0.95rem; line-height: 1.55; }

/* The stat-row rail, byte-matched to the casino siblings. */
.stats p:has(span[id]) {
    display: block;
    margin: 0;
    padding: 6px 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-dim, #ded6c6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stats p:has(span[id]):last-child { border-bottom: none; }
.stats p:has(span[id])[hidden] { display: none; }
.stats p:has(span[id]) span[id] {
    display: inline-block;
    margin-left: 2px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0;
    text-transform: none;
    color: var(--c-gold, #ffcf48);
    font-variant-numeric: tabular-nums;
}

/* The inline sample art — real SVG, straight from the contracts' own layout. */
.nl-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 6px 0 2px;
}
.nl-card {
    width: min(230px, 44vw);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 207, 72, 0.4);
    box-shadow: 0 0 14px rgba(255, 122, 24, 0.35);
    background: #0a0602;
}
.nl-card svg { display: block; width: 100%; height: auto; }
.nl-caption { text-align: center; color: var(--c-dim); font-size: 0.82rem; margin: 2px 0 0; }

.nl-table-wrap { overflow-x: auto; }
.nl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}
.nl-table th, .nl-table td {
    padding: 5px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nl-table th { color: var(--c-gold); font-size: 0.82rem; }
.nl-table td.nl-num { text-align: right; }

.nl-note {
    margin-top: 10px;
    padding: 8px 10px;
    border-left: 3px solid var(--c-orange);
    border-radius: 6px;
    background: rgba(255, 140, 0, 0.09);
    font-size: 0.9rem;
}
.nl-cta {
    display: inline-block;
    font-weight: bold;
    /* Black, like every orange action button on the site. White measured
       2.6:1 on #ff7a18; black is 8.1:1 there and 4.7:1 at #d64500. */
    color: #000;
    background: linear-gradient(180deg, #ff7a18, #d64500);
    border: 2px solid var(--c-gold);
    border-radius: 12px;
    padding: 10px 22px;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(255, 122, 24, 0.5);
    min-height: var(--touch);
}
.nl-cta:hover, .nl-cta:focus-visible {
    box-shadow: 0 0 20px rgba(255, 207, 72, 0.75);
    outline: none;
}
/* fonts.css's link floor is `a:visited` / `a:hover` — one class plus one
   element, which OUTRANKS a bare `.nl-cta`. Without these the text went
   orange-on-orange on hover and gold-on-orange once visited. */
.nl-cta:visited, .nl-cta:hover, .nl-cta:focus-visible { color: #000; }
.nl-cta-row { text-align: center; margin: 4px 0 2px; }
.contract-link { color: var(--c-gold); }
.nl-fine { color: var(--c-dim); font-size: 0.82rem; line-height: 1.5; }

/* ============================= footer ============================== */
/* Footer — the SITE-STANDARD block, byte-for-byte the one in wrapper.css /
   revoker.css / txdecoder.css and the rest. This page used to carry its own
   darker, dimmer variant (0.9 alpha, dim text, bigger padding); the owner saw
   the seam from page to page (2026-09-02: "the footer has to be the same in
   all of our pages"). tests/footer-parity.spec.js pins the computed result. */
.footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    box-sizing: border-box;
}
.footer p { margin: 0; }
.trust-strip {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: center;
    align-items: baseline;
    padding: 0 12px;
    font-size: 12px;
    color: #ded6c6; /* opaque: translucent text over a translucent panel has no contrast ratio (READABILITY rule) */
}
.trust-strip a { color: var(--c-gold); text-decoration: none; }
.trust-strip a:hover, .trust-strip a:focus-visible { color: var(--c-orange); text-decoration: underline; }
.trust-sep { opacity: 0.5; }
