:root {
  color-scheme: dark;
  --ink: #fff8e8;
  --muted: #c8bbc0;
  --panel: rgba(16, 16, 22, 0.86);
  --panel-solid: #15151c;
  --line: rgba(255, 255, 255, 0.16);
  --pink: #ff357d;
  --gold: #ffd15c;
  --teal: #31d9c6;
  --green: #68e283;
  --red: #ff625e;
  --black: #09090e;
  --display: Impact, Haettenschweiler, "Arial Black", "Franklin Gothic Heavy", system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--body);
}

a,
button {
  color: inherit;
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(7, 7, 12, 0.92), rgba(7, 7, 12, 0.42));
  backdrop-filter: blur(12px);
}

.brand,
.site-header nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #7a3cff 52%, var(--teal));
  color: #fff;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 0 26px rgba(255, 53, 125, 0.42);
}

.site-header nav {
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.site-header nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover,
.nav-cta {
  border-color: rgba(255, 209, 92, 0.42) !important;
  background: rgba(255, 209, 92, 0.12);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 94vh;
  padding: 92px clamp(18px, 5vw, 76px) 70px;
  isolation: isolate;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 9, 0.93) 0%, rgba(5, 5, 9, 0.78) 38%, rgba(5, 5, 9, 0.18) 72%),
    linear-gradient(0deg, var(--black) 0%, transparent 24%),
    radial-gradient(circle at 18% 36%, rgba(255, 53, 125, 0.28), transparent 20rem);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.label {
  display: block;
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  font-family: var(--display);
  font-size: clamp(52px, 10vw, 132px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(10, 10, 14, 0.82);
  text-shadow:
    0 0.055em 0 #7e214d,
    0 0.105em 0 rgba(0, 0, 0, 0.68),
    0 0 34px rgba(49, 217, 198, 0.25);
}

.hero-title {
  max-width: min(640px, 100%);
  line-height: 1;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.title-art {
  display: block;
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.52));
}

h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy,
.section-copy p,
.leaderboard-hero p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.hero-copy {
  width: min(680px, 100%);
  margin-top: 24px;
}

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

.button {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: rgba(255, 209, 92, 0.6);
  background: linear-gradient(135deg, var(--gold), #ff8a31);
  color: #17100a;
  box-shadow: 0 18px 34px rgba(255, 137, 49, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.ticker-band > div {
  display: grid;
  gap: 4px;
  min-height: 138px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: linear-gradient(135deg, #14141b, #20202b);
}

.ticker-band span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker-band strong {
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.story-section,
.rules-section,
.main-leaderboard-section,
.leaderboard-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) 0;
}

.section-copy {
  display: grid;
  gap: 18px;
}

.revenue-board,
.rules-grid article,
.holder-panel,
.leaderboard-controls > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.revenue-board {
  overflow: hidden;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row span {
  color: var(--muted);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.board-row strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rules-section {
  display: grid;
  gap: 26px;
  padding: 0 0 clamp(46px, 6vw, 74px);
}

.main-leaderboard-section {
  padding: 0 0 clamp(62px, 8vw, 104px);
}

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

.rules-grid article {
  display: grid;
  gap: 12px;
  min-height: 238px;
  padding: 18px;
}

.rule-number {
  color: var(--pink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}

.rules-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 0 clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.leaderboard-page {
  background:
    linear-gradient(rgba(9, 9, 14, 0.86), rgba(9, 9, 14, 0.96)),
    url("assets/grand-theft-airdrop-hero.png") center / cover fixed;
}

.leaderboard-shell {
  padding: 112px 0 54px;
}

.leaderboard-hero {
  display: grid;
  gap: 16px;
  width: min(820px, 100%);
  padding: 32px 0;
}

.leaderboard-hero h1 {
  max-width: 12ch;
  font-size: clamp(46px, 8vw, 92px);
}

.leaderboard-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(150px, 0.35fr));
  gap: 10px;
  margin: 18px 0;
}

.leaderboard-controls > div {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 16px;
}

.leaderboard-controls strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holder-panel {
  overflow: hidden;
}

.holder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.holder-head h2 {
  font-size: 28px;
}

.status-pill,
.holder-status {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill {
  border: 1px solid rgba(255, 209, 92, 0.4);
  background: rgba(255, 209, 92, 0.12);
  color: var(--gold);
  text-decoration: none;
}

.holder-table {
  overflow-x: auto;
}

.holder-row {
  display: grid;
  grid-template-columns: 82px minmax(170px, 1fr) 118px 136px 150px;
  gap: 12px;
  align-items: center;
  min-width: 760px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.holder-row:last-child {
  border-bottom: 0;
}

.holder-header {
  min-height: 44px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.holder-row code {
  color: var(--ink);
  font: 800 14px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.holder-row strong {
  color: var(--teal);
}

.holder-row.is-preview {
  opacity: 0.72;
}

.holder-status.is-eligible {
  background: rgba(104, 226, 131, 0.14);
  color: var(--green);
}

.holder-status:not(.is-eligible):not(.is-blocked) {
  background: rgba(255, 209, 92, 0.12);
  color: var(--gold);
}

.holder-status.is-blocked {
  background: rgba(255, 98, 94, 0.14);
  color: var(--red);
}

.empty-state {
  padding: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 66px;
  }

  .site-header nav a {
    padding: 0 9px;
    font-size: 13px;
  }

  .brand span:last-child {
    max-width: 128px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 86px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 9, 0.94) 0%, rgba(5, 5, 9, 0.7) 68%, rgba(5, 5, 9, 0.28) 100%),
      linear-gradient(0deg, var(--black) 0%, transparent 26%);
  }

  .ticker-band,
  .story-section,
  .rules-grid,
  .leaderboard-controls {
    grid-template-columns: 1fr;
  }

  .ticker-band > div {
    min-height: 108px;
  }

  .story-section {
    padding-top: 54px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-header nav {
    gap: 4px;
  }

  .site-header nav a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .holder-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .holder-row {
    grid-template-columns: 38px minmax(74px, 1fr) 58px 68px 76px;
    gap: 6px;
    min-width: 0;
    min-height: 52px;
    padding: 0 10px;
  }

  .holder-header {
    font-size: 10px;
  }

  .holder-row code {
    font-size: 10px;
  }

  .holder-row strong {
    font-size: 12px;
  }

  .holder-status {
    min-height: 24px;
    padding: 0 6px;
    font-size: 9px;
  }
}
