/* ============================================================
   GEPU landing — premium pass.
   Clash Display headlines, layered ink, glass cards, grain.
   ============================================================ */
:root {
  --bg: #111210;
  --fg: #f4f4f2;
  --lime: #dcf763;
  --lime-dim: rgba(220, 247, 99, 0.55);
  --muted: #9c9c98;
  --faint: #62625e;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  --green: #dcf763;
  --red: #f4574d;
  --display: "Inter Tight", "Segoe UI", sans-serif;
  --sans: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --w: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.032;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

::selection { background: var(--fg); color: var(--bg); }

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

.up { color: var(--lime); }
.down { color: var(--red); }

/* ---------- primitives ---------- */
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #14170a;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(220, 247, 99, 0.25), 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1.2), box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(220, 247, 99, 0.4), 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 44px rgba(220, 247, 99, 0.18);
}
.btn.sm { padding: 10px 20px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.link-arrow:hover { color: var(--lime); }
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* reveal motion */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(920px, calc(100vw - 32px));
  padding: 9px 9px 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 24px; width: 24px; border-radius: 6px; }
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links > a:not(.btn):hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav-links .btn { margin-left: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--w);
  margin: 0 auto;
  padding: 190px 28px 30px 28px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 30px;
  align-items: center;
  min-height: 96vh;
}
/* atmospheric glow behind the whole hero */
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(620px 420px at 72% 46%, rgba(220, 247, 99, 0.07), transparent 60%),
    radial-gradient(900px 500px at 30% 20%, rgba(255, 255, 255, 0.025), transparent 60%);
}
.hero-copy { position: relative; padding-bottom: 40px; }
.hero .label { margin-bottom: 26px; }
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(46px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-h1 .hl { color: var(--lime); }
.lede {
  max-width: 430px;
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero-live {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.hero-live b { font-size: 19px; font-weight: 600; color: var(--fg); }
.hero-chg { font-size: 12px; }
.hero-facts {
  display: flex;
  gap: 48px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-facts span { display: flex; flex-direction: column; gap: 5px; }
.hero-facts b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-facts em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-visual { position: relative; min-width: 0; }
.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 80%;
  height: 110px;
  background: radial-gradient(ellipse at center, rgba(220, 247, 99, 0.14), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}
#gpuCanvas { position: relative; z-index: 1; width: 100%; height: 560px; display: block; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 140px; }
  #gpuCanvas { height: 420px; }
}

/* ---------- ticker ---------- */
.tickerbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tkMove 44s linear infinite; }
.tickerbar:hover .ticker-track { animation-play-state: paused; }
.tk-half { display: flex; gap: 72px; padding: 15px 36px; }
.tk-item {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 11px;
  align-items: baseline;
  white-space: nowrap;
}
.tk-item .dia { display: none; }
.tk-item b { color: var(--fg); font-weight: 600; }
.tk-item i { font-style: normal; font-size: 11px; }
@keyframes tkMove { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.land-sec { position: relative; max-width: var(--w); margin: 0 auto; padding: 170px 28px 0 28px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec-head .label b { color: var(--lime); font-weight: 500; }
.land-h2 {
  font-family: var(--display);
  margin-top: 20px;
  font-size: clamp(32px, 3.8vw, 58px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--fg);
}
.land-h2 .hl { color: var(--lime); }
.land-sub {
  max-width: 560px;
  margin: 24px 0 56px 0;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- glass cards with cursor spotlight ---------- */
.land-grid4, .land-grid3 { display: grid; gap: 14px; }
.land-grid4 { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.land-grid3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.land-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.land-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(320px 320px at var(--mx, 50%) var(--my, 50%), rgba(220, 247, 99, 0.07), transparent 60%);
}
.land-card:hover { border-color: rgba(220, 247, 99, 0.3); transform: translateY(-3px); }
.land-card:hover::before { opacity: 1; }
.land-card .label { display: block; margin-bottom: 46px; }
.land-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 9px;
}
.land-card p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

.land-grid4.rv .land-card, .land-grid3.rv .land-card { opacity: 0; transform: translateY(14px); }
.land-grid4.in .land-card, .land-grid3.in .land-card {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease;
}
.land-grid4.in .land-card:nth-child(2), .land-grid3.in .land-card:nth-child(2) { transition-delay: 0.08s; }
.land-grid4.in .land-card:nth-child(3), .land-grid3.in .land-card:nth-child(3) { transition-delay: 0.16s; }
.land-grid4.in .land-card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- market cards ---------- */
.hm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.hm-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(340px 340px at var(--mx, 50%) var(--my, 50%), rgba(220, 247, 99, 0.06), transparent 60%);
}
.hm-card:hover { border-color: rgba(220, 247, 99, 0.3); transform: translateY(-4px); }
.hm-card:hover::before { opacity: 1; }
.hm-window {
  height: 158px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, 0.05), transparent 60%);
}
.hm-window img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hm-card:hover .hm-window img { transform: scale(1.05); }
.hm-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0 20px; }
.hm-sym { font-family: var(--display); font-weight: 600; font-size: 18px; }
.hm-badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--faint); }
.hm-badge.live { color: var(--lime); }
.hm-price { font-family: var(--mono); font-size: 14.5px; font-weight: 600; padding: 9px 20px 0 20px; }
.hm-price .dia { display: none; }
.hm-price i { font-style: normal; font-size: 10.5px; color: var(--faint); font-weight: 400; }
.hm-chg { font-family: var(--mono); font-size: 11px; padding: 3px 20px 0 20px; }
.hm-cta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--faint);
  padding: 16px 20px 20px 20px;
  transition: color 0.15s ease;
}
.hm-card:hover .hm-cta { color: var(--lime); }
.hm-row.rv .hm-card { opacity: 0; transform: translateY(14px); }
.hm-row.in .hm-card { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease; }
.hm-row.in .hm-card:nth-child(2) { transition-delay: 0.07s; }
.hm-row.in .hm-card:nth-child(3) { transition-delay: 0.14s; }
.hm-row.in .hm-card:nth-child(4) { transition-delay: 0.21s; }
.hm-row.in .hm-card:nth-child(5) { transition-delay: 0.28s; }
.hm-row.in .hm-card:nth-child(6) { transition-delay: 0.35s; }

/* ---------- supply ---------- */
.supply-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 860px) { .supply-wrap { grid-template-columns: 1fr; } }
.rack {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-family: var(--mono);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.rack-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.sled {
  display: grid;
  grid-template-columns: 92px 1fr 78px;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.sled:last-of-type { border-bottom: none; }
.sled-id { font-size: 11px; font-weight: 600; }
.sled-bars { display: flex; align-items: flex-end; gap: 3px; height: 15px; }
.sled-bars i { width: 4px; background: #86a03a; animation: sledEq 1.4s ease-in-out infinite; }
.sled-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.sled-bars i:nth-child(2) { height: 75%; animation-delay: 0.18s; }
.sled-bars i:nth-child(3) { height: 55%; animation-delay: 0.36s; }
.sled-bars i:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.sled-bars i:nth-child(5) { height: 62%; animation-delay: 0.27s; }
@keyframes sledEq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
.sled-st {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  color: var(--faint);
}
.sled-st.earn { color: var(--lime); border-color: rgba(220, 247, 99, 0.3); }
.sled-st.settle { color: var(--muted); animation: settlePulse 1.6s ease-in-out infinite; }
.sled:has(.sled-st.idle) .sled-bars i { background: #26262a; animation: none; }
@keyframes settlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.rack-foot {
  padding: 13px 20px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--faint);
  border-top: 1px solid var(--line);
}
.pay-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--faint);
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.pay-feed { font-family: var(--mono); }
.pay-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  animation: payIn 0.4s ease-out;
}
@keyframes payIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.pay-row .amt { color: var(--lime); font-weight: 600; }
.pay-row .t { color: var(--faint); }
.pay-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--faint); padding-top: 13px; }
.supply-cta { margin-top: 28px; }

/* ---------- stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.stat-cell { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.stat-n {
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  padding-top: 13px;
  text-transform: uppercase;
}
.stat-strip.rv .stat-cell { opacity: 0; transform: translateY(14px); }
.stat-strip.in .stat-cell { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.stat-strip.in .stat-cell:nth-child(2) { transition-delay: 0.08s; }
.stat-strip.in .stat-cell:nth-child(3) { transition-delay: 0.16s; }
.stat-strip.in .stat-cell:nth-child(4) { transition-delay: 0.24s; }

/* ---------- closer ---------- */
.closer { text-align: center; padding-bottom: 190px; }
.closer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(560px 360px at 50% 78%, rgba(220, 247, 99, 0.07), transparent 62%);
}
.closer .land-h2 { margin-top: 0; }
.closer .land-sub { margin-left: auto; margin-right: auto; }
.closer-ctas { position: relative; display: flex; gap: 28px; justify-content: center; align-items: center; }

/* ---------- footer ---------- */
.foot { position: relative; border-top: 1px solid var(--line); background: #0a0a0b; }
.foot-cols {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 24px;
  padding: 70px 28px;
}
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-brand p { font-size: 13px; color: var(--faint); margin-top: 16px; max-width: 240px; }
.foot h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot a.fl { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; transition: color 0.15s ease; }
.foot a.fl:hover { color: var(--fg); }
.foot-legal {
  max-width: var(--w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 28px 34px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--fg); }


/* ---------- lime dot-field + orbital contours (the brand graphic) ---------- */
#dotField {
  position: absolute;
  inset: -60px -40px -20px -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' fill='none' stroke='rgba(255,255,255,0.05)'><ellipse cx='980' cy='430' rx='620' ry='300' transform='rotate(-14 980 430)'/><ellipse cx='1020' cy='460' rx='800' ry='390' transform='rotate(-14 1020 460)'/></svg>");
  background-repeat: no-repeat;
  background-position: center right -200px;
}

/* ---------- pixel-rendered hardware + brand mark + footer ghost ---------- */
#gpuCanvas, .hm-window img { image-rendering: pixelated; }
.brand svg.mark { height: 26px; width: 26px; display: block; }
.foot { overflow: hidden; }
.foot-ghost {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(150px, 24vw, 360px);
  line-height: 0.72;
  text-align: center;
  letter-spacing: 0.01em;
  color: rgba(220, 247, 99, 0.05);
  user-select: none;
  pointer-events: none;
  transform: translateY(20%);
  margin-top: 10px;
}

/* ---------- live quote board (replaces the marquee ticker) ---------- */
.quoteboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.qb-cell {
  padding: 16px 20px 14px 20px;
  border-right: 1px solid var(--line);
  transition: background 0.5s ease;
}
.qb-cell:last-child { border-right: none; }
.qb-cell.tick { animation: qbFlash 0.7s ease-out; }
@keyframes qbFlash {
  0% { background: rgba(220, 247, 99, 0.1); }
  100% { background: transparent; }
}
.qb-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.qb-top b { font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; }
.qb-chg { font-family: var(--mono); font-size: 10.5px; }
.qb-mid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.qb-px { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--fg); }
.qb-spark { display: block; image-rendering: pixelated; opacity: 0.9; }
