:root {
  --bg: #1b1610;
  --panel: #231f17;
  --panel-2: #121814;
  --line: rgba(198, 240, 6, 0.22);
  --text: #f7f2df;
  --muted: #b9b098;
  --green: #c6f006;
  --blue: #6bd7ff;
  --amber: #f0a63b;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(198, 240, 6, 0.16), transparent 34%),
    linear-gradient(135deg, #1b1610 0%, #16120d 48%, #08130d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.grid-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(198, 240, 6, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 240, 6, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(198, 240, 6, 0.18);
  border-radius: 999px;
  background: rgba(20, 17, 12, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px var(--shadow);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--green);
  object-fit: cover;
}

nav {
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta,
.actions a,
.ca-box button {
  color: #15170a;
  background: var(--green);
  font-weight: 900;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 72px 0 48px;
}

.eyebrow,
.label {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--green);
  text-shadow: 0 0 24px rgba(198, 240, 6, 0.42);
  animation: charge 2.6s ease-in-out infinite;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
}

.actions .ghost {
  color: var(--text);
  border: 1px solid rgba(247, 242, 223, 0.22);
  background: transparent;
}

.hero-art {
  position: relative;
}

.status-strip,
.market-header,
.panel,
.thesis {
  border: 1px solid rgba(198, 240, 6, 0.2);
  background: rgba(24, 22, 16, 0.88);
  box-shadow: 0 24px 70px var(--shadow);
}

.status-strip {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 18px 18px 0 0;
  color: var(--green);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
}

.image-frame {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(198, 240, 6, 0.32);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background:
    linear-gradient(140deg, rgba(198, 240, 6, 0.12), rgba(107, 215, 255, 0.08)),
    #0f110c;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  animation: floatDog 4.4s ease-in-out infinite;
}

.market-shell {
  margin: 12px 0 28px;
}

.market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 22px 22px 0 0;
}

.market-header h2,
.panel h2,
.thesis h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(198, 240, 6, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(198, 240, 6, 0.06);
  font: 700 12px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

.pulse span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(198, 240, 6, 0.2);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}

.metric {
  min-height: 190px;
  padding: 22px;
  background: rgba(9, 14, 10, 0.74);
}

.metric + .metric {
  border-left: 1px solid rgba(198, 240, 6, 0.18);
}

.metric span,
dt,
.ca-box span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font: 700 11px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-bottom: 24px;
  font-size: 25px;
}

.metric p,
.doc-body p,
.thesis p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin: 28px 0;
}

.panel,
.thesis {
  border-radius: 24px;
  padding: 26px;
}

.doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.doc-tab {
  padding: 11px 13px;
  border: 1px solid rgba(247, 242, 223, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font: 800 12px "Courier New", ui-monospace, monospace;
}

.doc-tab.active,
.doc-tab:hover {
  color: #15170a;
  border-color: var(--green);
  background: var(--green);
}

.doc-body {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(247, 242, 223, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.doc-body h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.token-card dl {
  margin: 24px 0;
}

.token-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 242, 223, 0.12);
}

dt,
dd {
  margin: 0;
}

dd {
  font-weight: 900;
}

.ca-box {
  padding: 14px;
  border: 1px solid rgba(198, 240, 6, 0.18);
  border-radius: 18px;
  background: rgba(198, 240, 6, 0.05);
}

.ca-box button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.thesis {
  margin: 28px 0 58px;
}

.thesis p {
  max-width: 840px;
  margin-bottom: 0;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 34px;
  color: var(--muted);
  font: 700 12px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

@keyframes charge {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

@keyframes floatDog {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1.015);
  }
}

@media (max-width: 920px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-art {
    max-width: 520px;
  }

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

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid rgba(198, 240, 6, 0.18);
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    border-radius: 24px;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  nav a {
    padding: 8px 10px;
  }

  h1 {
    font-size: 56px;
  }

  .market-header,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
