:root {
  --ink: #fff8e8;
  --paper: #fffaf0;
  --muted: #d9ebff;
  --deep: #07101e;
  --stadium: #0b1a2e;
  --base: #0052ff;
  --sky: #36e5ff;
  --grass: #39e75f;
  --grass-dark: #0e7d3c;
  --gold: #ffd35a;
  --gold-deep: #b87610;
  --orange: #ff9b25;
  --red: #ff3155;
  --panel: rgba(7, 16, 30, 0.9);
  --line: rgba(255, 211, 90, 0.34);
  --pixel-shadow: 0 0 0 3px #06111f, 0 0 0 6px rgba(255, 211, 90, 0.24), 10px 10px 0 rgba(0, 0, 0, 0.42);
}

@font-face {
  font-family: "PPNeueBit";
  src: url("./fonts/PPNeueBit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PPMondwest";
  src: url("./fonts/PPMondwest-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 211, 90, 0.12), transparent 28%),
    var(--deep);
  font-family: "PPMondwest", "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 211, 90, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 6px 6px;
  mix-blend-mode: screen;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  width: 100%;
  max-width: 100vw;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(7, 16, 30, 0.88);
  border-bottom: 5px solid var(--gold);
  box-shadow: 0 8px 0 rgba(0, 82, 255, 0.22), inset 0 -2px 0 rgba(54, 229, 255, 0.45);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  background: var(--gold);
  border: 3px solid var(--gold);
  box-shadow: 5px 5px 0 rgba(0, 82, 255, 0.55);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a,
.docs-sidebar a,
.brand {
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 211, 90, 0.72);
  transform: translateY(-2px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  color: #190f00;
  font-size: 1.16rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.nav-cta {
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
}

.button.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
  color: #1f1300;
}

.button.secondary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #75ff83, var(--grass) 62%, #16a845);
  color: var(--ink);
}

.button.buy-button {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #50f2ff, var(--base) 58%, #0030a7);
}

.compact-button {
  width: fit-content;
  margin-top: 10px;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
}

.button::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  transform: skewX(-18deg);
  animation: shine 3.8s ease-in-out infinite;
}

@keyframes shine {
  0%,
  46% {
    left: -55%;
  }

  70%,
  100% {
    left: 118%;
  }
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  filter: saturate(1.14) brightness(1.08);
  outline: 0;
}

.button:active,
.nav-cta:active,
.social-button:active,
.team-actions button:active {
  transform: translate(5px, 5px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  filter: grayscale(0.35);
  opacity: 0.72;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 132px clamp(18px, 5vw, 72px) 48px;
  background-image: url("./hero_background.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background:
    repeating-linear-gradient(90deg, rgba(66, 242, 92, 0.34) 0 34px, rgba(14, 125, 60, 0.36) 34px 68px),
    linear-gradient(180deg, transparent, rgba(7, 75, 35, 0.78));
  border-top: 4px solid rgba(255, 255, 255, 0.26);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 211, 90, 0.24), transparent 23%),
    radial-gradient(circle at 18% 72%, rgba(66, 242, 92, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(4, 10, 24, 0.86) 0%, rgba(4, 10, 24, 0.5) 45%, rgba(4, 10, 24, 0.08) 80%),
    linear-gradient(0deg, rgba(4, 10, 24, 0.92) 0%, rgba(4, 10, 24, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.section-heading,
.center-heading {
  text-align: center;
  margin-inline: auto;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.hero-content {
  text-align: left;
}

.hero-copy {
  margin-inline: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sky);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #001331;
}

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

h1,
h2 {
  font-family: "PPNeueBit", "Arial Black", sans-serif;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(3.3rem, 5.5vw, 6rem);
  text-shadow: 5px 5px 0 #001331, 8px 8px 0 rgba(255, 49, 85, 0.72);
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 7.2vw, 7.4rem);
  line-height: 0.82;
  text-shadow: 6px 6px 0 #001331, 10px 10px 0 rgba(255, 49, 85, 0.82);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.74;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

h3 {
  margin-bottom: 12px;
  font-size: 2.15rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  color: #e9f4ff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.08;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.68);
}

.hero-copy-secondary {
  margin-top: -6px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  gap: 0;
  width: min(680px, 100%);
  border: 3px solid var(--line);
  background: rgba(3, 12, 28, 0.78);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.36);
}

.hero-stats div {
  flex: 1 1 160px;
  padding: 16px;
  border-right: 3px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.stat-label {
  display: block;
  color: var(--sky);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-stats strong {
  display: block;
  margin-top: 5px;
  font-size: 1.8rem;
}

.hero-side {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 26px auto 0;
  padding: 14px 18px;
  background: rgba(5, 19, 42, 0.9);
  border: 4px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.coin-mark {
  width: 58px;
  height: 58px;
  margin: -42px auto 8px;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(7, 16, 30, 0.95), 0 0 24px rgba(255, 211, 90, 0.62);
  animation: coinFloat 3.4s ease-in-out infinite;
}

@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.18);
}

.score-row span,
.score-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-row strong {
  color: var(--grass);
}

.score-clock {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  text-align: center;
  line-height: 0.72;
}

.hero-side p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
}

.hero-jackpot {
  position: relative;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 211, 90, 0.28), transparent 36%),
    rgba(7, 16, 30, 0.86);
  border: 5px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.hero-jackpot::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 2px solid rgba(54, 229, 255, 0.4);
}

.jackpot-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.26);
  border: 3px solid rgba(255, 211, 90, 0.42);
}

.jackpot-top span,
.jackpot-top strong {
  font-size: 1.22rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jackpot-top span {
  color: var(--gold);
}

.jackpot-top strong {
  color: var(--grass);
}

.hero-jackpot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.22);
}

.jackpot-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.jackpot-flow div {
  min-height: 86px;
  padding: 10px;
  background: rgba(255, 211, 90, 0.1);
  border: 2px solid rgba(255, 211, 90, 0.34);
}

.jackpot-flow span,
.jackpot-flow strong {
  display: block;
  text-transform: uppercase;
}

.jackpot-flow span {
  color: var(--muted);
  font-size: 0.96rem;
}

.jackpot-flow strong {
  margin-top: 8px;
  color: var(--gold);
  font-size: 1.28rem;
  line-height: 0.95;
}

.ticker-strip {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  border-block: 5px solid var(--gold);
  background:
    repeating-linear-gradient(90deg, #0d7b36 0 28px, #109447 28px 56px),
    var(--grass-dark);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 16px 18px;
  animation: slide 120s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  min-width: 148px;
  min-height: 62px;
  overflow: hidden;
  padding: 10px 12px;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 16, 30, 0.52), rgba(7, 16, 30, 0.58)),
    var(--flag) center / cover;
  border: 3px solid var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35), inset 0 -8px 0 rgba(255, 211, 90, 0.18);
}

.ticker-track span::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 90, 0.2), transparent);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.center-heading {
  width: min(980px, 100%);
  margin-bottom: 34px;
}

.section-heading p,
.teams-copy p,
.pool-copy p,
.launch-card p {
  color: var(--muted);
  font-size: 1.48rem;
  line-height: 1.08;
}

.why-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 211, 90, 0.18), transparent 24%),
    linear-gradient(180deg, #07101e, #10220f);
}

.pool-hook-section {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 211, 90, 0.2), transparent 24%),
    linear-gradient(180deg, #10220f, #07101e);
}

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

.pool-flow article {
  min-height: 270px;
  padding: 22px;
  background: rgba(7, 16, 30, 0.86);
  border: 3px solid var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
  text-align: center;
}

.pool-flow span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 3.6rem;
  line-height: 0.72;
}

.pool-flow p {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.06;
}

.pool-hook-banner {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-top: 26px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(7, 16, 30, 0.82);
  border: 4px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.pool-hook-banner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.22);
}

.pool-hook-banner h3 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.pool-hook-banner p {
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.08;
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
}

.comparison-card {
  position: relative;
  min-height: 360px;
  padding: clamp(22px, 4vw, 36px);
  border: 4px solid var(--line);
  background: rgba(7, 16, 30, 0.84);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.comparison-card span {
  display: inline-block;
  margin-bottom: 44px;
  padding: 9px 12px;
  border: 3px solid var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-card h3 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.comparison-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--sky);
  font-size: 1.25rem;
  line-height: 1.05;
}

.muted-card {
  opacity: 0.82;
}

.muted-card span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.gold-card {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 211, 90, 0.22), transparent 26%),
    rgba(7, 16, 30, 0.9);
  box-shadow: var(--pixel-shadow);
}

.gold-card span {
  color: #1f1300;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
}

.game-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 211, 90, 0.22), transparent 20%),
    repeating-linear-gradient(90deg, rgba(66, 242, 92, 0.12) 0 54px, rgba(14, 125, 60, 0.12) 54px 108px),
    linear-gradient(180deg, #0a1a2d, #092b3e 48%, #07351f);
}

.section-ball {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  top: 48px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.72;
  text-shadow: 7px 7px 0 rgba(0, 0, 0, 0.4);
  transform: rotate(10deg);
}

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

.dashboard-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(7, 16, 30, 0.78);
  border: 4px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.dashboard-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.28);
}

.dashboard-showcase h3 {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

.dashboard-showcase p {
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.08;
}

.feature-card,
.badge-panel,
.flag-card,
.launch-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 3px solid var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.feature-card {
  min-height: 270px;
  padding: 22px;
}

.feature-card:hover,
.flag-card:hover,
.moment-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.42);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(1.35) contrast(1.08);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.14), rgba(7, 16, 30, 0.76));
}

.feature-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.feature-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.72;
}

.feature-card p,
.badge-panel p {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.08;
}

.teams-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 16, 30, 0.92), rgba(7, 16, 30, 0.62)),
    url("./team_coin_carousel_background.png") center / cover;
}

.teams-copy {
  text-align: center;
}

.token-pair {
  justify-content: center;
}

.token-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.token-pair span {
  padding: 12px 14px;
  border: 3px solid var(--gold);
  background: rgba(255, 211, 90, 0.14);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}

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

.flag-card {
  min-height: 250px;
}

.flag-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.flag-card strong {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  color: #1f1300;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
  border: 3px solid var(--ink);
  font-size: 1.75rem;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
}

.badges-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 211, 90, 0.18), transparent 22%),
    linear-gradient(180deg, #071a38, #091326 58%, #160f08);
}

.moments-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 155, 37, 0.18), transparent 24%),
    linear-gradient(180deg, #081525, #0b2636);
}

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

.moment-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.moment-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.moment-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  background: rgba(5, 20, 39, 0.86);
  border: 3px solid var(--gold);
}

.moment-card span {
  display: block;
  color: var(--sky);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.moment-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(3.3rem, 6vw, 6rem);
  line-height: 0.72;
  text-transform: uppercase;
}

.badge-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: 28px;
}

.badge-art {
  overflow: hidden;
  border: 5px solid var(--gold);
  box-shadow: var(--pixel-shadow);
  transform: rotate(1.5deg);
}

.badge-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

.road-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(4, 12, 28, 0.82);
  border: 3px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.road-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.24);
}

.road-card h3 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
}

.road-card p {
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.08;
}

.badge-panel {
  min-height: 390px;
  padding: clamp(24px, 4vw, 38px);
}

.badge-type {
  display: inline-block;
  margin-bottom: 48px;
  padding: 9px 12px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--orange), var(--red));
  border: 3px solid var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge-panel.matchday .badge-type {
  background: linear-gradient(180deg, var(--sky), var(--base));
}

.badge-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.badge-panel li {
  padding: 10px 12px;
  color: #e7f1ff;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
  font-size: 1.18rem;
  font-weight: 800;
}

.pool-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 211, 90, 0.2), transparent 24%),
    linear-gradient(180deg, #10220f, #07101e);
}

.pool-copy {
  text-align: center;
}

.pool-visual {
  overflow: hidden;
  border: 5px solid var(--gold);
  box-shadow: var(--pixel-shadow);
}

.pool-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

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

.reward-rules div {
  padding: 16px;
  background: rgba(255, 211, 90, 0.1);
  border: 3px solid rgba(255, 211, 90, 0.36);
}

.reward-rules strong {
  display: block;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 4rem;
  line-height: 0.72;
}

.reward-rules span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.05;
}

.pool-split div {
  padding: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 3px solid var(--line);
}

.pool-split strong {
  display: block;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.72;
}

.pool-split span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-section {
  background:
    linear-gradient(90deg, rgba(7, 16, 30, 0.9), rgba(7, 16, 30, 0.62)),
    url("./flags/usa_flag.png") center / cover;
}

.launch-card {
  width: min(980px, 100%);
  margin-inline: auto;
  text-align: center;
  padding: clamp(26px, 5vw, 48px);
}

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

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 80px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(7, 16, 30, 0.86);
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.34);
}

.docs-sidebar strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.docs-sidebar a {
  padding: 8px 10px;
  color: var(--muted);
  border-left: 3px solid transparent;
  font-size: 1.08rem;
}

.docs-sidebar a:hover,
.docs-sidebar a:focus-visible {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(255, 211, 90, 0.08);
}

.docs-page {
  width: min(860px, 100%);
  margin: 0;
  padding: 0;
}

.docs-hero,
.docs-section {
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(7, 16, 30, 0.78);
  border: 2px solid rgba(255, 211, 90, 0.22);
}

.docs-hero {
  text-align: left;
  border-color: var(--gold);
}

.docs-hero h1 {
  max-width: 760px;
  margin-inline: 0;
  font-size: clamp(3.6rem, 6vw, 6rem);
  line-height: 0.84;
}

.docs-hero p,
.docs-section p,
.docs-section li {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.22;
}

.docs-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.docs-highlight-grid div {
  padding: 16px;
  background: rgba(255, 211, 90, 0.12);
  border: 3px solid rgba(255, 211, 90, 0.34);
}

.docs-highlight-grid span {
  display: block;
  color: var(--sky);
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
}

.docs-highlight-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.8;
  text-transform: uppercase;
}

.docs-section h2 {
  font-size: clamp(2.8rem, 4vw, 4.1rem);
  line-height: 0.9;
}

.docs-section ul,
.docs-section ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.docs-token-grid,
.docs-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.docs-token-grid span,
.docs-callout {
  padding: 14px;
  color: #1f1300;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
  border: 3px solid var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

.docs-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-split div {
  padding: 18px;
  background: rgba(255, 211, 90, 0.1);
  border: 3px solid var(--gold);
}

.docs-split strong {
  display: block;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 5rem;
  line-height: 0.72;
}

.docs-split span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.3rem;
}

.docs-final {
  text-align: center;
}

.timeline div {
  min-height: 112px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: block;
  color: var(--sky);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin-top: 12px;
  font-size: 1.85rem;
  text-transform: uppercase;
}

.socials-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 82, 255, 0.22), rgba(255, 49, 85, 0.16)),
    #07101e;
}

.socials-section h2 {
  max-width: 800px;
  font-size: clamp(3.8rem, 6vw, 6.8rem);
}

.socials-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1.35;
}

.social-actions {
  display: grid;
  gap: 16px;
}

.social-button {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  min-height: 98px;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.social-button::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-16deg);
  transition: left 360ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  transform: translate(-4px, -5px);
  border-color: var(--gold);
  box-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.46),
    0 0 0 4px rgba(255, 211, 90, 0.18);
  filter: saturate(1.16) brightness(1.06);
  outline: 0;
}

.social-button:hover::after,
.social-button:focus-visible::after {
  left: 118%;
}

.social-button span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #06111f;
  background: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.social-button strong {
  padding: 0 22px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  text-transform: uppercase;
}

.x-button span {
  background: var(--ink);
}

.farcaster-button span {
  background: var(--base);
  color: var(--ink);
}

.platform-button span {
  background: var(--grass);
}

.buy-social-button span {
  background: var(--gold);
}

.coming-soon-shell {
  width: min(100% - 32px, 920px);
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 126px 0 56px;
  display: grid;
  place-items: center;
}

.coming-soon-popup {
  width: min(680px, 100%);
  padding: clamp(24px, 5vw, 46px);
  background:
    linear-gradient(rgba(7, 16, 30, 0.84), rgba(7, 16, 30, 0.96)),
    url("./team_coin_carousel_background.png") center / cover;
  border: 5px solid var(--gold);
  box-shadow: var(--pixel-shadow);
  text-align: center;
}

.coming-soon-popup img {
  width: min(140px, 48%);
  margin: 0 auto 16px;
  border: 4px solid var(--gold);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.42);
}

.coming-soon-popup h1 {
  max-width: 100%;
  margin: 8px 0 14px;
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.76;
  text-transform: uppercase;
}

.coming-soon-popup p:not(.eyebrow) {
  max-width: 460px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  text-transform: uppercase;
}

.coming-popup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.legal-shell,
.platform-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 126px 0 56px;
}

.legal-hero {
  margin-bottom: 24px;
}

.platform-gate {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

.gate-copy h1,
.terminal-topbar h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 7vw, 8rem);
}

.gate-copy p,
.terminal-topbar p,
.team-table-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.35;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 14px;
}

.gate-status {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.gate-card {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--gold);
  background: var(--panel);
  box-shadow: var(--pixel-shadow);
}

.gate-card img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.gate-card-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  background: rgba(7, 16, 30, 0.86);
  border: 3px solid var(--gold);
}

.gate-card-panel span,
.terminal-wallet span,
.platform-stats span,
.team-card-top span,
.platform-team-card p {
  display: block;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.gate-card-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: 4rem;
  line-height: 0.8;
  text-transform: uppercase;
}

.terminal-panel[hidden],
.platform-gate[hidden] {
  display: none;
}

.terminal-panel {
  display: grid;
  gap: 26px;
}

.terminal-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: end;
}

.terminal-wallet,
.platform-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 211, 90, 0.36);
}

.terminal-wallet strong,
.platform-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 1.85rem;
  text-transform: uppercase;
}

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

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 4px solid rgba(255, 211, 90, 0.24);
}

.platform-tabs button {
  min-height: 54px;
  padding: 0 10px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  color: var(--muted);
  background: rgba(7, 16, 30, 0.78);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-tabs button.is-active {
  color: #160d00;
  background: linear-gradient(180deg, #fff3a4, var(--gold) 58%, var(--orange));
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.48);
}

.team-table-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.team-table-header h2 {
  font-size: clamp(3.4rem, 5vw, 5.4rem);
}

.leaderboard-section,
.bookmarks-section,
.pitch-section,
.all-coins-section,
.badges-section-panel,
.trophy-pool-section {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(7, 16, 30, 0.78);
  border: 4px solid rgba(255, 211, 90, 0.3);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.platform-view[hidden] {
  display: none;
}

.leaderboard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.leaderboard-meta button {
  min-height: 40px;
  padding: 0 14px;
  border: 3px solid var(--ink);
  color: #120b00;
  background: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.leaderboard-meta button:hover,
.leaderboard-meta button:focus-visible,
.team-actions button:hover,
.team-actions button:focus-visible,
.platform-tabs button:hover,
.platform-tabs button:focus-visible {
  transform: translate(2px, 2px);
  filter: brightness(1.08) saturate(1.12);
  outline: 0;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 58px 46px minmax(0, 1fr) 110px 140px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.leaderboard-row img {
  width: 46px;
  height: 34px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.leaderboard-row .rank,
.leaderboard-row span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-row strong,
.leaderboard-row b {
  color: var(--ink);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.leaderboard-row b {
  color: var(--gold);
  text-align: right;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  min-height: 58px;
  width: 100%;
  padding: 0 18px;
  border: 4px solid var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  font-size: 1.25rem;
  outline: 0;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 211, 90, 0.18);
}

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

.compact-grid:empty {
  display: none;
}

.platform-team-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 260px;
  overflow: hidden;
  padding: 18px;
  border: 4px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(rgba(7, 16, 30, 0.48), rgba(7, 16, 30, 0.9)),
    var(--flag) center / cover;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.38);
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.platform-team-card::after {
  content: "Open chart";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: -1;
  padding: 6px 10px;
  color: #130d00;
  background: var(--gold);
  border: 2px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.platform-team-card:hover,
.platform-team-card:focus-visible {
  transform: translate(-3px, -5px);
  border-color: var(--gold);
  box-shadow:
    10px 10px 0 rgba(0, 0, 0, 0.44),
    0 0 0 4px rgba(255, 211, 90, 0.24),
    0 0 28px rgba(54, 229, 255, 0.2);
  filter: saturate(1.18) brightness(1.06);
  outline: 0;
}

.platform-team-card:hover::after,
.platform-team-card:focus-visible::after {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.star-button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 3px solid var(--ink);
  color: #130d00;
  background: rgba(255, 248, 232, 0.9);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.star-button.is-active {
  background: var(--gold);
}

.team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-card-top strong {
  color: var(--gold);
  font-size: 1.42rem;
  text-shadow: 3px 3px 0 #06111f;
}

.platform-team-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.7rem, 3.2vw, 3.5rem);
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #06111f;
}

.mcap-placeholder {
  display: block;
  margin-top: 6px;
  color: var(--grass);
  font-size: 1.34rem;
  text-transform: uppercase;
}

.team-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
  position: relative;
  z-index: 3;
}

.team-actions button {
  min-height: 42px;
  border: 3px solid var(--ink);
  color: #140d00;
  background: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.team-actions button:nth-child(1) {
  background: var(--grass);
}

.team-actions button:nth-child(2) {
  background: var(--red);
  color: var(--ink);
}

.team-actions .star-button {
  background: rgba(255, 248, 232, 0.92);
  color: #130d00;
  font-size: 1.25rem;
}

.team-actions .star-button.is-active {
  background: var(--gold);
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.pitch-grid,
.badge-status-grid,
.badge-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pitch-grid article,
.badge-status-grid article,
.badge-calendar,
.badge-calendar-grid div,
.badge-calendar-grid a,
.badge-claim-board,
.badge-match-board article,
.trophy-pool-board > div,
.pool-feed {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.14);
}

.pitch-grid span,
.badge-status-grid span,
.badge-calendar-grid span,
.badge-match-board span,
.badge-claim-board span,
.trophy-pool-board span,
.pool-feed span {
  display: block;
  color: var(--sky);
  font-weight: 900;
  text-transform: uppercase;
}

.pitch-grid strong,
.badge-status-grid strong,
.badge-calendar h3,
.badge-calendar-grid strong,
.badge-match-board strong,
.badge-claim-board strong,
.trophy-pool-board strong,
.pool-feed strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 1.55rem;
  text-transform: uppercase;
}

.pitch-grid p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.35;
}

.badge-status-grid p,
.badge-claim-board p,
.trophy-pool-board p,
.pool-feed p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.35;
}

.badge-calendar {
  display: grid;
  gap: 14px;
}

.badge-calendar h3 {
  margin: 0;
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.8;
}

.badge-match-board {
  display: grid;
  gap: 18px;
}

.badge-match-board article {
  scroll-margin-top: 118px;
}

.badge-match-board h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.8;
  text-transform: uppercase;
}

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

.match-list div {
  padding: 14px;
  background: rgba(7, 16, 30, 0.66);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.match-list em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.25;
}

.trophy-pool-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.pool-size-card {
  border-color: var(--gold) !important;
  background:
    linear-gradient(rgba(7, 16, 30, 0.28), rgba(7, 16, 30, 0.86)),
    url("./trophy_pool.png") center / cover !important;
}

.pool-size-card strong {
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(5rem, 8vw, 8rem);
  line-height: 0.8;
  text-shadow: 6px 6px 0 #06111f;
}

.pool-feed {
  display: grid;
  gap: 12px;
}

.pool-feed h3 {
  margin: 0;
  color: var(--gold);
  font-family: "PPNeueBit", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.8;
  text-transform: uppercase;
}

.pool-feed div {
  padding: 14px;
  background: rgba(7, 16, 30, 0.66);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #020917;
  border-top: 5px solid var(--base);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .hero {
    display: block;
    min-height: 980px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-side {
    width: min(460px, 100%);
    margin-top: 28px;
  }

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

  .teams-section,
  .pool-section,
  .badge-hero,
  .dashboard-showcase,
  .road-card,
  .comparison-grid,
  .pool-hook-banner,
  .pool-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .socials-section,
  .platform-gate,
  .terminal-topbar {
    grid-template-columns: 1fr;
  }

  .platform-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-table-header {
    display: block;
  }

  .pitch-grid,
  .badge-status-grid,
  .badge-calendar-grid,
  .match-list {
    grid-template-columns: 1fr;
  }

  .trophy-pool-board {
    grid-template-columns: 1fr;
  }

  .leaderboard-row {
    grid-template-columns: 48px 42px minmax(0, 1fr) 120px;
  }

  .leaderboard-row span:not(.rank) {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 118px;
    padding: 8px 14px;
    gap: 10px;
    flex-wrap: wrap;
    align-content: center;
  }

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

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

  .nav-cta {
    position: static;
    min-height: 40px;
    width: auto;
    margin-left: auto;
    padding-inline: 12px;
    overflow: hidden;
    color: #1f1300;
    font-size: 0.98rem;
  }

  .nav-cta::before {
    content: none;
  }

  .nav-links {
    order: 3;
    display: flex;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 2px;
    color: var(--muted);
    font-size: 0.96rem;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 154px;
    padding-right: 22px;
    padding-left: 22px;
    background-position: 58% center;
  }

  .hero-content {
    width: 100%;
    max-width: min(100%, 360px);
    margin-inline: auto;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero h1 {
    width: 100%;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(3rem, 12vw, 3.85rem);
    line-height: 0.84;
    text-align: center;
    text-wrap: balance;
    text-shadow: 5px 5px 0 #001331, 8px 8px 0 rgba(255, 49, 85, 0.82);
  }

  h2 {
    font-size: clamp(2.9rem, 12vw, 4.4rem);
  }

  .hero-subtitle {
    width: 100%;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.55rem, 10vw, 3.4rem);
    line-height: 0.88;
    text-align: center;
    text-wrap: balance;
  }

  .hero-copy {
    width: 100%;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.28rem;
    line-height: 1.18;
    text-align: center;
  }

  .hero-side {
    width: 100%;
    max-width: calc(100vw - 44px);
    padding: 14px;
  }

  .score-clock {
    font-size: 2.9rem;
  }

  .score-row {
    justify-content: flex-start;
    gap: 16px;
  }

  .score-row span,
  .score-row strong {
    font-size: 1.15rem;
  }

  .hero-side p {
    font-size: 1.15rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
  }

  .button,
  .nav-cta {
    min-height: 44px;
    white-space: normal;
    text-align: center;
    line-height: 1;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 3px solid var(--line);
    text-align: center;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .hero-stats strong,
  .timeline strong,
  .reward-rules strong,
  .pool-split strong,
  .token-pair span,
  .docs-callout,
  .social-button strong {
    overflow-wrap: anywhere;
    line-height: 0.96;
  }

  .game-grid,
  .flag-grid,
  .badge-layout,
  .moment-grid,
  .pool-split,
  .reward-rules,
  .pool-flow,
  .docs-highlight-grid,
  .docs-token-grid,
  .docs-split,
  .timeline {
    grid-template-columns: 1fr;
  }

  .docs-shell {
    display: block;
    width: min(100% - 28px, 860px);
    padding-top: 148px;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: 18px;
  }

  .docs-hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 11vw, 4rem);
    overflow-wrap: anywhere;
  }

  .docs-section h2 {
    font-size: clamp(2.4rem, 10vw, 3.35rem);
  }

  .docs-section p,
  .docs-section li {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .docs-highlight-grid strong,
  .docs-split strong {
    font-size: clamp(2.4rem, 12vw, 3.25rem);
  }

  .docs-token-grid span,
  .docs-callout {
    font-size: 1.18rem;
    line-height: 1;
  }

  .compact-button {
    width: 100%;
  }

  .flag-card,
  .flag-card img {
    min-height: 220px;
    height: 220px;
  }

  .badges-section {
    background-attachment: scroll;
  }

  .badge-art {
    transform: none;
  }

  .socials-section {
    grid-template-columns: 1fr;
  }

  .social-button {
    grid-template-columns: 64px 1fr;
    min-height: 82px;
  }

  .social-button strong {
    min-width: 0;
    padding: 0 14px;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .legal-shell,
  .platform-shell {
    width: min(100% - 28px, 860px);
    padding-top: 148px;
  }

  .coming-soon-shell {
    width: min(100% - 28px, 860px);
    padding-top: 148px;
  }

  .coming-soon-popup {
    padding: 20px;
  }

  .coming-soon-popup h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .coming-soon-popup p:not(.eyebrow) {
    font-size: 1.12rem;
  }

  .coming-popup-actions,
  .coming-popup-actions .button {
    width: 100%;
  }

  .gate-copy h1,
  .terminal-topbar h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 13vw, 4.5rem);
  }

  .gate-actions,
  .platform-stats,
  .platform-team-grid,
  .pitch-grid,
  .badge-status-grid,
  .badge-calendar-grid,
  .match-list {
    grid-template-columns: 1fr;
  }

  .platform-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .leaderboard-meta {
    display: grid;
  }

  .leaderboard-row {
    grid-template-columns: 44px 38px minmax(0, 1fr);
    gap: 8px;
  }

  .leaderboard-row b {
    grid-column: 3;
    text-align: left;
  }

  .gate-card img {
    min-height: 280px;
  }

  .platform-team-card {
    min-height: 232px;
  }
}
