:root {
  --lime: #e8ff46;
  --lime-soft: #f5ffc8;
  --lime-deep: #c7e934;
  --ink: #20232d;
  --black: #101116;
  --paper: #fbffe5;
  --muted: #4a4e57;
  --shadow: rgba(32, 35, 45, 0.42);
  --line: rgba(32, 35, 45, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.52), transparent 30%),
    radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, var(--lime-soft), var(--lime) 62%, #d9ff31);
  font-family: Arial, "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 40px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 86px);
  min-height: 84px;
  margin: 40px auto 0;
  padding: 14px 18px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(253, 255, 230, 0.9);
  box-shadow: 7px 7px 0 var(--shadow);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 12px;
}

.topbar nav a,
.btn,
.link-card,
.connect-like,
.top-action {
  border: 4px solid var(--ink);
  border-radius: 8px;
  color: var(--lime);
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(16, 17, 22, 0.5);
  font-weight: 900;
}

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

.top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.top-action:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(16, 17, 22, 0.5);
}

.wallet-action {
  min-width: 118px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--lime);
}

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

.topbar nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 50px;
  padding: 0 16px;
  font-size: 16px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  width: calc(100% - 86px);
  min-height: 510px;
  margin: 30px auto 0;
  overflow: hidden;
}

.watermark {
  position: absolute;
  left: -38px;
  right: -38px;
  top: 26px;
  color: rgba(32, 35, 45, 0.08);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 158px;
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  pointer-events: none;
}

.mascot-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 420px;
  height: 420px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--lime-soft);
  box-shadow: 12px 14px 0 rgba(32, 35, 45, 0.48);
}

.mascot-frame img {
  width: 94%;
  height: 94%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Impact, Haettenschweiler, "Arial Black", "Noto Sans SC", sans-serif;
  font-size: 96px;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 4px 5px 0 rgba(255, 255, 255, 0.78);
}

.lead {
  max-width: 770px;
  margin: 18px 0 0;
  color: #21232b;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.28;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  color: var(--lime);
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(16, 17, 22, 0.44);
  font-size: 17px;
  font-weight: 900;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: calc(100% - 86px);
  margin: 34px auto 0;
}

.link-card {
  display: grid;
  min-height: 136px;
  padding: 24px;
  text-align: left;
}

.link-card span {
  color: rgba(232, 255, 70, 0.72);
  font-size: 14px;
  font-weight: 900;
}

.link-card strong {
  align-self: end;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.story,
.score-panel,
.ca,
.kit,
.roadmap {
  width: calc(100% - 86px);
  margin: 36px auto 0;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(253, 255, 230, 0.78);
  box-shadow: 7px 7px 0 var(--shadow);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.story h2,
.roadmap h2,
.score-copy h2,
.ca h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", "Noto Sans SC", sans-serif;
  font-size: 62px;
  line-height: 0.98;
  text-transform: uppercase;
}

.story p:not(.kicker),
.score-copy p,
.roadmap p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.72;
}

.story img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--shadow);
}

.kit,
.roadmap,
.ca {
  padding: 34px;
}

.kit-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.kit-grid article,
.roadmap-grid article,
.ca-box {
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--shadow);
}

.kit-grid article {
  min-height: 130px;
  padding: 22px;
}

.kit-grid span,
.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.kit-grid strong {
  display: block;
  margin-top: 22px;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.roadmap-grid article {
  min-height: 214px;
  padding: 24px;
}

.roadmap-grid b {
  display: block;
  color: rgba(32, 35, 45, 0.35);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 54px;
}

.roadmap-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.score-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.78fr);
  gap: 28px;
  padding: 34px;
}

.score-copy small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.btn {
  min-height: 58px;
  padding: 0 24px;
  color: var(--paper);
  font-size: 20px;
}

.score-widget {
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--black);
  box-shadow: 6px 6px 0 var(--shadow);
  color: var(--paper);
}

.widget-head {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-bottom: 3px solid rgba(232, 255, 70, 0.2);
}

.score-ring {
  --score: 68;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle at center, var(--black) 0 54%, transparent 55%),
    conic-gradient(var(--lime) calc(var(--score) * 1%), rgba(255, 255, 255, 0.16) 0);
}

.score-ring span {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 36px;
}

.score-ring small {
  margin-top: -28px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.widget-head p {
  margin: 0;
  color: var(--lime);
  font-family: Impact, Haettenschweiler, "Arial Black", "Noto Sans SC", sans-serif;
  font-size: 38px;
}

.widget-head span {
  display: block;
  margin-top: 8px;
  color: rgba(251, 255, 229, 0.78);
  font-weight: 800;
}

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

.controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  font-weight: 900;
}

.controls strong {
  color: var(--lime);
}

.controls input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--lime);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 3px solid rgba(232, 255, 70, 0.2);
}

.stat-grid div {
  min-height: 108px;
  padding: 20px;
  border-right: 3px solid rgba(232, 255, 70, 0.16);
  border-bottom: 3px solid rgba(232, 255, 70, 0.16);
}

.stat-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--lime);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 34px;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 24px;
}

.ca-box code {
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 26px;
  font-weight: 900;
}

.ca-box span {
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: calc(100% - 86px);
  margin: 36px auto 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .quick-links,
  .story,
  .score-panel,
  .ca,
  .kit,
  .roadmap,
  footer {
    width: calc(100% - 32px);
  }

  .topbar {
    top: 14px;
    margin-top: 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mascot-frame {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 64px;
  }

  .lead {
    font-size: 22px;
  }

  .quick-links,
  .story,
  .score-panel,
  .kit-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .story h2,
  .roadmap h2,
  .score-copy h2,
  .ca h2 {
    font-size: 46px;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar nav a {
    min-width: 0;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .wallet-action {
    min-width: 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .watermark {
    font-size: 84px;
  }

  .mascot-frame {
    width: 250px;
    height: 250px;
  }

  .story,
  .score-panel,
  .kit,
  .roadmap,
  .ca {
    padding: 22px;
  }

  .widget-head,
  .stat-grid,
  .ca-box {
    grid-template-columns: 1fr;
  }

  .ca-box,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
