:root {
  color-scheme: light;
  --red: #ff343b;
  --red-deep: #d81122;
  --ink: #050505;
  --paper: #fffafa;
  --smoke: #f2f0ed;
  --line: rgba(5, 5, 5, 0.14);
  --muted: rgba(5, 5, 5, 0.62);
  --shadow: 0 28px 70px rgba(5, 5, 5, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fff 0%, #fff 46%, #ffe1e2 46%, #fff4f4 100%);
  background-size: 38px 38px, 38px 38px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 52, 59, 0.2), transparent 18rem),
    radial-gradient(circle at 88% 24%, rgba(5, 5, 5, 0.12), transparent 15rem),
    linear-gradient(180deg, transparent 0 72%, rgba(255, 52, 59, 0.15));
  pointer-events: none;
}

button,
a,
input {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 12px 0 30px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 250, 0.86);
  box-shadow: 8px 8px 0 var(--ink);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.tabs,
.wallet-button,
.primary-action,
.secondary-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 1000;
  letter-spacing: 0;
}

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

nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 900;
}

nav a,
.wallet-button,
.tabs button {
  min-height: 38px;
  justify-content: center;
  padding: 0 13px;
  border-radius: 8px;
}

nav a:hover,
.tabs button:hover {
  background: rgba(255, 52, 59, 0.11);
}

.wallet-button,
.primary-action,
.checker-panel button {
  background: var(--ink);
  color: #fff;
}

.wallet-button {
  box-shadow: 4px 4px 0 var(--red);
  font-weight: 950;
}

.hero {
  min-height: calc(100vh - 126px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 7vw, 88px);
  padding: 10px 0 72px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-deep);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: 8rem;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 10px;
  font-size: 3.6rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.subcopy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 1000;
  box-shadow: 6px 6px 0 var(--ink);
}

.secondary-action {
  background: var(--paper);
}

.mascot-panel {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.mascot-panel::before {
  content: "";
  position: absolute;
  inset: 46px 12px 28px;
  z-index: -1;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 52, 59, 0.95), rgba(255, 52, 59, 0.72)),
    var(--red);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(-2deg);
}

.mascot-panel img {
  width: min(100%, 390px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.supply-pill,
.min-pill {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.supply-pill {
  top: 36px;
  right: 0;
}

.min-pill {
  bottom: 34px;
  left: 0;
}

.supply-pill span,
.min-pill span,
.stats-strip span,
.result-number span,
.result-grid span,
.leaderboard-row span,
.rule-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.supply-pill strong,
.min-pill strong {
  font-size: 1.5rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 72px;
}

.stats-strip article,
.checker-panel,
.result-panel,
.leaderboard,
.rules,
.rule-grid article {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 250, 0.92);
  box-shadow: 7px 7px 0 var(--ink);
}

.stats-strip article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.stats-strip strong {
  font-size: 2rem;
  line-height: 1;
}

.checker-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  margin-bottom: 82px;
}

.checker-panel,
.result-panel {
  padding: clamp(18px, 4vw, 30px);
}

.checker-panel {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 950;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  outline: none;
  font-weight: 850;
}

input:focus {
  box-shadow: 0 0 0 4px rgba(255, 52, 59, 0.22);
}

.supply-input {
  position: relative;
}

.supply-input span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red-deep);
  font-weight: 1000;
}

.checker-panel button {
  min-height: 54px;
  border-radius: 8px;
  font-weight: 1000;
  box-shadow: 5px 5px 0 var(--red);
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.result-panel {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(255, 52, 59, 0.09), transparent 42%),
    rgba(255, 250, 250, 0.94);
}

.status-badge {
  width: max-content;
  padding: 10px 13px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 1000;
  box-shadow: 5px 5px 0 var(--ink);
}

.status-badge.not-eligible {
  background: var(--ink);
}

.status-badge.pending {
  background: #fff;
  color: var(--ink);
}

.result-number {
  display: grid;
  gap: 8px;
}

.result-number strong {
  font-size: 6.6rem;
  line-height: 0.82;
}

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

.result-grid div {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.result-grid strong {
  font-size: 1.35rem;
}

.leaderboard-section {
  margin-bottom: 82px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tabs {
  gap: 8px;
}

.tabs button {
  border: 2px solid var(--ink);
  background: #fff;
  font-weight: 950;
}

.tabs button.active {
  background: var(--red);
  color: #fff;
}

.leaderboard {
  overflow: hidden;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 74px minmax(160px, 1.4fr) minmax(96px, 0.65fr) minmax(110px, 0.75fr) minmax(116px, 0.75fr);
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
}

.leaderboard-row.header {
  min-height: 50px;
  border-top: 0;
  background: var(--ink);
}

.leaderboard-row.header span {
  color: #fff;
}

.rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 1000;
}

.wallet-cell {
  min-width: 0;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eligibility-pill {
  width: max-content;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 1000;
}

.eligibility-pill.out {
  background: var(--smoke);
  color: var(--muted);
}

.rules {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-bottom: 70px;
  padding: clamp(18px, 4vw, 30px);
}

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

.rule-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  box-shadow: none;
}

.rule-grid strong {
  color: var(--red-deep);
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 820px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    margin-right: auto;
  }

  nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .checker-grid,
  .rules {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: 5.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .stats-strip strong {
    font-size: 1.75rem;
  }

  .result-number strong {
    font-size: 5rem;
  }

  .mascot-panel {
    min-height: 430px;
  }

  .stats-strip,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .leaderboard {
    overflow-x: auto;
  }

  .leaderboard-row {
    min-width: 720px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
  }

  .topbar {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .brand span {
    font-size: 1.1rem;
  }

  nav a,
  .wallet-button {
    padding: 0 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: 3.9rem;
    line-height: 0.94;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.35rem;
  }

  .subcopy {
    font-size: 1rem;
  }

  .hero-actions,
  .tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .tabs button {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .stats-strip,
  .result-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .mascot-panel {
    min-height: 370px;
  }

  .mascot-panel img {
    width: min(100%, 300px);
  }

  .supply-pill,
  .min-pill {
    padding: 10px 12px;
  }

  .result-number strong {
    font-size: 3.65rem;
  }

  .stats-strip strong {
    font-size: 1.55rem;
  }

  .checker-panel button {
    box-shadow: 4px 4px 0 var(--red);
  }

  .leaderboard-row {
    min-width: 660px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.45rem;
  }

  nav a,
  .wallet-button {
    font-size: 0.78rem;
  }
}
