:root {
  color-scheme: dark;
  --g: #00ff66;
  --gh: #74ff9b;
  --m: #caffd8;
  --mut: #78b98f;
  --ln: rgba(0, 255, 102, 0.42);
  --sh: rgba(0, 255, 102, 0.22);
  --hh: 86px;
  --th: 28px;
  --bh: 64px;
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(0, 255, 102, 0.78);
  color: #000402;
  text-shadow: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + var(--th) + 20px);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(0, 4, 2, 0.98) 0%, rgba(0, 28, 12, 0.76) 56%, rgba(0, 5, 2, 0.98) 100%),
    linear-gradient(135deg, #000 0%, #031008 50%, #000 100%);
  color: var(--m);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58));
}

body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 18%, transparent 76%, rgba(0, 0, 0, 0.55)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, rgba(0, 0, 0, 0.38));
  mix-blend-mode: normal;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  width: 100%;
  min-height: var(--hh);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 68px);
  padding: 14px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid var(--ln);
  background:
    linear-gradient(180deg, rgba(0, 9, 4, 0.98), rgba(0, 5, 2, 0.94));
  box-shadow:
    0 0 28px rgba(0, 255, 102, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.brand,
.header-cta,
.button,
.copy-button,
.menu-toggle,
.menu-close,
.mobile-buy,
.bottom-links {
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--g);
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  text-shadow: 0 0 16px var(--sh);
}

.brand-title {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.brand-perps {
  color: var(--g);
}

.brand-man {
  color: var(--m);
  text-shadow: 0 0 14px rgba(202, 255, 216, 0.22);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  background: rgba(0, 255, 102, 0.08);
  overflow: hidden;
  box-shadow:
    inset 0 0 16px rgba(0, 255, 102, 0.2),
    0 0 16px rgba(0, 255, 102, 0.18);
  color: var(--g);
  line-height: 1;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-cta,
.button,
.copy-button,
.mobile-buy {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid rgba(0, 255, 102, 0.32);
  background: rgba(0, 8, 3, 0.84);
  color: var(--m);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: none;
}

.header-cta img,
.button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(0, 20, 7, 0.28));
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible,
.mobile-buy:hover,
.mobile-buy:focus-visible {
  background-color: rgba(0, 255, 102, 0.12);
  border-color: var(--gh);
  color: var(--m);
  box-shadow:
    inset 0 0 20px rgba(0, 255, 102, 0.12),
    0 0 18px rgba(0, 255, 102, 0.22);
}

.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--m);
  cursor: pointer;
  font: inherit;
}

.menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  justify-self: end;
}

.menu-toggle span,
.menu-close span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: currentColor;
  box-shadow: none;
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span,
.menu-close:hover span,
.menu-close:focus-visible span {
  background: var(--gh);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.34);
}

.menu-toggle span:first-child {
  top: 14px;
}

.menu-toggle span:last-child {
  bottom: 14px;
}

.menu-close {
  position: relative;
  width: 56px;
  height: 56px;
}

.menu-close span {
  top: 27px;
  left: 7px;
  right: 7px;
  height: 3px;
  background: var(--m);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.header-tape {
  position: fixed;
  top: var(--hh);
  left: 0;
  z-index: 29;
  width: 100%;
  height: var(--th);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 102, 0.32);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 255, 102, 0.22) 0 12px,
      rgba(0, 10, 4, 0.96) 12px 29px
    );
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

body.is-scrolled .header-tape {
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(-1 * var(--th)));
  pointer-events: none;
}

.header-tape::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.header-tape-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  padding: 7px 0;
  color: var(--gh);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 14px rgba(0, 255, 102, 0.46);
  white-space: nowrap;
  animation: tape-scroll 26s linear infinite;
}

.header-tape-track span::before {
  content: ">";
  margin-right: 10px;
  color: var(--m);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 92%, rgba(0, 255, 102, 0.16), transparent 22rem),
    #000402;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  min-height: 100%;
  border: 1px solid rgba(0, 255, 102, 0.24);
  background:
    linear-gradient(180deg, #000703, #000402),
    repeating-linear-gradient(0deg, rgba(0, 255, 102, 0.05) 0 1px, transparent 1px 7px);
}

.mobile-menu-header {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 8vw, 48px);
  border-bottom: 1px solid rgba(0, 255, 102, 0.18);
}

.mobile-buy {
  display: inline-flex;
  max-width: min(78vw, 390px);
  align-items: center;
  gap: 16px;
  margin: 70px 0 0 clamp(34px, 9vw, 58px);
  padding: 14px 18px;
  border: 1px solid rgba(0, 255, 102, 0.3);
  background: #000703;
  color: var(--m);
  box-shadow: none;
}

.mobile-buy img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.mobile-buy span {
  display: grid;
  gap: 3px;
}

.mobile-buy strong {
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(1rem, 4vw, 1.35rem);
}

.mobile-buy small {
  color: var(--mut);
  font-size: 0.88rem;
  font-weight: 700;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding-top: calc(var(--hh) + var(--th));
  padding-bottom: var(--bh);
  align-items: center;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: calc(var(--hh) + var(--th)) 0 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(0, 9, 4, 0.9), rgba(0, 23, 10, 0.26) 54%, rgba(0, 7, 3, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.46));
}

.hero::after {
  opacity: 0.28;
  background:
    linear-gradient(105deg, transparent 0 46%, rgba(0, 255, 102, 0.09) 56%, transparent 70%);
}

.hero-grid {
  display: grid;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(10px, 2vh, 28px) clamp(20px, 5vw, 70px) clamp(28px, 5vh, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.76fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  scroll-margin-top: calc(var(--hh) + var(--th) + 20px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

h1 {
  display: grid;
  gap: clamp(8px, 1vw, 15px);
  margin: 0;
  color: var(--m);
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-size: clamp(3.6rem, 8.6vw, 8.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(202, 255, 216, 0.28),
    5px 5px 0 #001407,
    9px 9px 0 rgba(0, 0, 0, 0.54);
}

.token-title {
  display: inline-flex;
  align-items: baseline;
  margin-top: -0.08em;
}

.token-perps {
  color: var(--g);
}

.token-man {
  color: var(--m);
  text-shadow:
    0 0 18px rgba(202, 255, 216, 0.28),
    5px 5px 0 #001407,
    9px 9px 0 rgba(0, 0, 0, 0.54);
}

.hero-subtitle {
  display: grid;
  gap: 4px;
  width: min(100%, 780px);
  margin: 22px 0 0;
  color: var(--m);
  font-size: clamp(0.96rem, 1.48vw, 1.22rem);
  font-weight: 700;
  line-height: 1.42;
  text-transform: lowercase;
}

.hero-subtitle span {
  color: var(--gh);
}

.contract-card {
  position: relative;
  display: grid;
  width: min(100%, 800px);
  margin: 24px 0 0;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  padding: 13px 13px 13px 17px;
  border: 1px solid rgba(0, 255, 102, 0.72);
  appearance: none;
  background:
    linear-gradient(90deg, rgba(0, 28, 12, 0.88), rgba(0, 12, 4, 0.86));
  box-shadow:
    inset 0 0 24px rgba(0, 255, 102, 0.08),
    0 0 22px rgba(0, 255, 102, 0.08);
  color: var(--m);
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 700;
  text-align: left;
}

.contract-card::before,
.contract-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.contract-card::before {
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 32%, rgba(202, 255, 216, 0.28) 43%, rgba(0, 255, 102, 0.2) 48%, transparent 60%);
  opacity: 0;
  transform: translateX(-120%);
}

.contract-card::after {
  right: 84px;
  bottom: 7px;
  color: rgba(202, 255, 216, 0.72);
  content: "∂copy/∂click = QED";
  font-size: 0.72rem;
  opacity: 0;
  text-shadow: 0 0 14px rgba(0, 255, 102, 0.4);
  transform: translateY(12px);
  white-space: nowrap;
}

.contract-card:hover,
.contract-card:focus-visible {
  border-color: var(--gh);
  background:
    linear-gradient(90deg, rgba(0, 34, 14, 0.92), rgba(0, 12, 4, 0.9));
  box-shadow:
    inset 0 0 24px rgba(0, 255, 102, 0.12),
    0 0 22px rgba(0, 255, 102, 0.16);
}

.contract-card.is-copied {
  animation: ca-card-pop 860ms ease-out;
}

.contract-card.is-copied::before {
  animation: ca-sweep 760ms ease-out;
}

.contract-card.is-copied::after {
  animation: ca-proof 1120ms ease-out;
}

.contract-label {
  position: relative;
  z-index: 1;
  color: var(--gh);
  white-space: nowrap;
}

.contract-marker {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 32px;
  background: var(--g);
  box-shadow:
    0 0 18px rgba(0, 255, 102, 0.7),
    4px 0 0 rgba(0, 255, 102, 0.22);
}

#contract-value {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(0, 255, 102, 0.36);
  background: transparent;
  color: var(--gh);
  font-size: 0.78rem;
  pointer-events: none;
}

.contract-card.is-copied .copy-button {
  border-color: var(--gh);
  background: var(--g);
  color: #001407;
}

.copy-proof {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.copy-proof span {
  position: absolute;
  color: var(--gh);
  font-family: "Russo One", Impact, sans-serif;
  opacity: 0;
  text-shadow:
    0 0 10px rgba(0, 255, 102, 0.7),
    0 0 26px rgba(0, 255, 102, 0.34);
}

.copy-proof span:nth-child(1) {
  left: 12%;
  top: 18%;
}

.copy-proof span:nth-child(2) {
  right: 18%;
  top: 18%;
}

.copy-proof span:nth-child(3) {
  left: 43%;
  bottom: 12%;
}

.copy-proof span:nth-child(4) {
  right: 7%;
  bottom: 14%;
}

.contract-card.is-copied .copy-proof span {
  animation: ca-symbol 980ms ease-out forwards;
}

.contract-card.is-copied .copy-proof span:nth-child(2) {
  animation-delay: 70ms;
}

.contract-card.is-copied .copy-proof span:nth-child(3) {
  animation-delay: 130ms;
}

.contract-card.is-copied .copy-proof span:nth-child(4) {
  animation-delay: 190ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(0, 255, 102, 0.32);
  font-size: clamp(0.82rem, 1.24vw, 0.94rem);
  font-weight: 700;
}

.button.pump-card {
  min-width: min(100%, 380px);
  min-height: 86px;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 22px;
  border-color: rgba(0, 255, 102, 0.28);
  background: rgba(0, 5, 3, 0.88);
  color: var(--m);
  box-shadow: none;
}

.button.pump-card:hover,
.button.pump-card:focus-visible {
  border-color: var(--gh);
  background-color: rgba(0, 255, 102, 0.12);
  box-shadow:
    inset 0 0 20px rgba(0, 255, 102, 0.12),
    0 0 18px rgba(0, 255, 102, 0.22);
}

.button.pump-card img {
  width: 54px;
  height: 54px;
}

.button.pump-card span {
  display: grid;
  gap: 4px;
  text-align: left;
}

.button.pump-card strong {
  color: var(--m);
  font-family: "Russo One", Impact, sans-serif;
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  line-height: 1;
}

.button.pump-card small {
  color: var(--mut);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 700;
  line-height: 1;
}

.hero-art {
  --as: min(100%, 520px);
  --rx: 4px;
  --ry: 0px;
  --rby: -2px;
  position: relative;
  display: grid;
  min-height: 390px;
  align-items: end;
  justify-items: center;
  isolation: isolate;
  transform: translateY(1px);
}

.hero-art::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: var(--as);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  background: var(--g);
  filter:
    blur(0.6px)
    drop-shadow(0 0 3px rgba(202, 255, 216, 0.56))
    drop-shadow(0 0 12px rgba(116, 255, 155, 0.42))
    drop-shadow(0 0 30px rgba(0, 255, 102, 0.26));
  mask-image: url("assets/grokori-perpsman.png");
  mask-position: center bottom;
  mask-repeat: no-repeat;
  mask-size: contain;
  mix-blend-mode: screen;
  opacity: 0.22;
  transform: translateX(-50%) translate(var(--rx), var(--ry)) scale(1.018);
  transform-origin: 50% 90%;
  animation: agent-rim-breathe 3.8s ease-in-out infinite;
  -webkit-mask-image: url("assets/grokori-perpsman.png");
  -webkit-mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.trade-storm {
  position: absolute;
  top: 8%;
  right: -4%;
  z-index: 1;
  width: min(54vw, 780px);
  height: min(58vh, 520px);
  pointer-events: none;
  opacity: 0.86;
  filter: saturate(1.08);
  transform: perspective(980px) rotateY(-7deg) rotateX(1.5deg) skewX(-2deg);
  transform-origin: 50% 55%;
  animation: market-heartbeat 0.74s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.trade-field-main {
  position: absolute;
  top: 2%;
  left: 0;
  width: 100%;
  height: 92%;
  overflow: visible;
  opacity: 0.98;
  animation: none;
}

.trade-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  mix-blend-mode: screen;
  transform: rotate(-3.5deg) translate(6px, 18px);
  transform-origin: 54% 54%;
}

.trade-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 7px rgba(0, 255, 102, 0.42))
    drop-shadow(0 0 18px rgba(0, 255, 102, 0.16));
}

.trade-line-main {
  stroke: url("#tl");
  stroke-width: 7;
  stroke-dasharray: 46 18;
  animation:
    trade-line-flow 2.4s linear infinite,
    market-line-heartbeat 0.74s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.trade-line-ghost {
  stroke: rgba(202, 255, 216, 0.28);
  stroke-width: 3;
  stroke-dasharray: 12 16;
  animation: trade-line-flow 5.6s linear infinite reverse;
}

.trade-candles path {
  fill: rgba(0, 255, 102, 0.035);
  stroke: rgba(116, 255, 155, 0.54);
  stroke-width: 3;
  filter: drop-shadow(0 0 5px rgba(0, 255, 102, 0.32));
  animation:
    trade-candle-pulse 1.2s ease-in-out infinite alternate,
    market-strobe 0.74s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.trade-candles path:nth-child(2n) {
  animation-delay: 260ms;
}

.trade-candles path:nth-child(3n) {
  animation-delay: 520ms;
}

.buy-feed {
  position: absolute;
  right: -1%;
  bottom: 4%;
  z-index: 4;
  width: min(21vw, 188px);
  height: 188px;
  overflow: hidden;
  padding: 8px 0;
  color: var(--m);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
  transform: rotate(-3.5deg);
  transform-origin: 18% 84%;
}

.buy-feed-track {
  display: grid;
  gap: 8px;
}

.buy-row {
  display: grid;
  min-height: 30px;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 7px 8px;
  padding: 6px 8px;
  border-left: 1px solid rgba(0, 255, 102, 0.36);
  background:
    linear-gradient(90deg, rgba(0, 255, 102, 0.16), rgba(0, 255, 102, 0.035) 54%, transparent);
  box-shadow:
    inset 0 0 14px rgba(0, 255, 102, 0.05),
    0 0 14px rgba(0, 255, 102, 0.08);
  opacity: 0.72;
  transform-origin: 0 50%;
  animation:
    buy-row-fade 2.7s linear forwards,
    market-strobe 0.74s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.buy-row.is-new {
  animation:
    buy-row-enter 320ms ease-out,
    buy-row-fade 2.7s linear forwards,
    market-strobe 0.74s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.buy-dot {
  width: 7px;
  height: 7px;
  background: var(--g);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.72);
}

.buy-usd {
  color: var(--gh);
  font-size: clamp(0.58rem, 0.82vw, 0.74rem);
  font-weight: 700;
  white-space: nowrap;
}

.buy-perps {
  grid-column: 2;
  overflow: hidden;
  color: rgba(202, 255, 216, 0.78);
  font-size: clamp(0.52rem, 0.72vw, 0.66rem);
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade-formulae text {
  opacity: 0;
  fill: rgba(202, 255, 216, 0.22);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.16);
  animation: none;
}

.trade-formulae text:nth-child(3) {
  opacity: 0.3;
  animation: trade-text-flicker 2.4s steps(2, end) infinite;
}

.hero-art > img {
  position: relative;
  z-index: 3;
  width: var(--as);
  max-height: min(570px, calc(100vh - 184px));
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 0 1px rgba(202, 255, 216, 0.62))
    drop-shadow(0 0 7px rgba(116, 255, 155, 0.26))
    drop-shadow(0 0 18px rgba(0, 255, 102, 0.16))
    drop-shadow(18px 28px 24px rgba(0, 0, 0, 0.62));
  transform-origin: 50% 88%;
  animation: agent-breathe 3.8s ease-in-out infinite;
  will-change: transform;
}

.bottom-links {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  display: flex;
  min-height: var(--bh);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 42px);
  padding: 14px clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(0, 255, 102, 0.2);
  border-bottom: 1px solid rgba(0, 255, 102, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 10, 4, 0.5), rgba(0, 3, 1, 0.96)),
    repeating-linear-gradient(90deg, rgba(0, 255, 102, 0.05) 0 1px, transparent 1px 72px);
  box-shadow:
    inset 0 1px 0 rgba(202, 255, 216, 0.04),
    0 -18px 42px rgba(0, 0, 0, 0.32);
  color: rgba(202, 255, 216, 0.56);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(0.92rem, 1.18vw, 1.16rem);
  letter-spacing: 0;
}

.bottom-links a {
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.bottom-links a:hover,
.bottom-links a:focus-visible {
  color: var(--gh);
  text-shadow: 0 0 16px rgba(0, 255, 102, 0.34);
}

.bottom-link-symbol {
  color: var(--g);
  font-family: "Russo One", Impact, sans-serif;
  font-size: 0.96em;
  opacity: 0.58;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

@keyframes agent-breathe {
  0%,
  100% {
    transform: translateY(0) scaleX(1) scaleY(1);
  }

  50% {
    transform: translateY(-3px) scaleX(1.01) scaleY(1.02);
  }
}

@keyframes agent-rim-breathe {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-50%) translate(var(--rx), var(--ry)) scale(1.018);
  }

  50% {
    opacity: 0.32;
    transform: translateX(-50%) translate(var(--rx), var(--rby)) scale(1.032);
  }
}

@keyframes market-heartbeat {
  0%,
  100% {
    opacity: 0.72;
    filter: saturate(1.02) brightness(0.9);
  }

  11% {
    opacity: 1;
    filter: saturate(1.28) brightness(1.2);
  }

  19% {
    opacity: 0.78;
    filter: saturate(1.04) brightness(0.94);
  }

  34% {
    opacity: 1;
    filter: saturate(1.22) brightness(1.16);
  }

  48% {
    opacity: 0.76;
    filter: saturate(1.02) brightness(0.92);
  }
}

@keyframes trade-line-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -128;
  }
}

@keyframes market-line-heartbeat {
  0%,
  100% {
    stroke-width: 6;
    opacity: 0.62;
  }

  11%,
  34% {
    stroke-width: 9;
    opacity: 1;
  }

  19%,
  48% {
    stroke-width: 6.5;
    opacity: 0.72;
  }
}

@keyframes market-strobe {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(0, 255, 102, 0.18));
  }

  11%,
  34% {
    filter: drop-shadow(0 0 14px rgba(0, 255, 102, 0.55));
  }
}

@keyframes ca-card-pop {
  0%,
  100% {
    box-shadow:
      inset 0 0 24px rgba(0, 255, 102, 0.08),
      0 0 22px rgba(0, 255, 102, 0.08);
  }

  22% {
    box-shadow:
      inset 0 0 38px rgba(0, 255, 102, 0.28),
      0 0 36px rgba(0, 255, 102, 0.36),
      0 0 0 2px rgba(116, 255, 155, 0.7);
  }

  48% {
    box-shadow:
      inset 0 0 28px rgba(202, 255, 216, 0.18),
      0 0 28px rgba(0, 255, 102, 0.24);
  }
}

@keyframes ca-sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  26% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes ca-proof {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  24%,
  64% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes ca-symbol {
  0% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.7);
  }

  28% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) scale(1.22);
  }
}

@keyframes buy-row-enter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 0.9;
    transform: translateX(0);
  }
}

@keyframes buy-row-fade {
  0% {
    opacity: 0.9;
  }

  68% {
    opacity: 0.64;
  }

  100% {
    opacity: 0.18;
  }
}

@keyframes trade-candle-pulse {
  from {
    opacity: 0.42;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes trade-text-flicker {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes tape-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 980px) {
  :root {
    --hh: 74px;
    --th: 24px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px clamp(14px, 4vw, 26px);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle,
  .mobile-menu .menu-close {
    display: block;
  }

  .header-tape-track {
    padding: 6px 0;
    font-size: 0.68rem;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 20px;
    padding-bottom: 42px;
    gap: 10px;
  }

  .bottom-links {
    position: relative;
    min-height: auto;
    flex-wrap: wrap;
    margin-top: -10px;
    padding: 18px 24px;
    gap: 10px 22px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    gap: 8px;
    font-size: clamp(3.45rem, 15vw, 7rem);
    line-height: 0.88;
  }

  .hero-art {
    --as: min(78vw, 470px);
    --rx: 3px;
    --ry: 0px;
    --rby: -1px;
    min-height: 0;
    margin-top: -34px;
  }

  .hero-art > img {
    width: var(--as);
    max-height: none;
  }

  .hero-art::after {
    left: 50%;
    right: auto;
    bottom: 0;
    width: var(--as);
    height: auto;
    opacity: 0.18;
  }

  .trade-storm {
    top: 4%;
    right: -16%;
    width: min(118vw, 640px);
    height: min(54vh, 520px);
    opacity: 0.86;
  }

}

@media (max-width: 620px) {
  :root {
    --hh: 66px;
    --th: 22px;
  }

  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .button img {
    width: 18px;
    height: 18px;
  }

  .mobile-menu-header {
    min-height: 104px;
    padding: 22px 24px;
  }

.mobile-buy {
    margin: 62px 0 0 34px;
  }

  .hero-grid {
    padding: 22px 14px 44px;
  }

  .bottom-links {
    margin-top: -18px;
    padding: 16px 14px 18px;
    font-size: 0.95rem;
  }

  h1 {
    gap: 7px;
    font-size: clamp(2.95rem, 15.2vw, 4.45rem);
    line-height: 0.9;
    text-shadow:
      0 0 16px rgba(0, 255, 102, 0.28),
      3px 3px 0 #001407,
      6px 6px 0 rgba(0, 0, 0, 0.5);
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .contract-card {
    margin-top: 20px;
    grid-template-columns: auto auto minmax(0, 1fr);
    padding: 11px;
  }

  .copy-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    margin-top: -42px;
  }

  .hero-art::after {
    right: auto;
    opacity: 0.16;
  }

  .trade-storm {
    top: 3%;
    right: -36%;
    width: 145vw;
    height: 56vh;
    opacity: 0.72;
  }

  .buy-feed {
    right: 20%;
    bottom: 15%;
    width: 150px;
    height: 150px;
  }

  .buy-row {
    min-height: 28px;
    padding: 5px 7px;
  }

  .trade-formulae text {
    font-size: 16px;
  }

}

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