:root {
  --acid: #b8ff00;
  --acid-soft: #d9ff56;
  --cream: #f4f1e8;
  --ink: #0c0c0b;
  --orange: #ff5b2d;
  --pink: #ff77bd;
  --blue: #5ecbff;
  --green: #35f49a;
  --shadow: rgba(12, 12, 11, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.35), transparent 22%),
    radial-gradient(circle at 30% 88%, rgba(255, 119, 189, 0.16), transparent 20%),
    var(--acid);
  font-family: "Arial Black", Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px 50px;
  background: var(--acid);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 26px;
  font-weight: 950;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 38px;
  font-size: 13px;
  font-weight: 950;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-btn,
.x-btn,
.buy-btn,
.orange-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 4px solid var(--ink);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--shadow);
  font-weight: 950;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.wallet-btn:hover,
.x-btn:hover,
.buy-btn:hover,
.orange-btn:hover,
.outline-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shadow);
}

.wallet-btn {
  min-width: 124px;
  padding: 0 16px;
  background: var(--cream);
}

.x-btn {
  width: 54px;
  color: var(--acid);
  background: var(--ink);
  font-size: 22px;
}

.buy-btn,
.orange-btn {
  min-width: 152px;
  padding: 0 24px;
  color: var(--cream);
  background: var(--orange);
}

.ticker {
  position: sticky;
  top: 74px;
  z-index: 45;
  overflow: hidden;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.ticker div {
  display: inline-block;
  min-width: 200%;
  padding: 10px 0;
  animation: marquee 22s linear infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 46px;
  width: min(1160px, calc(100% - 72px));
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  padding: 42px 0 48px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 30px;
  padding: 0 20px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 4px 4px 0 rgba(12, 12, 11, 0.35);
  font-size: 13px;
  font-weight: 950;
}

.status-pill span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(66px, 9vw, 128px);
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--cream), 9px 9px 0 rgba(12, 12, 11, 0.22);
}

h1 span {
  color: var(--orange);
}

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.outline-btn {
  min-width: 146px;
  padding: 0 22px;
  background: var(--cream);
}

.ca-card {
  width: min(560px, 100%);
  padding: 18px 20px;
  border: 4px solid var(--ink);
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--shadow);
}

.ca-card small {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(12, 12, 11, 0.64);
}

.ca-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: "Courier New", monospace;
  font-size: 17px;
}

.tiny-note {
  margin-top: 18px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.hero-art {
  position: relative;
  padding: 18px 18px 76px;
  transform: rotate(2deg);
  border: 6px solid var(--ink);
  background: var(--cream);
  box-shadow: 18px 18px 0 var(--shadow);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -44px -36px auto auto;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  background: #9ff4ff;
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: 4px;
}

.power-sticker {
  position: absolute;
  left: -34px;
  top: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  transform: rotate(-12deg);
}

.power-sticker strong {
  font-size: 32px;
  line-height: 0.9;
}

.power-sticker span {
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.lore,
.engine-panel,
.steps,
.tokenomics {
  width: min(1160px, calc(100% - 72px));
  margin: 26px auto;
}

.lore {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 34px;
  border: 5px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--shadow);
}

.lore h2,
.steps h2,
.tokenomics h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.95;
}

.lore p {
  margin-bottom: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.68;
}

.engine-panel {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 360px;
  align-items: stretch;
  gap: 18px;
}

.dial-card,
.controls,
.stat-grid article,
.steps,
.tokenomics {
  border: 5px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--shadow);
}

.dial-card {
  padding: 24px;
  text-align: center;
}

.dial {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin: 0 auto 18px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cream) 0 50%, transparent 51%),
    conic-gradient(var(--orange) calc(var(--flow, 76) * 1%), var(--blue) 0 78%, rgba(12, 12, 11, 0.18) 0);
}

.dial strong {
  font-size: 56px;
  line-height: 0.85;
}

.dial span {
  font-size: 12px;
}

.dial-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.dial-card p {
  margin-bottom: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 800;
  line-height: 1.5;
}

.controls {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.controls label {
  display: grid;
  gap: 10px;
  font-weight: 950;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-grid article {
  min-height: 116px;
  padding: 18px;
}

.stat-grid span {
  display: block;
  margin-bottom: 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.stat-grid strong {
  font-size: 30px;
  color: var(--orange);
}

.steps,
.tokenomics {
  padding: 34px;
}

.step-grid,
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step-grid article,
.token-grid article {
  min-height: 240px;
  padding: 22px;
  border: 5px solid var(--ink);
  background: white;
  box-shadow: 6px 6px 0 var(--shadow);
}

.step-grid img {
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
}

.step-grid b {
  display: block;
  color: var(--orange);
  font-size: 38px;
}

.step-grid h3 {
  margin: 8px 0 12px;
  font-size: 24px;
}

.step-grid p {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: rgba(12, 12, 11, 0.72);
  font-weight: 800;
  line-height: 1.58;
}

.tokenomics {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.token-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.token-grid article {
  min-height: 130px;
  background: var(--acid-soft);
}

.token-grid span {
  display: block;
  font-size: 44px;
  line-height: 1;
  color: var(--orange);
}

.token-grid b {
  display: block;
  margin-top: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 72px));
  margin: 30px auto 48px;
  padding: 22px 0;
  font-size: 17px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1020px) {
  .topbar {
    flex-wrap: wrap;
    padding: 14px 22px;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .lore,
  .engine-panel,
  .tokenomics {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 560px;
    margin: 0 auto;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 12px;
    min-height: 74px;
  }

  .brand span {
    display: none;
  }

  nav {
    display: none;
  }

  .top-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .buy-btn {
    display: none;
  }

  .ticker {
    top: 74px;
  }

  .hero,
  .lore,
  .engine-panel,
  .steps,
  .tokenomics,
  footer {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-art {
    transform: rotate(0deg);
  }

  h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 18px;
  }

  .stat-grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
