/* hotwar welcome page — black and sea blue, flat accent, no gradients. */

@font-face {
  font-family: "Outfit";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/outfit-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/jetbrains-latin.woff2") format("woff2");
}

:root {
  --bg: #050609;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.17);
  --txt: #f1f4fa;
  --txt-2: #98a3b4;
  --txt-3: #5f6a7c;
  --blue: #2e7cf6;
  --blue-hi: #8fc7ff;
  --blue-dim: rgba(46, 124, 246, 0.13);
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --pad: clamp(18px, 4vw, 34px);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 400 16px/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── backdrop ────────────────────────────────────────────── */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: -60% 0 20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(74% 56% at 50% 20%, #000 10%, transparent 74%);
  animation: drift 36s linear infinite;
}

.backdrop::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  left: -280px;
  bottom: -420px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.11;
  filter: blur(190px);
}

@keyframes drift {
  to {
    transform: translateY(68px);
  }
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font: 400 12.5px/1 var(--mono);
  color: var(--txt-2);
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px 1px rgba(46, 124, 246, 0.9);
}

.accent {
  color: var(--blue-hi);
}

/* ── top bar ──────────────────────────────────────────────── */

.topbar {
  position: fixed;
  z-index: 50;
  top: clamp(14px, 2.2vh, 22px);
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - (var(--pad) * 2), var(--max));
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.55);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.topbar.solid {
  background: rgba(5, 6, 9, 0.84);
  border-color: rgba(255, 255, 255, 0.24);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: none;
  height: 58px;
  padding: 0 11px 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.brand b {
  font: 500 19px/1 var(--sans);
  letter-spacing: -0.02em;
}

.topnav {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--txt-2);
}

.topnav a {
  transition: color 0.18s ease;
}

.topnav a:hover {
  color: var(--txt);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  background: var(--panel);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  background: var(--panel-2);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.btn-hot {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.btn-hot:hover {
  background: #4a8ef8;
  border-color: #4a8ef8;
}

.topbar .btn {
  padding: 6px 13px;
  border-radius: 9px;
  font-size: 13.5px;
}

/* ── hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(118px, 14vh, 156px) 0 clamp(74px, 9.5vh, 100px);
}

.hero-copy {
  order: 2;
  min-width: 0;
}

.hero-copy h1 {
  margin: clamp(14px, 2.6svh, 22px) 0 clamp(12px, 2.2svh, 18px);
  font-size: clamp(38px, min(6.1vw, 8.6svh), 70px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy .lede {
  max-width: 47ch;
  color: var(--txt-2);
  font-size: clamp(15.5px, 1.55vw, 18px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-form {
  margin-top: clamp(20px, 3.8svh, 32px);
  max-width: 505px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: clamp(22px, 4svh, 34px) 0 0;
}

.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  padding-right: clamp(11px, 1.3vw, 13px);
}

.hero-stats div + div {
  padding-left: clamp(11px, 1.3vw, 13px);
  border-left: 1px solid var(--line-2);
}

.hero-stats dt {
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stats dd {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.hero-stage {
  order: 1;
  position: relative;
  min-width: 0;
}

/* the profile mock */

.mock {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px 24px 24px;
  background: #0a0c11;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}

.mock-head {
  display: flex;
  justify-content: space-between;
  font: 400 11px/1 var(--mono);
  color: var(--txt-3);
}

.mock-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 20px 0 18px;
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #10141c;
  border: 2px solid var(--blue);
}

.avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.mock-id h3 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-id p {
  font: 400 12px/1 var(--mono);
  color: var(--txt-3);
}

/* the bio page keeps the strip inside a bordered pill and only ever shows
   six badges at a time, so it never spans the card */
.badges {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 16px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  line-height: 0;
}

.badges .view {
  width: 232px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.badges .track {
  display: flex;
  width: max-content;
  animation: slide 40.25s linear infinite;
}

.badges:hover .track {
  animation-play-state: paused;
}

.badges .set {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}

.badges svg {
  flex: none;
  width: 32px;
  height: 32px;
}

.mock-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  margin-bottom: 9px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mock-link:hover {
  border-color: rgba(46, 124, 246, 0.6);
  background: var(--blue-dim);
}

.mock-link span {
  color: var(--txt-3);
  font: 400 12px/1 var(--mono);
}

.mock-link.hot {
  border-color: var(--blue);
  background: var(--blue-dim);
}

.player {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.4);
}

.player .art {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  flex: none;
}

.player .meta {
  flex: 1;
  min-width: 0;
}

.player .meta b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player .meta span {
  font: 400 11px/1.4 var(--mono);
  color: var(--txt-3);
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  flex: none;
}

.eq i {
  width: 3px;
  border-radius: 2px;
  background: var(--blue-hi);
  animation: bounce 0.95s ease-in-out infinite alternate;
}

.eq i:nth-child(1) { height: 6px }
.eq i:nth-child(2) { height: 15px; animation-delay: -0.18s }
.eq i:nth-child(3) { height: 9px; animation-delay: -0.36s }
.eq i:nth-child(4) { height: 16px; animation-delay: -0.54s }
.eq i:nth-child(5) { height: 7px; animation-delay: -0.72s }

@keyframes bounce {
  from { transform: scaleY(0.3) }
  to { transform: scaleY(1) }
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #0b0d13;
  font: 400 12px/1 var(--mono);
  color: var(--txt-2);
  white-space: nowrap;
  box-shadow: 0 14px 34px -18px #000;
}

.chip b {
  color: var(--blue-hi);
  font-weight: 400;
}

.chip-a {
  top: 8%;
  left: -7%;
  animation: float 7.5s ease-in-out infinite;
}

.chip-b {
  bottom: 26%;
  right: -6%;
  animation: float 8.5s ease-in-out -2s infinite;
}

.chip-c {
  bottom: -4%;
  left: 12%;
  animation: float 10s ease-in-out -4s infinite;
}

/* the way down */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vh, 28px);
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-3);
  transition: color 0.18s ease;
}

.scroll-cue:hover {
  color: var(--blue-hi);
}

.scroll-cue i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translate(0, 0) rotate(45deg);
    opacity: 0.55;
  }

  50% {
    transform: translate(4px, 4px) rotate(45deg);
    opacity: 1;
  }
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  padding: 6px 6px 6px 15px;
  background: rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 124, 246, 0.16);
}

.field .pre {
  font: 400 14.5px/1 var(--mono);
  color: var(--txt-3);
  white-space: nowrap;
}

.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: 400 15px/1.4 var(--mono);
  padding: 9px 0;
}

.field input:focus-visible {
  outline: none;
}

.field input::placeholder {
  color: #454e5c;
}

.field .btn {
  flex: none;
  padding: 10px 18px;
}

.field .btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.claim-msg {
  margin-top: 11px;
  min-height: 20px;
  font: 400 12.5px/1.5 var(--mono);
  color: var(--txt-3);
}

.claim-msg.bad {
  color: #ff7d92;
}

.claim-msg.good {
  color: var(--blue-hi);
}

/* ── ticker ──────────────────────────────────────────────── */

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #0a0c11;
  margin-top: 18px;
  overflow: hidden;
}

.ticker div {
  padding: 20px clamp(14px, 2.4vw, 26px);
  border-left: 1px solid var(--line);
}

.ticker div:first-child {
  border-left: 0;
}

.ticker dt {
  font: 700 clamp(26px, 3.2vw, 36px)/1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--blue-hi);
}

.ticker dd {
  margin: 7px 0 0;
  font: 400 11.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--txt-3);
}

/* ── join + marquee ───────────────────────────────────────── */

.join {
  padding: clamp(64px, 10vh, 116px) 0 clamp(30px, 4.5vh, 46px);
  text-align: center;
}

.join h2 {
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.join .hero-cta {
  justify-content: center;
}

.marquee {
  width: min(100% - (var(--pad) * 2), 760px);
  margin: clamp(34px, 6vh, 58px) auto 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.rail {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}

.rail.rev {
  animation-direction: reverse;
}

.rail:nth-child(2) {
  animation-duration: 54s;
}

.rail:nth-child(3) {
  animation-duration: 40s;
}

.marquee:hover .rail {
  animation-play-state: paused;
}

.run {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

.u {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a0c11;
  padding: 6px 12px 6px 6px;
  font: 400 12.5px/1 var(--mono);
  color: var(--txt-2);
  white-space: nowrap;
}

.u i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 500 10px/1 var(--sans);
  color: #fff;
}

.u i.lt {
  color: #050609;
}

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

/* ── footer ───────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 9vh, 100px);
  padding-block: 46px 34px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
}

.foot h4 {
  margin: 0 0 14px;
  font: 400 11.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--txt-2);
}

.foot ul a:hover {
  color: var(--blue-hi);
}

.foot-about p {
  margin-top: 13px;
  font-size: 14px;
  color: var(--txt-2);
  max-width: 34ch;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font: 400 12.5px/1.5 var(--mono);
  color: var(--txt-3);
}

.foot-bottom span:first-child {
  margin-right: auto;
}

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 108px;
  }

  .hero-stage {
    order: 2;
    max-width: 420px;
  }

  .hero-copy {
    order: 1;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar-in {
    gap: 14px;
  }

  .topnav {
    font-size: 13.5px;
  }

  .topbar .btn:not(.btn-hot) {
    display: none;
  }

  .hero-stage {
    display: none;
  }

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

  .hero-stats div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-right: 0;
  }

  .hero-stats div + div {
    padding-left: 12px;
  }

  .hero-stats dt {
    font-size: 19px;
  }

  .hero-stats dd {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

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

  .ticker div:nth-child(3) {
    border-left: 0;
  }

  .ticker div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mock,
  .chip,
  .eq i,
  .scroll-cue i,
  .rail,
  .badges .track,
  .backdrop::before {
    animation: none;
  }

  .badges .view {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .badges .view::-webkit-scrollbar {
    display: none;
  }

  .badges .set[aria-hidden] {
    display: none;
  }
}
