/* ============ Vorrex ============ */
:root {
  --bg: #05060b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef6;
  --text-2: #b6bccf;
  --muted: #858ba3;
  --aqua: #4ff0d2;
  --cyan: #46c8ff;
  --violet: #8b5cff;
  --buy: #2ef5b8;
  --sell: #ff4d7a;
  --amber: #ffc46b;
  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(79, 240, 210, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-wide { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.up { color: var(--buy) !important; }
.down { color: var(--sell) !important; }

/* ---------- 3D layers ---------- */
#reactor { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
#veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .6; transition: opacity .6s var(--ease); background: radial-gradient(120% 90% at 50% 50%, rgba(5,6,11,.35), rgba(5,6,11,.92)); }
#labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.flabel { position: absolute; transform: translate(-50%, -50%); font: 700 15px var(--mono); padding: 4px 10px; border-radius: 8px; white-space: nowrap; animation: flab 2.2s var(--ease) forwards; text-shadow: 0 0 18px currentColor; background: rgba(5,6,11,.55); border: 1px solid currentColor; }
.flabel.buy { color: var(--buy); } .flabel.sell { color: var(--sell); }
@keyframes flab { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.8); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -160%) scale(1); } }
.grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-header, main, .site-footer { position: relative; z-index: 3; }
.no-3d body, body.no-3d { background: radial-gradient(80% 60% at 70% 20%, rgba(70,200,255,.14), transparent 60%), radial-gradient(60% 50% at 20% 80%, rgba(139,92,255,.12), transparent 60%), var(--bg); }
body.no-3d #veil { display: none; }

/* ---------- glass ---------- */
.glass { background: linear-gradient(180deg, rgba(16,19,30,.72), rgba(9,11,18,.66)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 24px 60px -34px rgba(0,0,0,.9); }
.glass-strong { background: linear-gradient(180deg, rgba(18,22,36,.86), rgba(9,11,19,.84)); border: 1px solid var(--line-2); border-radius: 24px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 100px -40px rgba(70,200,255,.2), 0 30px 80px -40px rgba(0,0,0,.9); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5,6,11,.4); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5,6,11,.78); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -0.03em; }
.brand img { filter: drop-shadow(0 0 12px rgba(70,200,255,.55)); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255,255,255,.07); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none; transition: transform .2s var(--ease), box-shadow .3s, background .2s, border-color .2s, opacity .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.26); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { color: #03121a; border: 0; background: linear-gradient(120deg, #8affea, #46c8ff 50%, #8b5cff); background-size: 170% 100%; background-position: 0 0; box-shadow: 0 10px 34px -10px rgba(70,200,255,.7), 0 0 0 1px rgba(255,255,255,.25) inset; }
.btn-primary:hover { background: linear-gradient(120deg, #8affea, #46c8ff 50%, #8b5cff); background-size: 170% 100%; background-position: 100% 0; box-shadow: 0 14px 44px -10px rgba(70,200,255,.85), 0 0 0 1px rgba(255,255,255,.35) inset; }
.btn-ghost { background: rgba(5,6,11,.3); }
.btn-small { --h: 36px; padding: 0 14px; font-size: 13.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-top: 56px; padding-bottom: 60px; min-height: calc(100vh - 68px); }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2); background: rgba(5,6,11,.5); backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 4px rgba(46,245,184,.15), 0 0 12px var(--buy); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; margin: 0; }
h1 { font-size: clamp(46px, 6.6vw, 90px); line-height: .96; font-weight: 700; text-shadow: 0 10px 60px rgba(0,0,0,.6); }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.grad { background: linear-gradient(100deg, #8affea 0%, #46c8ff 45%, #a991ff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--text-2); max-width: 540px; margin: 26px 0 34px; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(46,245,184,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232ef5b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-stage { position: relative; align-self: stretch; min-height: 520px; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-live { width: min(340px, 100%); padding: 16px; margin-bottom: 6px; }
.hl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hl-head b { font-size: 14px; color: var(--text); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--buy); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--buy); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hl-grid > div { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); min-width: 0; }
.k { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v { display: block; font-size: 16px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-last { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- sections ---------- */
.section { padding-top: 120px; padding-bottom: 10px; scroll-margin-top: 50px; }
.section-head { max-width: 780px; margin-bottom: 46px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.sub { color: var(--text-2); font-size: 17.5px; margin: 18px 0 0; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 26px 24px; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(70,200,255,.14), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.card:hover::before { opacity: 1; }
.card p { color: var(--text-2); margin: 10px 0 0; font-size: 15px; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-buy { color: var(--buy); background: rgba(46,245,184,.12); box-shadow: 0 0 30px -6px rgba(46,245,184,.5); }
.ic-sell { color: #ff8aa6; background: rgba(255,77,122,.12); box-shadow: 0 0 30px -6px rgba(255,77,122,.45); }
.ic-aqua { color: var(--cyan); background: rgba(70,200,255,.12); box-shadow: 0 0 30px -6px rgba(70,200,255,.5); }
.ic-violet { color: #a991ff; background: rgba(139,92,255,.14); box-shadow: 0 0 30px -6px rgba(139,92,255,.5); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 28px 24px; }
.step-n { display: inline-block; font: 600 13px/1 var(--mono); color: var(--aqua); padding: 7px 10px; border-radius: 8px; background: rgba(79,240,210,.09); border: 1px solid rgba(79,240,210,.22); margin-bottom: 22px; }
.step p { color: var(--text-2); font-size: 15px; margin: 10px 0 0; }

/* ---------- console ---------- */
.console { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.console > * { min-width: 0; }
.console.loading .c-stage .tk-head { opacity: .6; }
.c-top { padding: 18px; }
.tk-form { display: flex; gap: 10px; min-width: 0; }
.input-wrap { position: relative; flex: 1; min-width: 0; }
.input-ic { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
#tk-input { width: 100%; height: 54px; padding: 0 84px 0 46px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); color: var(--text); font: 500 15px var(--mono); transition: border-color .2s, box-shadow .2s; }
#tk-input::placeholder { color: #5f657c; font-family: var(--font); }
#tk-input:focus { outline: none; border-color: rgba(70,200,255,.6); box-shadow: 0 0 0 4px rgba(70,200,255,.13); }
#tk-input.invalid { border-color: rgba(255,77,122,.7); box-shadow: 0 0 0 4px rgba(255,77,122,.12); }
.paste-btn { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.paste-btn:hover { color: var(--text); background: rgba(255,255,255,.1); }
.btn-go { --h: 54px; min-width: 120px; border-radius: 14px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(3,18,26,.25); border-top-color: #03121a; animation: spin .8s linear infinite; }
.btn-go.loading .spinner { display: block; } .btn-go.loading .go-label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-msg { min-height: 20px; margin: 6px 2px 0; font-size: 13.5px; color: var(--sell); }
.field-msg.ok { color: var(--muted); }
.chips-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; min-width: 0; }
.chips-k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.chips { display: flex; flex: 1; min-width: 0; gap: 8px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; font-size: 13px; transition: border-color .2s, background .2s, transform .2s; }
.chip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.chip b { font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip span { font-size: 12px; color: var(--muted); }
.chip:hover { border-color: rgba(70,200,255,.5); transform: translateY(-1px); }
.chip.active { border-color: var(--cyan); background: rgba(70,200,255,.12); box-shadow: 0 0 20px -6px rgba(70,200,255,.6); }
.chips-empty { font-size: 13px; color: var(--muted); padding: 6px 0; }

.c-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 360px; gap: 14px; align-items: stretch; }
.c-left, .c-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.panel { padding: 16px; min-width: 0; }
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.p-head h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: 3px 8px; border-radius: 7px; color: var(--aqua); background: rgba(79,240,210,.08); border: 1px solid rgba(79,240,210,.2); white-space: nowrap; }
.gauge { position: relative; }
.gauge svg { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.needle { transform-origin: 100px 100px; transform: rotate(0deg); transition: transform .9s var(--ease); filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.g-out { display: flex; flex-direction: column; align-items: center; margin-top: -4px; }
.g-val { font: 700 34px/1 var(--display); letter-spacing: -0.03em; }
.g-label { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.kv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv2 > div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); min-width: 0; }
.kv2 .v { font-size: 15px; }
.v small { font-size: .7em; color: var(--muted); font-weight: 500; }
.kv2.mt { margin-top: 10px; }
.split { --b: 50%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--buy) 0 var(--b), var(--sell) var(--b) 100%); position: relative; overflow: hidden; transition: background .6s; box-shadow: 0 0 20px -6px rgba(46,245,184,.5); }
.split i { position: absolute; left: var(--b); top: -2px; bottom: -2px; width: 3px; background: #fff; transform: translateX(-50%); transition: left .8s var(--ease); }
.split-legend { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12.5px var(--mono); }
.breadth { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }

.c-stage { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 640px; border-radius: 24px; border: 1px solid rgba(70,200,255,.14); box-shadow: inset 0 0 120px rgba(70,200,255,.05); min-width: 0; }
.c-stage::before, .c-stage::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid rgba(70,200,255,.45); pointer-events: none; }
.c-stage::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 24px 0 0 0; }
.c-stage::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 24px 0; }
.stage-space { flex: 1; }
.tk-head { display: flex; align-items: center; gap: 12px; margin: 12px; padding: 12px 14px; }
.tk-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.tk-id { flex: 1; min-width: 0; }
.tk-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tk-line b { font: 700 18px var(--display); white-space: nowrap; }
.tk-line span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-line2 { display: flex; align-items: center; gap: 10px; margin-top: 2px; min-width: 0; }
.mint-btn { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--text-2); font-size: 12px; cursor: pointer; }
.mint-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mint-btn:hover { color: var(--aqua); }
.pool { font-size: 11.5px; color: var(--muted); text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-price { text-align: right; flex: none; }
.tk-price > span:first-child { display: block; font-size: 18px; font-weight: 600; }
.tk-price sub { font-size: .65em; vertical-align: -0.25em; }
.tk-ch { font-size: 12px; color: var(--muted); }
.stage-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(5,6,11,.62); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feed { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); min-width: 0; }
.feed-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.feed.live .feed-dot { background: var(--buy); box-shadow: 0 0 12px var(--buy); animation: blink 1.6s ease-in-out infinite; }
.feed.quiet .feed-dot { background: var(--amber); }
.feed.delayed .feed-dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.feed.error .feed-dot { background: var(--sell); }
.feed.paused .feed-dot { background: var(--cyan); }
.feed-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes blink { 50% { opacity: .35; } }
.stage-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.whale-in { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.whale-in input { width: 64px; height: 32px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); color: var(--text); font: 500 13px var(--mono); }
.whale-in input:focus { outline: none; border-color: rgba(70,200,255,.6); }
.ctl { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 13px; cursor: pointer; color: var(--text-2); transition: all .2s; }
.ctl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl:hover { color: var(--text); border-color: rgba(255,255,255,.26); }
.ctl[aria-pressed="true"] { color: var(--aqua); border-color: rgba(79,240,210,.45); background: rgba(79,240,210,.08); }
.no3d-msg { display: none; margin: auto 24px; text-align: center; color: var(--muted); font-size: 14px; }
body.no-3d .no3d-msg { display: block; }
body.no-3d .c-stage { min-height: 260px; background: rgba(9,11,18,.6); }

.tape-panel { display: flex; flex-direction: column; height: 100%; max-height: 720px; }
.tape-cols, .tape li { display: grid; grid-template-columns: 44px 1fr 64px 70px 34px; gap: 8px; align-items: center; }
.tape-cols { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 6px; border-bottom: 1px solid var(--line); }
.tape-cols span:nth-child(n+2) { text-align: right; }
.tape { list-style: none; margin: 0; padding: 4px 0 0; overflow-y: auto; flex: 1; min-height: 240px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.tape li { padding: 7px 8px; border-radius: 9px; font-size: 12.5px; position: relative; }
.tape li.new { animation: rowin .6s var(--ease); }
@keyframes rowin { from { opacity: 0; transform: translateY(-8px); background: rgba(255,255,255,.08); } to { opacity: 1; transform: none; } }
.tape li:hover { background: rgba(255,255,255,.04); }
.tape li.whale { background: linear-gradient(90deg, rgba(255,255,255,.07), transparent); }
.tape li.whale.buy { box-shadow: inset 3px 0 0 var(--buy); } .tape li.whale.sell { box-shadow: inset 3px 0 0 var(--sell); }
.t-side { font: 700 10.5px var(--mono); letter-spacing: .05em; padding: 2px 0; border-radius: 5px; text-align: center; }
.buy .t-side { color: var(--buy); background: rgba(46,245,184,.1); } .sell .t-side { color: var(--sell); background: rgba(255,77,122,.1); }
.t-sol, .t-usd, .t-who, .t-age { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-sol { font-weight: 600; } .buy .t-sol { color: var(--buy); } .sell .t-sol { color: var(--sell); }
.t-sol small { color: var(--muted); font-weight: 400; font-size: 10px; }
.t-usd { color: var(--text-2); }
.t-who, .t-age { color: var(--muted); text-decoration: none; }
.t-who:hover, .t-age:hover { color: var(--aqua); }
.tape-empty { display: block !important; text-align: center; color: var(--muted); padding: 30px 10px !important; font-size: 13.5px !important; }

.c-bottom { padding: 16px 18px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px 24px; align-items: start; }
.mom-bars { height: 70px; display: flex; align-items: center; gap: 3px; position: relative; }
.mom-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.08); }
.mom-bars i { flex: 1; height: 1%; border-radius: 2px; background: rgba(255,255,255,.12); transition: height .6s var(--ease); align-self: flex-end; margin-bottom: 35px; position: relative; }
.mom-bars i.up { background: linear-gradient(0deg, rgba(46,245,184,.35), var(--buy)); box-shadow: 0 0 10px -2px rgba(46,245,184,.6); }
.mom-bars i.down { background: linear-gradient(180deg, rgba(255,77,122,.35), var(--sell)); align-self: flex-start; margin-top: 35px; margin-bottom: 0; box-shadow: 0 0 10px -2px rgba(255,77,122,.6); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-self: center; }
.stats-row > div:not(.links) { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); min-width: 0; }
.stats-row .links { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.note.warn { color: var(--amber); }
.advanced { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.advanced summary { cursor: pointer; font-size: 13px; color: var(--muted); list-style: none; display: inline-flex; gap: 8px; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary::before { content: "+"; font-family: var(--mono); color: var(--aqua); }
.advanced[open] summary::before { content: "−"; }
.adv-body p { font-size: 13px; color: var(--muted); margin: 10px 0; }
.adv-row { display: flex; gap: 8px; flex-wrap: wrap; }
#rpc-url { flex: 1; min-width: 220px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); color: var(--text); font: 13px var(--mono); }
#rpc-url:focus { outline: none; border-color: rgba(70,200,255,.6); }
.adv-msg { min-height: 18px; }
.adv-msg.err { color: var(--sell) !important; } .adv-msg.ok { color: var(--aqua) !important; }

/* ---------- CA ---------- */
.ca-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 32px; flex-wrap: wrap; }
.ca-left { display: flex; align-items: center; gap: 18px; }
.ca-left img { filter: drop-shadow(0 0 20px rgba(70,200,255,.55)); }
.ca-left .eyebrow { margin-bottom: 6px; }
.ca-title { font-size: 34px; }
.ca-right { flex: 1; min-width: 280px; max-width: 620px; }
.ca-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line-2); }
.ca-box code { flex: 1; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box code.pending { color: var(--muted); font-family: var(--font); }
.ca-note { margin: 10px 4px 0; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.qa { border-radius: 16px; transition: border-color .3s; }
.qa[open] { border-color: rgba(70,200,255,.3); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17px/1.4 var(--display); letter-spacing: -0.015em; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%2346c8ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; }
.qa a { color: var(--aqua); }

/* ---------- footer ---------- */
.site-footer { margin-top: 120px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7,8,14,.75), rgba(5,6,11,.96)); backdrop-filter: blur(8px); }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-top: 44px; padding-bottom: 30px; flex-wrap: wrap; }
.foot-brand p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.foot-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.foot-nav a:hover { color: var(--aqua); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 34px; border-top: 1px solid rgba(255,255,255,.05); }
.foot-bottom p { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 760px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100; padding: 12px 18px; border-radius: 12px; background: rgba(12,15,24,.97); border: 1px solid rgba(70,200,255,.4); font-size: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: all .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- legal / 404 ---------- */
.page-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(70,200,255,.16), transparent 60%), radial-gradient(50% 40% at 0% 100%, rgba(139,92,255,.14), transparent 60%); }
.legal { padding-top: 70px; max-width: 840px; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal .callout { padding: 20px 22px; margin: 0 0 10px; }
.legal .callout p { margin: 0; color: var(--text); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua); text-decoration: none; font-size: 14.5px; margin-bottom: 24px; }
.back:hover { text-decoration: underline; }
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.nf img { margin: 0 auto 24px; width: 120px; filter: drop-shadow(0 0 40px rgba(70,200,255,.45)); animation: spin 18s linear infinite; }
.nf p { color: var(--text-2); margin: 14px 0 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .c-grid { grid-template-columns: 270px 1fr 320px; }
  .tape-cols, .tape li { grid-template-columns: 40px 1fr 58px 62px 30px; }
}
@media (max-width: 1100px) {
  .c-grid { grid-template-columns: 1fr 1fr; }
  .c-stage { grid-column: 1 / -1; grid-row: 1; min-height: 560px; }
  .c-left { grid-row: 2; }
  .c-right { grid-row: 2; }
  .tape-panel { max-height: 560px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .c-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 0; }
  .hero-stage { min-height: 62vh; justify-content: center; }
}
@media (max-width: 760px) {
  .wrap, .wrap-wide { padding: 0 16px; }
  .header-inner { height: 60px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); cursor: pointer; }
  .nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav ul { position: absolute; left: 12px; right: 12px; top: 66px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 18px; background: rgba(10,12,20,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0,0,0,.6); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all .25s var(--ease); }
  .nav ul.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .hero { padding-top: 28px; padding-bottom: 30px; }
  .hero-stage { min-height: 52vh; }
  .hl-grid .v { font-size: 14px; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 30px; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .c-top { padding: 14px; }
  .tk-form { flex-direction: column; }
  .btn-go { width: 100%; --h: 50px; }
  #tk-input { height: 50px; font-size: 14px; }
  .chips-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .chips { width: 100%; }
  .c-grid { grid-template-columns: 1fr; }
  .c-stage { grid-row: auto; order: -1; min-height: 460px; }
  .c-left, .c-right { grid-row: auto; }
  .tk-head { margin: 8px; padding: 10px; gap: 10px; }
  .tk-line b { font-size: 16px; }
  .tk-price > span:first-child { font-size: 15px; }
  .stage-foot { margin: 8px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row > div:nth-child(3) { grid-column: 1 / -1; }
  .tape-panel { max-height: 460px; }
  .tape-cols, .tape li { grid-template-columns: 40px 1fr 56px 56px 30px; gap: 6px; }
  .ca-card { padding: 22px 18px; }
  .ca-box code { font-size: 12.5px; }
  .site-footer { margin-top: 80px; }
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(14,17,27,.9), rgba(8,10,17,.88)); }
}
@media (max-width: 380px) {
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl-grid > div:last-child { grid-column: 1 / -1; }
  .tape-cols, .tape li { grid-template-columns: 38px 1fr 52px 30px; }
  .tape-cols span:nth-child(4), .t-who { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
