/* =========================================================
   SPROUTSKULLS — pixel graveyard NFT site
   ========================================================= */

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

:root {
    /* palette: 541533 · 722548 · 221932 · 060407 · 775E88 · 9882B9 */
    --night: #060407;
    --crypt: #110b19;
    --stone: #221932;
    --stone-2: #2c2140;
    --line: rgba(152, 130, 185, 0.16);
    --bone: #eee8f4;
    --ash: #a896c2;

    --wine: #541533;
    --berry: #722548;
    --berry-hi: #c2508a;     /* lighter berry, for text on dark */
    --plum: #775e88;
    --lavender: #9882b9;
    --lavender-hi: #c9b8e4;  /* lighter lavender, for highlights */

    /* card backgrounds behind the skulls */
    --bg-ember: #722548;
    --bg-moss: #541533;
    --bg-gold: #9882b9;
    --bg-violet: #775e88;
    --bg-sky: #221932;
    --bg-sprout: #4a3560;
    --bg-rose: #a33a68;
    --bg-bone: #d9cfe6;

    --font-pixel: 'Pixelify Sans', system-ui, sans-serif;
    --font-mono: 'DM Mono', ui-monospace, monospace;
    --shell: 1240px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--night);
    color: var(--bone);
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; image-rendering: pixelated; }
a { color: inherit; }
button { font: inherit; }

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 32px;
}

h1, h2, h3, h4 { font-family: var(--font-pixel); font-weight: 600; line-height: 1.02; }
h1 em, h2 em { font-style: normal; color: var(--lavender); }

/* ---------- shared bits ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--lavender-hi);
    margin-bottom: 18px;
}
.eyebrow i {
    width: 8px; height: 8px;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}
.eyebrow i.live { background: var(--berry-hi); color: var(--berry-hi); animation: blink 1.2s steps(2) infinite; }
.eyebrow.dark { color: var(--lavender-hi); }
.eyebrow.dark i { box-shadow: none; }

@keyframes blink { 50% { opacity: 0.2; } }

.button {
    --b: var(--lavender);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-family: var(--font-pixel);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
    transition: transform 0.15s steps(2), filter 0.2s;
}
.button span { transition: transform 0.2s; }
.button:hover { transform: translateY(-3px); }
.button:hover span { transform: translate(2px, -2px); }
.button:active { transform: translateY(1px); }

.button-gold {
    background: var(--lavender);
    color: var(--night);
    box-shadow: inset 0 -5px 0 var(--plum);
}
.button-ghost {
    background: rgba(6, 4, 7, 0.45);
    color: var(--bone);
    box-shadow: inset 0 0 0 2px rgba(201, 184, 228, 0.4);
    backdrop-filter: blur(6px);
}
.button-ghost:hover { box-shadow: inset 0 0 0 2px var(--bone); }
.button-ember {
    background: var(--berry);
    color: var(--bone);
    box-shadow: inset 0 -5px 0 var(--wine), inset 0 0 0 2px rgba(194, 80, 138, 0.5);
}

.text-link {
    display: inline-flex;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 4px;
    transition: color 0.2s, gap 0.2s;
}
.text-link:hover { gap: 14px; }
.text-link.light { color: var(--ash); }
.text-link.light:hover { color: var(--lavender); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.scene {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--night);
}
/* hero artwork, faded so the text and skull columns stay on top */
.scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/hero-bg.png") 50% 0 / cover no-repeat;
    image-rendering: pixelated;
    opacity: 0.45;
}
.scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 4, 7, 0.5) 0%, transparent 14%, transparent 70%, var(--night) 100%);
}

.stars { position: absolute; inset: 0 0 35% 0; }
.stars i {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--bone);
    animation: twinkle 3s steps(2) infinite;
}
@keyframes twinkle { 50% { opacity: 0.25; } }

.moon {
    position: absolute;
    top: 14%;
    left: 45%;
    width: 110px;
    height: 110px;
    background:
        radial-gradient(circle at 34% 40%, #9882b9 0 9px, transparent 10px),
        radial-gradient(circle at 64% 62%, #9882b9 0 13px, transparent 14px),
        radial-gradient(circle at 60% 28%, #9882b9 0 5px, transparent 6px),
        #d9cfe6;
    clip-path: polygon(30% 0, 70% 0, 70% 6%, 82% 6%, 82% 12%, 88% 12%, 88% 18%, 94% 18%, 94% 30%, 100% 30%, 100% 70%, 94% 70%, 94% 82%, 88% 82%, 88% 88%, 82% 88%, 82% 94%, 70% 94%, 70% 100%, 30% 100%, 30% 94%, 18% 94%, 18% 88%, 12% 88%, 12% 82%, 6% 82%, 6% 70%, 0 70%, 0 30%, 6% 30%, 6% 18%, 12% 18%, 12% 12%, 18% 12%, 18% 6%, 30% 6%);
    filter: drop-shadow(0 0 40px rgba(201, 184, 228, 0.5));
}

.bat {
    position: absolute;
    width: 42px;
    color: #0d0812;
    animation: bat-fly 22s linear infinite;
}
.bat-one { top: 24%; left: -60px; }
.bat-two { top: 16%; left: -60px; width: 30px; animation-duration: 28s; animation-delay: -9s; }
.bat-three { top: 32%; left: -60px; width: 24px; animation-duration: 34s; animation-delay: -18s; }
@keyframes bat-fly {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(30vw, -30px); }
    50%  { transform: translate(60vw, 10px); }
    75%  { transform: translate(90vw, -20px); }
    100% { transform: translate(115vw, 0); }
}

.fog {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 90px;
    background:
        repeating-linear-gradient(90deg, rgba(152, 130, 185, 0.12) 0 120px, transparent 120px 190px);
    filter: blur(14px);
    animation: fog-drift 40s linear infinite;
}
.fog-one { bottom: 16%; }
.fog-two { bottom: 8%; opacity: 0.7; animation-duration: 60s; animation-direction: reverse; }
@keyframes fog-drift { to { transform: translateX(-190px); } }

.graveyard {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 34%;
}
.graveyard .hill-back { fill: #1a1026; }
.graveyard .stone path { fill: #2c2140; }
.graveyard .stone .etch { fill: #775e88; }
.graveyard .tree { fill: #0d0812; }
.graveyard .hill-front { fill: var(--night); }
.graveyard .sprouts { fill: var(--lavender-hi); }

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6, 4, 7, 0.85) 0%, rgba(6, 4, 7, 0.35) 55%, transparent 80%);
    pointer-events: none;
}

/* ---------- nav ---------- */
.nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-mark {
    width: 46px; height: 46px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(201, 184, 228, 0.25), 0 0 18px rgba(152, 130, 185, 0.35);
}
.brand b { font-family: var(--font-pixel); font-size: 20px; letter-spacing: 0.04em; line-height: 1; }

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--lavender-hi);
    padding: 6px 10px;
    border: 1px solid rgba(152, 130, 185, 0.4);
    background: rgba(152, 130, 185, 0.08);
}
.nav-status i { width: 7px; height: 7px; background: var(--lavender-hi); animation: blink 1.4s steps(2) infinite; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a small { color: var(--lavender); margin-right: 4px; font-size: 10px; }
.nav-links a:hover { color: var(--lavender); }
.nav-links .nav-cta {
    padding: 9px 16px;
    background: var(--bone);
    color: var(--night);
    font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--lavender); color: var(--night); }

.menu-button {
    display: none;
    margin-left: auto;
    background: transparent;
    color: var(--bone);
    border: 1px solid var(--line);
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: 0.12em;
    cursor: pointer;
}

/* ---------- hero body ---------- */
.hero-body {
    flex: 1;
    display: flex;
    align-items: center;
    position: static;
    z-index: 5;
    padding-bottom: 110px;
}

.hero-copy { max-width: 640px; position: relative; z-index: 2; }

.hero h1 {
    font-size: clamp(48px, 7vw, 100px);
    letter-spacing: -0.01em;
    margin-bottom: 26px;
    text-shadow: 0 6px 0 rgba(0, 0, 0, 0.45);
}
.hero h1 em {
    position: relative;
    color: var(--lavender-hi);
}
.hero h1 em::after {
    content: "";
    position: absolute;
    left: 0; right: 0.3em; bottom: -2px;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--lavender) 0 16px, transparent 16px 24px);
    animation: dash-in 1.2s steps(8) 0.3s both;
}
@keyframes dash-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.hero-text {
    font-size: 16px;
    color: #d8cde4;
    max-width: 470px;
    margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-steps { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-steps div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ash); }
.hero-steps b {
    font-family: var(--font-pixel);
    color: var(--night);
    background: var(--bone);
    padding: 2px 6px;
    font-size: 13px;
}

/* scrolling skull pills */
.hero-visual {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, transparent 9%, #000 24%, #000 74%, transparent 94%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, transparent 9%, #000 24%, #000 74%, transparent 94%);
    mask-composite: intersect;
    transition: transform 0.4s ease-out;
}
.pill-grid {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    transform: rotate(6deg);
    transform-origin: center top;
}
.pill-col { display: flex; flex-direction: column; animation: scroll-up 26s linear infinite; }
.col-a { margin-top: 60px; filter: blur(3px) brightness(0.55); animation-duration: 34s; }
.col-b { margin-top: -30px; animation-name: scroll-down; animation-duration: 28s; }
.col-c { margin-top: 90px; animation-duration: 24s; }
.hero-visual:hover .pill-col { animation-play-state: paused; }

.pill {
    width: 190px;
    height: 280px;
    margin-bottom: 22px;
    border-radius: 96px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 3px solid rgba(6, 4, 7, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.pill img { width: 118%; max-width: none; }

@keyframes scroll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.bg-ember { background: var(--bg-ember); }
.bg-moss { background: var(--bg-moss); }
.bg-gold { background: var(--bg-gold); }
.bg-violet { background: var(--bg-violet); }
.bg-sky { background: var(--bg-sky); }
.bg-sprout { background: var(--bg-sprout); }
.bg-rose { background: var(--bg-rose); }
.bg-bone { background: var(--bg-bone); }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--ash);
}
.scroll-cue span {
    width: 2px; height: 34px;
    background: linear-gradient(var(--lavender) 50%, transparent 50%);
    background-size: 2px 12px;
    animation: cue 1s steps(3) infinite;
}
@keyframes cue { to { background-position: 0 12px; } }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
    background: var(--lavender);
    color: var(--night);
    overflow: hidden;
    border-block: 3px solid var(--night);
    position: relative;
    z-index: 3;
}
.ticker-track {
    display: flex;
    width: max-content;
    gap: 28px;
    padding: 12px 0;
    font-size: 13px;
    letter-spacing: 0.12em;
    white-space: nowrap;
    animation: ticker 32s linear infinite;
}
.ticker b { font-family: var(--font-pixel); font-size: 16px; margin-left: 6px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   STORY (wine section)
   ========================================================= */
.story-section {
    position: relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(152, 130, 185, 0.18), transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(6, 4, 7, 0.5), transparent 50%),
        var(--wine);
    color: var(--bone);
    padding: 120px 0 110px;
    overflow: hidden;
}
.story-section::before,
.story-section::after {
    content: "";
    position: absolute;
    width: 180px; height: 180px;
    background: url("assets/stages/0-1.png") center / contain no-repeat;
    opacity: 0.1;
    filter: grayscale(1) brightness(1.4);
}
.story-section::before { top: 40px; right: 5%; transform: rotate(12deg); }
.story-section::after { bottom: 30px; left: 3%; transform: rotate(-14deg) scaleX(-1); }

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
}
.story-section h2 { font-size: clamp(40px, 5.4vw, 72px); }
.story-section h2 em { color: var(--lavender-hi); }
.story-copy p { font-size: 16px; color: #e0d2e2; margin-bottom: 16px; }
.story-copy p:nth-child(2) { font-family: var(--font-pixel); font-size: 22px; color: var(--bone); }
.story-copy .text-link { color: var(--lavender-hi); margin-top: 8px; }

.tomb-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tomb-row article {
    position: relative;
    background: var(--berry);
    border: 3px solid var(--night);
    border-radius: 120px 120px 6px 6px;
    padding: 64px 30px 34px;
    text-align: center;
    box-shadow: 8px 8px 0 var(--night);
    transition: transform 0.2s steps(2), box-shadow 0.2s steps(2);
}
.tomb-row article:hover { transform: translate(-3px, -6px); box-shadow: 11px 14px 0 var(--night); }
.tomb-row article::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 50%;
    width: 30px; height: 26px;
    transform: translateX(-50%);
    background:
        linear-gradient(var(--plum), var(--plum)) 13px 8px / 4px 18px no-repeat,
        linear-gradient(var(--lavender-hi), var(--lavender-hi)) 3px 0 / 10px 6px no-repeat,
        linear-gradient(var(--lavender-hi), var(--lavender-hi)) 17px 0 / 10px 6px no-repeat,
        linear-gradient(var(--plum), var(--plum)) 9px 4px / 12px 4px no-repeat;
}
.tomb-row b { font-family: var(--font-pixel); font-size: 14px; color: var(--lavender-hi); letter-spacing: 0.2em; }
.tomb-row h3 { font-size: 40px; margin: 6px 0 10px; }
.tomb-row p { color: #e6d6e6; font-size: 14px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section h2, .collection h2, .join h2 { font-size: clamp(38px, 5vw, 64px); }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}
.section-note { max-width: 380px; color: var(--ash); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- auction cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.nft-card {
    background: var(--stone);
    border: 2px solid var(--line);
    padding: 14px;
    transition: transform 0.25s, border-color 0.25s;
}
.nft-card:hover { transform: translateY(-6px); border-color: var(--lavender); }

.card-art {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.card-art img { width: 100%; transition: transform 0.35s steps(4); }
.nft-card:hover .card-art img { transform: scale(1.06) translateY(-4px); }

.likes {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(6, 4, 7, 0.75);
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    border: 0;
    color: var(--bone);
}
.likes.liked { color: var(--berry-hi); }
.timer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6, 4, 7, 0.85);
    color: var(--lavender-hi);
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
    letter-spacing: 0.06em;
}

.card-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.card-info h3 { font-size: 21px; font-weight: 500; }
.badge {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    background: rgba(152, 130, 185, 0.14);
    color: var(--lavender);
    border: 1px solid rgba(152, 130, 185, 0.4);
}

.card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}
.creator { display: flex; align-items: center; gap: 10px; }
.creator .avatar { width: 36px; height: 36px; overflow: hidden; display: flex; align-items: flex-end; }
.creator span, .bid span { display: block; font-size: 11px; color: var(--ash); letter-spacing: 0.06em; }
.creator h4, .bid h4 { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.bid { text-align: right; }
.bid h4 { color: var(--lavender); }

.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card-actions button {
    padding: 10px;
    font-size: 13px;
    cursor: pointer;
    border: 2px solid var(--bone);
    background: transparent;
    color: var(--bone);
    transition: background 0.2s, color 0.2s;
}
.card-actions .primary { background: var(--bone); color: var(--night); }
.card-actions button:hover { background: var(--lavender); border-color: var(--lavender); color: var(--night); }

/* =========================================================
   COLLECTION GALLERY
   ========================================================= */
.collection {
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(180deg, var(--night), transparent 30%),
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(119, 94, 136, 0.3), transparent 70%),
        var(--crypt);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
    background: transparent;
    color: var(--ash);
    border: 2px solid var(--line);
    padding: 8px 16px;
    font-size: 13px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: 0.2s;
}
.chip:hover { color: var(--bone); border-color: var(--bone); }
.chip.active { background: var(--lavender-hi); color: var(--night); border-color: var(--lavender-hi); }

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.skull-card {
    position: relative;
    border: 3px solid var(--night);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s steps(3), box-shadow 0.2s steps(3);
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
}
.skull-card:hover,
.skull-card:focus-visible { transform: translate(-3px, -5px) rotate(-1deg); box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.6); outline: none; }
.skull-card .art { aspect-ratio: 1; display: flex; align-items: flex-end; }
.skull-card .art img { width: 100%; }
.skull-card.hide { display: none; }
.card-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--night);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ash);
}
.card-label b { font-family: var(--font-pixel); font-size: 18px; color: var(--bone); letter-spacing: 0.02em; }
.rarity {
    position: absolute;
    top: 8px; left: 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
    background: var(--night);
    color: var(--lavender);
    padding: 3px 7px;
}

/* =========================================================
   GRAVEKEEPERS
   ========================================================= */
.keeper-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
    counter-reset: rank;
}
.keeper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--stone);
    border: 2px solid var(--line);
    transition: border-color 0.2s, transform 0.2s;
}
.keeper:hover { border-color: var(--lavender-hi); transform: translateX(4px); }
.keeper .rank { font-family: var(--font-pixel); font-size: 26px; width: 36px; color: var(--ash); }
.keeper:nth-child(1) .rank { color: var(--lavender); }
.keeper:nth-child(2) .rank { color: var(--bone); }
.keeper:nth-child(3) .rank { color: var(--berry-hi); }
.keeper .avatar { position: relative; width: 52px; height: 52px; display: flex; align-items: flex-end; overflow: visible; }
.keeper .avatar img { width: 100%; }
.keeper .avatar::after {
    content: "✓";
    position: absolute;
    right: -6px; bottom: -6px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    background: var(--lavender-hi);
    color: var(--night);
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--stone);
}
.keeper h4 { font-family: var(--font-mono); font-size: 15px; font-weight: 500; }
.keeper span { font-size: 12px; color: var(--ash); }
.keeper .vol { margin-left: auto; text-align: right; }
.keeper .vol strong { display: block; font-family: var(--font-pixel); font-size: 20px; color: var(--lavender); font-weight: 500; }

/* =========================================================
   STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
    background: var(--stone);
    border: 2px solid var(--line);
    padding: 28px 24px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--lavender); transform: translateY(-4px); }
.step-icon {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    font-size: 24px;
    margin-bottom: 22px;
    background: var(--night);
    color: var(--lavender);
    box-shadow: inset 0 0 0 2px var(--lavender);
}
.step:nth-child(2) .step-icon { color: var(--lavender-hi); box-shadow: inset 0 0 0 2px var(--lavender-hi); }
.step:nth-child(3) .step-icon { color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.step:nth-child(4) .step-icon { color: var(--berry-hi); box-shadow: inset 0 0 0 2px var(--berry-hi); }
.step b { font-size: 11px; letter-spacing: 0.2em; color: var(--ash); font-weight: 400; }
.step h3 { font-size: 26px; margin: 8px 0 12px; font-weight: 500; }
.step p { font-size: 14px; color: var(--ash); }

/* =========================================================
   BURN
   ========================================================= */
.burn-section {
    background: radial-gradient(ellipse 60% 60% at 80% 100%, rgba(114, 37, 72, 0.35), transparent 70%);
}
.burn-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 20px;
    padding: 20px;
    background: var(--stone);
    border: 2px solid var(--line);
}
.stat {
    background: var(--night);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 2px solid var(--line);
}
.stat span { font-size: 12px; letter-spacing: 0.18em; color: var(--ash); }
.stat strong {
    font-family: var(--font-pixel);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
    transition: transform 0.2s, color 0.2s;
}
.stat small { color: var(--lavender); letter-spacing: 0.16em; font-size: 12px; }
.stat-burn strong { color: var(--berry-hi); }
.stat-burn strong.flash { color: var(--lavender); transform: scale(1.06); }

.burn-action { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 10px 14px; }
.burn-meter {
    height: 22px;
    background: var(--night);
    border: 2px solid var(--line);
    padding: 3px;
}
.burn-fill {
    height: 100%;
    width: 0;
    background: repeating-linear-gradient(90deg, var(--berry-hi) 0 10px, var(--lavender) 10px 14px);
    transition: width 0.3s steps(4);
}
.burn-pct { font-size: 13px; color: var(--ash); }
.burn-pct span { color: var(--bone); }
.burn-action .button { justify-content: center; }
.burn-hint { font-size: 12px; color: var(--ash); text-align: center; }

/* =========================================================
   JOIN
   ========================================================= */
.join {
    position: relative;
    padding: 120px 0 230px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(114, 37, 72, 0.45), transparent 70%),
        linear-gradient(180deg, var(--night), var(--stone));
    border-top: 1px solid var(--line);
}
.join-inner { position: relative; z-index: 2; }
.join .eyebrow { justify-content: center; }
.join p:not(.eyebrow) { color: var(--ash); max-width: 440px; margin: 18px auto 30px; }

.subscribe {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    background: var(--stone);
    border: 2px solid var(--line);
    padding: 6px;
    gap: 6px;
}
.subscribe input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--bone);
    font: inherit;
    padding: 0 12px;
}
.subscribe input::placeholder { color: #775e88; }
.subscribe .button { padding: 12px 18px; font-size: 16px; }
.join .form-msg { min-height: 1.6em; margin: 14px auto 0; color: var(--lavender-hi); }

.join-skulls {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}
.join-skulls img {
    width: 170px;
    animation: rise 3.2s steps(4) infinite alternate;
}
.join-skulls img:nth-child(2) { animation-delay: -0.8s; }
.join-skulls img:nth-child(3) { animation-delay: -1.6s; }
.join-skulls img:nth-child(4) { animation-delay: -2.4s; }
@keyframes rise { from { transform: translateY(46px); } to { transform: translateY(8px); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #030204; padding: 70px 0 30px; border-top: 3px solid var(--lavender); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--ash); margin: 18px 0; font-size: 14px; }
.footer h4 { font-size: 20px; margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer ul a { text-decoration: none; color: var(--ash); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--lavender); }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--stone);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--lavender); color: var(--night); }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #775e88;
}

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 4, 7, 0.82); backdrop-filter: blur(6px); }
.modal-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(820px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: var(--stone);
    border: 3px solid var(--bone);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.6);
    animation: pop 0.25s steps(3);
}
@keyframes pop { from { transform: scale(0.92); opacity: 0; } }
.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    width: 36px; height: 36px;
    background: var(--night);
    color: var(--bone);
    border: 0;
    cursor: pointer;
}
.modal-close:hover { background: var(--berry-hi); }
.modal-art { display: flex; align-items: flex-end; min-height: 300px; }
.modal-art img { width: 100%; }
.modal-info { padding: 34px 30px; display: flex; flex-direction: column; }
.modal-info h3 { font-size: 40px; margin-bottom: 20px; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.traits div { background: var(--night); padding: 8px 10px; border: 1px solid var(--line); }
.traits dt { font-size: 10px; letter-spacing: 0.16em; color: var(--ash); }
.traits dd { font-size: 14px; }
.modal-price { display: flex; justify-content: space-between; align-items: baseline; margin: auto 0 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.modal-price span { font-size: 12px; color: var(--ash); }
.modal-price strong { font-family: var(--font-pixel); font-size: 28px; color: var(--lavender); font-weight: 500; }
.modal-info .button { justify-content: center; }

/* toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 200;
    transform: translate(-50%, calc(100% + 40px));
    visibility: hidden;
    background: var(--bone);
    color: var(--night);
    padding: 12px 20px;
    font-size: 14px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.3s steps(4);
    max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .burn-panel { grid-template-columns: 1fr 1fr; }
    .burn-action { grid-column: span 2; }
    .gallery { grid-template-columns: repeat(4, 1fr); }
    .hero-visual { width: 62%; opacity: 0.55; }
}

@media (max-width: 860px) {
    .shell { padding: 0 16px; }
    .nav-status { display: none; }
    .menu-button { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 16px; right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--stone);
        border: 2px solid var(--line);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 18px; border-bottom: 1px solid var(--line); }
    .nav-links .nav-cta { text-align: center; }

    .hero-visual { width: 100%; right: -30%; opacity: 0.3; }
    .hero-shade { background: linear-gradient(180deg, rgba(6, 4, 7, 0.5), rgba(6, 4, 7, 0.75)); }
    .moon { width: 70px; height: 70px; left: auto; right: 10%; top: 12%; }
    .hero-body { padding-top: 20px; }

    .story-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
    .tomb-row { grid-template-columns: 1fr; gap: 40px; }
    .tomb-row article { border-radius: 80px 80px 6px 6px; padding: 44px 24px 26px; }
    .section, .collection { padding: 80px 0; }
    .story-section { padding: 80px 0; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .keeper-list { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-base { flex-direction: column; gap: 8px; }

    .modal-card { grid-template-columns: 1fr; }
    .modal-art { min-height: 0; max-height: 300px; justify-content: center; }
    .modal-art img { width: 300px; }
    .modal-info h3 { font-size: 32px; }

    .join-skulls img { width: 100px; }
}

@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .burn-panel { grid-template-columns: 1fr; padding: 12px; }
    .burn-action { grid-column: auto; }
    .hero-steps { gap: 14px; }
    .card-label { font-size: 9px; }
    .card-label b { font-size: 15px; }
    .keeper .vol strong { font-size: 16px; }
    .subscribe { flex-direction: column; }
    .subscribe input { padding: 12px; }
    .subscribe .button { justify-content: center; }
    .join-skulls img { width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   BURN LAB
   ========================================================= */
.burnlab {
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(114, 37, 72, 0.35), transparent 70%),
        var(--night);
}

.ladder {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 36px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.rung { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; text-align: center; }
.rung-art { width: 96px; height: 96px; display: flex; align-items: flex-end; border: 3px solid var(--night); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); }
.rung-art img { width: 100%; }
.rung b { font-family: var(--font-pixel); font-size: 18px; font-weight: 500; }
.rung span { font-size: 11px; color: var(--ash); letter-spacing: 0.06em; }
.rung-max .rung-art { box-shadow: 0 0 0 3px var(--lavender), 0 0 30px rgba(152, 130, 185, 0.6); }
.rung-max b { color: var(--lavender-hi); }
.rung-arrow { font-size: 20px; animation: blink 1.4s steps(2) infinite; }

.lab-status {
    padding: 14px 18px;
    margin-bottom: 20px;
    background: rgba(114, 37, 72, 0.25);
    border: 2px solid var(--berry);
    font-size: 14px;
}
.lab-status code { color: var(--lavender-hi); }

.wallet-bar {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr auto;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: var(--stone);
    border: 2px solid var(--line);
}
.wallet-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wallet-info .dot { width: 10px; height: 10px; flex: none; background: var(--plum); }
.wallet-info.on .dot { background: var(--lavender-hi); box-shadow: 0 0 10px var(--lavender-hi); }
.wallet-info b { display: block; font-weight: 500; }
.wallet-info small { display: block; font-size: 12px; color: var(--ash); }
.wallet-info a { color: var(--lavender-hi); }
.wallet-stats { display: flex; gap: 26px; }
.wallet-stats span { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--ash); }
.wallet-stats b { font-family: var(--font-pixel); font-size: 20px; font-weight: 500; }
.wallet-stats b.low { color: var(--berry-hi); }
.wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.wallet-actions .button { font-size: 16px; padding: 12px 18px; }

.is-busy { opacity: 0.55; pointer-events: none; }
.button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.lab { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.crypt, .altar { background: var(--stone); border: 2px solid var(--line); padding: 20px; }
.crypt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.crypt h3, .altar h3 { font-size: 24px; font-weight: 500; }
.crypt .chips { margin-bottom: 16px; }
.crypt .chip { padding: 6px 12px; font-size: 12px; }

.text-btn {
    background: none;
    border: 0;
    color: var(--lavender-hi);
    font-size: 13px;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.text-btn:hover { color: var(--bone); }

.crypt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 12px;
    max-height: 560px;
    overflow-y: auto;
    padding: 4px;
}
.crypt-grid .empty, .tomb-wall .empty { grid-column: 1 / -1; color: var(--ash); padding: 30px 0; text-align: center; }
.crypt-card {
    position: relative;
    padding: 0;
    background: var(--night);
    border: 3px solid var(--night);
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s steps(2), box-shadow 0.15s;
}
.crypt-card:hover { transform: translateY(-3px); }
.crypt-card .art { aspect-ratio: 1; display: flex; align-items: flex-end; }
.crypt-card .art img { width: 100%; }
.crypt-card.selected { border-color: var(--lavender-hi); box-shadow: 0 0 0 2px var(--lavender-hi), 0 0 20px rgba(201, 184, 228, 0.5); }
.crypt-card.max .art { box-shadow: inset 0 0 0 2px var(--lavender-hi); }
.crypt-card .pick {
    position: absolute;
    top: 6px; left: 6px;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    background: var(--lavender-hi);
    color: var(--night);
    font-weight: 700;
    font-size: 12px;
}
.crypt-label { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px; gap: 4px; }
.crypt-label b { font-family: var(--font-pixel); font-size: 15px; font-weight: 500; }
.crypt-label span { font-size: 10px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.altar { position: sticky; top: 20px; text-align: center; }
.altar h3 { margin-bottom: 16px; }
.altar-slots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.slot-plus, .altar-arrow { font-family: var(--font-pixel); font-size: 24px; color: var(--ash); }
.altar-arrow { margin: 8px 0; animation: blink 1.4s steps(2) infinite; }
.slot {
    position: relative;
    width: 124px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 2px dashed var(--line);
    background: var(--night);
    padding: 6px;
}
.slot > span { font-size: 12px; color: var(--ash); }
.slot small { font-size: 11px; color: var(--ash); }
.slot .art { width: 100%; aspect-ratio: 1; display: flex; align-items: flex-end; }
.slot .art img { width: 100%; }
.slot .art.ghost { filter: grayscale(0.5) brightness(0.6); opacity: 0.7; }
.slot.filled { border-style: solid; border-color: var(--plum); }
.slot-result { margin: 0 auto; width: 160px; min-height: 186px; }
.slot-result.revealed { border: 2px solid var(--lavender-hi); animation: reveal-glow 1.6s ease-out; box-shadow: 0 0 40px rgba(201, 184, 228, 0.45); }
@keyframes reveal-glow {
    0% { transform: scale(0.6); filter: brightness(3); }
    40% { transform: scale(1.08); filter: brightness(1.6); }
    100% { transform: scale(1); filter: none; }
}

.slot.burning .art { animation: burn-away 1.4s steps(7) forwards; }
.slot.burning::after {
    content: "🔥🔥🔥";
    position: absolute;
    left: 0; right: 0; bottom: 20px;
    font-size: 30px;
    letter-spacing: -8px;
    animation: flames 0.35s steps(2) infinite alternate;
}
@keyframes burn-away {
    0% { filter: none; transform: none; }
    40% { filter: sepia(1) saturate(4) hue-rotate(-30deg) brightness(1.3); }
    100% { filter: grayscale(1) brightness(0.2); transform: translateY(20px) scale(0.8); opacity: 0; }
}
@keyframes flames { from { transform: translateY(0) scaleY(1); } to { transform: translateY(-10px) scaleY(1.2); } }

.altar-hint { font-size: 13px; color: var(--ash); margin: 16px 0; min-height: 3em; }
.altar-hint b { color: var(--lavender-hi); font-weight: 500; }
.altar-btn { width: 100%; justify-content: center; margin-bottom: 12px; }

/* =========================================================
   GRAVEYARD WALL
   ========================================================= */
.graveyard-wall {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(84, 21, 51, 0.45), transparent 70%),
        var(--crypt);
}
.grave-total { text-align: right; }
.grave-total span { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--ash); }
.grave-total strong { font-family: var(--font-pixel); font-size: 56px; font-weight: 500; color: var(--berry-hi); line-height: 1; }

.wall-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
.tomb-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 16px 12px;
}
.tombstone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 22px 8px 12px;
    background: var(--stone-2);
    border: 3px solid var(--night);
    border-radius: 60px 60px 4px 4px;
    box-shadow: 5px 5px 0 var(--night);
    text-align: center;
}
.tombstone.mine { background: var(--berry); }
.tomb-art { width: 64px; height: 64px; display: flex; align-items: flex-end; filter: grayscale(1) brightness(0.8); opacity: 0.8; }
.tomb-art img { width: 100%; }
.tombstone b { font-family: var(--font-pixel); font-size: 18px; font-weight: 500; }
.tombstone span { font-size: 11px; color: var(--lavender-hi); }
.tombstone small { font-size: 10px; color: var(--ash); }
.tombstone.mine small { color: #e6d6e6; }

.burners { background: var(--stone); border: 2px solid var(--line); padding: 20px; }
.burners h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.burners ol { list-style: none; }
.burners li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.burners li span { font-family: var(--font-pixel); color: var(--ash); width: 24px; }
.burners li b { font-weight: 500; flex: 1; }
.burners li em { font-style: normal; color: var(--berry-hi); }
.burners li.mine b { color: var(--lavender-hi); }
.burners li.empty { color: var(--ash); }

/* REDNIT burn controls */
.burn-bal { font-size: 13px; color: var(--ash); }
.burn-bal b { color: var(--bone); font-weight: 500; }
.burn-row { display: flex; gap: 8px; }
.burn-row input {
    flex: 1;
    min-width: 0;
    background: var(--night);
    border: 2px solid var(--line);
    color: var(--bone);
    font: inherit;
    padding: 10px 12px;
    outline: none;
}
.burn-row input:focus { border-color: var(--lavender); }
.burn-row .button { flex: none; }
.burn-action > .button-ghost { justify-content: center; font-size: 15px; }

@media (max-width: 1024px) {
    .wallet-bar { grid-template-columns: 1fr 1fr; }
    .wallet-actions { grid-column: span 2; justify-content: flex-start; }
    .lab, .wall-layout { grid-template-columns: 1fr; }
    .altar { position: static; }
}
@media (max-width: 560px) {
    .wallet-bar { grid-template-columns: 1fr; }
    .wallet-actions { grid-column: auto; }
    .wallet-actions .button { flex: 1; justify-content: center; }
    .wallet-stats { gap: 16px; }
    .crypt-grid, .tomb-wall { grid-template-columns: repeat(3, 1fr); }
    .slot { width: 110px; }
    .rung { min-width: 84px; }
    .rung-art { width: 72px; height: 72px; }
    .grave-total { text-align: left; }
}
.lab-status a { color: var(--lavender-hi); }
.hero-steps span::before { content: "■"; color: var(--lavender); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* tiers for the new artwork */
.badge.tier-exclusive, .skull-card.tier-exclusive .rarity { color: var(--night); background: var(--lavender-hi); border-color: var(--lavender-hi); }
.badge.tier-epic, .skull-card.tier-epic .rarity { color: var(--bone); background: var(--berry); border-color: var(--berry-hi); }
.skull-card.tier-exclusive { box-shadow: 0 0 0 2px var(--lavender-hi), 6px 6px 0 rgba(0, 0, 0, 0.55); }
.pill img { width: 100%; }

.hero-shade { background: linear-gradient(90deg, rgba(6, 4, 7, 0.92) 0%, rgba(6, 4, 7, 0.7) 38%, rgba(6, 4, 7, 0.1) 62%, transparent 75%); }
@media (max-width: 860px) {
    .scene::before { background-position: 50% 0; }
    .hero-shade { background: linear-gradient(180deg, rgba(6, 4, 7, 0.45) 0%, rgba(6, 4, 7, 0.82) 16%, rgba(6, 4, 7, 0.82) 60%, rgba(6, 4, 7, 0.6) 80%, rgba(6, 4, 7, 0.95)); }
}

/* =========================================================
   FUSION (mainnet Burn Lab)
   ========================================================= */
.ladder.recipes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; justify-content: stretch; }
.recipe {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px;
    background: var(--stone);
    border: 2px solid var(--line);
}
.recipe .rung-art { width: 78px; height: 78px; }
.recipe .rung-art img { width: 100%; height: 100%; object-fit: cover; }
.recipe .rung-art.epic { box-shadow: 0 0 0 3px var(--berry-hi), 0 0 18px rgba(194, 80, 138, 0.5); }
.recipe .rung-art.exclusive { box-shadow: 0 0 0 3px var(--lavender-hi), 0 0 22px rgba(201, 184, 228, 0.6); }
.recipe .op { font-family: var(--font-pixel); font-size: 30px; color: var(--ash); }
.recipe p { flex-basis: 100%; font-size: 14px; color: var(--ash); }
.recipe p b { color: var(--bone); font-weight: 500; }
.t-epic { font-style: normal; color: var(--berry-hi); }
.t-ex { font-style: normal; color: var(--lavender-hi); }

.mint-box { display: grid; grid-template-columns: 76px auto; gap: 8px; align-items: center; }
.mint-box input {
    height: 48px;
    background: var(--night);
    border: 2px solid var(--line);
    color: var(--bone);
    font: inherit;
    font-size: 18px;
    text-align: center;
    outline: none;
}
.mint-box input:focus { border-color: var(--lavender); }
.mint-box small { grid-column: 1 / -1; font-size: 11px; color: var(--ash); text-align: right; }

.crypt-card .art img, .slot .art img, .tomb-art img { object-fit: cover; }
.crypt-card.t1 { border-color: var(--berry); }
.crypt-card.t2 { border-color: var(--lavender-hi); box-shadow: 0 0 16px rgba(201, 184, 228, 0.45); }
.crypt-card.t1 .crypt-label span { color: var(--berry-hi); }
.crypt-card.t2 .crypt-label span { color: var(--lavender-hi); }
.tomb-art { filter: grayscale(0.85) brightness(0.8); }

@media (max-width: 860px) {
    .ladder.recipes { grid-template-columns: 1fr; }
    .recipe .rung-art { width: 64px; height: 64px; }
}
