:root {
  --ink: #0d1326;
  --paper: rgba(255, 255, 255, 0.94);
  --paper-strong: #ffffff;
  --muted: rgba(255, 255, 255, 0.84);
  --blue: #0b2d7a;
  --electric: #1d7cff;
  --gold: #f8d34f;
  --red: #d71935;
  --navy: #050919;
  --line: rgba(255, 255, 255, 0.36);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--navy);
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.floating-links {
  position: fixed;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 46px);
  z-index: 20;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.floating-link {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 24, 71, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.floating-link:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 211, 79, 0.9);
  background: rgba(11, 45, 122, 0.78);
}

.floating-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #050919;
}

.stage-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(215, 25, 53, 0.34), transparent 28%),
    linear-gradient(220deg, rgba(29, 124, 255, 0.35), transparent 30%),
    linear-gradient(180deg, #050919 0%, #071847 48%, #092765 100%);
}

.stage-rings {
  position: absolute;
  inset: -18vh -12vw;
  opacity: 0.42;
  background:
    repeating-radial-gradient(
      ellipse at 50% 32%,
      transparent 0 92px,
      rgba(255, 255, 255, 0.09) 94px 96px
    );
  transform: rotate(-3deg);
}

.stage-starball {
  position: absolute;
  left: 50%;
  top: 108px;
  width: min(560px, 78vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  opacity: 0.24;
  background:
    conic-gradient(
      from 18deg,
      transparent 0 7%,
      rgba(255, 255, 255, 0.7) 8% 10%,
      transparent 11% 20%,
      rgba(255, 255, 255, 0.55) 21% 23%,
      transparent 24% 35%,
      rgba(255, 255, 255, 0.55) 36% 38%,
      transparent 39% 100%
    );
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 56%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 56%,
    2% 35%,
    39% 35%
  );
  filter: blur(0.2px);
}

.stage-lights {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(72deg, transparent 0 12%, rgba(255, 255, 255, 0.12) 13% 15%, transparent 16% 100%),
    linear-gradient(108deg, transparent 0 84%, rgba(255, 255, 255, 0.13) 85% 87%, transparent 88% 100%),
    radial-gradient(ellipse at 50% 100%, rgba(16, 185, 129, 0.17), transparent 45%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.36) 100%);
}

.stage-grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 54px;
}

.hero {
  text-align: center;
}

.kicker,
.section-kicker,
.countdown-kicker {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.kicker {
  font-size: 20px;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin: 10px auto 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.92;
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.sub {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.38;
  font-weight: 700;
}

.site-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 34px 0;
}

.site-tab {
  min-width: 94px;
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
}

.site-tab-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.24);
}

.countdown {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 16px 22px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.countdown-kicker {
  font-size: 16px;
}

.countdown-sub {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.93);
  font-weight: 800;
}

.countdown-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.cd-box {
  min-width: 74px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cd-num {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.cd-lbl {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.anthem-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 24, 71, 0.72), rgba(11, 45, 122, 0.44)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

@media (min-width: 820px) {
  .anthem-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.anthem-copy h2 {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.anthem-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.48;
  font-weight: 800;
}

.anthem-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 11px 18px;
  color: #071847;
  background: var(--gold);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.play-mark {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #071847;
}

.hub-token {
  margin-top: 24px;
  border: 1px solid rgba(248, 211, 79, 0.58);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 251, 235, 0.97),
    rgba(255, 255, 255, 0.95),
    rgba(229, 241, 255, 0.92)
  );
  box-shadow: var(--shadow);
}

.hub-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 860px) {
  .hub-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
    align-items: start;
  }
}

.hub-token .section-kicker {
  color: #0b2d7a;
}

.hub-title {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(46px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #071847;
}

.hub-body {
  max-width: 680px;
  margin: 16px 0 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 700;
}

.hub-mintbox,
.hub-stats {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.hub-mintbox {
  margin-top: 16px;
  padding: 14px;
}

.hub-stats {
  padding: 16px;
}

.hub-label {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-mint {
  min-height: 18px;
  margin: 7px 0 0;
  color: #071847;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hub-trade {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  background: linear-gradient(90deg, #0b2d7a, #1d7cff);
  text-decoration: none;
}

.hub-value {
  margin: 7px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 36px;
  line-height: 1;
  color: #071847;
}

.hub-volume {
  color: #1e1b4b;
}

.hub-price {
  color: #0f172a;
}

.hub-burn {
  color: #78350f;
}

.hub-spaced {
  margin-top: 18px;
}

.board h2 {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #071847;
}

.board {
  margin-top: 42px;
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.board h2 {
  color: #fff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.hint {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.46;
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  color: #071847;
  background: var(--gold);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.status {
  min-height: 20px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.token-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.token-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--team-a), var(--team-b));
}

.token-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.token-logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.12);
}

.token-logo img {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.token-club {
  min-width: 0;
}

.token-club p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-club h3 {
  margin: 3px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #071847;
  overflow-wrap: anywhere;
}

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

.stat {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.95), #fff);
}

.stat-wide {
  grid-column: 1 / -1;
}

.stat dt {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat dd {
  margin: 7px 0 0;
  color: #071847;
  font-weight: 900;
}

.stat-big {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.mono {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.trade-link,
.trade-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 15px;
  color: #fff;
  background: linear-gradient(90deg, var(--team-a), var(--team-b));
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.trade-disabled {
  opacity: 0.52;
}

.last-updated {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.finals-archive {
  margin-top: 48px;
}

.archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.archive-head h2 {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.archive-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 960px) {
  .archive-shell {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    align-items: start;
  }
}

.finals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.final-row {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  padding: 12px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}

.final-row:hover,
.final-row-active {
  border-color: rgba(248, 211, 79, 0.95);
  background: rgba(255, 251, 235, 0.96);
}

.final-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.final-row-year {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 28px;
  line-height: 1;
  color: #071847;
}

.final-row-score {
  flex: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.final-row-title {
  margin-top: 7px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.32;
}

.final-row-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.final-row-source {
  border-radius: 999px;
  padding: 3px 7px;
  color: #071847;
  background: rgba(248, 211, 79, 0.46);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.finals-player {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.finals-player-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: #fff;
  background: rgba(7, 24, 71, 0.52);
}

.finals-year {
  margin: 0;
  color: var(--gold);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.16em;
}

.finals-player h3 {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 0.96;
  letter-spacing: 0;
}

.finals-player p:not(.finals-year) {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.finals-source {
  color: rgba(248, 211, 79, 0.92) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finals-open {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 15px;
  color: #071847;
  background: var(--gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.footer {
  max-width: 1120px;
  margin: 52px auto 0;
  padding: 28px 18px 34px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  background: transparent;
}

.footer p {
  max-width: 960px;
  margin: 14px auto 0;
}

.footer strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: rgba(248, 211, 79, 0.88);
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 24px, 1120px);
    padding-top: 30px;
  }

  .floating-links {
    right: 12px;
    bottom: 12px;
    gap: 9px;
  }

  .floating-link {
    width: 46px;
    height: 46px;
  }

  .floating-link svg {
    width: 21px;
    height: 21px;
  }

  .floating-link img {
    width: 24px;
    height: 24px;
  }

  .site-tabs {
    margin: 26px 0;
  }

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

  .finals-list {
    max-height: 420px;
  }
}
