/* css/landing.css
   Landing-page-specific styles. Loads after base.css. */

/* =============================================================
   HERO — full-viewport cinematic
   ============================================================= */
.hero {
    position: relative;
    /* Size to content + tasteful padding. No artificial min-height,
       so there's no dead space hanging below the form. Bottom
       padding scales tighter on mobile (clamp min 12px). */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4vh 24px clamp(12px, 2.5vh, 32px);
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-color: #15090c;
    transform: scale(1.05);
    animation: heroKenBurns 22s var(--ease-smooth) infinite alternate;
}

@keyframes heroKenBurns {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(0, -2%, 0); }
}

/* Three-stop gradient — heavy on top and bottom for legibility */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 30%,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.55) 60%,
            rgba(10, 7, 8, 1) 100%),
        linear-gradient(180deg,
            rgba(10, 7, 8, 0.85) 0%,
            rgba(10, 7, 8, 0.35) 35%,
            rgba(10, 7, 8, 0.6) 70%,
            rgba(10, 7, 8, 1) 100%);
}

/* Live counter pills — sit in flow at the top of the stack so the
   space between them and the title is intentional, not "centered
   into nothing." Two pills stacked vertically with a small gap. */
.hero__live {
    position: static;
    transform: none;
    margin: 0 0 3.5vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero__inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Tighten internal hero spacing so the title sits ~20–25% from top */
.hero__title { margin-bottom: 18px; }
.hero__sub   { margin-bottom: 32px; }

.hero__logo {
    display: block;
    max-width: 320px;
    width: 70%;
    margin: 0 auto 28px;
    image-rendering: auto;
}
/* Class rules win over the user-agent [hidden] rule by specificity, so
   we have to explicitly re-honor the hidden attribute. Without this,
   the empty <img> renders as a broken-image icon when no logo URL is
   configured in js/config.js. */
.hero__logo[hidden] { display: none; }

.hero__eyebrow {
    margin-bottom: 18px;
    color: var(--gold-bright);
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 24px;
    color: var(--text);
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.6);
}

.hero__title em {
    font-style: italic;
    color: var(--blood-bright);
}

/* ===== POWER TAGLINE — sits between the title and the value prop ===== */
.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.6vw, 1.75rem);
    line-height: 1.35;
    letter-spacing: 0.06em;
    color: var(--text);
    margin: 0 auto 22px;
    max-width: 760px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    font-weight: 500;
}
.hero__tagline .accent {
    color: var(--gold-bright);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.25);
}

.hero__sub {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.55;
    color: var(--text-muted);
}

.hero__sub .gold-pill {
    display: inline-block;
    color: var(--gold-bright);
    font-weight: 600;
    margin-right: 4px;
}

.hero__sub .pipe {
    color: var(--text-faint);
    margin: 0 12px;
}

/* CTA form inside hero */
.cta-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
    max-width: 540px;
    margin: 0 auto;
}

.cta-form__inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-form .btn {
    width: 100%;
    padding-top: 22px;
    padding-bottom: 22px;
}

.cta-form__status {
    /* No min-height — empty status collapses so there's no permanent
       gap below the button. Reserved space only appears once there's
       an actual message to show. */
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}
.cta-form__status:empty { display: none; }
.cta-form__status.success { color: var(--gold-bright); }
.cta-form__status.error   { color: var(--blood-bright); }

/* .hero__scroll removed — was dead space below the CTA form. */

/* =============================================================
   PITCH — editorial moment between hero and rules
   ============================================================= */
.pitch {
    /* Scales smoothly: ~40px on mobile, ~72px on desktop */
    padding: clamp(36px, 6vw, 72px) 24px;
    text-align: center;
}

.pitch__lead {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    max-width: 880px;
    margin: 0 auto 28px;
}

.pitch__kicker {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.6;
}

.pitch__kicker strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   PRIMAL RULES — card grid
   ============================================================= */
.rules {
    /* Top tighter than other sections — Rules follows the Quickstart
       directly as its second beat, not as an independent block. */
    padding: clamp(24px, 3.5vw, 44px) 24px clamp(40px, 6vw, 72px);
    background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent);
}

.rules__head {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.rules__title {
    margin-top: 12px;
}

.rules__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.rule {
    position: relative;
    padding: 32px 28px 32px 32px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition:
        transform var(--t-base) var(--ease-smooth),
        border-color var(--t-base) var(--ease-smooth),
        box-shadow var(--t-base) var(--ease-smooth),
        background var(--t-base) var(--ease-smooth);
    overflow: hidden;
}

.rule::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--blood);
    transform: scaleY(0.4);
    transform-origin: center;
    transition: transform var(--t-base) var(--ease-smooth),
                background var(--t-base) var(--ease-smooth);
}

.rule:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
    background: var(--bg-elev);
}
.rule:hover::before {
    transform: scaleY(1);
    background: var(--blood-bright);
}

/* Number + title sit on the same baseline so the card opens with a
   single "01 — 3D6 DOWN THE LINE" line, not stacked two-row. */
.rule__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 10px;
}

.rule__num {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--blood-bright);
    letter-spacing: 0.32em;
    flex: 0 0 auto;
    line-height: 1;
}

.rule__title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.rule__body {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* =============================================================
   PRIZES — bold typographic moment
   ============================================================= */
.prizes {
    padding: clamp(48px, 7vw, 88px) 24px clamp(56px, 7.5vw, 96px);
    text-align: center;
    position: relative;
}

.prizes__amount {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 9rem);
    line-height: 1;
    color: var(--gold-bright);
    margin: 24px 0 16px;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 40px rgba(212, 175, 55, 0.25);
    position: relative;
    display: inline-block;
}

.prizes__amount::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.prizes__amount-label {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    margin-bottom: 24px;
}

.prizes__tagline {
    color: var(--text-muted);
    font-style: italic;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 580px;
    margin: 32px auto 0;
}

/* =============================================================
   THE PRIZE — weekly Dwarven Forge giveaway
   ============================================================= */
.prize {
    padding: clamp(48px, 7vw, 88px) 24px clamp(56px, 7.5vw, 96px);
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 40%,
            rgba(212, 175, 55, 0.06) 0%,
            transparent 60%),
        var(--bg);
}
.prize__eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin: 0 0 16px;
}
.prize__amount {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 16vw, 10rem);
    line-height: 1;
    color: var(--gold-bright);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 40px rgba(212, 175, 55, 0.25);
    position: relative;
    display: inline-block;
}
.prize__amount::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.prize__label {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--text-muted);
    margin: 16px 0 8px;
}
.prize__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    margin: 0 0 clamp(28px, 4vw, 40px);
}

/* Three numbered prize steps */
.prize__steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    counter-reset: prize-step;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 780px;
    text-align: left;
}
@media (min-width: 720px) {
    .prize__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
.prize__step {
    position: relative;
    padding: clamp(20px, 3vw, 28px);
    padding-top: clamp(48px, 6vw, 56px);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    counter-increment: prize-step;
    transition: transform var(--t-base) var(--ease-smooth),
                border-color var(--t-base) var(--ease-smooth),
                box-shadow var(--t-base) var(--ease-smooth);
}
.prize__step:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md), 0 0 24px rgba(212, 175, 55, 0.08);
}
.prize__step::before {
    content: counter(prize-step);
    position: absolute;
    top: clamp(16px, 2.5vw, 22px);
    left: clamp(20px, 3vw, 28px);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-bright);
    line-height: 1;
}
.prize__step strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 6px;
}
.prize__step p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.prize__kicker {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    font-style: italic;
    max-width: 580px;
    margin: clamp(24px, 3vw, 32px) auto 0;
}

/* =============================================================
   PITCH — body paragraphs (new multi-paragraph pitch)
   ============================================================= */
.pitch__body {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1.1em;
}
.pitch__body strong {
    color: var(--text);
    font-weight: 600;
}
.pitch__body:last-child {
    margin-bottom: 0;
}

/* =============================================================
   HOW IT WORKS — five numbered beats
   ============================================================= */
.steps {
    padding: clamp(40px, 6vw, 72px) 24px;
    background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent);
}
.steps__head {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.steps__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    display: grid;
    gap: 12px;
    max-width: 780px;
    margin: 0 auto;
}
.step {
    position: relative;
    padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px) clamp(60px, 9vw, 72px);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    counter-increment: step;
    transition: transform var(--t-base) var(--ease-smooth),
                border-color var(--t-base) var(--ease-smooth),
                box-shadow var(--t-base) var(--ease-smooth);
}
.step:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: clamp(18px, 3vw, 24px);
    top: clamp(20px, 3.2vw, 26px);
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--blood-bright);
    letter-spacing: 0.16em;
    line-height: 1;
}
.step strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 6px;
}
.step p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}
.step p strong {
    display: inline;
    font-family: var(--font-body);
    font-size: inherit;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
}

/* =============================================================
   THE STAKES ARE REAL — prose section
   ============================================================= */
.stakes {
    padding: clamp(48px, 7vw, 88px) 24px;
    text-align: center;
}
.stakes__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 auto 28px;
    max-width: 720px;
}
.stakes p {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
    text-align: left;
}
.stakes p strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   WHY SIGN UP HERE — the incentive / cooldown bypass
   ============================================================= */
.incentive {
    padding: clamp(48px, 7vw, 88px) 24px;
    background:
        linear-gradient(180deg,
            transparent,
            rgba(200, 16, 46, 0.05) 50%,
            transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.incentive__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 0 28px;
    text-align: center;
}
.incentive p {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
}
.incentive p strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   WHAT THIS IS — Hacked Edge / game system
   ============================================================= */
.system {
    padding: clamp(48px, 7vw, 88px) 24px;
}
.system__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 0 28px;
    text-align: center;
}
.system p {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
}
.system p strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   THE ROADMAP — future features
   ============================================================= */
.roadmap {
    padding: clamp(48px, 7vw, 88px) 24px;
    background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent);
}
.roadmap__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 0 28px;
    text-align: center;
}
.roadmap p {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
}
.roadmap p strong {
    color: var(--text);
    font-weight: 600;
}
.roadmap__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1em;
}
.roadmap__list li {
    position: relative;
    padding: 8px 0 8px 24px;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.7;
}
.roadmap__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--blood-bright);
    border-radius: 50%;
}
.roadmap__list li strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   CTA BLOCK — button + microcopy wrapper (replaces form)
   ============================================================= */
.cta-block {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}
.cta-block--center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-btn {
    width: 100%;
    max-width: 420px;
    padding-top: 22px;
    padding-bottom: 22px;
}

/* OAuth pre-frame text above final CTA */
.oauth-preframe {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 24px;
}
.oauth-preframe strong {
    color: var(--text);
    font-weight: 600;
}

/* Marketing opt-in checkbox */
.opt-in {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    user-select: none;
}
.opt-in input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blood-bright);
    cursor: pointer;
    flex-shrink: 0;
}
.opt-in:hover span {
    color: var(--text);
}

/* =============================================================
   SECOND CTA — bottom CTA section
   ============================================================= */
.cta-end {
    padding: clamp(40px, 6vw, 72px) 24px clamp(36px, 5vw, 64px);
    text-align: center;
}
.cta-end__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    margin: 0 auto 24px;
    line-height: 1.2;
    text-transform: none;
}
.cta-end__body {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 24px;
}
.cta-end__body strong {
    color: var(--text);
    font-weight: 600;
}

/* =============================================================
   BRAND BLOCK — bottom signature
   ============================================================= */
.brand-block {
    padding: clamp(36px, 5.5vw, 64px) 24px clamp(40px, 6vw, 72px);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 50%,
            rgba(200, 16, 46, 0.08) 0%,
            transparent 70%),
        var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brand-block__small {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.brand-block__big {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.05;
}
.brand-block__big em {
    color: var(--blood-bright);
    font-style: normal;
}

.brand-block__he {
    margin-top: 36px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.04em;
}
.brand-block__he strong {
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.06em;
}
.brand-block__he em {
    font-style: italic;
    color: var(--text-faint);
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

.brand-block__bridge {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.brand-block__link {
    font-weight: 600;
    color: var(--gold-bright);
}

.brand-block__logo {
    display: block;
    max-width: 96px;
    width: 30%;
    margin: 24px auto 0;
    opacity: 0.85;
}
.brand-block__logo[hidden] { display: none; }

/* =============================================================
   DESKTOP REFINEMENTS
   ============================================================= */
@media (min-width: 720px) {
    .cta-form {
        flex-direction: row;
        gap: 12px;
    }
    .cta-form__inputs {
        flex: 1 1 auto;
        flex-direction: row;
    }
    .cta-form .btn {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .cta-form__status {
        width: 100%;
    }
}

@media (min-width: 960px) {
    .rules__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* 4 rules now — fills a clean 2x2 grid, no orphan row */
}

/* =============================================================
   HERO SPRITE DECORATIONS — floating monster/PC art in corners
   ============================================================= */
.hero__sprites {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__sprite {
    position: absolute;
    max-width: 30vw;
    max-height: 60vh;
    opacity: 0.18;
    filter: grayscale(0.6) contrast(1.1) brightness(0.7) drop-shadow(0 12px 24px rgba(0,0,0,0.6));
    transition: opacity var(--t-slow) var(--ease-smooth);
    will-change: transform, opacity;
}
.hero__sprite--tl {
    top: 12%;
    left: -3%;
}
.hero__sprite--br {
    bottom: 8%;
    right: -3%;
    transform: scaleX(-1); /* face inward */
}
@media (min-width: 720px) {
    .hero__sprite {
        max-width: 22vw;
        opacity: 0.22;
    }
}
@media (min-width: 1280px) {
    .hero__sprite {
        max-width: 320px;
        opacity: 0.25;
    }
}

/* Parallax layers — translate driven by JS scroll handler */
.parallax-layer {
    will-change: transform;
}

/* Bestiary + Heroes showcase sections removed — Heath wanted imagery
   handled differently. The hero corner-sprite decorations remain. */

/* =============================================================
   QUICKSTART — one-line "How to Play" teaser above the Primal Rules
   ============================================================= */
.quickstart {
    /* Top breathes normally below the pitch; bottom is tight because
       The Rules section follows immediately as the next beat. */
    padding: clamp(36px, 6vw, 72px) 24px clamp(20px, 3vw, 36px);
    text-align: center;
}

.quickstart__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 18px;
    font-weight: 500;
}

.quickstart__body {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.quickstart__watch {
    margin-top: 20px;
}

.watch-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
}

.quickstart__body .cmd {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
    margin: 0 2px;
}

/* =============================================================
   CTA-FORM TRUST LINE
   Tiny three-bullet line under each form's submit button. The
   bullets ("Free · One email per stream · No spam") shrink the
   perceived risk of signing up — single biggest conversion lift
   for cold email captures. Kept compact and muted so it doesn't
   compete with the button itself.
   ============================================================= */
.cta-form__trust {
    margin: 14px auto 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 6px 10px;
    max-width: 480px;
    line-height: 1.4;
}
.cta-form__trust .cta-form__sep {
    color: var(--text-faint);
    opacity: 0.6;
}

.cta-form__note {
    margin: 14px auto 0;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.5;
    text-align: center;
}

/* =============================================================
   URGENCY STRIP — "Next Stream Drops Soon"
   Sits between the rules and the prizes. Compact section: small
   eyebrow, oversized title with an accent <em>, body, and a CTA
   button that anchors to the bottom form. Designed to slot a real
   date into #next-stream-when later without restyling the block.
   ============================================================= */
.urgency {
    padding: clamp(36px, 5.5vw, 64px) 24px clamp(36px, 5.5vw, 64px);
    text-align: center;
    background:
        linear-gradient(180deg,
            transparent,
            rgba(200, 16, 46, 0.05) 50%,
            transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.urgency__eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--blood-bright);
    margin: 0 0 14px;
}
.urgency__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    margin: 0 0 18px;
    line-height: 1.1;
}
.urgency__title em {
    font-style: italic;
    color: var(--gold-bright);
}
.urgency__body {
    max-width: 580px;
    margin: 0 auto 28px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.55;
    color: var(--text-muted);
}
.urgency__cta {
    /* Inherits .btn from base.css. The padding here just gives the
       button a more substantial "ground" feel inside this section
       since it's the standalone focal element. */
    padding: 14px 36px;
    font-size: 14px;
}

/* =============================================================
   FAQ — native <details>/<summary>, no JS
   Each <details> is a card. The marker on the right (gold +/×)
   replaces the default browser triangle. Keyboard navigation and
   browser find-in-page work without any wiring.
   ============================================================= */
.faq {
    padding: clamp(40px, 6vw, 72px) 24px clamp(36px, 5vw, 64px);
    background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent);
}
.faq__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    letter-spacing: 0.04em;
    color: var(--text);
    margin: 0 auto 36px;
    font-weight: 500;
}
.faq__list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq__item {
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.faq__item[open] {
    border-color: rgba(212, 175, 55, 0.35);
    background: var(--bg);
}
.faq__item summary {
    /* Strip the native triangle without breaking accessibility */
    list-style: none;
    cursor: pointer;
    padding: 16px 52px 16px 20px;
    font-size: clamp(0.98rem, 1.4vw, 1.05rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    position: relative;
    user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-bright);
    transition: transform var(--t-fast), color var(--t-fast);
}
.faq__item[open] summary::after {
    content: '×';
    color: var(--blood-bright);
    transform: translateY(-50%) rotate(0deg);
}
.faq__item summary:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: -2px;
}
.faq__item p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.97rem;
}
.faq__item p .cmd {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 1px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* =============================================================
   STICKY MOBILE CTA — appears only on small screens, only after
   the user has scrolled past the hero. Desktop never sees this.
   Reveal/hide is JS-driven via .is-visible (IntersectionObserver
   on .hero, see landing.js).
   ============================================================= */
.mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: none; /* desktop default — see media query below */
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 220ms var(--ease-smooth),
                transform 220ms var(--ease-smooth);
}
.mobile-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mobile-cta__btn {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text);
    background: var(--blood);
    border: 1px solid var(--blood);
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 0, 0, 0.4);
    transition: background var(--t-fast), border-color var(--t-fast);
}
.mobile-cta__btn:hover,
.mobile-cta__btn:focus-visible {
    background: var(--blood-bright);
    border-color: var(--blood-bright);
    outline: none;
}
@media (max-width: 719px) {
    .mobile-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-cta { transition: opacity 220ms linear; transform: none; }
    .mobile-cta.is-visible { transform: none; }
}

/* ── Spawn-pool-closed state ─────────────────────────────── */
.btn.is-pool-closed,
.cta-btn.is-pool-closed,
.mobile-cta__btn.is-pool-closed {
    background: var(--bg-elev-2, #1a1216);
    border-color: var(--border, #2a1f22);
    color: var(--text-faint, #665c5e);
    cursor: not-allowed;
    opacity: 0.85;
    pointer-events: none;
}
.pool-closed-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-faint, #665c5e);
    line-height: 1.55;
}
.pool-closed-link {
    color: var(--gold, #d4af37);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.pool-closed-link:hover {
    border-bottom-color: var(--gold, #d4af37);
}

/* =============================================================
   HERO LIVE COUNTERS — row layout on desktop
   ============================================================= */
@media (min-width: 720px) {
    .hero__live {
        flex-direction: row;
        gap: 16px;
    }
}

/* Players variant — bone/white dot to differentiate from spawned (gold) and deaths (blood) */
.live-pill--players .dot {
    background: var(--bone, #e8dcc8);
    box-shadow: 0 0 0 0 rgba(232, 220, 200, 0.5);
    animation: livePulseBone 2s ease-out infinite;
}
@keyframes livePulseBone {
    0%   { box-shadow: 0 0 0 0 rgba(232, 220, 200, 0.45); transform: scale(1); }
    70%  { box-shadow: 0 0 0 14px rgba(232, 220, 200, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(232, 220, 200, 0); transform: scale(1); }
}

/* =============================================================
   CHARACTER SHOWCASE — example character card
   ============================================================= */
.showcase {
    padding: clamp(48px, 7vw, 88px) 24px;
    text-align: center;
}
.showcase__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 auto 16px;
    max-width: 720px;
}
.showcase__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto clamp(28px, 4vw, 40px);
}

.showcase__card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: clamp(24px, 3.5vw, 32px);
    text-align: left;
    transition: border-color var(--t-base) var(--ease-smooth),
                box-shadow var(--t-base) var(--ease-smooth);
}
.showcase__card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.showcase__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.showcase__sprite-wrap {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background: var(--bg-elev);
    border: 2px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase__sprite-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.showcase__identity {
    flex: 1 1 0;
    min-width: 0;
}
.showcase__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blood-bright);
    margin-bottom: 4px;
}
.showcase__char-name {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--gold-bright);
    margin: 0 0 4px;
    line-height: 1.2;
}
.showcase__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.showcase__stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.showcase__stat {
    text-align: center;
}
.showcase__stat-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 2px;
}
.showcase__stat strong {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 600;
}
.stat--high { color: var(--gold-bright) !important; }
.stat--low  { color: var(--text-faint) !important; }

.showcase__log {
    margin-top: 0;
}
.showcase__log-label {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.showcase__events {
    list-style: none;
    padding: 0;
    margin: 0;
}
.showcase__events li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    border-left: 1px solid var(--border);
    margin-left: 5px;
}
.showcase__events li:last-child {
    border-left-color: transparent;
}
.log-dot {
    position: absolute;
    left: -5px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-faint);
}
.log-dot--blood { background: var(--blood-bright); }
.log-dot--gold  { background: var(--gold-bright); }
.log-dot--bone  { background: var(--bone, #e8dcc8); }
.log-dot--ember { background: var(--ember, #ff6b35); }

.showcase__kicker {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    font-style: italic;
    max-width: 580px;
    margin: clamp(24px, 3vw, 36px) auto 0;
}
.showcase__kicker strong {
    color: var(--gold-bright);
    font-style: normal;
    font-weight: 600;
}

/* =============================================================
   EXPLORE — pre-signup browse cards
   ============================================================= */
.explore {
    padding: clamp(48px, 7vw, 88px) 24px;
    background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent);
}
.explore__title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    line-height: 1.3;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 auto 12px;
    text-align: center;
}
.explore__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    text-align: center;
    margin: 0 auto clamp(24px, 3.5vw, 36px);
    max-width: 480px;
}
.explore__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 740px;
    margin: 0 auto;
}
@media (min-width: 600px) {
    .explore__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.explore__card {
    display: block;
    padding: clamp(24px, 3.5vw, 32px);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    transition: transform var(--t-base) var(--ease-smooth),
                border-color var(--t-base) var(--ease-smooth),
                box-shadow var(--t-base) var(--ease-smooth);
}
.explore__card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md), 0 0 20px rgba(212, 175, 55, 0.08);
}
.explore__card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin: 0 0 8px;
}
.explore__card-body {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0 0 14px;
}
.explore__card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
}
