:root {
  --bg: #04060c;
  --bg2: #0a1014;
  --bg3: #10181c;
  --line: #1a2a2c;
  --ink: #f5fefd;
  --muted: #8aa39c;
  --faint: #5c736e;
  --mint: #97fce4;
  --mint2: #c8fff4;
  --teal: #1d9c8b;
  --deep: #042622;
  --hype: #97fce4;
  --purr: #e07aa0;
  --sans: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Space Grotesk", Inter, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--mint2); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(151, 252, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 252, 228, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(4, 6, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mint);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: none;
  color: var(--ink);
}
.logo:hover { color: var(--mint2); }
.logo:hover span { color: var(--mint2); }
.logo-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg3); }
.nav a.active { color: var(--mint); }
.connect {
  margin-left: auto;
  border: 0;
  background: var(--mint);
  color: var(--deep);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}
.connect:hover { background: var(--mint2); }
.connect.on { background: transparent; color: var(--mint); border: 1px solid var(--mint); }

.menu-btn {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--ink);
  border-radius: 10px;
}
.scrim { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 30; }

.stage { position: relative; z-index: 1; min-height: calc(100vh - 60px); }
.boot { padding: 80px 32px; color: var(--muted); font-family: var(--mono); }
.page { padding: 40px 40px 88px; max-width: 1240px; margin: 0 auto; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--mono); letter-spacing: -0.03em; font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 18px; }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 16px 0 0; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
}
.hero-art {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  filter: drop-shadow(0 0 40px rgba(151, 252, 228, 0.12));
}
.hero-art img, .px {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.hero-art img:first-child {
  grid-row: 1 / 3;
  border-color: rgba(151, 252, 228, 0.28);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: var(--mint);
  color: var(--deep);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
}
.btn:hover { background: var(--mint2); color: var(--deep); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn.hype { background: var(--mint); color: var(--deep); }
.btn.purr { background: var(--purr); color: #2a1018; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 8px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats li { padding: 22px 20px 22px 0; }
.stats b {
  display: block;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--mint);
}
.stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.pay-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.pay-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  background: #0b1018;
}
.pay-card.whype { border-color: rgba(151, 252, 228, 0.35); }
.pay-card.purr { border-color: rgba(224, 122, 160, 0.35); }
.pay-card.nvda { border-color: rgba(120, 180, 255, 0.35); }
.pay-card.spy { border-color: rgba(180, 160, 255, 0.35); }
.pay-card.qqq { border-color: rgba(255, 200, 120, 0.35); }
.pay-card em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.pay-card.whype em { color: var(--mint); }
.pay-card.purr em { color: var(--purr); }
.pay-card.nvda em { color: #7ab4ff; }
.pay-card.spy em { color: #b4a0ff; }
.pay-card.qqq em { color: #ffc878; }
.pay-card h3 { margin: 8px 0 8px; font-size: 18px; }
.pay-card p { color: var(--muted); font-size: 14px; }

.section { padding: 56px 0 0; }
.loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.loop article {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 150px;
}
.loop em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mint);
  font-weight: 600;
}
.loop h3 { margin: 10px 0 8px; }
.loop p { color: var(--muted); font-size: 14px; }

.strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg3);
}
.strip a:hover img, .strip img:hover { border-color: var(--mint); }

.marquee {
  overflow: hidden;
  margin: 36px -40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: var(--bg2);
}
.marquee .track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 48s linear infinite;
}
.marquee img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
.search, .select {
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  min-width: 150px;
}
.search { flex: 1; min-width: 220px; }
.search:focus, .select:focus { outline: none; border-color: var(--mint); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
}
.card:hover { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #000; }
.card figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.card b { color: var(--ink); font-weight: 600; }
.pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.trait-block { margin: 28px 0 36px; }
.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
}
.bar-row:hover { color: var(--mint); }
.bar { height: 6px; background: var(--bg3); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--mint); }
.bar-row small { font-family: var(--mono); color: var(--muted); text-align: right; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg2);
}
tr { cursor: pointer; }
tr:hover td { background: var(--bg2); }
.rank { color: var(--mint); font-family: var(--mono); font-weight: 600; }
.thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }

.prose { max-width: 720px; }
.prose h2 { margin: 32px 0 10px; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose li { color: #c5d6d2; margin-bottom: 10px; }
.prose ul { padding-left: 18px; }

.desk { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: start; }
.panel {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 16px; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-family: var(--mono); font-size: 22px; }
.kpi.whype b { color: var(--mint); }
.kpi.purr b { color: var(--purr); }
.kpi.nvda b { color: #7ab4ff; }
.kpi.spy b { color: #b4a0ff; }
.kpi.qqq b { color: #ffc878; }
.kpi span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.kpi-ico { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.mine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  text-align: left;
}
.pick.on { border-color: var(--mint); }
.pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pick small { display: block; margin: 8px 0; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 6, 12, 0.82);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(880px, 100%);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.modal-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.modal-body { padding: 24px; position: relative; }
.modal-body ul { list-style: none; margin-top: 16px; }
.modal-body li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.modal-body li span { color: var(--muted); }
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--bg2);
  border-radius: 10px;
  color: var(--ink);
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 28px 40px 48px;
}
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fnav { display: flex; gap: 16px; font-size: 14px; }
.fnav a { color: var(--muted); }
.fnote, .disc { color: var(--faint); font-size: 13px; max-width: 90ch; margin-top: 14px; }
.empty { color: var(--muted); padding: 36px 0; }

.live {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}
.live .cell {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.live .cell b {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--mint);
  margin-top: 6px;
}
.live .cell span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.feed-board { margin: 36px 0 8px; }
.feed-board .lead b {
  color: var(--mint);
  font-family: var(--mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.feed-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.feed-table th, .feed-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.feed-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.feed-table td:not(:first-child) {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.feed-table th:not(:first-child) { text-align: right; }
.feed-table td.earn {
  color: var(--mint);
  font-weight: 700;
}
.feed-table tbody tr:last-child td { border-bottom: 0; }
.feed-table td b { display: block; }
.feed-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b1018;
  flex-shrink: 0;
}
.feed-addr {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.mint-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 36px;
  align-items: start;
  margin-top: 32px;
}
.mint-art { position: sticky; top: 84px; }
.mint-shot {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(151, 252, 228, 0.32);
  background: var(--bg3);
  cursor: pointer;
  box-shadow: 0 0 56px rgba(151, 252, 228, 0.14);
}
.mint-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mint-shot-meta { margin-top: 16px; }
.mint-shot-meta h3 {
  margin: 6px 0 8px;
  font-size: 22px;
}
.mint-shot-meta p { color: var(--muted); font-size: 14px; max-width: 46ch; }
.mint-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.mint-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
}
.mint-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.mint-thumb:hover { border-color: rgba(151, 252, 228, 0.45); }
.mint-thumb.on {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint);
}
.mint-box {
  background: var(--bg2);
  border: 1px solid rgba(151, 252, 228, 0.28);
  border-radius: 20px;
  padding: 26px;
}
.mint-progress { margin-bottom: 8px; }
.mint-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.mint-progress-top span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}
.mint-progress-top b {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
  letter-spacing: -0.04em;
}
.mint-bar {
  height: 12px;
  background: #071014;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.mint-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d9c8b, #97fce4);
  box-shadow: 0 0 18px rgba(151, 252, 228, 0.45);
  transition: width 0.45s ease;
}
.mint-progress-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 10px;
}
.mint-progress-stats div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 10px;
}
.mint-progress-stats b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink);
}
.mint-progress-stats span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.mint-row span { color: var(--muted); }
.mint-row b { font-family: var(--mono); }
.mint-row.pay-row b { color: var(--mint); font-size: 18px; }
.qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  color: var(--mint);
  font-size: 20px;
}
.qty button:hover { border-color: var(--mint); }
.qty b { font-family: var(--mono); font-size: 20px; min-width: 2ch; text-align: center; }
.mint-actions { margin-top: 20px; }
.mint-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; }
.wl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  max-width: 920px;
}
.wl-tasks { display: grid; gap: 10px; }
.wl-tasks .btn { justify-content: center; }
.wl-field { display: grid; gap: 6px; margin-bottom: 14px; }
.wl-field span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}
.wl-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--mono);
}
.wl-field input:focus { outline: none; border-color: var(--mint); }
.wl-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.wl-check input { width: 16px; height: 16px; accent-color: var(--mint); }
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

@media (max-width: 1280px) {
  .pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero, .desk, .pay, .modal-card, .loop, .live, .mint-stage, .wl-grid { grid-template-columns: 1fr; }
  .mint-art { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .bar-row { grid-template-columns: 1fr; }
  .page { padding: 28px 18px 72px; }
  .marquee { margin-left: -18px; margin-right: -18px; }
}
@media (max-width: 820px) {
  .topbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    flex-direction: column;
    align-items: stretch;
    padding: 56px 16px 20px;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    background: #04060c;
  }
  .topbar.open { transform: none; }
  .nav { flex-direction: column; }
  .connect { margin-left: 0; }
  .menu-btn { display: block; }
  .scrim.show { display: block; }
  .hero, .desk, .stats { grid-template-columns: 1fr; }
  .page { padding-top: 72px; }
}
