:root {
  --ink: #071017;
  --muted: #6d7984;
  --paper: #f7f8f4;
  --white: #ffffff;
  --cyan: #1fc8ff;
  --blue: #093d6f;
  --lime: #bbff28;
  --orange: #f36d24;
  --line: rgba(7, 16, 23, 0.12);
  --shadow: 0 22px 70px rgba(7, 16, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(9, 61, 111, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 61, 111, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  letter-spacing: 0;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(247, 248, 244, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(7, 16, 23, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #25313a;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(31, 200, 255, 0.12);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 5vw, 64px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.03);
  animation: slow-pan 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 16, 23, 0.05), rgba(7, 16, 23, 0.54)),
    linear-gradient(90deg, rgba(7, 16, 23, 0.60), rgba(7, 16, 23, 0.08) 58%, rgba(7, 16, 23, 0.32));
}

.hero-copy {
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--lime);
}

.hero h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(58px, 13vw, 136px);
  line-height: 0.84;
  font-weight: 950;
  text-wrap: balance;
}

.ticker {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(24px, 5vw, 54px);
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26), 0 18px 48px rgba(187, 255, 40, 0.22);
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.link-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.btn,
.link-card,
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn {
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.90);
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(7, 16, 23, 0.18);
}

.btn.primary {
  background: var(--lime);
  border-color: rgba(187, 255, 40, 0.7);
}

.btn:hover,
.link-card:hover,
.source-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ticker-band {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 10px clamp(18px, 4vw, 52px);
  background: var(--ink);
  color: var(--white);
}

.ticker-band span {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  animation: drift 18s linear infinite;
}

.section,
.news-grid,
.story-strip,
.chart-section,
.links-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(64px, 10vw, 112px) 0;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

.intro p:not(.section-kicker),
.news-panel p,
.asset-panel p,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.68fr);
  gap: 18px;
  align-items: stretch;
  padding-bottom: 24px;
}

.news-panel,
.asset-panel,
.chart-section,
.links-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 58px rgba(7, 16, 23, 0.08);
}

.news-panel {
  padding: clamp(22px, 4vw, 38px);
}

.news-panel h2 {
  margin-bottom: 18px;
}

.tweet-wrap {
  min-height: 260px;
  margin: 24px 0 18px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 61, 111, 0.92), rgba(3, 7, 12, 0.96)),
    var(--ink);
  overflow: hidden;
}

.tweet-wrap .twitter-tweet {
  margin-inline: auto;
}

.source-link {
  padding: 11px 14px;
  border: 1px solid rgba(7, 16, 23, 0.16);
  color: #16232d;
  background: rgba(255, 255, 255, 0.72);
}

.asset-panel {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.asset-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.asset-panel div {
  padding: 0 8px 10px;
}

.asset-panel h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.chart-section,
.story-strip,
.links-section {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.chart-heading,
.links-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.story-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(18px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 58px rgba(7, 16, 23, 0.08);
}

.story-cards {
  display: grid;
  gap: 10px;
}

.story-cards article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid rgba(7, 16, 23, 0.10);
  border-radius: 8px;
  background: rgba(247, 248, 244, 0.74);
}

.story-cards span {
  grid-row: span 2;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
}

.story-cards h3 {
  margin: 0;
  font-size: 19px;
}

.story-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.chart-shell {
  position: relative;
  min-height: 540px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #05090f;
}

#dex-frame {
  display: none;
  width: 100%;
  height: 540px;
  border: 0;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(31, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 200, 255, 0.08) 1px, transparent 1px),
    #05090f;
  background-size: 44px 44px;
}

.chart-placeholder p {
  width: min(420px, 100%);
  margin: 0;
  line-height: 1.55;
}

.pulse-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 52%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), var(--lime));
  filter: drop-shadow(0 0 18px rgba(31, 200, 255, 0.38));
  animation: breathe 2.8s ease-in-out infinite;
}

.link-cards {
  justify-content: flex-end;
}

.link-card {
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer a {
  font-weight: 900;
}

@keyframes slow-pan {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, 0.8%, 0);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-120px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scaleX(0.78);
    opacity: 0.42;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 650px;
    padding-top: 110px;
  }

  .hero h1 {
    font-size: clamp(52px, 18vw, 88px);
  }

  .intro,
  .news-grid,
  .story-strip {
    grid-template-columns: 1fr;
  }

  .chart-heading,
  .links-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .link-cards {
    width: 100%;
    justify-content: stretch;
  }

  .link-card {
    flex: 1 1 100%;
  }

  .chart-shell,
  #dex-frame {
    min-height: 460px;
    height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
