@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --cream: #fff7e4;
  --butter: #ffd478;
  --forest: #182e25;
  --clay: #b24929;
  --ink: #1c251e;
  --blue: #f9efdc;
  --paper: var(--cream);
  --line: #c8bfaa;
  --type: Manrope, Arial, sans-serif;
  font-family: var(--type);
  background: var(--cream);
}
body { background: var(--cream); }
.brand { font-family: Fredoka, sans-serif; }
.header, .play-page .header { background: var(--cream); border-color: var(--line); }
.landing > .header { position: absolute; z-index: 5; inset: 0 0 auto; border: 0; color: var(--cream); background: transparent; }
.nav { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; min-height:84px; }
.nav .brand { justify-self:start; }
.nav-action { justify-self:end; }
.token-address { justify-self:center; max-width:100%; text-align:center; font-size:.82rem; font-weight:650; }
.token-address code { font-family:ui-monospace, monospace; font-weight:500; overflow-wrap:anywhere; user-select:all; }
.landing .token-address { text-shadow:0 1px 4px #132018; }
@media (max-width:800px) {
  .nav { grid-template-columns:1fr auto; row-gap:6px; padding-block:8px; }
  .token-address { grid-column:1 / -1; grid-row:2; font-size:clamp(.65rem,2.5vw,.8rem); }
  .nav-action { grid-column:2; grid-row:1; }
}
.nav-links { display: flex; gap: 6px; }
.nav-links a, .nav-action, .cover-play, .closing .pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--forest);
  padding: 10px 17px; border-radius: 100px; font-size: .89rem; font-weight: 650;
  border: 1px solid transparent; box-shadow: none;
}
.nav-links a:hover { background: #f5db9e; text-decoration: none; }
.play-page .nav-links a { border-color: var(--line); }
.nav-action, .closing .pill { background: var(--butter); }
.dark:hover, .play-cta:hover { background: #ffdf9d; color: var(--forest); }
.cover {
  position: relative; isolation: isolate; display: grid; align-items: stretch;
  background: #203126 url('/assets/arcade-press.jpg') center 55% / cover no-repeat;
  color: var(--cream);
  min-height: 100vh;
  min-height: 100dvh;
}
.cover::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #0d1d16c7, #17251c40 48%, transparent 72%), linear-gradient(180deg,#111d164d,transparent 20%,transparent 78%,#14231840);
}
.cover-inner { display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(130px, 17svh, 180px) 48px; gap: 26px; }
.cover-kicker { font-size: .78rem; letter-spacing: .18em; font-weight: 700; }
.cover h1, .section h2, .closing h2, .game-intro h1 {
  font-weight: 350; line-height: .94; letter-spacing: -.072em; text-transform: uppercase;
}
.cover h1 { margin: 14px 0 0 -.055em; font-size: clamp(5.8rem, 10.5vw, 11.5rem); }
.cover h1 em { font-style: normal; color: var(--butter); }
.cover-caption { max-width: 355px; }
.cover-caption p { line-height: 1.45; font-size: 1.07rem; font-weight: 500; }
.cover-play { gap: 12px; min-height: 48px; margin-top: 17px; font-size: 1rem; padding-inline: 21px 14px; }
.cover-play svg { width: 21px; height: 21px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .play-cta { transition: transform 180ms ease-out, background-color 180ms ease-out; }
  .play-cta svg { transition: transform 180ms ease-out; }
  .play-cta:hover { transform: translateY(-2px); }
  .play-cta:hover svg { transform: translateX(3px); }
}
.economy, .mechanics { background: var(--cream); }
.section { padding-block: clamp(65px,8vw,132px); }
.economy { padding-block: clamp(24px, 3vw, 48px) 0; }
.section-intro { margin-bottom: clamp(32px,5vw,70px); }
.section h2, .closing h2 { font-size: clamp(2.8rem, 5.9vw, 6.4rem); }
.section-intro p, .economy-note, .allocation-card p, .mechanics-grid p { color: #404940; }
.allocation { gap: 0; border-block: 1px solid var(--line); }
.allocation-card { background: transparent; border: 0; border-radius: 0; padding: 24px 28px 30px 0; }
.burn-card { padding-left: 32px; border-left: 1px solid var(--line); }
.amount { font-weight: 400; font-size: clamp(4rem,7vw,7.5rem); letter-spacing: -.075em; }
.amount small { font: 400 .42em/1 var(--type); letter-spacing: -.05em; }
.card-icon { top: 26px; right: 24px; }
.mechanics { border: 0; padding-block-start: clamp(24px, 3vw, 48px); }
.mechanics-grid { gap: 14px; }
.mechanics-grid article { background: #efead8; border: 0; border-radius: 4px; padding: 25px; }
.mechanics-grid article:nth-child(2) { background: #e4ebce; }
.mechanics-grid article:nth-child(3) { background: #f4d4b4; }
.mechanics-grid h3 { margin-top: 0; }
.closing { background: var(--forest); color: var(--cream); padding-block: clamp(52px,7vw,100px); }
.site-footer, .play-page .site-footer { background: var(--cream); border-color: var(--line); }
.play-page { background: var(--cream); }
.game-wrap { max-width: 1170px; }
.game-intro .eyebrow { padding: 0; border: 0; }
.status-dot { background: #43734b; box-shadow: 0 0 0 3px #c8dcbe; }
.game-intro h1 { font-size: clamp(3.3rem,6vw,6.5rem); }
.machine { border-color: #364639; background: var(--forest); color: var(--cream); border-radius: 16px; box-shadow: none; }
.arena {
  background-color: var(--butter);
  background-image: radial-gradient(circle at 1px 1px,#8b5a292f 1px,transparent 1.4px),radial-gradient(ellipse at 50% 30%,#ffeabb,#f1be65);
  background-size: 8px 8px, 100% 100%; border-color: #4b513d;
}
.arena .orbit { border-color: #965f2c; }
.arena .orbit-line { border-color: #fff7dc; }
.machine-bottom span { color: #e5dcc5; }
.sound { background: var(--cream); color: var(--forest); border: 0; padding-inline: 12px; }
.game-card { background: #fffbed; border-color: var(--line); border-radius: 14px; }
.stats dl>div, .history li { border-color: #dfd8c4; }
.goals { background: #e3ead4; }
.goals progress, .goals progress::-webkit-progress-bar { background: #c8d5ba; }
.goals progress::-webkit-progress-value { background: #405f43; }
.goals progress::-moz-progress-bar { background: #405f43; }
.game-intro p, .stats dt, .score small, .history p, .history li time { color: #485646; }
.key-rim, .key-top { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; }
.key-rim {
  width: 100%; padding: 8%; background: linear-gradient(138deg,#656553,#17221c 43%,#090f0c 79%,#5b543d);
  box-shadow: inset 0 0 0 3px #232b20,inset 2px 3px 8px #b0a27b,2px 8px 0 #473e2e,6px 17px 27px #503e284a;
}
.key-top {
  width: 100%; background: radial-gradient(ellipse at 35% 24%,#ffb04e,#ee7428 45%,#c74716 84%);
  box-shadow: inset 3px 5px 3px #ffd387,inset -5px -9px 3px #a73b15,0 2px 4px #30120d;
}
.key-top::before { content: ''; position: absolute; inset: 5%; border: 1px solid #fff0bc77; border-radius: 50%; }
.key-top svg { width: 53%; fill: #fff0c3; filter: drop-shadow(1px 3px 0 #9a502c); }
.arena.hot .key-top { box-shadow: inset 2px 5px 3px #fff0ba,inset -5px -9px 3px #aa4a18,0 0 28px #ffed85; }
@media (max-width: 690px) {
  .nav { min-height: 66px; }
  .nav-links { display: none; }
  .cover { background-position: 62% center; }
  .cover::before { background: linear-gradient(180deg,#101f18a8 0%,#1a251f3d 33%,transparent 55%,#121e17df 100%); }
  .cover-inner { padding-block: 110px 32px; }
  .cover h1 { font-size: clamp(4.6rem,18vw,7.5rem); }
  .cover-caption { max-width: 285px; }
  .cover-caption p { font-size: 1rem; }
  .allocation { grid-template-columns: 1fr 1fr; }
  .allocation-card { padding: 53px 12px 19px; }
  .allocation-card:first-child { padding-left: 0; }
  .allocation-card h3 { font-size: 1.15rem; }
  .allocation-card p { font-size: .95rem; }
  .card-icon { left: 10px; top: 11px; }
  .player-card .card-icon { left: 0; }
  .card-icon .arcade-icon { width: 29px; height: 29px; }
  .mechanics-grid article { padding: 20px; }
}
