:root {
  --bg: #050505;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #8a8a8a;
  --text: #f5f5f5;
  --soft: #b6bdc4;
  --ink: #050505;
  --accent: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, "Instrument Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

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

strong {
  font-weight: 600;
}

code {
  color: #f0f0f0;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.92em;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.04;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 5;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Instrument Sans", Manrope, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 64px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.network-pill,
.kicker,
.eyebrow,
.feed-head,
.strip-index,
.footer,
.launch-meta,
.launch-fee,
.example-label,
.example-hint {
  font-family: "DM Mono", ui-monospace, monospace;
}

.network-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.network-pill i,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
  display: inline-block;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.button-primary:hover {
  background: #f4f4f4;
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.button-lg {
  padding: 16px 22px;
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.arrow {
  font-size: 16px;
  line-height: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cdd1d5;
  font-size: 13px;
}

.text-link:hover {
  color: #fff;
}

/* Hero — full-bleed cinematic */
.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-video {
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: grayscale(0.25) contrast(1.08);
  animation: drift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.55) 42%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.hero-inner {
  z-index: 1;
  padding: 72px 0 64px;
  max-width: 920px;
  margin-left: max(24px, calc((100% - 1180px) / 2 + 24px));
  margin-right: auto;
  width: min(920px, calc(100% - 48px));
}

.eyebrow,
.kicker {
  color: #d8d8d8;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: #fff;
}

.brand-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

.brand-display-mark {
  width: clamp(48px, 6vw, 68px);
  height: clamp(48px, 6vw, 68px);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero-headline {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 14ch;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.handle-pill {
  display: inline-block;
  padding: 0.08em 0.42em;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.hero-lede {
  max-width: 42ch;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
  animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: rise 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
}

/* Stats */
.signal-strip {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.signal-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-strip-inner > div {
  min-height: 118px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.signal-strip-inner > div:first-child {
  padding-left: 0;
}

.signal-strip-inner > div:last-child {
  border-right: 0;
}

.strip-index {
  display: block;
  color: #d8d8d8;
  font-size: 10px;
  margin-bottom: 12px;
}

.signal-strip strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.signal-strip small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* Sections */
.section {
  padding-top: 110px;
}

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

.section-heading h2,
.launch-cta h2 {
  margin: 12px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.section-intro {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feed-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: #d8dadd;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-head span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.launch-list {
  border-bottom: 0;
}

.launch-row {
  display: grid;
  grid-template-columns: 52px 48px 1.4fr 0.7fr 0.7fr 28px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease;
}

.launch-row:first-child {
  border-top: 0;
}

.launch-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.rank {
  color: #626c74;
  font: 11px "DM Mono", ui-monospace, monospace;
}

.token-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #101113;
  font: 500 12px "DM Mono", ui-monospace, monospace;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.token-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.launch-name b {
  display: block;
  font: 12px "DM Mono", ui-monospace, monospace;
}

.launch-name small {
  display: block;
  margin-top: 5px;
  color: #747e86;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.launch-fee,
.launch-meta {
  color: #c9ced3;
  font-size: 11px;
}

.launch-meta {
  color: #6d767e;
}

.row-arrow {
  color: #78828a;
  font-size: 18px;
  justify-self: end;
}

.launch-row:hover .row-arrow {
  color: #fff;
}

.empty-state {
  padding: 36px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Settings */
.settings-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.example-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 24px;
}

.example-label {
  margin: 0;
  color: #9aa3a8;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.example-tweet {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e8ebef;
  font: 12px/1.55 "DM Mono", ui-monospace, monospace;
  white-space: pre-wrap;
}

.example-hint {
  margin: 4px 0 0;
  color: #7a838b;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.setting-block {
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.setting-block:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.setting-block span {
  color: #d8d8d8;
  font: 11px "DM Mono", ui-monospace, monospace;
}

.setting-block h3 {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.setting-block p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Reels */
.reel-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reel-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.reel-card:hover,
.reel-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

.reel-card video {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  display: block;
  filter: grayscale(0.12) contrast(1.05);
}

.reel-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font: 10px "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

/* Final CTA */
.launch-cta {
  margin-top: 110px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(0, 0, 0, 0.25);
}

.launch-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 75px 0 110px;
}

.cta-side {
  width: min(360px, 100%);
}

.cta-side p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.cta-side small {
  display: block;
  margin-top: 16px;
  color: #626b73;
  font: 9px "DM Mono", ui-monospace, monospace;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  color: #6d767e;
  font-size: 10px;
}

.footer .brand {
  color: var(--text);
}

.footer-right {
  margin-left: auto;
  font-size: 9px;
}

.footer-right i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 6px;
  background: #fff;
  border-radius: 50%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .shell,
  .hero-inner {
    width: min(100% - 32px, 680px);
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links,
  .nav-actions .network-pill {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 48px 0 56px;
  }

  .hero-headline {
    max-width: none;
  }

  .brand-display {
    font-size: clamp(32px, 9vw, 44px);
  }

  .signal-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .signal-strip-inner > div {
    padding: 22px 16px;
  }

  .signal-strip-inner > div:nth-child(2n) {
    border-right: 0;
  }

  .signal-strip-inner > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .signal-strip-inner > div:first-child {
    padding-left: 16px;
  }

  .section {
    padding-top: 84px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .launch-row {
    grid-template-columns: 28px 40px 1fr 24px;
    gap: 8px;
    padding-inline: 12px;
  }

  .launch-fee,
  .launch-meta {
    display: none;
  }

  .settings-layout,
  .settings-grid,
  .reel-rail {
    grid-template-columns: 1fr;
  }

  .example-card {
    position: static;
  }

  .launch-cta {
    margin-top: 84px;
  }

  .launch-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 0 84px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 14px;
    padding: 24px 0;
  }

  .footer-right {
    width: 100%;
    margin-left: 0;
  }
}
