/*
 * Fixed: OTC desk for Solana coins.
 * Layout, colours, type scale and section styles are adapted from the Crypgo landing page template
 * (https://github.com/shadcnspace/crypgo-shadcn-ui-landingpage), ported from Tailwind to plain CSS.
 *
 * MIT License, Copyright (c) 2026 ShadcnSpace
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright
 * notice and this permission notice shall be included in all copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * The coin, the demo pieces (slippage check, offer board, fills) and the motion are Fixed's own.
 */
:root {
  --background: #07101c;
  --background: oklch(11.36% 0.033 250.77);
  --card: #1e2432;
  --white-5: rgb(255 255 255 / .05);
  --white-10: rgb(255 255 255 / .1);
  --white-40: rgb(255 255 255 / .4);
  --white-60: rgb(255 255 255 / .6);
  --white-80: rgb(255 255 255 / .8);
  --border: rgb(255 255 255 / .102);
  --primary: #86efac;
  --primary-10: rgb(134 239 172 / .1);
  --primary-15: rgb(134 239 172 / .15);
  --primary-25: rgb(134 239 172 / .25);
  --secondary: #67e8f9;
  --destructive: #ef4444;
  --red-text: #f87171;
  --teal: #477e70;
  --charcoal: #666c78;
  --radius: .625rem;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--background); color: #fff; font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.container { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 28px; } }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; letter-spacing: -.01em; }
.text-primary { color: var(--primary); }
.red-text { color: var(--red-text); }
.muted { color: var(--white-60); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--primary); color: var(--background); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
.label, label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--white-60); }
.fine { margin-top: 18px; font-size: 13px; color: var(--white-40); max-width: 80ch; }

/* Buttons, badges, pills (Crypgo) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border: 1px solid var(--primary); border-radius: var(--radius); font-weight: 600; font-size: 16px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--background); }
.btn-primary:hover { background: rgb(134 239 172 / .8); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--background); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; height: 36px; padding: 6px 16px; border: 1px solid var(--white-10); border-radius: 999px; background: var(--primary-10); color: var(--primary); font-weight: 500; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pill.red { background: rgb(239 68 68 / .15); color: var(--red-text); }
.pill.mint { background: var(--primary-15); color: var(--primary); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--white-60); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* Header: transparent over the hero, solid once scrolled */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; padding-bottom: 20px; transition: background .3s, box-shadow .3s, padding .3s; }
.site-header.is-sticky { background: var(--background); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); padding-bottom: 14px; }
.ca-strip { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 6px 20px; font-size: 13px; color: var(--white-80); background: var(--primary-10); border-bottom: 1px solid var(--white-10); }
.ca-label { display: inline-flex; align-items: center; font-weight: 700; color: var(--primary); }
.ca-strip .ca-addr { padding: 0; background: none; font-size: 13px; word-break: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.ca-copy { padding: 4px 10px; border: 1px solid rgb(134 239 172 / .5); border-radius: 999px; background: none; color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.ca-copy:disabled { display: none; }
.ca-copy:hover { background: var(--primary); color: var(--background); }
.ca-link { color: var(--white-60); font-size: 12px; }
.ca-link:hover { color: var(--primary); }
.bar { display: flex; align-items: center; gap: 24px; padding-top: 22px; transition: padding .3s; }
.is-sticky .bar { padding-top: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.brand small { font-weight: 500; font-size: 13px; color: var(--white-60); letter-spacing: 0; padding-top: 4px; }
.nav { display: none; flex: 1; justify-content: center; gap: clamp(18px, 2.2vw, 32px); }
.nav a { font-weight: 500; white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--primary); }
.bar-cta { display: none; gap: 16px; }
.menu-btn { display: flex; flex-direction: column; gap: 6px; margin-left: auto; padding: 10px; border: 0; border-radius: var(--radius); background: none; cursor: pointer; }
.menu-btn i { display: block; width: 24px; height: 2px; background: #fff; }
.menu { position: fixed; inset: 0; z-index: 50; background: rgb(7 16 28 / .95); backdrop-filter: blur(4px); }
.menu-panel { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 20rem; height: 100%; margin-left: auto; padding: 24px; background: var(--background); border-left: 1px solid var(--border); }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.menu-close { padding: 4px 8px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.menu nav { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.menu nav a { font-weight: 500; }
.menu nav a:hover { color: var(--primary); }
.menu-note { margin-top: auto; font-size: 14px; color: var(--white-60); }
@media (min-width: 1024px) {
  .nav, .bar-cta { display: flex; }
  .menu-btn { display: none; }
}

/* Glows */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.glow-a { width: 520px; height: 520px; right: -120px; top: 60px; background: radial-gradient(closest-side, rgb(134 239 172 / .18), transparent); }
.glow-b { width: 460px; height: 460px; left: -200px; bottom: -120px; background: radial-gradient(closest-side, rgb(103 232 249 / .12), transparent); }
.glow-c { width: 420px; height: 420px; left: -160px; bottom: -160px; background: linear-gradient(135deg, var(--teal), var(--charcoal)); filter: blur(160px); opacity: .6; }

/* Hero */
section { position: relative; }
.hero { padding: 200px 0 96px; overflow: hidden; z-index: 1; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.hero h1 { font-weight: 500; font-size: clamp(36px, 6.2vw, 72px); line-height: 1.1; letter-spacing: -.02em; }
.lede { color: #fff; font-size: 18px; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
.hero-art { position: relative; display: grid; place-items: center; justify-self: center; width: 100%; max-width: 540px; aspect-ratio: 1; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { align-items: flex-start; text-align: left; }
  .cta-row { justify-content: flex-start; }
}

/* 3D coin */
.coin-btn { position: relative; width: 82%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1400px; -webkit-tap-highlight-color: transparent; }
.coin-float, .coin-tilt, .coin { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin .face, .coin .edge { position: absolute; inset: 0; border-radius: 22%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin .face { background: linear-gradient(135deg, #dcfce7, #22c55e 60%, #0f766e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.coin .face svg { width: 100%; height: 100%; }
.coin .front { transform: translateZ(8.5px); }
.coin .back { transform: rotateY(180deg) translateZ(8.5px); }
.coin .edge { background: linear-gradient(90deg, #064e3b, #16a34a 30%, #86efac 50%, #15803d 70%, #064e3b); backface-visibility: visible; }
.coin-shadow { position: absolute; left: 16%; right: 16%; bottom: 0; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgb(134 239 172 / .25), transparent); }
.coin-btn:focus-visible { outline-offset: 10px; border-radius: 22%; }
.sticker { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--white-10); border-radius: 14px; background: rgb(30 36 50 / .85); backdrop-filter: blur(8px); font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .6); white-space: nowrap; }
.sticker b { font-size: 15px; }
.sticker.red { left: 0; top: 14%; }
.sticker.red b { color: var(--red-text); }
.sticker.mint { right: 0; bottom: 16%; }
.sticker.mint b { color: var(--primary); }
.candle { width: 8px; height: 20px; background: var(--destructive); border-radius: 2px; position: relative; }
.candle::before { content: ''; position: absolute; left: 3px; top: -5px; bottom: -5px; width: 2px; background: var(--destructive); }
.flat { width: 20px; height: 3px; background: var(--primary); border-radius: 2px; }

/* Section heads */
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.sec-head.center { align-items: center; text-align: center; }
.eyebrow { font-weight: 500; }
.kicker { color: #4ade80; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
h2 { font-weight: 500; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.sub, .lede, .perk p, .tl-step p { text-wrap: pretty; }
.sec-head.center h2 { max-width: 26ch; }
.sub { color: var(--white-60); font-size: 18px; max-width: 62ch; }

/* Coin card slider (Crypgo CardSlider) */
.coins-strip { padding: 56px 0 0; }
.card-scroller { overflow: hidden; }
.card-track { display: flex; width: max-content; animation: cardScroll 36s linear infinite; }
.card-set { display: flex; gap: 24px; padding-right: 24px; } /* the gap lives inside each copy, so -50% lands exactly on the second copy */
.card-scroller:hover .card-track { animation-play-state: paused; }
@keyframes cardScroll { to { transform: translateX(-50%); } }
.coin-card { flex: none; width: 220px; padding: 24px 20px; border-radius: 14px; background: var(--white-5); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.coin-card .ic { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--primary-15); }
.coin-card .nm { font-size: 12px; text-align: center; color: var(--white-80); }
.coin-card .nm b { font-size: 16px; font-weight: 700; margin-right: 6px; color: #fff; }
.coin-card .px { font: 700 20px/1 var(--mono); }
.coin-card .ch { font: 500 13px var(--mono); }
.up { color: var(--primary); }
.down { color: var(--red-text); }
.ph { display: inline-grid; place-items: center; background: var(--primary-15); color: var(--primary); font: 700 11px/1 var(--mono); border-radius: 50%; }

/* Stats (Crypgo GlobalReach) */
.stats { padding-top: 80px; }
.stats-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 24px; border: 1px solid var(--white-10); border-radius: var(--radius); background: var(--white-5); }
.stat h3 { color: var(--primary); font-size: 30px; font-weight: 500; }
.stat p { color: var(--white-80); text-align: center; }

/* Why (Crypgo Work) */
.why { padding: 140px 0 40px; }
.why-grid { display: grid; gap: 48px; align-items: center; }
.why h2 { margin-top: 12px; }
.why-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 28px; }
.why-list li { display: flex; align-items: center; gap: 20px; font-weight: 500; }
.icon-dot { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary-15); color: var(--primary); }
.icon-dot svg { width: 24px; height: 24px; }
.why-art { display: grid; gap: 20px; }
.art-card { padding: 22px 24px; border: 1px solid var(--white-10); border-radius: 22px; background: var(--white-5); }
.art-card p { margin-top: 10px; color: var(--white-60); font-size: 15px; }
.art-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.art-top b { font-size: 26px; font-weight: 500; }
.art-desk { margin-left: 12%; }
@media (min-width: 768px) { .why-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 7fr 5fr; } }

/* Slippage check */
.check { padding: 120px 0 40px; }
.panel { border: 1px solid var(--white-10); border-radius: 22px; background: var(--white-5); }
.check-form { display: grid; gap: 26px; padding: 26px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .check-form { grid-template-columns: 1fr 1fr; } .ca-field { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .check-form { grid-template-columns: 1.4fr .8fr 1fr; } .ca-field { grid-column: auto; } }
.input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid rgb(255 255 255 / .15); border-radius: var(--radius); background: rgb(255 255 255 / .04); font-size: 16px; }
.input::placeholder { color: var(--white-40); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(134 239 172 / .18); }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 5px; border: 1px solid var(--white-10); border-radius: 999px; background: var(--white-5); font: 500 13px/1 var(--mono); cursor: pointer; transition: border-color .2s, background .2s; }
.chips button:hover, .chips button[aria-pressed='true'] { border-color: var(--primary); background: var(--primary-10); }
.chips img, .chips .ph { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid rgb(255 255 255 / .15); border-radius: 12px; background: rgb(255 255 255 / .04); }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 42px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--white-60); text-align: center; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--primary); color: var(--background); }
.seg input:focus-visible + span { outline: 2px solid var(--secondary); outline-offset: 2px; }
.size-row { display: flex; align-items: center; border: 1px solid rgb(255 255 255 / .15); border-radius: var(--radius); background: rgb(255 255 255 / .04); padding-left: 14px; }
.size-row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(134 239 172 / .18); }
.size-row .input { border: 0; box-shadow: none; background: none; padding-left: 6px; font-size: 20px; }
.dollar { font: 500 20px var(--mono); color: var(--white-60); }
input[type='range'] { width: 100%; margin: 14px 0 6px; accent-color: var(--primary); }
.quick { display: flex; gap: 6px; }
.quick button { flex: 1; min-height: 36px; border: 1px solid var(--white-10); border-radius: 8px; background: var(--white-5); font: 500 13px var(--mono); cursor: pointer; }
.quick button:hover { border-color: var(--primary); }
.coin-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 44px; margin: 28px 0 18px; font-size: 15px; }
.coin-line .who { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.coin-line .who img, .coin-line .who .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.coin-line .who b { font-size: 20px; }
.coin-line .fact { color: var(--white-60); }
.coin-line .fact b { color: #fff; font-family: var(--mono); font-weight: 500; }
.badge-sm { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 500 12px/1.2 var(--mono); }
.badge-sm.curve { color: #fcd34d; background: rgb(252 211 77 / .12); }
.badge-sm.stale { color: var(--red-text); background: rgb(239 68 68 / .12); }
.coin-line .error { color: var(--red-text); font-weight: 600; }
.results { display: grid; gap: 22px; transition: opacity .3s; }
@media (min-width: 768px) { .results { grid-template-columns: 1fr 1fr; } }
.results.is-loading { opacity: .45; }
.result { padding: 24px 24px 16px; overflow: hidden; }
.result header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.big { font-size: clamp(54px, 7vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.mini { height: 120px; margin: 16px 0 6px; }
.mini svg { width: 100%; height: 100%; overflow: visible; }
.rows { margin: 0; display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px dashed rgb(255 255 255 / .12); }
.rows dt { color: var(--white-60); font-size: 15px; }
.rows dd { margin: 0; font-size: 17px; font-weight: 500; text-align: right; }
.breakeven { grid-column: 1 / -1; padding: 18px 24px; border: 1px solid rgb(134 239 172 / .3); border-radius: 16px; background: var(--primary-10); font-size: 17px; }
.breakeven b { font-family: var(--mono); font-weight: 500; color: var(--primary); }

/* How it works (Crypgo TimeLine) */
.timeline { padding: 140px 0 40px; }
.tl { position: relative; display: grid; gap: 30px; }
.tl-center { display: none; }
.tl-step { display: flex; align-items: center; gap: 22px; }
.tl-step h3 { font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.tl-step p { color: var(--white-60); font-size: 17px; }
.tl-num { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px; background: var(--primary-15); backdrop-filter: blur(4px); color: var(--primary); font: 500 22px var(--mono); order: -1; }
@media (min-width: 640px) { .tl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .tl { display: block; height: 640px; }
  .tl-center { display: block; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); }
  .tl-center svg { width: 100%; height: 100%; border-radius: 22%; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .5)); }
  .tl-step { position: absolute; width: 300px; }
  .tl-num { order: 0; }
  .tl-step.s1, .tl-step.s3 { left: 0; text-align: right; }
  .tl-step.s2, .tl-step.s4 { right: 0; }
  .tl-step.s1, .tl-step.s2 { top: 90px; }
  .tl-step.s3, .tl-step.s4 { bottom: 90px; }
}
.note-box { margin-top: 40px; padding: 16px 20px; border: 1px dashed rgb(255 255 255 / .2); border-radius: 14px; font-size: 15px; color: var(--white-80); text-align: center; }

/* Offer board (Crypgo Platform card) */
.board { padding: 140px 0 40px; }
.board-box { padding: 24px; border: 2px solid var(--white-10); border-radius: 26px; background: var(--white-5); }
.board-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.feed { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); color: var(--white-60); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgb(134 239 172 / .6); animation: ping 2s infinite; }
.feed.stale .dot { background: #fbbf24; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(134 239 172 / 0); } 100% { box-shadow: 0 0 0 0 rgb(134 239 172 / 0); } }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--white-10); border-radius: 999px; background: rgb(0 0 0 / .2); }
.tabs button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.tabs button[aria-pressed='true'] { background: var(--primary); color: var(--background); }
.board-grid { display: grid; gap: 22px; align-items: start; }
.fills .fill-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 900px) { .fills { display: grid; grid-template-columns: 320px 1fr; gap: 6px 28px; align-items: start; } .fills-head, .fills-totals { grid-column: 1; } .fills .fill-list, .fills-empty { grid-column: 2; grid-row: 1 / span 3; } .fills .fine { grid-column: 1; } }
.table-wrap { border: 1px solid var(--white-10); border-radius: 18px; overflow: hidden; background: rgb(0 0 0 / .15); }
.offers { width: 100%; border-collapse: collapse; font-size: 15px; }
.offers th { padding: 14px 12px; text-align: left; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white-40); border-bottom: 1px solid var(--white-10); white-space: nowrap; }
.offers td { padding: 13px 12px; border-bottom: 1px solid rgb(255 255 255 / .06); vertical-align: middle; white-space: nowrap; }
.offers tr:last-child td { border-bottom: 0; }
.offers tbody tr { transition: background .2s; }
.offers tbody tr:hover { background: rgb(134 239 172 / .04); }
.offers .num { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.offers .tcoin { display: flex; align-items: center; gap: 10px; }
.offers .tcoin img, .offers .tcoin .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.offers .tcoin b { display: block; font-weight: 700; }
.offers .tcoin small { display: block; margin-top: 2px; font-size: 12px; color: var(--white-40); }
.offers .c-coin > .side { display: none; }
.side { display: inline-block; padding: 5px 9px; border-radius: 8px; font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.side.sell { background: rgb(239 68 68 / .14); color: var(--red-text); }
.side.buy { background: var(--primary-15); color: var(--primary); }
.sub-n { display: block; margin-top: 3px; font-size: 12px; color: var(--white-40); }
.prem.pos { color: var(--primary); }
.prem.neg { color: var(--white-80); }
.chart-cost { color: var(--red-text); }
.ends.soon { color: #fbbf24; }
.take { min-height: 36px; padding: 0 14px; border: 1px solid var(--primary); border-radius: 8px; background: transparent; color: var(--primary); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.take:hover { background: var(--primary); color: var(--background); }
.offers tr.leaving { opacity: 0; transition: opacity .4s; }
.offers tr.arriving td { animation: arrive .7s var(--ease); }
@keyframes arrive { from { background: rgb(134 239 172 / .14); } }
.empty { padding: 24px; color: var(--white-60); }
.fills { padding: 20px; border: 1px solid var(--white-10); border-radius: 18px; background: var(--card); }
.fills-head { display: flex; justify-content: space-between; align-items: baseline; }
.fills h3 { font-size: 20px; font-weight: 600; }
.fills-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.fills-totals > div { padding: 12px; border-radius: 12px; background: rgb(0 0 0 / .22); }
.fills-totals dt { font-size: 12px; color: var(--white-60); }
.fills-totals dd { margin: 4px 0 0; font-size: 20px; }
.fill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.fill-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: rgb(0 0 0 / .22); font-size: 14px; }
.fill-list .pl { text-align: right; font-family: var(--mono); }
.fill-list .meta { grid-column: 1 / -1; font-size: 12px; color: var(--white-40); font-family: var(--mono); }
.fills-empty { font-size: 14px; color: var(--white-60); }

/* Token (Crypgo Upgrade) */
.token { padding: 140px 0 80px; }
.token-grid { display: grid; gap: 40px; align-items: center; }
.token h2 { font-size: clamp(56px, 8vw, 96px); font-weight: 600; letter-spacing: -.03em; margin: 10px 0 18px; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--white-60); font-size: 18px; }
.checks li::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%2307101c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.ca-box { margin-top: 30px; padding: 18px; border: 1px solid var(--white-10); border-radius: 18px; background: var(--white-5); }
.ca-addr { display: block; padding: 12px 14px; border-radius: 10px; background: rgb(0 0 0 / .3); font-size: 15px; word-break: break-all; }
.ca-addr.empty { color: var(--white-40); }
.ca-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.token-coin { width: min(460px, 78vw); aspect-ratio: 1; justify-self: center; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .55)); }
.token-coin svg { width: 100%; height: 100%; border-radius: 22%; }
@media (min-width: 1024px) { .token-grid { grid-template-columns: 1fr 1fr; } }

/* Perks (Crypgo Perks) */
.perks { padding: 40px 0 112px; overflow: hidden; }
.perks .container { position: relative; z-index: 2; }
.perks-grid { display: grid; gap: 40px; padding: 56px 28px; border: 1px solid var(--border); border-radius: 26px; background: radial-gradient(60% 80% at 50% 0%, rgb(134 239 172 / .07), transparent 70%); }
@media (min-width: 640px) { .perks-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .perks-grid { grid-template-columns: repeat(3, 1fr); padding: 64px 56px; } }
.perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.perk-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--primary-25); backdrop-filter: blur(4px); color: var(--primary); margin-bottom: 6px; }
.perk-icon.red-icon { background: rgb(239 68 68 / .2); color: var(--red-text); }
.perk-icon svg { width: 36px; height: 36px; }
.perk h3 { font-size: 24px; font-weight: 500; }
.perk p { color: var(--white-60); }

/* CTA band (Crypgo Platform) */
.cta-band { padding: 20px 0 40px; }
.cta-box { display: grid; gap: 28px; align-items: center; padding: 48px 32px; border: 2px solid var(--white-10); border-radius: 26px; background: var(--white-5); overflow: hidden; position: relative; }
.cta-box::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgb(134 239 172 / .06); }
.cta-box h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-box p { color: var(--white-60); font-size: 18px; }
@media (min-width: 1024px) { .cta-box { grid-template-columns: 2fr 1fr; padding: 56px 64px; } .cta-box .btn { justify-self: end; } }

/* FAQ (Crypgo Faq) */
.faq { padding: 64px 0; }
.narrow-wrap { max-width: 56rem; }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 0 16px; border-radius: var(--radius); background: var(--white-5); }
.faq-trigger { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border: 0; background: none; text-align: left; font-size: 18px; font-weight: 500; cursor: pointer; }
.faq-icon { flex: none; width: 24px; height: 24px; transition: transform .2s; }
.faq-trigger[aria-expanded='true'] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding-bottom: 16px; color: #9ca3af; }

/* Footer (Crypgo Footer) */
.site-footer { padding-top: 64px; background: var(--background); overflow: hidden; }
.foot-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 4fr 2fr 2fr 3fr; gap: 64px; } }
.foot-brand { display: flex; flex-direction: column; gap: 22px; }
.site-footer p { color: var(--white-60); }
.site-footer h4 { margin-bottom: 16px; font-size: 20px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding-bottom: 14px; }
.site-footer li a { color: var(--white-60); transition: color .2s; }
.site-footer li a:hover { color: var(--primary); }
.wordmark { margin: 10px 0 0; text-align: center; font: 800 clamp(110px, 27vw, 380px)/.8 var(--sans); letter-spacing: -.05em; background: linear-gradient(180deg, rgb(134 239 172 / .55), rgb(134 239 172 / 0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.site-footer hr { margin: 0; border: 0; border-top: 1px solid var(--white-10); }
.credit { padding: 28px 0; text-align: center; color: var(--white-40) !important; font-size: 14px; }
.credit a:hover { color: var(--primary); }

/* Ticket + toast */
.ticket { width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid var(--white-10); border-radius: 22px; background: var(--card); color: #fff; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .8); }
.ticket::backdrop { background: rgb(7 16 28 / .75); backdrop-filter: blur(4px); }
.ticket form { padding: 26px; }
.ticket h3 { margin: 10px 0 14px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ticket-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--primary-10); color: var(--white-80); font-size: 15px; }
.ticket-note b { color: var(--primary); }
.ticket-note.worse { background: rgb(239 68 68 / .12); }
.ticket-note.worse b { color: var(--red-text); }
.ticket-actions { display: flex; gap: 10px; margin-top: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 14px 20px; border-radius: 12px; background: var(--primary); color: var(--background); font-weight: 600; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }

/* Motion start states, only while the motion scripts run (boot.js adds .js) */
.js [data-reveal], .js [data-stagger] > *, .js [data-slide] { opacity: 0; }
.js [data-head] > *, .js h1[data-words] { opacity: 0; }

/* Admin + 404 */
.narrow { width: min(560px, 100% - 40px); margin: 80px auto; }
.narrow h1 { font-size: 48px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 10px; }
.form { display: grid; gap: 18px; }
.status { min-height: 1.4em; font-weight: 600; }
.status.ok { color: var(--primary); }
.status.err { color: var(--red-text); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Small screens */
@media (max-width: 899px) {
  .offers thead { display: none; }
  .offers, .offers tbody, .offers tr, .offers td { display: block; }
  .offers tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; border-bottom: 1px solid var(--white-10); }
  .offers td { padding: 0; border: 0; white-space: normal; }
  .offers td[data-k]::before { content: attr(data-k); display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white-40); }
  .offers td.c-coin { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .offers .c-coin > .side { display: inline-block; }
  .offers td.c-side { display: none; }
  .offers td.c-act { grid-column: 1 / -1; }
  .offers td.c-act .take { width: 100%; min-height: 44px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 160px; }
  .board-box { padding: 14px; }
  .check-form { padding: 18px; }
  .sticker { font-size: 12px; padding: 8px 10px; }
  .art-desk { margin-left: 0; }
  .ca-strip { gap: 8px; padding: 6px 12px; font-size: 12px; }
  .ca-strip .ca-addr { max-width: 15ch; font-size: 12px; }
  .ca-link { display: none; }
  .cta-box { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 20px; }
  .card-track [aria-hidden='true'] { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .bar-cta .btn-outline { display: none; } }

/* ---------- Finishing touches ---------- */
/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Hero: flickering grid and slowly drifting glows */
.flicker { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(65% 60% at 72% 42%, #000 5%, transparent 72%); mask-image: radial-gradient(65% 60% at 72% 42%, #000 5%, transparent 72%); }
.glow-a { animation: drift-a 16s ease-in-out infinite alternate; }
.glow-b { animation: drift-b 21s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(120px, -60px) scale(.9); } }
.live-dot { flex: none; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgb(134 239 172 / .6); animation: ping 2s infinite; }
@media (min-width: 1024px) { .hero h1 .line { display: block; } }
.w { display: inline-block; }

/* Shine across the main buttons */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after { content: ''; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 48%, transparent 66%); transform: translateX(-130%); animation: shine 4s ease-in-out 1.5s infinite; }
@keyframes shine { 0% { transform: translateX(-130%); } 40%, 100% { transform: translateX(130%); } }

/* Pools the check reads */
.dex-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; padding-block: 4px 8px; }
.dex-strip p { color: var(--white-40); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.dex-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dex-strip li { padding: 8px 16px; border: 1px solid var(--white-10); border-radius: 999px; background: var(--white-5); color: var(--white-80); font-size: 14px; font-weight: 500; transition: border-color .3s, color .3s; }
.dex-strip li:hover { border-color: rgb(134 239 172 / .5); color: var(--primary); }

/* Nav: underline that slides in, and the section you're reading */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* Cursor spotlight on cards */
.spot { position: relative; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(134 239 172 / .09), transparent 45%); opacity: 0; transition: opacity .35s; }
.spot:hover::before { opacity: 1; }
.stat, .coin-card, .perk, .art-card { transition: transform .4s var(--ease), border-color .4s; }
.stat:hover, .coin-card:hover, .art-card:hover { transform: translateY(-4px); }
.stat:hover, .art-card:hover { border-color: rgb(134 239 172 / .3); }

/* A light that runs round the two demo panels (BorderBeam idea, plain CSS) */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.beam { position: relative; }
.beam::after { content: ''; position: absolute; inset: -1.5px; padding: 1.5px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--beam), transparent 0deg 285deg, rgb(134 239 172 / .9) 325deg, rgb(103 232 249 / .9) 350deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: beam 7s linear infinite; }
@keyframes beam { to { --beam: 360deg; } }

/* Timeline: two rings with a dot orbiting each */
.tl-rings { display: none; }
@media (min-width: 900px) {
  .tl-rings { display: block; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); pointer-events: none; }
  .tl-rings i { position: absolute; border-radius: 50%; }
  .tl-rings i:first-child { inset: -70px; border: 1px dashed rgb(134 239 172 / .28); animation: orbit 26s linear infinite; }
  .tl-rings i:last-child { inset: -140px; border: 1px solid rgb(255 255 255 / .07); animation: orbit 44s linear infinite reverse; }
  .tl-rings i::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 16px 4px rgb(134 239 172 / .5); }
  .tl-rings i:last-child::before { background: var(--secondary); box-shadow: 0 0 16px 4px rgb(103 232 249 / .45); }
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* Live price cards flash when their price moves */
.coin-card.flash-up .px { animation: flash-up 1.6s ease-out; }
.coin-card.flash-down .px { animation: flash-down 1.6s ease-out; }
@keyframes flash-up { from { color: var(--primary); text-shadow: 0 0 18px rgb(134 239 172 / .7); } }
@keyframes flash-down { from { color: var(--red-text); text-shadow: 0 0 18px rgb(248 113 113 / .6); } }

@media (prefers-reduced-motion: reduce) {
  .beam::after, .btn-shine::after { display: none; }
  .glow-a, .glow-b, .tl-rings i { animation: none; }
}

/* Hero: a soft light that follows the cursor */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(640px circle at var(--hx, 72%) var(--hy, 42%), rgb(134 239 172 / .09), transparent 60%); }

/* Cards tilt toward the cursor */
.tilt { transform-style: preserve-3d; }
.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* Timeline progress ring and steps that light up in turn */
.tl-progress { display: none; }
@media (min-width: 900px) {
  .tl-progress { display: block; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%) rotate(-90deg); pointer-events: none; overflow: visible; }
  .tl-progress circle { fill: none; stroke: var(--primary); stroke-width: .6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--tl, 100); filter: drop-shadow(0 0 4px rgb(134 239 172 / .7)); }
}
.tl-num { transition: background .4s, color .4s, box-shadow .4s; }
.tl-step.is-on .tl-num { background: var(--primary); color: var(--background); box-shadow: 0 0 0 8px rgb(134 239 172 / .12), 0 0 30px rgb(134 239 172 / .45); }
.tl-step h3 { transition: color .4s; }
.tl-step.is-on h3 { color: var(--primary); }

/* Footer wordmark: a slow light sweeping through the letters */
.wordmark { background-image: linear-gradient(100deg, rgb(134 239 172 / .5) 0%, rgb(134 239 172 / .5) 40%, rgb(220 252 231 / .95) 50%, rgb(134 239 172 / .5) 60%, rgb(134 239 172 / 0) 100%); background-size: 220% 100%; animation: sweep 7s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } .tilt:hover { transform: none; } }
