:root {
  --ink: #eaf7f0;
  --muted: #91a49b;
  --bg: #071412;
  --panel: rgba(13, 29, 26, .78);
  --panel-strong: rgba(19, 42, 37, .9);
  --line: rgba(180, 255, 215, .13);
  --line-strong: rgba(180, 255, 215, .24);
  --lime: #a7ff1a;
  --cyan: #5ee4d0;
  --blue: #5f72ff;
  --red: #ff4d64;
  --green: #3ee089;
  --amber: #f4c95d;
  --shadow: 0 28px 90px rgba(0, 0, 0, .38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(167, 255, 26, .17), transparent 27%),
    radial-gradient(circle at 12% 76%, rgba(95, 114, 255, .12), transparent 33%),
    linear-gradient(180deg, #071412 0%, #0b1819 58%, #081111 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.paper-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(180, 255, 215, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 255, 215, .035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cursor-light {
  position: fixed;
  width: 460px;
  aspect-ratio: 1;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(167, 255, 26, .18), rgba(94, 228, 208, .08) 42%, transparent 68%);
  filter: blur(22px);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 16, 15, .68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(167, 255, 26, .35);
  border-radius: 7px;
  background: linear-gradient(135deg, var(--lime), var(--cyan) 52%, #21312d);
  color: #06100f;
  font-size: 13px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  color: white;
  font-size: 15px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

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

.nav-links a,
.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.nav-links a {
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 86vh;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: 44px;
  align-items: center;
  margin: 0 auto;
  padding: 112px 0 58px;
}

.hero-copyblock {
  position: relative;
}

.hero-copyblock::before {
  content: "MOP";
  position: absolute;
  left: -12px;
  top: -96px;
  z-index: -1;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(132px, 25vw, 330px);
  font-weight: 950;
  line-height: .8;
}

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

.eyebrow.lime {
  color: var(--lime);
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  color: #f8fff9;
  font-size: clamp(72px, 10vw, 136px);
  line-height: .82;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: #f8fff9;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .94;
  font-weight: 930;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #b7c8c0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.28;
}

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

.button {
  padding: 0 18px;
}

.button.primary {
  border-color: transparent;
  background: var(--lime);
  color: #071412;
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .055);
}

.post-stack {
  position: relative;
  min-height: 530px;
}

.post-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(180, 255, 215, .22);
  border-radius: var(--radius);
  background: #0c1716;
  box-shadow: var(--shadow);
}

.post-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.post-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(7, 17, 31, .72);
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.post-photo.mugshot {
  top: 24px;
  left: 0;
  width: 58%;
  height: 330px;
  transform: rotate(-2.2deg);
}

.post-photo.prank {
  right: 0;
  bottom: 58px;
  width: 60%;
  height: 360px;
  transform: rotate(1.4deg);
}

.post-note {
  position: absolute;
  left: 42px;
  right: 24px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 25, 22, .76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.post-note span {
  color: var(--lime);
  font-size: 28px;
  font-weight: 950;
}

.post-note strong {
  max-width: 210px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  text-align: right;
}

.ticker-rail {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}

.rail-track {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 13px 0;
  animation: rail 26s linear infinite;
}

.rail-track span {
  padding: 0 24px;
  color: rgba(234, 247, 240, .58);
  font-size: 12px;
  font-weight: 950;
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 790px;
}

.story-lines {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.story-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.story-line:last-child {
  border-bottom: 0;
}

.story-line span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
}

.story-line p {
  max-width: 880px;
  margin-bottom: 0;
  color: #c3d1cb;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.34;
}

.signal {
  padding-top: 22px;
}

.signal-panel {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel h2 {
  color: var(--lime);
  font-size: clamp(54px, 9vw, 118px);
}

.metrics {
  display: grid;
  width: min(560px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.metrics span,
.metrics strong {
  display: block;
}

.metrics span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.metrics strong {
  color: var(--ink);
  font-size: 15px;
}

.dex {
  width: min(1180px, calc(100% - 32px));
  padding-top: 92px;
}

.dex .section-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: start;
}

.dex .section-head .eyebrow,
.dex .section-head h2 {
  grid-column: 1;
}

.dex-shell {
  position: relative;
  height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 29, 31, .68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dex-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #071412;
}

.chart-open {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(9, 25, 22, .74);
  font-size: 16px;
  font-weight: 900;
}

.tweet-wrap {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.twitter-tweet {
  max-width: 550px;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: rgba(234, 247, 240, .72);
  font-size: 13px;
  font-weight: 850;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .post-stack {
    min-height: 480px;
  }

  .section-head {
    display: grid;
  }

  .signal-panel {
    display: grid;
  }

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

@media (max-width: 560px) {
  .site-header {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
    padding: 10px;
  }

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

  .nav-links {
    display: grid;
    width: 120px;
    grid-template-columns: repeat(3, 36px);
    justify-self: start;
    gap: 6px;
  }

  .nav-links a {
    width: 36px;
    min-height: 34px;
    padding: 0;
    font-size: 12px;
  }

  .nav-links a[data-link="pumpfun"] {
    font-size: 0;
  }

  .nav-links a[data-link="pumpfun"]::after {
    content: "PF";
    font-size: 12px;
  }

  h1 {
    font-size: 57px;
  }

  h2 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .post-stack {
    min-height: 410px;
  }

  .post-photo.mugshot {
    width: 61%;
    height: 250px;
  }

  .post-photo.prank {
    width: 62%;
    height: 280px;
  }

  .post-note {
    left: 14px;
    right: 14px;
  }

  .story-line {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .section-pad {
    padding: 62px 0;
  }

  .chart-open {
    grid-column: 1;
    grid-row: auto;
    width: max-content;
    margin-bottom: 6px;
  }

  .dex-shell {
    height: 560px;
  }

  .tweet-wrap {
    padding: 16px;
  }

  .site-footer {
    display: grid;
    padding: 24px 0;
  }

  .site-footer div {
    justify-content: start;
  }
}

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