:root {
  --ink: #12101d; --paper: #e8dfd2; --screen: #687344; --acid: #c8b98e;
  --orange: #a84b74; --pink: #c14b91; --muted: #a59aa6; --line: rgba(232,223,210,.2);
  --mono: "HoodBoy Brand", "Roboto Slab", serif; --pixel: "HoodBoy Brand", "Roboto Slab", serif; --display: "HoodBoy Brand", "Roboto Slab", serif;
}
@font-face { font-family: "HoodBoy Brand"; src: url("assets/HoodBoy-Brand-Font.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
* { box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--display); overflow-x: hidden; }
body.is-booting { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 68% 10%, rgba(118,96,160,.3), transparent 32%), radial-gradient(circle at 8% 80%, rgba(179,83,118,.2), transparent 28%), linear-gradient(145deg,#282039,#171326 70%); }
.noise,.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 20; }.noise { opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }.scanlines { opacity: .08; background: repeating-linear-gradient(0deg,transparent 0 3px,rgba(0,0,0,.45) 4px); }
.boot-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: #11101a; transition: opacity .65s ease, visibility .65s ease; }.boot-screen.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }.boot-shell { width: min(480px, 100%); padding: 18px; color: var(--ink); background: var(--acid); border: 3px solid var(--paper); box-shadow: 9px 9px 0 var(--pink), 0 0 70px rgba(200,185,142,.14); animation: boot-pulse 1.1s steps(2, end) infinite; }.boot-top,.boot-foot { display: flex; justify-content: space-between; gap: 15px; font: 10px var(--mono); }.boot-display { display: flex; align-items: center; gap: 22px; margin: 18px 0; padding: 28px 22px; background: var(--screen); border: 8px solid #303524; box-shadow: inset 0 0 0 2px #aab477; }.boot-logo { display: grid; place-items: center; flex: 0 0 72px; height: 72px; color: var(--acid); background: #211c2d; border: 3px solid var(--ink); box-shadow: 4px 4px 0 #aab477; font: 25px var(--pixel); }.boot-copy { display: grid; gap: 8px; }.boot-copy span,.boot-copy small { font: 10px var(--mono); }.boot-copy strong { font: 30px/1 var(--display); letter-spacing: .05em; }.boot-walkway { position: relative; height: 55px; margin: 4px 0 4px; overflow: hidden; border-bottom: 3px solid #3b3542; }.boot-walkway::before { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(59,53,66,.45) 12px 18px); }.boot-walker { position: absolute; bottom: 5px; left: -28px; width: 22px; height: 38px; animation: boot-walk 4.6s steps(18, end) infinite; }.boot-walker i { position: absolute; display: block; background: #c14b91; }.walker-head { top: 0; left: 6px; width: 12px; height: 12px; background: #3b3542!important; border: 2px solid #c14b91; border-radius: 50%; }.walker-body { top: 13px; left: 4px; width: 15px; height: 14px; background: #a84b74!important; border: 2px solid #3b3542; }.walker-arm { top: 15px; left: 1px; width: 5px; height: 13px; transform-origin: top; animation: walker-arm .28s steps(2, end) infinite alternate; }.walker-leg { top: 27px; width: 5px; height: 11px; transform-origin: top; background: #3b3542!important; }.walker-leg-left { left: 5px; animation: walker-leg-left .28s steps(2, end) infinite alternate; }.walker-leg-right { left: 13px; animation: walker-leg-right .28s steps(2, end) infinite alternate; }.boot-progress { height: 16px; margin: 16px 0 14px; padding: 3px; background: var(--ink); border: 2px solid var(--ink); }.boot-progress span { display: block; width: 0; height: 100%; background: var(--pink); animation: boot-progress 5s linear forwards; }.boot-foot { color: #3b3542; font-size: 9px; }
a { color: inherit; text-decoration: none; }.topbar,main,footer { width: min(1160px,calc(100% - 48px)); margin: auto; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; background: transparent; }.brand { display: flex; align-items: center; gap: 12px; }.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--acid); font: 10px var(--pixel); transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--orange); }.brand-name { color: var(--acid); font: 22px "HoodBoy Brand", var(--display); letter-spacing: .02em; }.nav { display: flex; gap: 28px; color: #c0b4c2; font: 11px var(--mono); }.nav a:hover { color: var(--acid); }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--ink); background: var(--acid); border: 2px solid var(--acid); font: 11px var(--mono); box-shadow: 5px 5px 0 var(--orange); transition: transform .2s,box-shadow .2s; }.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--orange); }.button-ghost { color: var(--paper); background: transparent; border-color: var(--paper); box-shadow: none; }.button-small { padding: 11px 14px; font-size: 10px; box-shadow: 3px 3px 0 var(--orange); }.top-actions { display: flex; align-items: center; gap: 10px; }
.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1fr .8fr; gap: 7vw; align-items: center; padding: 60px 0 100px; }.eyebrow,.section-kicker,.section-aside { color: var(--acid); font: 11px var(--mono); letter-spacing: .08em; }.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--acid); box-shadow: 0 0 15px var(--acid); animation: blink 1s infinite; }h1,h2,h3 { margin: 0; line-height: .96; }h1 { max-width: 8ch; margin: 24px 0 26px; color: var(--paper); font: clamp(3.8rem,8.5vw,8rem) var(--display); letter-spacing: -.06em; }h1 em { color: var(--acid); font-style: normal; text-shadow: 4px 4px 0 rgba(255,116,69,.75); }.lede,.section-copy p,.signal-head>p:last-child,.cta>p,.faq p { max-width: 540px; color: var(--muted); line-height: 1.8; font-size: 16px; }.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }.hero-caption,.console-top,.screen-top,.screen-footer,footer { display: flex; justify-content: space-between; color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; }.hero-caption { max-width: 470px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-console { position: relative; padding: 21px; color: var(--ink); background: #798055; border: 3px solid #a4b277; border-radius: 18px 18px 45px 18px; box-shadow: 12px 14px 0 #050604,0 0 60px rgba(217,255,57,.12); transform: rotate(2deg); }.console-top { color: #d7e79b; margin-bottom: 14px; }.hero-art { display: block; width: 100%; height: auto; border: 9px solid #2e3424; }.art-meta { display: flex; justify-content: space-between; padding-top: 13px; color: #d7e79b; font: 10px var(--mono); }.console-screen,.console-controls,.console-speaker { display: none; }
.section { padding: 110px 0 30px; }.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: end; border-top: 1px solid var(--line); }.section h2,.signal h2,.cta h2 { max-width: 10ch; margin-top: 25px; color: var(--paper); font: clamp(2.7rem,5.5vw,5.6rem) var(--display); letter-spacing: -.05em; }.mono-note { color: var(--acid)!important; font: 13px/2 var(--mono)!important; }.section-title-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }.section-aside { color: var(--muted); font-size: 10px; }.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }.card { position: relative; min-height: 310px; padding: 22px; border: 2px solid var(--acid); background: #20271a; box-shadow: 6px 6px 0 #050604; overflow: hidden; }.card::after { content: "MODE"; position: absolute; right: -4px; bottom: 24px; color: rgba(216,232,163,.08); font: 70px var(--pixel); transform: rotate(-90deg); }.card-orange { border-color: var(--orange); background: #33231a; }.card-pink { border-color: var(--pink); background: #31202a; }.card-number { color: var(--acid); font: 12px var(--mono); }.card-orange .card-number { color: var(--orange); }.card-pink .card-number { color: var(--pink); }.card h3 { position: relative; z-index: 1; margin: 64px 0 18px; color: var(--paper); font: 22px/1.2 var(--pixel); }.card p { position: relative; z-index: 1; max-width: 28ch; color: var(--muted); line-height: 1.7; font-size: 14px; }.card-arrow { position: absolute; right: 20px; bottom: 18px; color: var(--acid); font-size: 25px; }.card-orange .card-arrow { color: var(--orange); }.card-pink .card-arrow { color: var(--pink); }
.signal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; border-top: 1px solid var(--line); }.signal-head h2 { font-size: clamp(2.4rem,4.6vw,4.8rem); }.matrix { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }.matrix-item { min-height: 180px; padding: 20px; background: var(--ink); }.matrix-item span { color: var(--acid); font: 10px var(--mono); }.matrix-item strong { display: block; margin: 35px 0 10px; color: var(--paper); font: 20px var(--display); }.matrix-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.faq-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: 8vw; border-top: 1px solid var(--line); }.faq { display: grid; gap: 10px; }.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }.faq summary { cursor: pointer; color: var(--paper); font: 17px var(--display); }.faq p { margin: 16px 0 0; font-size: 14px; }.cta { position: relative; padding: 150px 0 170px; border-top: 1px solid var(--line); overflow: hidden; }.cta h2 { max-width: 8ch; font-size: clamp(3.5rem,8vw,8rem); }.cta>p { max-width: 400px; }.cta-stamp { position: absolute; right: 5%; bottom: 15%; color: var(--orange); font: clamp(35px,8vw,100px)/.9 var(--pixel); transform: rotate(-12deg); text-align: center; text-shadow: 5px 5px 0 rgba(255,130,178,.5); }footer { padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 9px; }
.roadmap { border-top: 1px solid var(--line); }.roadmap-list { margin-top: 24px; border-top: 1px solid var(--line); }.roadmap-item { display: grid; grid-template-columns: 130px 1fr 90px; gap: 26px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }.roadmap-phase,.roadmap-item>strong { color: var(--acid); font: 11px var(--mono); }.roadmap-item h3 { color: var(--paper); font: 23px var(--display); letter-spacing: .03em; }.roadmap-item p { max-width: 580px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }.roadmap-item>strong { justify-self: end; color: var(--muted); }.roadmap-item.active { background: linear-gradient(90deg,rgba(217,255,57,.08),transparent); }.roadmap-item.active>strong { color: var(--orange); }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease,transform .7s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }
.is-booted .hero-copy,.is-booted .hero-console { animation: boot-rise .8s ease-out both; }
.miner-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; border-top: 1px solid var(--line); }.miner-heading h2 { margin-bottom: 22px; }.miner-heading>p:not(.section-kicker) { color: var(--muted); line-height: 1.75; max-width: 310px; }.miner-heading .button { margin-top: 12px; }.miner-panel { padding: 12px; background: #222d18; border: 2px solid var(--acid); box-shadow: 7px 7px 0 #050604; }.panel-bar,.mine-status,.timer-row { display: flex; justify-content: space-between; align-items: center; color: var(--acid); font: 10px var(--mono); }.miner-screen { margin-top: 12px; padding: 24px; background: #34461b; border: 2px solid #647d2e; box-shadow: inset 0 0 30px rgba(11,20,4,.42); }.screen-label { margin-bottom: 12px; color: #c9eb72; font: 11px var(--mono); }.cartridge-grid,.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.cartridge,.time-option { cursor: pointer; padding: 15px 11px; color: var(--paper); background: #1b2813; border: 1px solid #607c2b; text-align: left; font: 13px var(--display); transition: background .2s,border-color .2s,transform .2s; }.cartridge:hover,.time-option:hover,.cartridge.selected,.time-option.selected { background: #607d2a; border-color: var(--acid); transform: translateY(-2px); }.cartridge span,.time-option small { display: block; }.cartridge small,.time-option small { margin-top: 8px; color: #c9eb72; font: 10px var(--mono); }.cartridge-chip { display: block; width: 24px; height: 24px; margin-bottom: 16px; border: 3px solid rgba(255,255,255,.55); border-radius: 5px; }.green { background: #b6ff00; }.purple { background: #9c54ff; }.gold { background: #ffd84a; }.time-label { margin-top: 24px; }.time-option { text-align: center; }.mine-status { margin-top: 24px; color: var(--paper); }.progress-track { height: 16px; margin: 10px 0 13px; background: #17220f; border: 1px solid #607c2b; }.progress-track span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(135deg,var(--acid) 0 9px,#8bb713 9px 17px); transition: width .3s linear; }.timer-row { color: #9db56c; }.timer-row strong { color: var(--acid); }.mine-button { width: 100%; margin-top: 22px; justify-content: center; }.mine-button:disabled { cursor: wait; opacity: .65; transform: none; }.stats-strip { display: grid; grid-template-columns: repeat(3,1fr); margin: 35px 0 70px; border: 1px solid var(--line); }.stats-strip div { padding: 20px; border-right: 1px solid var(--line); }.stats-strip div:last-child { border-right: 0; }.stats-strip span { display: block; color: var(--muted); font: 10px var(--mono); }.stats-strip strong { display: block; margin-top: 12px; color: var(--acid); font: 24px var(--display); }
.supply-mark { display: flex; align-items: baseline; gap: 12px; margin-top: 36px; color: var(--acid); }.supply-mark strong { font: clamp(3rem,6vw,6rem) var(--display); line-height: .85; }.supply-mark span { color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.play-modal { display: none; position: fixed; inset: 0; z-index: 50; place-items: center; overflow-y: auto; padding: 20px; touch-action: manipulation; }.play-modal.is-open { display: grid; }.modal-backdrop { position: absolute; inset: 0; background: rgba(10,8,17,.82); backdrop-filter: blur(5px); }.play-window { position: relative; z-index: 1; width: min(560px,100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #171321; border: 1px solid var(--acid); box-shadow: 8px 8px 0 var(--pink), 0 25px 80px rgba(0,0,0,.55); animation: window-in .25s ease-out; touch-action: manipulation; }.window-bar { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; color: var(--ink); background: var(--acid); font: 11px var(--mono); }.window-close { cursor: pointer; border: 0; color: var(--ink); background: transparent; font: 26px/1 var(--display); }.window-body { overflow-y: auto; padding: 30px; touch-action: manipulation; }.window-status { margin: 0; color: var(--pink); font: 10px var(--mono); }.window-body h2 { margin: 24px 0 12px; color: var(--paper); font: clamp(2.4rem,7vw,4rem) var(--display); }.window-body h2 span { color: var(--pink); }.window-copy { margin: 0 0 28px; color: var(--muted); line-height: 1.7; }.leaderboard { border-top: 1px solid var(--line); }.leaderboard-head,.leader-row { display: grid; grid-template-columns: 45px 1fr 80px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font: 11px var(--mono); }.leaderboard-head { grid-template-columns: 1fr 80px; padding: 12px 0; color: var(--acid); }.leaderboard-head span:last-child { text-align: right; }.leader-row b { color: var(--pink); }.leader-row span { color: var(--paper); }.leader-row strong { color: var(--acid); text-align: right; }.leader-row.faded { opacity: .55; }.window-button { margin-top: 26px; }
@keyframes window-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes blink { 50% { opacity: .25; } } @keyframes equalize { to { height: 24px; } }
@keyframes boot-progress { to { width: 100%; } } @keyframes boot-pulse { 50% { filter: brightness(1.05); } } @keyframes boot-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } @keyframes boot-walk { 0% { left: -28px; } 100% { left: calc(100% + 6px); } } @keyframes walker-arm { to { transform: rotate(35deg); } } @keyframes walker-leg-left { to { transform: rotate(28deg); } } @keyframes walker-leg-right { to { transform: rotate(-28deg); } }
@media (max-width: 900px) { .hero,.signal,.faq-section { grid-template-columns: 1fr; }.hero { padding-top: 35px; }.hero-console { max-width: 560px; }.cards { grid-template-columns: 1fr; }.card { min-height: 260px; }.card h3 { margin-top: 42px; }.roadmap-item { grid-template-columns: 100px 1fr; }.roadmap-item>strong { grid-column: 2; justify-self: start; } }
@media (max-width: 620px) { .topbar,main,footer { width: calc(100% - 28px); }.topbar { flex-wrap: wrap; }.nav { order: 3; width: 100%; justify-content: space-between; }.button-small { margin-left: auto; }.hero { padding-top: 22px; }.hero-console { padding: 12px; border-radius: 12px 12px 30px 12px; }.console-screen { min-height: 310px; }.screen-logo { margin: 58px 0 55px; font-size: 24px; }.section { padding-top: 80px; }.section-title-row { align-items: flex-start; gap: 20px; flex-direction: column; }.matrix { grid-template-columns: 1fr; }.matrix-item { min-height: 145px; }.matrix-item strong { margin-top: 22px; }.cta { padding: 110px 0 140px; }.cta-stamp { bottom: 8%; right: 0; }footer { gap: 15px; flex-direction: column; } }
@media (max-width: 900px) { .miner-section { grid-template-columns: 1fr; }.miner-panel { max-width: 680px; } }
@media (max-width: 620px) { .cartridge-grid,.time-grid { grid-template-columns: 1fr; }.cartridge,.time-option { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; }.cartridge-chip { margin: 0; }.cartridge small,.time-option small { margin: 0; } .stats-strip { grid-template-columns: 1fr; }.stats-strip div { border-right: 0; border-bottom: 1px solid var(--line); }.stats-strip div:last-child { border-bottom: 0; } }
/* Refined boot screen: the logo leads, while the hardware details stay quiet. */
.boot-screen { background: radial-gradient(circle at 50% 42%, rgba(118,96,160,.2), transparent 42%), #0f0e17; }
.boot-shell { width: min(520px, 100%); padding: 0; color: var(--paper); background: #171321; border: 1px solid rgba(200,185,142,.8); box-shadow: 8px 8px 0 var(--pink), 0 24px 70px rgba(0,0,0,.55); animation: boot-pulse 1.4s steps(2, end) infinite; }
.boot-top { padding: 15px 19px; color: var(--acid); border-bottom: 1px solid var(--line); }
.boot-display { justify-content: center; min-height: 145px; margin: 0; padding: 30px 28px; background: linear-gradient(135deg, #242035, #13121e); border: 0; border-bottom: 1px solid var(--line); box-shadow: inset 0 -12px 30px rgba(0,0,0,.2); }
.boot-brand { width: min(190px, 48%); }
.boot-copy { gap: 10px; padding-left: 24px; border-left: 1px solid rgba(200,185,142,.35); }
.boot-copy span { color: var(--acid); }
.boot-copy small { color: var(--muted); }
.boot-walkway { margin: 0 19px; }
.boot-progress { margin: 20px 19px 15px; }
.boot-foot { padding: 0 19px 16px; }
@media (max-width: 520px) { .boot-display { align-items: start; flex-direction: column; gap: 18px; padding: 26px 20px; }.boot-brand { width: min(190px, 72%); }.boot-copy { padding: 0; border: 0; }.boot-walkway { margin-inline: 20px; }.boot-progress { margin-inline: 20px; }.boot-foot { padding-inline: 20px; font-size: 8px; } }
/* Full-width miner layout */
.miner-section { grid-template-columns: 1fr; }
.brand-image { object-fit: cover; object-position: center 43%; padding: 0; border: 0; border-radius: 3px; background: #e8dfd2; }
.brand-wordmark { display: block; width: 142px; height: auto; }
.boot-brand { display: block; width: min(340px, 88%); height: auto; flex: 0 0 auto; content: url("assets/hoodboy-wordmark-centered.png"); margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.game-hud { display: flex; justify-content: space-between; gap: 14px; margin: 22px 0 10px; padding: 11px 13px; color: var(--acid); background: #25251b; border: 1px solid rgba(200,185,142,.38); font: 11px var(--mono); letter-spacing: .05em; }
.game-hud strong { color: var(--paper); font-weight: 400; }
.game-board { position: relative; height: 260px; overflow: hidden; background: #687344; border: 7px solid #292b21; box-shadow: inset 0 0 0 2px #a1a77b, inset 0 0 35px rgba(17,24,9,.45); outline: none; }
.game-board::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(30,41,13,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(30,41,13,.35) 1px, transparent 1px); background-size: 14px 14px; pointer-events: none; }
.game-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(232,223,210,.06) 6px); }
.game-player, .game-spark, .game-message { position: absolute; z-index: 1; }
.game-player { bottom: 14px; left: 50%; display: grid; place-items: center; width: 44px; height: 32px; color: #687344; background: #dbe4a3; border: 4px solid #252b18; box-shadow: 4px 4px 0 rgba(35,42,18,.65); font: 12px var(--pixel); transform: translateX(-50%); transition: left .12s ease-out; }
.game-player::before { content: ""; position: absolute; left: 5px; right: 5px; bottom: -8px; height: 4px; background: #252b18; }
.game-spark { top: -12%; left: 50%; color: #f4edbe; text-shadow: 2px 2px 0 #3f4d25; font: 28px/1 var(--pixel); transform: translateX(-50%); }
.game-message { top: 50%; left: 50%; width: 90%; color: #e8dfd2; text-align: center; font: 15px/1.6 var(--pixel); transform: translate(-50%, -50%); text-shadow: 2px 2px 0 #3d4825; pointer-events: none; }
.game-board.is-running .game-message { opacity: 0; }
.game-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.game-start { min-width: 180px; justify-content: center; }
.touch-controls { display: flex; gap: 8px; touch-action: manipulation; }
.touch-controls button { display: grid; place-items: center; width: 42px; height: 38px; cursor: pointer; color: var(--ink); background: var(--acid); border: 2px solid var(--acid); box-shadow: 3px 3px 0 var(--orange); font: 18px/1 var(--display); touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.touch-controls button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--orange); }
.game-board.game-over { background: #594554; }
.game-board.game-over .game-message { opacity: 1; }
.game-bricks { position: absolute; inset: 0; z-index: 1; }
.game-brick { position: absolute; display: block; width: 9.3%; height: 6%; background: #d6d89a; border: 2px solid #303c20; box-shadow: 2px 2px 0 rgba(32,43,18,.75); transition: opacity .12s, transform .12s; }
.game-brick:nth-child(3n) { background: #b4bd7c; }
.game-brick:nth-child(3n + 1) { background: #e2d6a2; }
.game-brick.is-broken { opacity: 0; transform: scale(.45); }
.game-player { width: 48px; height: 14px; border-width: 3px; box-shadow: 3px 3px 0 rgba(35,42,18,.65); font-size: 0; }
.game-player::before { left: 4px; right: 4px; bottom: -7px; height: 3px; }
.game-spark { display: block; width: 14px; height: 14px; color: transparent; background: #f4edbe; border: 3px solid #394826; border-radius: 50%; box-shadow: 2px 2px 0 #3f4d25; font-size: 0; }
.attempts-note { margin: 12px 0 0; color: var(--muted); text-align: right; font: 10px var(--mono); }
.reset-demo { margin-left: 8px; padding: 0; cursor: pointer; color: var(--pink); background: transparent; border: 0; font: inherit; text-decoration: underline; }
.score-submit { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.score-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--acid); font: 10px var(--mono); }
.score-result strong { color: var(--paper); font: 34px var(--display); }
.form-note { margin: 12px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
#scoreForm { display: grid; gap: 9px; }
#scoreForm label:not(.check-row) { margin-top: 5px; color: var(--acid); font: 10px var(--mono); }
#scoreForm input[type="text"] { width: 100%; padding: 12px; color: var(--paper); background: #25202e; border: 1px solid rgba(232,223,210,.35); outline: none; font: 12px var(--mono); }
#scoreForm input[type="text"]:focus { border-color: var(--acid); box-shadow: 0 0 0 2px rgba(200,185,142,.15); }
.check-row { display: flex; align-items: center; gap: 9px; margin: 8px 0; color: var(--muted); font: 11px var(--mono); }
.check-row input { accent-color: var(--pink); }
.form-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.form-actions .button { min-width: 0; min-height: 50px; justify-content: center; padding: 12px 10px; text-align: center; line-height: 1.25; }
.form-actions button[type="submit"] { grid-column: 1 / -1; }
.form-error { min-height: 15px; margin: 4px 0 0; color: var(--pink); font: 10px var(--mono); }
.leaderboard { margin-top: 30px; border-top: 1px solid var(--line); }
.leaderboard-title { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 7px; color: var(--pink); font: 10px var(--mono); }
.leaderboard-title span:last-child { color: var(--muted); }
.leader-empty { margin: 0; padding: 18px 0; color: var(--muted); font: 10px var(--mono); }
.play-again, .play-reset { width: 100%; justify-content: center; margin-bottom: 10px; }
.play-reset { color: var(--pink); border-color: rgba(194, 72, 137, .6); }
.play-reset:hover { color: var(--paper); border-color: var(--pink); }
.submit-toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: min(390px, calc(100vw - 48px)); padding: 16px 18px; color: var(--ink); background: var(--acid); border: 2px solid var(--paper); box-shadow: 5px 5px 0 var(--pink); font: 11px/1.5 var(--mono); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.leaderboard .leaderboard-head, .leaderboard .leader-row { padding: 10px 0; }
.leaderboard .leader-row { grid-template-columns: 45px 1fr 80px; }
.leaderboard:empty { display: none; }
@media (max-width: 620px) { .window-body { padding: 22px 18px; }.game-board { height: 230px; }.game-controls { align-items: stretch; flex-direction: column; }.game-start { width: 100%; }.touch-controls { justify-content: center; }.touch-controls button { width: 54px; height: 42px; }.game-hud { gap: 7px; padding-inline: 9px; font-size: 9px; }.form-actions { grid-template-columns: 1fr; }.form-actions .button, .form-actions button[type="submit"] { width: 100%; grid-column: auto; } }
/* Oversized logo lockup for the boot sequence. */
.boot-display { position: relative; flex-direction: column; align-items: center; gap: 19px; min-height: 205px; padding: 30px 28px 23px; overflow: hidden; }
.boot-display::before { content: "SIGNAL // 2003"; position: absolute; top: 10px; right: 14px; color: rgba(200,185,142,.48); font: 8px var(--mono); letter-spacing: .12em; }
.boot-display::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(200,185,142,.045) 6px); }
.boot-brand { position: relative; z-index: 1; width: min(340px, 88%); }
.boot-copy { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(340px, 88%); padding: 12px 0 0; border-top: 1px solid rgba(200,185,142,.35); border-left: 0; }
.boot-copy span { color: var(--acid); }
.boot-copy small { color: var(--muted); }
.boot-walkway { height: 62px; margin-top: 0; }
@media (max-width: 520px) { .boot-display { min-height: 190px; padding: 29px 18px 20px; }.boot-brand { width: min(340px, 100%); }.boot-copy { width: 100%; }.boot-walkway { margin-inline: 20px; } }

/* Mobile layout pass: keep the retro composition while improving touch spacing. */
@media (max-width: 620px) {
  body { font-size: 14px; }
  .topbar, main, footer { width: calc(100% - 32px); }
  .topbar { position: relative; gap: 14px; padding: 15px 0 13px; }
  .brand { min-width: 0; }
  .brand-wordmark { width: 112px; height: auto; }
  .brand-name { font-size: 19px; }
  .nav { flex: 1 1 100%; order: 3; gap: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10px; }
  .nav a { padding: 5px 2px; }
  .top-actions { flex: 0 0 auto; gap: 7px; }
  .button-small { flex: 0 0 auto; margin-left: auto; padding: 11px 13px; font-size: 10px; }
  .top-actions .button-small { margin-left: 0; }

  .hero { min-height: auto; gap: 50px; padding: 55px 0 82px; }
  h1 { max-width: 7ch; margin: 21px 0 22px; font-size: clamp(3.35rem, 18vw, 5.6rem); }
  .lede, .section-copy p, .signal-head > p:last-child, .cta > p, .faq p { font-size: 14px; line-height: 1.75; }
  .hero-actions, .cta-actions { gap: 10px; margin: 26px 0; }
  .hero-actions .button, .cta-actions .button { flex: 1 1 100%; justify-content: center; }
  .hero-console { width: 100%; box-sizing: border-box; padding: 10px; transform: rotate(1deg); }
  .hero-art { border-width: 7px; }

  .section { padding: 82px 0 25px; }
  .section h2, .signal h2, .cta h2 { max-width: 9ch; font-size: clamp(2.65rem, 15vw, 4.5rem); }
  .split, .signal, .faq-section { grid-template-columns: 1fr; gap: 36px; }
  .section-title-row { gap: 14px; }
  .section-aside { line-height: 1.6; }
  .cards { gap: 11px; }
  .card { min-height: 220px; padding: 18px; }
  .card h3 { margin-top: 38px; font-size: 20px; }
  .card p { font-size: 13px; }
  .matrix { gap: 9px; }
  .matrix-item { min-height: 132px; padding: 18px; }
  .roadmap-item { grid-template-columns: 1fr; gap: 9px; padding: 21px 0; }
  .roadmap-item > strong { grid-column: auto; justify-self: start; }
  .roadmap-item h3 { font-size: 21px; }
  .roadmap-item p { font-size: 13px; }
  .stats-strip { grid-template-columns: 1fr; margin: 25px 0 50px; }
  .stats-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-strip div:last-child { border-bottom: 0; }
  .cta { padding: 90px 0 125px; }
  .cta-stamp { right: -3%; bottom: 7%; opacity: .6; }

  .play-modal { align-items: start; padding: 10px; }
  .play-window { width: 100%; max-height: calc(100vh - 20px); box-shadow: 5px 5px 0 var(--pink), 0 18px 55px rgba(0,0,0,.55); }
  .window-bar { padding: 12px 13px; }
  .window-body { padding: 20px 14px 24px; }
  .window-body h2 { margin-top: 20px; font-size: clamp(2.45rem, 15vw, 4rem); }
  .window-copy { margin-bottom: 22px; font-size: 13px; }
  .game-board { height: min(52vw, 230px); min-height: 190px; }
  .game-message { font-size: 13px; }
  .game-hud { grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 10px 8px; font-size: 8px; }
  .game-hud span:nth-child(2) { text-align: center; }
  .game-hud span:last-child { text-align: right; }
  .game-controls { gap: 11px; }
  .game-start { min-height: 48px; }
  .touch-controls button { width: 58px; height: 46px; }
  .leaderboard-head, .leader-row { grid-template-columns: 32px 1fr 68px; gap: 8px; font-size: 10px; }
  .leaderboard-head { grid-template-columns: 1fr 68px; }
  .score-result strong { font-size: 28px; }
  .submit-toast { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); }
}

@media (max-width: 380px) {
  .topbar, main, footer { width: calc(100% - 24px); }
  .brand-wordmark { width: 101px; }
  .button-small { padding-inline: 10px; }
  .hero { padding-top: 42px; }
  .boot-shell { width: calc(100% - 18px); }
  .boot-display { min-height: 178px; padding: 27px 14px 18px; }
  .boot-brand, .boot-copy { width: 94%; }
  .boot-walkway, .boot-progress { margin-inline: 14px; }
  .boot-foot { padding-inline: 14px; }
  .game-board { min-height: 175px; }
  .window-body { padding-inline: 12px; }
}

/* Game Boy atmosphere: quiet hardware cues behind the content. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(200,185,142,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,185,142,.12) 1px, transparent 1px),
    radial-gradient(circle at 14% 26%, rgba(193,75,145,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 72%, rgba(200,185,142,.3) 0 2px, transparent 3px);
  background-size: 32px 32px, 32px 32px, 160px 160px, 190px 190px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.hero { position: relative; isolation: isolate; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  top: 13%;
  right: 35%;
  width: 74px;
  height: 74px;
  opacity: .22;
  border: 1px solid var(--acid);
  box-shadow: 8px 8px 0 -7px var(--pink), -8px -8px 0 -7px var(--pink);
  transform: rotate(45deg);
}
.hero::after {
  right: -5vw;
  bottom: 15%;
  width: 180px;
  height: 90px;
  opacity: .16;
  background: repeating-linear-gradient(90deg, var(--pink) 0 7px, transparent 7px 18px);
  clip-path: polygon(0 50%, 12% 50%, 12% 28%, 22% 28%, 22% 72%, 32% 72%, 32% 14%, 42% 14%, 42% 86%, 52% 86%, 52% 0, 62% 0, 62% 100%, 72% 100%, 72% 22%, 82% 22%, 82% 78%, 92% 78%, 92% 42%, 100% 42%, 100% 58%, 0 58%);
}

.boot-screen::before {
  content: "";
  position: absolute;
  inset: 8% 5%;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(200,185,142,.13) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(200,185,142,.13) 50%, transparent 51%),
    radial-gradient(circle, rgba(193,75,145,.55) 0 1px, transparent 2px);
  background-size: 46px 46px, 46px 46px, 92px 92px;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 72%);
}
.boot-screen::after {
  content: "CARTRIDGE // READY";
  position: absolute;
  top: 7%;
  left: 6%;
  color: rgba(200,185,142,.32);
  font: 9px var(--mono);
  letter-spacing: .18em;
  pointer-events: none;
}

@media (max-width: 620px) {
  .hero::before { top: 7%; right: 13%; width: 48px; height: 48px; }
  .hero::after { right: -34px; bottom: 12%; width: 130px; height: 70px; }
  .boot-screen::after { top: 4%; left: 8%; font-size: 7px; }
}

/* Stronger handheld cues for the background and boot sequence. */
body::after {
  opacity: .28;
  background-image:
    linear-gradient(rgba(200,185,142,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,185,142,.16) 1px, transparent 1px),
    radial-gradient(circle at 14% 26%, rgba(193,75,145,.5) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 72%, rgba(200,185,142,.45) 0 2px, transparent 3px);
  background-size: 24px 24px, 24px 24px, 128px 128px, 150px 150px;
}

main { position: relative; }
main::before {
  content: "4-BIT // DOT MATRIX // 2003";
  position: absolute;
  top: 8px;
  right: 0;
  color: rgba(200,185,142,.34);
  font: 9px var(--mono);
  letter-spacing: .14em;
  pointer-events: none;
}
.hero-copy::before {
  content: "BATTERY  ●  ●  ●";
  display: block;
  width: max-content;
  padding: 5px 8px;
  color: rgba(200,185,142,.7);
  border: 1px solid rgba(200,185,142,.35);
  font: 8px var(--mono);
  letter-spacing: .12em;
}
.hero-console {
  box-shadow: 12px 14px 0 #050604, 0 0 0 8px rgba(104,115,68,.09), 0 0 60px rgba(217,255,57,.18);
}
.hero-console::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 21px;
  width: 7px;
  height: 7px;
  background: var(--pink);
  border: 2px solid #343b24;
  border-radius: 50%;
  box-shadow: -14px 0 0 #c8b98e, -28px 0 0 #c8b98e;
  animation: blink 1.4s steps(2, end) infinite;
}
.hero-screen-game {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 40.5%;
  width: 21%;
  height: 18%;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, rgba(217,232,163,.08) 0 1px, transparent 1px 5px);
  border: 2px solid rgba(44,55,27,.9);
  box-shadow: inset 0 0 0 2px rgba(217,232,163,.18);
  opacity: .88;
}
.mini-brick {
  position: absolute;
  width: 28%;
  height: 9%;
  background: #d9e8a3;
  border: 1px solid #384826;
  animation: mini-brick-flash 3.6s steps(2, end) infinite;
}
.mini-brick-a { top: 19%; left: 10%; }
.mini-brick-b { top: 19%; left: 60%; animation-delay: .6s; background: #b4c27d; }
.mini-brick-c { top: 36%; left: 35%; animation-delay: 1.2s; background: #e2d6a2; }
.mini-ball {
  position: absolute;
  left: 9%;
  bottom: 18%;
  width: 8%;
  aspect-ratio: 1;
  background: #f4edbe;
  border: 1px solid #394826;
  border-radius: 50%;
  box-shadow: 1px 1px 0 #3f4d25;
  animation: mini-ball-bounce 2.2s linear infinite;
}
@keyframes mini-ball-bounce {
  0% { left: 9%; bottom: 18%; }
  26% { left: 43%; bottom: 69%; }
  52% { left: 82%; bottom: 20%; }
  76% { left: 52%; bottom: 56%; }
  100% { left: 9%; bottom: 18%; }
}
@keyframes mini-brick-flash {
  0%, 76%, 100% { opacity: 1; transform: scale(1); }
  80%, 92% { opacity: .25; transform: scale(.8); }
}
.boot-shell { box-shadow: 8px 8px 0 var(--pink), inset 0 0 0 5px rgba(200,185,142,.08), 0 24px 70px rgba(0,0,0,.55); }
.boot-display { background-color: #242035; background-image: linear-gradient(rgba(200,185,142,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(200,185,142,.07) 1px, transparent 1px), linear-gradient(135deg, #242035, #13121e); background-size: 12px 12px, 12px 12px, auto; }
.boot-walkway::after {
  content: "INSERT CARTRIDGE";
  position: absolute;
  top: 4px;
  left: 0;
  color: rgba(200,185,142,.35);
  font: 8px var(--mono);
  letter-spacing: .13em;
}

@media (max-width: 620px) {
  main::before { top: 2px; right: auto; left: 0; font-size: 7px; }
  .hero-copy::before { font-size: 7px; }
  .hero-console::after { top: 13px; right: 13px; }
}

/* Final boot-cat override: keep older walker rules from changing the silhouette. */
.boot-walker {
  width: 28px !important;
  height: 20px !important;
  bottom: 5px !important;
  background: #c14b91 !important;
  border: 2px solid #3b3542 !important;
  border-radius: 8px 8px 4px 4px !important;
  box-shadow: 3px 3px 0 rgba(59,53,66,.42) !important;
}
.boot-walker i { display: none !important; }
.boot-walker::before {
  content: "" !important;
  position: absolute !important;
  top: -18px !important;
  left: 3px !important;
  width: 20px !important;
  height: 19px !important;
  z-index: 2 !important;
  background:
    radial-gradient(circle at 31% 55%, #3b3542 0 2px, transparent 2.5px),
    radial-gradient(circle at 69% 55%, #3b3542 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 72%, #c14b91 0 1.5px, transparent 2px),
    #c8b98e !important;
  border: 2px solid #3b3542 !important;
  clip-path: polygon(0 18%, 23% 0, 34% 16%, 66% 16%, 77% 0, 100% 18%, 94% 82%, 78% 100%, 22% 100%, 6% 82%) !important;
}
.boot-walker::after {
  content: "" !important;
  position: absolute !important;
  top: auto !important;
  right: -13px !important;
  bottom: 8px !important;
  left: auto !important;
  width: 14px !important;
  height: 6px !important;
  z-index: -1 !important;
  background: #c8b98e !important;
  border: 2px solid #3b3542 !important;
  border-left: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  transform-origin: left center !important;
  animation: boot-cat-tail .45s steps(2, end) infinite alternate !important;
}
@keyframes boot-cat-tail { to { transform: rotate(25deg) translateY(-2px); } }

/* Cleaner sitting-cat silhouette for the boot sequence. */
.boot-walker {
  width: 28px;
  height: 20px;
  bottom: 5px;
  background: #c14b91;
  border: 2px solid #3b3542;
  border-radius: 8px 8px 4px 4px;
  box-shadow: 3px 3px 0 rgba(59,53,66,.42);
}
.boot-walker i { display: none !important; }
.boot-walker::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 3px;
  width: 20px;
  height: 19px;
  z-index: 2;
  background:
    radial-gradient(circle at 31% 55%, #3b3542 0 2px, transparent 2.5px),
    radial-gradient(circle at 69% 55%, #3b3542 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 72%, #c14b91 0 1.5px, transparent 2px),
    #c8b98e;
  border: 2px solid #3b3542;
  clip-path: polygon(0 18%, 23% 0, 34% 16%, 66% 16%, 77% 0, 100% 18%, 94% 82%, 78% 100%, 22% 100%, 6% 82%);
}
.boot-walker::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: 8px;
  width: 14px;
  height: 6px;
  z-index: -1;
  background: #c8b98e;
  border: 2px solid #3b3542;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  transform-origin: left center;
  animation: cat-tail .45s steps(2, end) infinite alternate;
}
@keyframes cat-tail { to { transform: rotate(25deg) translateY(-2px); } }

/* Re-skin the boot walker as a tiny pixel cat. */
.boot-walker { width: 30px; height: 36px; }
.boot-walker::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 3;
  width: 3px;
  height: 3px;
  background: #3b3542;
  box-shadow: 9px 0 0 #3b3542;
}
.boot-walker::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 13px;
  z-index: 3;
  width: 3px;
  height: 2px;
  background: #c14b91;
}
.walker-head {
  top: 1px;
  left: 5px;
  width: 20px;
  height: 17px;
  background: #c8b98e !important;
  border: 2px solid #3b3542;
  border-radius: 45% 45% 40% 40%;
}
.walker-head::before,
.walker-head::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 9px;
  height: 9px;
  background: #c8b98e;
  border: 2px solid #3b3542;
  transform: rotate(45deg);
}
.walker-head::before { left: -2px; }
.walker-head::after { right: -2px; }
.walker-body {
  top: 17px;
  left: 7px;
  width: 16px;
  height: 12px;
  background: #c14b91 !important;
  border: 2px solid #3b3542;
  border-radius: 5px 5px 2px 2px;
}
.walker-arm {
  top: 20px;
  left: 21px;
  width: 13px;
  height: 4px;
  background: #c8b98e !important;
  transform: rotate(-24deg);
  animation: cat-tail .45s steps(2, end) infinite alternate;
}
.walker-leg {
  top: 28px;
  width: 5px;
  height: 8px;
  background: #3b3542 !important;
}
.walker-leg-left { left: 8px; }
.walker-leg-right { left: 17px; }
@keyframes cat-tail { to { transform: rotate(24deg); } }

/* Keep compact desktop windows from squeezing the two-column hero off-screen. */
@media (max-width: 1100px) and (min-width: 621px) {
  .topbar, main, footer { width: min(760px, calc(100% - 64px)); }
  .hero, .split, .signal, .faq-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 58px; padding: 72px 0 105px; }
  .hero-copy, .hero-console { min-width: 0; }
  .hero-console { width: min(620px, 100%); justify-self: center; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { min-width: 0; padding: 18px; }
  .card h3 { font-size: 19px; }
  .roadmap-item { grid-template-columns: 110px minmax(0, 1fr) 90px; gap: 18px; }
}

/* Tiny virtual-pet loop inside the display artwork. */
.mini-pet {
  position: absolute;
  left: 38%;
  bottom: 16%;
  width: 24%;
  height: 43%;
  background: #d9e8a3;
  border: 2px solid #394826;
  box-shadow: 2px 2px 0 rgba(57,72,38,.65);
  animation: mini-pet-idle 1.8s steps(2, end) infinite;
}
.mini-pet::before,
.mini-pet::after {
  content: "";
  position: absolute;
  top: 27%;
  width: 16%;
  height: 14%;
  background: #394826;
  animation: mini-pet-blink 4.2s steps(2, end) infinite;
}
.mini-pet::before { left: 22%; }
.mini-pet::after { right: 22%; }
.mini-pet i {
  position: absolute;
  left: -18%;
  top: -17%;
  width: 32%;
  height: 27%;
  background: #b4c27d;
  border: 2px solid #394826;
  transform: skewY(-28deg);
}
.mini-food {
  position: absolute;
  right: 14%;
  bottom: 15%;
  width: 22%;
  height: 13%;
  background: #e2d6a2;
  border: 2px solid #394826;
  border-radius: 0 0 8px 8px;
}
.mini-heart {
  position: absolute;
  right: 11%;
  top: 16%;
  color: #c14b91;
  font: 15px/1 var(--pixel);
  animation: mini-heart-float 1.8s steps(3, end) infinite;
}
.mini-status {
  position: absolute;
  left: 8%;
  top: 8%;
  color: rgba(217,232,163,.7);
  font: 6px var(--mono);
  letter-spacing: .08em;
}
@keyframes mini-pet-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5%); }
}
@keyframes mini-pet-blink {
  0%, 45%, 52%, 100% { transform: scaleY(1); }
  48%, 50% { transform: scaleY(.18); }
}
@keyframes mini-heart-float {
  0%, 100% { opacity: .45; transform: translateY(4px); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* Keep the final cat appearance after every legacy walker declaration. */
.boot-walker { width: 28px !important; height: 20px !important; bottom: 5px !important; background: #c14b91 !important; border: 2px solid #3b3542 !important; border-radius: 8px 8px 4px 4px !important; box-shadow: 3px 3px 0 rgba(59,53,66,.42) !important; }
.boot-walker i { display: none !important; }
.boot-walker::before { content: "" !important; position: absolute !important; top: -18px !important; left: 3px !important; width: 20px !important; height: 19px !important; z-index: 2 !important; background: radial-gradient(circle at 31% 55%, #3b3542 0 2px, transparent 2.5px), radial-gradient(circle at 69% 55%, #3b3542 0 2px, transparent 2.5px), radial-gradient(circle at 50% 72%, #c14b91 0 1.5px, transparent 2px), #c8b98e !important; border: 2px solid #3b3542 !important; clip-path: polygon(0 18%, 23% 0, 34% 16%, 66% 16%, 77% 0, 100% 18%, 94% 82%, 78% 100%, 22% 100%, 6% 82%) !important; }
.boot-walker::after { content: "" !important; position: absolute !important; top: auto !important; right: -13px !important; bottom: 8px !important; left: auto !important; width: 14px !important; height: 6px !important; z-index: -1 !important; background: #c8b98e !important; border: 2px solid #3b3542 !important; border-left: 0 !important; border-radius: 0 8px 8px 0 !important; transform-origin: left center !important; animation: boot-cat-tail-final .45s steps(2, end) infinite alternate !important; }
@keyframes boot-cat-tail-final { to { transform: rotate(25deg) translateY(-2px); } }

/* Dedicated four-tone Game Boy cat sprite. */
.boot-walker { width: 48px !important; height: 38px !important; bottom: 4px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.boot-walker::before, .boot-walker::after { content: none !important; }

.brain-section { scroll-margin-top: 92px; }
.brain-section[hidden], .brain-panel[hidden] { display: none !important; }
.brain-card, .brain-panel { border: 1px solid var(--line); background: rgba(23, 24, 29, .86); padding: clamp(22px, 4vw, 42px); box-shadow: 8px 8px 0 rgba(193, 75, 145, .72); }
.brain-card { max-width: 560px; }
.brain-card h2, .brain-panel h2 { margin: 8px 0 12px; }
.brain-card > p:not(.mint-status) { color: var(--muted); max-width: 560px; }
.brain-login-form { display: grid; gap: 12px; max-width: 420px; margin-top: 28px; }
.brain-login-form label { color: var(--cream); font-size: 11px; letter-spacing: .12em; }
.brain-login-form input { width: 100%; border: 1px solid var(--line); background: #111118; color: var(--cream); padding: 13px 14px; font: inherit; }
.brain-message { min-height: 20px; margin: 14px 0 0; color: var(--orange); font-size: 12px; letter-spacing: .04em; }
.brain-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.brain-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.brain-actions .button { padding: 10px 14px; }
.brain-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 20px; }
.brain-stats span { border-top: 1px solid var(--line); padding-top: 11px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.brain-stats strong { display: block; color: var(--cream); font-size: 24px; margin-top: 5px; }
.brain-rows { display: grid; gap: 10px; }
.brain-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--line); background: rgba(12, 13, 18, .72); padding: 16px; }
.brain-row h3 { margin: 0 0 7px; font-size: 15px; overflow-wrap: anywhere; }
.brain-row p { margin: 4px 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.brain-row a { color: var(--cream); }
.brain-row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.brain-row-actions .button { padding: 9px 11px; font-size: 10px; }
.brain-status { color: var(--lime); font-size: 10px; letter-spacing: .1em; }
@media (max-width: 620px) {
  .brain-panel-head, .brain-row { grid-template-columns: 1fr; display: grid; }
  .brain-actions, .brain-row-actions { justify-content: flex-start; }
  .brain-stats { gap: 8px; }
  .brain-stats strong { font-size: 19px; }
}

/* Readability and accessibility refinements. */
body { font-family: "Roboto Slab", Georgia, serif; }
.lede, .section-copy p, .signal-head > p:last-child, .cta > p, .faq p, .card p, .matrix-item p, .roadmap-item p { color: #c4bac7; }
.noise { opacity: .025; }
.scanlines { opacity: .035; }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
.mint-status { display: inline-block; margin: 0 0 18px; padding: 8px 11px; color: var(--ink); background: var(--acid); font: 11px var(--mono); letter-spacing: .08em; box-shadow: 4px 4px 0 var(--pink); }
.game-rules { margin: 8px 0 0; color: var(--muted); font: 10px/1.65 var(--mono); }
section[id] { scroll-margin-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Final mobile alignment pass. */
@media (max-width: 620px) {
  body { overflow-x: hidden; }
  .topbar, main, footer { width: calc(100% - 28px); max-width: 100%; }
  .topbar { align-items: center; padding-top: 14px; }
  .brand-wordmark { width: 104px; }
  .nav { width: 100%; order: 3; justify-content: center; gap: clamp(18px, 8vw, 34px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 40px 0 70px; }
  .hero-copy { width: 100%; }
  h1 { max-width: none; margin: 18px 0 20px; font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .hero-console { width: 100%; max-width: 100%; margin: 0; padding: 9px; transform: none; }
  .hero-art { width: 100%; max-width: 100%; border-width: 6px; }
  .art-meta { font-size: 8px; }
  .audio-toggle { right: 12px; bottom: 12px; }
}
.cat-sprite i { display: block !important; }
.allocation { display: none !important; }

/* Embedded GTD access application. The form lives on the main site; its API remains configurable. */
.whitelist-section { scroll-margin-top: 92px; }
.whitelist-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr); gap: 40px; align-items: end; margin-top: 34px; }
.whitelist-head h2 { max-width: 9ch; margin: 0 0 22px; }
.whitelist-intro { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.whitelist-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(18,16,29,.55); }
.whitelist-stats span { display: grid; gap: 8px; min-height: 86px; padding: 16px; color: var(--muted); border-right: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .08em; }
.whitelist-stats span:last-child { border-right: 0; }
.whitelist-stats strong { color: var(--acid); font: 20px var(--pixel); letter-spacing: 0; }
.whitelist-status { margin: 28px 0 16px; padding: 13px 15px; color: var(--acid); border: 1px solid rgba(217,232,163,.4); background: rgba(217,232,163,.05); font: 10px var(--mono); letter-spacing: .08em; }
.whitelist-status.is-closed { color: var(--pink); border-color: rgba(193,75,145,.65); }
.whitelist-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.whitelist-step { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--line); background: rgba(18,16,29,.6); }
.whitelist-step legend { padding: 0 8px 0 0; color: var(--acid); font: 10px var(--mono); letter-spacing: .08em; }
.whitelist-step legend span { color: var(--pink); margin-right: 8px; }
.whitelist-step h3 { margin: 20px 0 12px; color: var(--paper); font: 18px/1.15 var(--pixel); }
.whitelist-step > p { min-height: 54px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.whitelist-actions { display: grid; gap: 9px; margin-top: 20px; }
.whitelist-actions .button { justify-content: space-between; width: 100%; padding: 13px 14px; font-size: 9px; }
.whitelist-actions .button:disabled { cursor: not-allowed; opacity: .45; }
.whitelist-step-status { min-height: 0 !important; margin: 12px 0 0; color: var(--acid) !important; font: 9px/1.6 var(--mono) !important; }
.whitelist-step-status.is-checking { color: var(--orange) !important; }
.whitelist-field { margin: 18px 0; }
.whitelist-field label { display: block; margin-bottom: 8px; color: var(--acid); font: 9px var(--mono); letter-spacing: .08em; }
.whitelist-field input { box-sizing: border-box; width: 100%; min-height: 49px; padding: 13px; color: var(--paper); background: #201c29; border: 1px solid rgba(232,223,210,.35); font: 13px var(--mono); }
.whitelist-field input::placeholder { color: #928999; }
.whitelist-field input:focus { border-color: var(--acid); outline: 3px solid rgba(217,232,163,.2); outline-offset: 2px; }
.whitelist-field input.is-invalid { border-color: var(--pink); }
.whitelist-error { min-height: 14px; margin: 6px 0 0; color: var(--pink); font: 9px/1.5 var(--mono); }
.whitelist-submit { width: 100%; justify-content: space-between; margin-top: 8px; }
.whitelist-submit:disabled { cursor: wait; opacity: .55; }
.whitelist-form-message { min-height: 18px !important; margin: 13px 0 0; color: var(--pink) !important; font: 10px/1.5 var(--mono) !important; }
.whitelist-success { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; margin-top: 14px; padding: 18px; border: 1px solid var(--acid); background: #20271a; box-shadow: 6px 6px 0 var(--pink); }
.whitelist-success[hidden] { display: none !important; }
.whitelist-success img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 3px solid #a4b277; }
.whitelist-success h3 { margin: 12px 0; color: var(--paper); font: 20px var(--pixel); }
.whitelist-success p:not(.section-kicker) { color: var(--muted); line-height: 1.65; font-size: 14px; }
@media (max-width: 900px) {
  .whitelist-head { grid-template-columns: 1fr; }
  .whitelist-form { grid-template-columns: 1fr; }
  .whitelist-step > p { min-height: 0; }
}
@media (max-width: 620px) {
  .whitelist-head { gap: 24px; margin-top: 24px; }
  .whitelist-intro { font-size: 14px; }
  .whitelist-stats { grid-template-columns: 1fr; }
  .whitelist-stats span { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .whitelist-stats span:last-child { border-bottom: 0; }
  .whitelist-step { padding: 18px 15px; }
  .whitelist-actions { gap: 10px; }
  .whitelist-actions .button, .whitelist-submit { min-height: 48px; }
  .whitelist-success { grid-template-columns: 1fr; }
  .whitelist-success img { max-width: 180px; }
}

/* Project allocation block and compact background-music control. */
.allocation { max-width: 420px; margin-top: 38px; padding: 16px 18px 8px; border: 1px solid rgba(200,185,142,.32); background: rgba(18,16,29,.28); }
.allocation-head, .allocation-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font: 10px var(--mono); }
.allocation-head { padding-bottom: 12px; color: var(--acid); border-bottom: 1px solid var(--line); letter-spacing: .08em; }
.allocation-head span:last-child { color: var(--muted); font-size: 9px; }
.allocation-row { padding: 12px 0 10px; color: var(--muted); border-bottom: 1px solid rgba(232,223,210,.1); }
.allocation-row:last-child { border-bottom: 0; }
.allocation-row strong { color: var(--paper); font-weight: 400; white-space: nowrap; }
.allocation-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--acid); box-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.allocation-vault { background: var(--pink); }
.allocation-community { background: var(--orange); }
.audio-toggle { position: fixed; right: 22px; bottom: 20px; z-index: 35; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; color: var(--acid); background: rgba(18,16,29,.9); border: 1px solid rgba(200,185,142,.7); box-shadow: 3px 3px 0 var(--pink); font: 9px var(--mono); }
.audio-toggle:hover { color: var(--paper); border-color: var(--paper); transform: translate(1px,1px); }
.audio-bars { display: inline-flex; align-items: end; gap: 2px; height: 12px; }
.audio-bars i { display: block; width: 2px; height: 5px; background: var(--pink); }
.audio-bars i:nth-child(2) { height: 9px; }
.audio-bars i:nth-child(3) { height: 12px; }
.audio-knob { color: var(--muted); font-size: 12px; line-height: 1; }
.audio-toggle[aria-pressed="false"] { color: var(--muted); opacity: .78; box-shadow: 2px 2px 0 rgba(193,75,145,.45); }
.audio-toggle[aria-pressed="false"] .audio-bars i { height: 3px; background: var(--muted); }
.audio-toggle[aria-pressed="false"] .audio-bars i:nth-child(2) { height: 3px; }
.audio-toggle[aria-pressed="false"] .audio-bars i:nth-child(3) { height: 3px; }
@media (max-width: 620px) {
  .allocation { margin-top: 30px; padding-inline: 13px; }
  .allocation-head, .allocation-row { font-size: 9px; }
  .audio-toggle { right: 14px; bottom: 14px; padding: 8px 9px; }
}
.cat-sprite { position: absolute; left: 0; bottom: 0; width: 42px; height: 36px; animation: cat-sprite-step .38s steps(2, end) infinite alternate; }
.cat-sprite::before { content: ""; position: absolute; top: 2px; left: 9px; width: 24px; height: 19px; z-index: 2; background: #d9e8a3; border: 2px solid #394826; clip-path: polygon(0 20%, 18% 0, 34% 14%, 66% 14%, 82% 0, 100% 20%, 92% 88%, 76% 100%, 24% 100%, 8% 88%); }
.cat-sprite::after { content: ""; position: absolute; left: 7px; bottom: 1px; width: 28px; height: 17px; background: #b4bd7c; border: 2px solid #394826; border-radius: 8px 8px 4px 4px; }
.cat-eye { position: absolute; top: 12px; z-index: 3; width: 3px; height: 3px; background: #394826; }
.cat-eye-left { left: 16px; }
.cat-eye-right { left: 25px; }
.cat-nose { position: absolute; top: 17px; left: 20px; z-index: 3; width: 4px; height: 2px; background: #687344; }
.cat-ear { position: absolute; top: 4px; z-index: 3; width: 5px; height: 7px; background: #687344; transform: rotate(45deg); }
.cat-ear-left { left: 12px; }
.cat-ear-right { left: 26px; }
.cat-tail { position: absolute; right: -3px; bottom: 12px; z-index: 1; width: 15px; height: 5px; background: #d9e8a3; border: 2px solid #394826; border-left: 0; border-radius: 0 8px 8px 0; transform-origin: left center; animation: cat-sprite-tail .55s steps(2, end) infinite alternate; }
.cat-paw { position: absolute; bottom: 0; z-index: 3; width: 6px; height: 7px; background: #394826; }
.cat-paw-left { left: 12px; }
.cat-paw-right { left: 25px; }
@keyframes cat-sprite-step { to { transform: translateY(-2px); } }
@keyframes cat-sprite-tail { to { transform: rotate(24deg); } }
.boot-walker::before, .boot-walker::after { content: none !important; }
