:root {
  --navy: #080d1d;
  --navy-2: #07162a;
  --ink: #062b1d;
  --green: #0ba86c;
  --gold: #ffe04a;
  --cream: #f6f3eb;
  --muted: #ccd4df;
  --panel: rgba(45, 57, 78, 0.82);
  --line: rgba(255, 255, 255, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: white;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 224, 74, 0.2), transparent 18rem),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 26rem),
    linear-gradient(115deg, transparent 0 32%, rgba(12, 29, 54, 0.75) 32% 38%, transparent 38% 100%),
    linear-gradient(245deg, transparent 0 32%, rgba(12, 29, 54, 0.75) 32% 38%, transparent 38% 100%),
    linear-gradient(180deg, var(--navy), #061225 52%, #07172b);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 10vh;
  bottom: 0;
  width: 28vw;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 38, 70, 0.34), rgba(3, 12, 24, 0));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.55;
}

body::before {
  left: 2vw;
}

body::after {
  right: 2vw;
}

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

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

.page-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 48px 0 24px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: 0.42em;
}

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

h1 {
  margin-bottom: 26px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.4rem, 11vw, 9.2rem);
  line-height: 0.85;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.intro {
  width: min(820px, 100%);
  margin-bottom: 42px;
  color: #eef2f8;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
}

.pill-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.pill-nav a {
  min-width: 108px;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: white;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pill-nav .active {
  background: var(--gold);
  color: #063824;
}

.countdown-card {
  width: min(980px, 100%);
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(22, 199, 132, 0.16), transparent 19rem),
    var(--panel);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.countdown-card::before {
  content: "⚽";
  position: absolute;
  left: -48px;
  bottom: 18px;
  font-size: 2.15rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
  animation: ballRun 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.countdown-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  opacity: 0.55;
}

.countdown-card > * {
  position: relative;
  z-index: 1;
}

.countdown-card p {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.35em;
}

.countdown-card strong {
  color: #f6f3eb;
}

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

.countdown-grid span {
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.26);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  animation: tilePulse 2.6s ease-in-out infinite;
}

.countdown-grid b {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.15rem;
  line-height: 1;
}

@keyframes ballRun {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  42% {
    transform: translateX(calc(min(980px, 100vw) * 0.54)) translateY(-18px) rotate(360deg);
  }

  68% {
    transform: translateX(calc(min(980px, 100vw) * 0.78)) translateY(0) rotate(620deg);
  }

  100% {
    transform: translateX(calc(min(980px, 100vw) + 92px)) translateY(-4px) rotate(900deg);
  }
}

@keyframes tilePulse {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 18px rgba(255, 224, 74, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-card::before,
  .countdown-grid span,
  .hub-token,
  .hub-token::before,
  .hub-token::after {
    animation: none;
  }
}

.hub-token {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 auto 34px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 224, 74, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(22, 199, 132, 0.18), transparent 18rem),
    radial-gradient(circle at 8% 18%, rgba(255, 224, 74, 0.1), transparent 16rem),
    linear-gradient(135deg, rgba(10, 25, 39, 0.96), rgba(5, 16, 29, 0.98));
  background-size: 120% 120%, 110% 110%, 100% 100%;
  color: #f7fbff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  animation: hubAurora 12s ease-in-out infinite alternate;
}

.hub-token::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.08) 44%, transparent 54% 100%),
    radial-gradient(circle at var(--glow-x, 15%) 50%, rgba(230, 198, 132, 0.16), transparent 18rem);
  mix-blend-mode: screen;
  opacity: 0.78;
  animation: hubShine 8s ease-in-out infinite;
  pointer-events: none;
}

.hub-token::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 224, 74, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 24px rgba(255, 224, 74, 0.1);
  animation: hubBorderPulse 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hub-copy {
  position: relative;
  z-index: 1;
}

@keyframes hubAurora {
  0% {
    background-position: 88% 12%, 8% 18%, 0 0;
  }

  100% {
    background-position: 72% 28%, 18% 8%, 0 0;
  }
}

@keyframes hubShine {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-18%);
    --glow-x: 12%;
  }

  45% {
    opacity: 0.82;
  }

  70% {
    transform: translateX(18%);
    --glow-x: 84%;
  }
}

@keyframes hubBorderPulse {
  0%,
  100% {
    border-color: rgba(255, 224, 74, 0.48);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.035),
      0 0 18px rgba(255, 224, 74, 0.08);
  }

  50% {
    border-color: rgba(255, 224, 74, 0.82);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.055),
      0 0 34px rgba(255, 224, 74, 0.18);
  }
}

.hub-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hub-title-row > img {
  width: clamp(64px, 8vw, 104px);
  height: clamp(64px, 8vw, 104px);
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px;
}

.hub-kicker {
  margin-bottom: 8px;
  color: #e6c684;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.32em;
}

.hub-copy h2 {
  margin-bottom: 0;
  color: #f8fbff;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
}

.hub-copy > p:not(.hub-kicker) {
  max-width: 860px;
  margin-bottom: 24px;
  color: #d8e4ef;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.65;
}

.hub-copy strong {
  color: #e6c684;
}

.contract-box {
  width: min(900px, 100%);
  padding: 18px 20px;
  border: 1px solid rgba(111, 145, 166, 0.35);
  border-radius: 18px;
  background: rgba(6, 18, 31, 0.68);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.contract-box span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #e6c684;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contract-box span img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

#hubContract {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border: 0;
  background: transparent;
  color: #f5f8fb;
  padding: 0;
  cursor: default;
  font: 800 0.92rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: left;
  overflow-wrap: anywhere;
}

#hubContract:disabled {
  opacity: 0.78;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pump-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #079d70;
  color: white;
  font-weight: 950;
}

.pump-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.icon-link img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.board-section {
  padding: 44px 0 80px;
}

.board-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.board-header .kicker {
  margin-bottom: 8px;
  font-size: 1rem;
}

h2 {
  margin-bottom: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

#coachCount {
  color: var(--muted);
  font-weight: 800;
}

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

.coach-item {
  display: grid;
}

.coach-item.is-clickable {
  cursor: pointer;
}

.coach-item.is-clickable:focus-visible {
  outline: 3px solid rgba(230, 198, 132, 0.9);
  outline-offset: 6px;
  border-radius: 10px;
}

.coach-card,
.state-card {
  width: 100%;
  color: #f5f8fb;
  border: 1px solid rgba(111, 145, 166, 0.35);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 10%, rgba(125, 161, 187, 0.28), transparent 9rem),
    linear-gradient(135deg, rgba(11, 24, 36, 0.98), rgba(18, 39, 54, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 18px 40px rgba(0, 0, 0, 0.36);
}

.coach-card {
  min-height: 336px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 46% 54%;
  grid-template-rows: 1fr auto auto;
  column-gap: 14px;
  padding: 14px 14px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.coach-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 198, 132, 0.68);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(230, 198, 132, 0.35);
}

.sequence {
  position: absolute;
  top: 20px;
  right: 16px;
  z-index: 2;
  color: #e6c684;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.portrait-panel {
  min-height: 186px;
  height: 220px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(5, 15, 26, 0.4));
  box-shadow: inset 0 24px 40px rgba(255, 255, 255, 0.04);
}

.portrait-panel.is-empty {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 10px, transparent 10px 20px);
}

.coach-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  background: #0b2235;
  box-shadow: none;
}

.coach-info {
  min-width: 0;
  padding: 12px 0 0;
  padding-right: 42px;
}

.coach-name {
  margin: 0 0 7px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  color: #f7f8fb;
  overflow-wrap: anywhere;
}

.coach-role {
  width: fit-content;
  margin: 0 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(230, 198, 132, 0.66);
  color: #e6c684;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-list {
  display: grid;
  gap: 8px;
  color: #d7e0e9;
  font-size: 0.76rem;
  font-weight: 700;
}

.info-list span {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.mini-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.icon-pin::before,
.icon-calendar::before,
.icon-boot::before {
  width: 14px;
  color: #e6c684;
  text-align: center;
}

.icon-pin::before {
  content: "#";
}

.icon-calendar::before {
  content: "▣";
}

.icon-boot::before {
  content: "★";
}

.ca-line {
  align-items: flex-start;
}

.ca-value {
  min-width: 0;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: #dfe7ed;
  padding: 0;
  cursor: copy;
  font: inherit;
  font-size: 0.67rem;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ca-value:hover {
  color: #e6c684;
}

.ca-value.empty {
  cursor: default;
  color: #dfe7ed;
}

.card-stats {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(143, 164, 177, 0.28);
  color: #dfe7ed;
  font-size: 0.82rem;
  font-weight: 800;
}

.card-stats b {
  color: #e6c684;
}

.card-stats i {
  width: 1px;
  height: 18px;
  background: rgba(230, 198, 132, 0.52);
}

.market-cap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(22, 199, 132, 0.18);
  border-radius: 8px;
  background: rgba(22, 199, 132, 0.055);
  color: #dfe7ed;
  font-size: 0.78rem;
  font-weight: 900;
}

.market-cap span {
  color: #e6c684;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-cap b {
  color: #8ff2c9;
  font-size: 0.95rem;
}

.card-ca {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 198, 132, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #dfe7ed;
  font-size: 0.72rem;
  font-weight: 850;
}

.card-ca > span {
  color: #e6c684;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trade-row {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding-top: 18px;
}

.trade-button {
  display: inline-grid;
  place-items: center;
  width: min(164px, 74%);
  min-height: 50px;
  border: 3px solid rgba(5, 10, 14, 0.72);
  border-radius: 999px;
  background: #e7c984;
  color: #02080c;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.28);
}

.trade-button.disabled {
  opacity: 1;
  cursor: not-allowed;
  filter: grayscale(0.12);
}

.state-card {
  padding: 28px;
  font-weight: 900;
}

.state-card[hidden] {
  display: none;
}

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1360px);
  }

  .hero {
    min-height: 78vh;
    padding-top: 32px;
  }

  .pill-nav {
    width: 100%;
  }

  .pill-nav a {
    flex: 1;
    min-width: 0;
  }

  .hub-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .coach-card {
    grid-template-columns: 42% 58%;
    min-height: 224px;
  }

  .coach-name {
    font-size: 1.24rem;
  }

  .trade-button {
    width: min(170px, 78%);
  }
}
