:root {
  --blue: #5c83fc;
  --blue-deep: #3d63f0;
  --blue-soft: #9eb6ff;
  --cream: #efebe3;
  --ink: #070a14;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --nav: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: #070a14;
  --bg-2: #0c1020;
  --surface: #12182a;
  --surface-2: #171e33;
  --line: rgba(158, 182, 255, 0.16);
  --line-strong: rgba(158, 182, 255, 0.32);
  --text: #f3f5ff;
  --muted: #8b93b3;
  --faint: #5c6484;
  --glow: rgba(92, 131, 252, 0.45);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(7, 10, 20, 0.72);
  --cream-tint: rgba(239, 235, 227, 0.06);
  --blue-tint: rgba(92, 131, 252, 0.1);
  --card-hover: rgba(92, 131, 252, 0.08);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.2);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.brand span {
  font-size: 15px;
}

.brand em {
  font-style: normal;
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--card-hover);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
}

.nav-x:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px var(--glow);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue);
}

.btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  min-height: min(780px, calc(100svh - var(--nav) - 52px));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.orb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 540px;
  margin-inline: auto;
}

.orb::before,
.orb::after,
.ring {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(92, 131, 252, 0.18);
  pointer-events: none;
}

.orb::after {
  inset: -6%;
  border-color: rgba(92, 131, 252, 0.1);
}

.ring {
  inset: 14%;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.orb-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(8px);
  animation: pulse 4.2s var(--ease) infinite;
}

.cat {
  position: relative;
  z-index: 1;
  width: 68%;
  cursor: pointer;
  filter: drop-shadow(0 0 28px var(--glow));
  transition: transform 0.35s var(--ease);
  user-select: none;
}

.cat:hover {
  transform: scale(1.04) rotate(-1.5deg);
}

.cat:active {
  transform: scale(0.98);
}

.cat img {
  width: 100%;
  image-rendering: pixelated;
}

.hint {
  position: absolute;
  bottom: 8%;
  z-index: 2;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(92, 131, 252, 0.18);
}

h1 {
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
}

h1 .cash {
  color: var(--blue);
}

.tagline {
  margin-top: 16px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted);
  max-width: 28ch;
  font-weight: 500;
}

.tagline strong {
  color: var(--blue);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ca {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.live {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.stat {
  padding: 14px 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.stat dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.stat dd {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.stat dd.up {
  color: #3dd68c;
}

.stat dd.down {
  color: #ff6b7a;
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee i {
  font-style: normal;
  color: var(--blue);
}

.meme-tape {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 14px 0;
}

.meme-tape-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.meme-tape-track img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  image-rendering: pixelated;
  border: 1px solid var(--line);
  background: #070a14;
}

/* ---------- sections ---------- */
section {
  padding: 88px 0;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 750;
}

.lede {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 17px;
}

.lede code,
code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card-art {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--ink);
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.pools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.pool {
  padding: 28px 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.pool.mind {
  background: var(--blue-tint);
}

.pool.bills {
  background: var(--cream-tint);
}

.pool b {
  display: block;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
}

.pool h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pool p {
  color: var(--muted);
  font-size: 15px;
  max-width: 36ch;
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 36px;
  position: relative;
}

.split-pane {
  padding: 40px 32px;
}

.split-pane.face {
  order: 1;
  background: var(--cream-tint);
}

.split-pane.mind {
  order: 3;
  background: var(--blue-tint);
}

.split-pane h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 6px 0 10px;
}

.split-pane p {
  color: var(--muted);
  max-width: 34ch;
}

.split-cat {
  order: 2;
  width: 240px;
  align-self: center;
  padding: 28px 8px;
  filter: drop-shadow(0 16px 40px var(--glow));
}

.split-cat img {
  width: 100%;
  image-rendering: pixelated;
}

/* ---------- facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.fact {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.fact b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- chart ---------- */
.chart-frame {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 420px;
}

.chart-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.chart-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.chart-empty img {
  width: 120px;
  margin: 0 auto 16px;
  image-rendering: pixelated;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.shot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070a14;
  transition: transform 0.3s var(--ease);
}

.shot:hover {
  transform: translateY(-4px) rotate(-0.6deg);
}

.shot:nth-child(even):hover {
  transform: translateY(-4px) rotate(0.8deg);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 10px #000;
}

/* ---------- faq ---------- */
.faq {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--blue);
  font-weight: 500;
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  padding: 0 22px 18px;
  color: var(--muted);
  max-width: 70ch;
}

.faq a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.socials a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* ---------- toast / meow ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  transition: 0.28s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.float-meow {
  position: absolute;
  pointer-events: none;
  font-weight: 800;
  color: var(--blue);
  animation: rise 0.9s var(--ease) forwards;
  z-index: 5;
}

/* ---------- mobile nav ---------- */
.drawer {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes rise {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -80px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .cards,
  .facts,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

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

  .split-cat {
    grid-column: 1 / -1;
    order: 0;
    width: 200px;
    margin-inline: auto;
    padding: 28px 0 0;
  }

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

  .hero {
    min-height: unset;
    padding: 12px 0 24px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  #nav-buy {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-grid,
  .cards,
  .split,
  .pools {
    grid-template-columns: 1fr;
  }

  .facts,
  .gallery,
  .live {
    grid-template-columns: 1fr 1fr;
  }

  .orb {
    max-width: 340px;
  }

  h1 {
    font-size: 64px;
  }

  .tagline {
    max-width: none;
  }

  .split-pane {
    padding: 28px 22px;
  }

  .split-cat {
    grid-column: auto;
    order: 2;
    width: 180px;
    margin: 4px auto;
    padding: 4px 0;
  }

  section {
    padding: 64px 0;
  }

  .drawer {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 16px;
    flex-direction: column;
    gap: 6px;
  }

  .drawer.open {
    display: flex;
  }

  .drawer a {
    padding: 10px 8px;
    color: var(--muted);
  }

  .nav {
    position: sticky;
  }

  .nav-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
