:root {
  --sky: #8fdfff;
  --sky-deep: #5dbef2;
  --paper: #fff6df;
  --paper-strong: #f4e5c2;
  --ink: #141414;
  --ink-soft: rgba(20, 20, 20, 0.75);
  --bsc-yellow: #f3c92d;
  --acid: #cdff3d;
  --acid-deep: #94bd11;
  --meme-pink: #ff6f92;
  --meme-orange: #ff9543;
  --mud: #8d4f24;
  --mud-deep: #5f2f12;
  --board: #29563d;
  --chalk: #e9ffec;
  --line: rgba(20, 20, 20, 0.18);
  --shadow: 8px 8px 0 rgba(20, 20, 20, 0.9);
  --max-width: 1200px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Marker Felt", "Chalkboard SE", "Comic Sans MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 10%, rgba(205, 255, 61, 0.15), transparent 22%),
    radial-gradient(circle at 90% 16%, rgba(255, 111, 146, 0.14), transparent 25%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 41%, #191b21 41%, #101217 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.cloud {
  position: absolute;
  z-index: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 3px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  filter: drop-shadow(5px 5px 0 rgba(255, 255, 255, 0.22));
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 12px;
  background: inherit;
  border: inherit;
  border-radius: inherit;
}

.cloud-a {
  width: 170px;
  height: 62px;
  top: 74px;
  left: 5%;
  animation: drift 14s ease-in-out infinite;
}

.cloud-a::before {
  width: 62px;
  height: 62px;
  left: 20px;
}

.cloud-a::after {
  width: 74px;
  height: 74px;
  right: 12px;
}

.cloud-b {
  width: 214px;
  height: 74px;
  top: 148px;
  right: 7%;
  animation: drift 18s ease-in-out infinite reverse;
}

.cloud-b::before {
  width: 72px;
  height: 72px;
  left: 30px;
}

.cloud-b::after {
  width: 88px;
  height: 88px;
  right: 24px;
}

.cloud-c {
  width: 130px;
  height: 54px;
  top: 316px;
  left: 47%;
  animation: drift 20s ease-in-out infinite;
}

.cloud-c::before {
  width: 54px;
  height: 54px;
  left: 12px;
}

.cloud-c::after {
  width: 62px;
  height: 62px;
  right: 10px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(20, 20, 20, 0.93);
  color: #f8f8f8;
  border: 4px solid var(--bsc-yellow);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--bsc-yellow);
  color: #111;
  font-size: 1.35rem;
}

.brand-avatar {
  overflow: hidden;
  padding: 0;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 14% center;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 6px;
  color: rgba(248, 248, 248, 0.8);
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.btn,
.mini-btn,
.copy-contract,
.skill-btn {
  border: 3px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    filter 170ms ease;
}

.btn:hover,
.mini-btn:hover,
.copy-contract:hover,
.skill-btn:hover {
  transform: translate(-1px, -2px);
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.9);
}

.btn-acid {
  background: linear-gradient(135deg, var(--acid), #f3ff96);
  color: #111;
}

.btn-ink {
  background: linear-gradient(135deg, var(--mud), var(--mud-deep));
  color: #fff7ec;
  border-color: #2a1508;
}

.btn-x {
  gap: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, #05080d, #1a202a);
  color: #f8fbff;
  border-color: #d6e1ef;
}

.btn-x svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-x span {
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.btn-paper {
  background: var(--paper);
  color: #111;
}

.mini-btn,
.copy-contract {
  min-height: 38px;
  padding: 0 13px;
  background: var(--paper);
  color: #111;
  box-shadow: 3px 3px 0 rgba(20, 20, 20, 0.85);
}

.meme-tape {
  position: relative;
  z-index: 8;
  overflow: hidden;
  border-block: 4px solid #111;
  background: repeating-linear-gradient(-45deg, #111 0 14px, var(--bsc-yellow) 14px 28px);
}

.tape-track {
  display: flex;
  gap: 28px;
  min-width: max-content;
  padding: 8px 0;
  color: #111;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.tape-track span {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid #111;
  border-radius: 999px;
  padding: 3px 10px;
}

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 82px 20px;
}

.hero {
  padding-top: 50px;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: start;
  gap: 28px;
}

.hero-note,
.game-stage,
.paper-card,
.note-card,
.guide-card,
.roadmap-card,
.stats-notes,
.chalkboard,
.skill-panel {
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-note {
  padding: 28px;
  background: var(--paper);
  transform: rotate(-1.1deg);
}

.eyebrow,
.meta-label,
.paper-no,
.roadmap-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--bsc-yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note h1,
.section-head h2,
.game-header h2 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.hero-note h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 10ch;
}

.hero-lead,
.section-head p,
.paper-card p,
.note-card p,
.guide-card p,
.roadmap-card p,
.stats-notes p,
.footer p,
.game-tip,
.wallet-state,
.chain-state,
.premium-note,
.tx-note,
.skill-counter,
.skill-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}

.wallet-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-state,
.chain-state {
  padding: 8px 12px;
  border: 3px dashed var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

.wallet-state {
  color: #204e12;
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 3px dashed var(--ink);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
}

.contract-value {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.contract-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 800;
}

.scribble-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.scribble-list li {
  padding: 8px 12px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, var(--paper));
  font-weight: 800;
}

.game-stage {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 223, 0.9));
  transform: rotate(0.7deg);
}

.game-header,
.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.game-header {
  padding: 8px 6px 12px;
}

.game-header h2 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.game-frame {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: linear-gradient(180deg, #a6e8ff 0%, #87d4ff 84%, #74ca5f 84%, #74ca5f 100%);
  aspect-ratio: 15 / 8;
}

.game-mount,
.game-overlay {
  position: absolute;
  inset: 0;
}

.game-mount {
  z-index: 1;
}

.game-mount > *,
.game-mount ruffle-player {
  display: block;
  width: 100%;
  height: 100%;
}

.game-overlay {
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(153, 223, 255, 0.94), rgba(255, 246, 223, 0.88));
  transition: opacity 220ms ease, visibility 220ms ease;
}

.game-overlay img {
  display: block;
  width: min(320px, 72%);
  border: 3px solid var(--ink);
  border-radius: 16px;
}

.game-overlay p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.game-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.game-status {
  margin: 0;
  font-weight: 900;
}

.game-status:empty {
  display: none;
}

.game-tip {
  text-align: right;
  max-width: 38ch;
}

.skill-panel {
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(35, 35, 35, 0.96));
  color: #f8f8f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.skill-head {
  margin-bottom: 12px;
}

.skill-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--acid);
}

.skill-head p {
  margin-top: 6px;
  color: rgba(248, 248, 248, 0.8);
}

.skill-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.free-skill-block,
.premium-skill-block {
  border: 3px solid rgba(248, 248, 248, 0.2);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.free-skill-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.skill-btn {
  border-radius: 18px;
  min-height: 54px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  line-height: 1.15;
}

.skill-btn small {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  opacity: 0.86;
}

.skill-btn.is-free {
  background: linear-gradient(135deg, #2f2f2f, #3a3a3a);
  border-color: rgba(248, 248, 248, 0.3);
  color: #f8f8f8;
}

.skill-btn.is-premium {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--meme-pink), var(--meme-orange));
  color: #111;
  box-shadow: 4px 4px 0 rgba(248, 248, 248, 0.28);
}

.skill-btn.is-premium.is-running {
  filter: grayscale(0.2);
  opacity: 0.8;
}

.premium-skill-block h4 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #ffd79a;
}

.premium-skill-block p {
  margin: 0;
  color: rgba(248, 248, 248, 0.78);
}

.burn-input-wrap {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto minmax(80px, 120px) auto;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 14px;
  border: 2px solid rgba(248, 248, 248, 0.26);
}

.burn-input-wrap span,
.burn-input-wrap em {
  font-size: 0.92rem;
  font-weight: 700;
}

.burn-input-wrap em {
  font-style: normal;
}

.burn-input {
  width: 100%;
  min-height: 38px;
  border: 2px solid rgba(248, 248, 248, 0.36);
  border-radius: 10px;
  background: rgba(8, 8, 8, 0.76);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.premium-note {
  margin-top: 10px;
}

.tx-note {
  margin-top: 6px;
  color: #c8f8d0;
  overflow-wrap: anywhere;
}

.tx-note a {
  color: var(--acid);
  text-decoration: underline;
}

.skill-counter {
  margin-top: 12px;
  padding: 10px 12px;
  border: 2px dashed rgba(248, 248, 248, 0.36);
  border-radius: 14px;
  color: #f8f8f8;
  font-weight: 700;
}

.attack-log {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid rgba(205, 255, 61, 0.35);
  background: rgba(205, 255, 61, 0.08);
  color: #f8f8f8;
  font-weight: 700;
}

.attack-log.is-hot {
  animation: attackPulse 240ms ease-out;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.tokenomics .section-head,
.leaderboard .section-head,
.buy-guide .section-head,
.roadmap .section-head {
  padding: 22px 24px;
  border: 4px solid var(--ink);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(205, 255, 61, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 246, 223, 0.98), rgba(244, 229, 194, 0.98));
  box-shadow: var(--shadow);
}

.tokenomics .section-head h2,
.leaderboard .section-head h2,
.buy-guide .section-head h2,
.roadmap .section-head h2,
.tokenomics .section-head p,
.leaderboard .section-head p,
.buy-guide .section-head p,
.roadmap .section-head p {
  color: var(--ink);
}

.paper-grid,
.notes-board,
.guide-row,
.roadmap-row {
  display: grid;
  gap: 18px;
}

.paper-grid,
.guide-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notes-board,
.roadmap-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-card,
.note-card,
.guide-card,
.roadmap-card,
.stats-notes {
  padding: 22px;
  background: var(--paper);
}

.tilt-left {
  transform: rotate(-1deg);
}

.tilt-right {
  transform: rotate(1deg);
}

.paper-card h3,
.note-card h3,
.guide-card h3,
.roadmap-card h3,
.stats-note strong {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.paper-no {
  background: var(--acid);
}

.note-card {
  position: relative;
}

.note-card::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.note-yellow {
  background: #fff2a8;
  transform: rotate(-0.8deg);
}

.note-green {
  background: #d5f8a6;
  transform: rotate(0.9deg);
}

.note-pink {
  background: #ffc6d2;
  transform: rotate(-0.5deg);
}

.note-paper {
  background: #fff7e7;
  transform: rotate(1.2deg);
}

.board-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.chalkboard {
  padding: 18px;
  background: linear-gradient(180deg, #346f4a 0%, var(--board) 100%);
  color: var(--chalk);
}

.board-head,
.board-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 140px 100px;
  gap: 12px;
  align-items: center;
}

.board-head {
  padding: 4px 16px 14px;
  color: rgba(233, 255, 238, 0.85);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.board-body {
  display: grid;
  gap: 12px;
}

.board-row {
  padding: 16px;
  border: 3px solid rgba(233, 255, 238, 0.26);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(233, 255, 238, 0.84);
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.target,
.hits,
.trend {
  font-size: 1.05rem;
  font-weight: 800;
}

.trend.up {
  color: #d2ffc3;
}

.trend.hot {
  color: #fff4a8;
}

.stats-notes {
  transform: rotate(1deg);
}

.stats-note {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 3px dashed var(--ink);
}

.guide-card strong,
.roadmap-card span {
  background: var(--bsc-yellow);
}

.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: #f7f7f7;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.52rem;
}

.footer p {
  color: rgba(247, 247, 247, 0.85);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 11px 16px;
  border: 3px solid var(--bsc-yellow);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.94);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.84);
  font-weight: 800;
  color: #f8f8f8;
}

.launcher-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.launcher-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.launcher-panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  margin: min(11vh, 80px) auto;
  padding: 28px;
  border: 4px solid var(--bsc-yellow);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(205, 255, 61, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(25, 27, 33, 0.98), rgba(13, 14, 18, 0.98));
  color: #f8f8f8;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.launcher-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 3px solid var(--bsc-yellow);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
}

.launcher-panel h2 {
  margin: 16px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.98;
}

.launcher-copy,
.launcher-status,
.launcher-list {
  color: rgba(248, 248, 248, 0.82);
}

.launcher-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px dashed rgba(243, 201, 45, 0.5);
  background: rgba(243, 201, 45, 0.08);
  font-weight: 800;
}

.launcher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 14px;
}

.launcher-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.launcher-list li {
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 18px);
  z-index: 30;
  min-width: 230px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(20, 20, 20, 0.9);
  text-align: center;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 480ms ease,
    transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(16px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes attackPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.01);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 1140px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .hero,
  .board-wrap {
    grid-template-columns: 1fr;
  }

  .paper-grid,
  .guide-row,
  .notes-board,
  .roadmap-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .burn-input-wrap {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .burn-input {
    text-align: left;
    padding: 0 10px;
  }
}

@media (max-width: 720px) {
  .topbar {
    margin: 12px 14px 0;
    padding: 16px;
  }

  .topbar-actions,
  .nav-links,
  .footer,
  .footer-links,
  .hero-actions,
  .game-actions,
  .game-header,
  .game-footer,
  .launcher-actions {
    width: 100%;
  }

  .nav-links,
  .topbar-actions,
  .footer,
  .hero-actions,
  .game-actions,
  .launcher-actions {
    justify-content: center;
  }

  .game-header,
  .game-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-tip {
    text-align: left;
  }

  .section {
    padding: 70px 16px;
  }

  .hero {
    padding-top: 32px;
    gap: 20px;
  }

  .hero-note,
  .game-stage,
  .stats-notes {
    transform: none;
  }

  .contract-card {
    flex-direction: column;
    align-items: stretch;
  }

  .paper-grid,
  .guide-row,
  .notes-board,
  .roadmap-row {
    grid-template-columns: 1fr;
  }

  .board-head,
  .board-row {
    grid-template-columns: 64px minmax(0, 1fr) 92px 72px;
    font-size: 0.86rem;
  }
}
