/* =========================================================
   Fite Market — styles
   ========================================================= */

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #070505;
  --bg-1: #0b0808;
  --bg-2: #110c0c;
  --surface: rgba(255, 238, 222, 0.035);
  --surface-2: rgba(255, 238, 222, 0.06);
  --line: rgba(236, 224, 204, 0.09);
  --line-2: rgba(236, 224, 204, 0.16);
  --bone: #ece0cc;
  --text: #f5efe6;
  --muted: rgba(236, 224, 204, 0.64);
  --dim: rgba(236, 224, 204, 0.42);
  --red: #e5282e;
  --red-hi: #ff4b3a;
  --ember: #ff7a45;
  --blood: #8e0e14;
  --win: #4bdc92;

  --grad: linear-gradient(105deg, #ff6a3d 0%, #ff3b30 38%, #e5282e 62%, #a8101a 100%);
  --grad-text: linear-gradient(90deg, #ff8a4c 0%, #ff3b30 30%, #e5282e 55%, #ff6a3d 80%, #ff8a4c 100%);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-padding-top: 90px;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Type ---------- */
.h1, .h2, .brand-word, .foot-word, .stat-num, .tier h3, .mkt .f-last, .tier-fee b, .t-name, .t-odds, .f-odds, .mkt-more h3 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
}

.h1 {
  font-size: clamp(2.35rem, 8.4vw, 7.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.045em;
  text-align: center;
  color: var(--text);
  text-wrap: balance;
}
/* Line masks get room below the baseline so descenders (g, y, p) aren't clipped. */
.h1 .line { display: block; overflow: hidden; padding: .04em .06em .22em; margin: -.04em 0 -.22em; }
.h1 .line-in { display: inline-block; will-change: transform; }

.accent {
  position: relative;
  font-style: normal;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
  filter: drop-shadow(0 0 28px rgba(229, 40, 46, .45));
}
@keyframes sheen { to { background-position: -200% 0; } }

/* Uniformly scaled (no non-scaling-stroke) so pathLength-based dashes cover the whole stroke. */
.slash {
  position: absolute; left: 0; bottom: -.08em;
  width: 96%; height: auto; aspect-ratio: 400 / 24;
  overflow: visible;
}
.slash path {
  fill: none; stroke: url(#g-slash); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}

.h2 {
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 16ch;
}
.h2 .split-line-mask { padding-bottom: .2em; margin-bottom: -.2em; }
.h2.wide { max-width: 22ch; text-wrap: wrap; }
.h2 .nw { white-space: nowrap; }
.h2.xl { font-size: clamp(2.5rem, 8vw, 7rem); max-width: 14ch; margin: 0 auto; text-align: center; }
.h2 .hl { color: var(--red-hi); }
.h2 .hl .word, .h2 .hl .char { color: inherit; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--red-hi);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, .15), 0 0 14px rgba(255, 59, 48, .9);
  transform: rotate(45deg);
}

.lede {
  margin-top: 24px;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  transition: box-shadow .35s var(--ease), background-color .35s, border-color .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 200, .45),
    inset 0 0 0 1px rgba(255, 120, 90, .35),
    0 12px 36px -12px rgba(229, 40, 46, .85),
    0 0 60px -18px rgba(255, 59, 48, .7);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 200, .55),
    inset 0 0 0 1px rgba(255, 140, 110, .5),
    0 18px 48px -12px rgba(229, 40, 46, 1),
    0 0 90px -10px rgba(255, 59, 48, .8);
}

.btn-ghost {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 240, 225, .07), rgba(255, 240, 225, .02));
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: rgba(255, 122, 69, .55); background-color: rgba(255, 59, 48, .08); }

.pulse {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 10px var(--red-hi);
  flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--red-hi);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: 18px var(--pad) 0;
  transition: padding .4s var(--ease);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled { padding-top: 12px; }
.nav.scrolled .nav-inner {
  background: rgba(14, 9, 9, .62);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 240, 225, .05);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 12px rgba(255, 59, 48, .45)); }
.brand-word { display: inline-flex; align-items: baseline; gap: 6px; font-size: 17px; letter-spacing: -.02em; line-height: 1; }
.brand-word b { font-weight: 900; }
.brand-word span { font-weight: 400; color: var(--muted); letter-spacing: .02em; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted);
  transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-social { display: flex; align-items: center; gap: 4px; }
.nav-social a {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--muted);
  transition: color .25s, background-color .25s;
}
.nav-social a:hover { color: var(--text); background: var(--surface-2); }
.nav-social svg { width: 17px; height: 17px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--surface-2); border: 1px solid var(--line); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--pad) 40px;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(229, 40, 46, .28), transparent 70%),
    rgba(7, 5, 5, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
  font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; letter-spacing: -.04em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  isolation: isolate;
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-aura {
  position: absolute; inset: -10% -10% 0;
  background:
    radial-gradient(42% 38% at 50% 10%, rgba(229, 40, 46, .34), transparent 70%),
    radial-gradient(30% 30% at 18% 60%, rgba(142, 14, 20, .35), transparent 70%),
    radial-gradient(30% 30% at 85% 55%, rgba(255, 106, 61, .14), transparent 70%);
  animation: aura 14s ease-in-out infinite alternate;
}
@keyframes aura { to { transform: translate3d(0, 3%, 0) scale(1.06); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236, 224, 204, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 224, 204, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 55%, #000 10%, transparent 75%);
}

.hero-splash {
  position: absolute; left: 50%; top: 0;
  width: clamp(760px, 104vw, 1900px);
  aspect-ratio: 2400 / 1958;
  translate: -50% -34%;
}
.splash-inner { position: absolute; inset: 0; will-change: transform; }
.hero-splash img { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-img {
  opacity: .44;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .5) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .5) 80%, transparent 100%);
}
.splash-glow {
  opacity: .28;
  mix-blend-mode: screen;
  transform: scale(1.04);
  animation: glow 5s ease-in-out infinite alternate;
}
@keyframes glow { to { opacity: .46; transform: scale(1.1); } }

.hero-coins { position: absolute; inset: 0; }
.hcoin {
  position: absolute; height: auto;
  filter: drop-shadow(0 0 18px rgba(229, 40, 46, .45));
  will-change: transform;
}
.hcoin.c1 { width: clamp(70px, 8vw, 128px); left: 7%;  top: 24%; opacity: .7; filter: blur(1.5px) drop-shadow(0 0 18px rgba(229,40,46,.4)); }
.hcoin.c2 { width: clamp(110px, 12vw, 190px); left: 5%;  top: 62%; }
.hcoin.c3 { width: clamp(40px, 4.4vw, 70px);  right: 11%; top: 22%; opacity: .8; }
.hcoin.c4 { width: clamp(120px, 13vw, 210px); right: 5%; top: 56%; }
.hcoin.c5 { width: clamp(60px, 6vw, 96px);  left: 26%; top: 84%; opacity: .5; filter: blur(2.5px); }
.hcoin.c6 { width: clamp(36px, 3.6vw, 58px);  right: 27%; top: 86%; opacity: .6; filter: blur(1px); }

.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
}

.hero-content::before {
  content: "";
  position: absolute; inset: 22% -12% 6%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 52%, rgba(7, 5, 5, .72), rgba(7, 5, 5, .3) 60%, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(120px, 20vh, 200px) var(--pad) 48px;
  max-width: 1200px; margin: 0 auto;
  will-change: transform;
}

.hero-sub {
  max-width: 58ch;
  margin-top: 30px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--muted);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.ca {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 12.5px;
  border: 1px dashed var(--line-2);
  background: rgba(7, 5, 5, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .3s;
}
.ca:hover { border-color: rgba(255, 122, 69, .6); }
.ca-label { color: var(--dim); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.ca-addr { color: var(--bone); }
.ca-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--ember); }
.ca-icon svg { width: 15px; height: 15px; }
.ca-done {
  position: absolute; left: 50%; top: calc(100% + 10px);
  transform: translate(-50%, 4px);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: #fff;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.ca.copied .ca-done { opacity: 1; transform: translate(-50%, 0); }

/* Ticker */
.ticker {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 12, 12, .7), rgba(10, 7, 7, .7));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  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; will-change: transform; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.ticker-list b { color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.ticker-list .o { color: var(--bone); padding: 2px 8px; border-radius: 6px; background: var(--surface-2); }
.ticker-list .up span { color: var(--win); }
.ticker-list .live b { color: var(--red-hi); }
.ticker-list .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ticker-track.css-marquee { animation: marquee 50s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; overflow-x: clip; }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }

/* Platform modules */
.platform::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 60%;
  background: radial-gradient(50% 60% at 80% 0%, rgba(229, 40, 46, .1), transparent 70%);
  pointer-events: none;
}
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -60px rgba(229, 40, 46, .35);
}
.module {
  --mx: 50%; --my: 50%;
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  min-height: 300px;
  background: linear-gradient(180deg, #0f0b0b, #0a0707);
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
[data-spot]::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 59, 48, .14), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
[data-spot]:hover::before { opacity: 1; }
.module::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-hi), transparent);
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.module:hover::after { transform: scaleX(1); }
.module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 48px; }
.num { font-family: var(--f-mono); font-size: 13px; color: var(--ember); letter-spacing: .1em; }
.m-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 240, 225, .07), rgba(255, 240, 225, .01));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 240, 225, .07);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.m-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.module:hover .m-icon { transform: translateY(-4px) rotate(-6deg); border-color: rgba(255, 90, 60, .5); box-shadow: 0 10px 30px -8px rgba(229, 40, 46, .7), inset 0 1px 0 rgba(255, 240, 225, .1); }
.module:hover .m-icon svg { stroke: var(--red-hi); }
.module h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.module p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 36ch; }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(17, 12, 12, .7) 30%, transparent); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { position: relative; padding-left: 44px; }
.steps-rail { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line); border-radius: 2px; }
.rail-fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ember), var(--red) 60%, var(--blood));
  box-shadow: 0 0 16px rgba(255, 59, 48, .7);
  transform-origin: top; transform: scaleY(0);
  border-radius: 2px;
}
.step {
  position: relative;
  min-height: 52vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 0;
  opacity: .38;
  transition: opacity .5s var(--ease);
}
.step.is-active { opacity: 1; }
.step-dot {
  position: absolute; left: -44px; top: 50%;
  width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  transition: border-color .4s, box-shadow .4s, background-color .4s;
}
.step-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--line-2); transition: background-color .4s; }
.step.is-active .step-dot { border-color: var(--red-hi); box-shadow: 0 0 0 6px rgba(255, 59, 48, .12), 0 0 22px rgba(255, 59, 48, .7); }
.step.is-active .step-dot::after { background: var(--red-hi); }
.step-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; }
.step h3 { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 42ch; font-size: 16.5px; }
.step-icon { width: 54px; height: 54px; object-fit: contain; margin-top: 26px; opacity: .9; filter: drop-shadow(0 0 16px rgba(229, 40, 46, .5)); }

.how-visual { position: sticky; top: 14vh; height: 72vh; min-height: 560px; display: grid; place-items: center; perspective: 1400px; }

/* Ticket */
.ticket { position: relative; width: min(100%, 440px); }
.ticket-ghost {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 18, 18, .6), rgba(12, 8, 8, .6));
}
.ticket-ghost.g1 { transform: translate(22px, 22px) rotate(4deg); opacity: .6; }
.ticket-ghost.g2 { transform: translate(40px, 40px) rotate(8deg); opacity: .3; }
.ticket-card {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(229, 40, 46, .2), transparent 60%),
    linear-gradient(180deg, #171010, #0c0808);
  border: 1px solid rgba(255, 120, 90, .22);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, .9),
    0 30px 90px -40px rgba(229, 40, 46, .7),
    inset 0 1px 0 rgba(255, 240, 225, .08);
  transform-style: preserve-3d;
  will-change: transform;
}
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.t-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 59, 48, .12); border: 1px solid rgba(255, 59, 48, .3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ffb4a0; }
.t-badge .pulse { width: 6px; height: 6px; }
.t-meta { font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .06em; text-align: right; }
.t-fighters { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.t-side {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color .5s, background-color .5s, box-shadow .5s, transform .5s var(--ease), opacity .5s;
}
.t-avatar {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: -.02em;
  margin-bottom: 6px;
  background: linear-gradient(145deg, #3a2222, #1a1010);
  border: 1px solid var(--line-2);
}
.t-side.a .t-avatar { background: linear-gradient(145deg, #ff6a3d, #b0121b); border-color: rgba(255, 150, 120, .5); }
.t-name { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.t-rec { font-family: var(--f-mono); font-size: 10.5px; color: var(--dim); }
.t-odds { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.t-vs { align-self: center; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .2em; }
.t-split { margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(255, 240, 225, .1); overflow: hidden; display: flex; }
.t-split span { width: 62%; background: var(--grad); border-radius: 6px; box-shadow: 0 0 12px rgba(255, 59, 48, .7); }
.t-split-l { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.t-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.t-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.t-row span { color: var(--muted); }
.t-row b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; }
.t-pay { transition: color .5s, text-shadow .5s; }
.t-escrow { display: inline-flex; align-items: center; gap: 8px; }
.t-escrow em { font-style: normal; }
.lock { width: 10px; height: 8px; border-radius: 2px; background: var(--dim); position: relative; margin-top: 4px; transition: background-color .4s; }
.lock::before { content: ""; position: absolute; left: 1.5px; right: 1.5px; bottom: 6px; height: 6px; border: 1.5px solid var(--dim); border-bottom: 0; border-radius: 4px 4px 0 0; transition: border-color .4s, transform .4s var(--ease); transform: translateY(-2px); }
.t-status { position: relative; height: 44px; margin-top: 16px; }
.t-status p {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; color: var(--bone);
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.t-status .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); flex: none; }
.t-status .sd.win { background: var(--win); box-shadow: 0 0 10px var(--win); }
.t-status b { color: var(--win); font-weight: 500; }
.t-btn { position: relative; height: 50px; margin-top: 12px; border-radius: 999px; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255, 220, 200, .4), 0 12px 30px -12px rgba(229, 40, 46, .9); overflow: hidden; transition: background .5s; }
.t-btn span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 14.5px; color: #fff; opacity: 0; transform: translateY(100%); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.t-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.t-dots i { width: 18px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background-color .4s, width .4s var(--ease); }

/* ticket states */
.t-escrow em[data-s="2"] { display: none; }
.ticket[data-state="0"] .t-status [data-s="0"], .ticket[data-state="0"] .t-btn [data-s="0"],
.ticket[data-state="1"] .t-status [data-s="1"], .ticket[data-state="1"] .t-btn [data-s="1"],
.ticket[data-state="2"] .t-status [data-s="2"], .ticket[data-state="2"] .t-btn [data-s="2"],
.ticket[data-state="3"] .t-status [data-s="3"], .ticket[data-state="3"] .t-btn [data-s="3"] { opacity: 1; transform: none; }
.ticket:not([data-state="0"]) .t-side.a { border-color: rgba(255, 90, 60, .7); background: rgba(255, 59, 48, .1); box-shadow: 0 0 0 1px rgba(255, 90, 60, .4), 0 18px 40px -16px rgba(229, 40, 46, .8); transform: translateY(-3px); }
.ticket:not([data-state="0"]) .t-side.b { opacity: .5; }
.ticket[data-state="2"] .t-escrow em[data-s="0"], .ticket[data-state="3"] .t-escrow em[data-s="0"] { display: none; }
.ticket[data-state="2"] .t-escrow em[data-s="2"], .ticket[data-state="3"] .t-escrow em[data-s="2"] { display: inline; color: var(--bone); }
.ticket[data-state="2"] .lock, .ticket[data-state="3"] .lock { background: var(--ember); }
.ticket[data-state="2"] .lock::before, .ticket[data-state="3"] .lock::before { border-color: var(--ember); transform: none; }
.ticket[data-state="3"] .t-pay { color: var(--win); text-shadow: 0 0 18px rgba(75, 220, 146, .6); }
.ticket[data-state="3"] .t-btn { background: linear-gradient(105deg, #2fbf7a, #1b8f58); box-shadow: inset 0 1px 0 rgba(200, 255, 220, .4), 0 12px 30px -12px rgba(47, 191, 122, .8); }
.ticket[data-state="0"] .t-dots i:nth-child(1),
.ticket[data-state="1"] .t-dots i:nth-child(-n+2),
.ticket[data-state="2"] .t-dots i:nth-child(-n+3),
.ticket[data-state="3"] .t-dots i { background: var(--red-hi); }
.ticket[data-state="0"] .t-dots i:nth-child(1),
.ticket[data-state="1"] .t-dots i:nth-child(2),
.ticket[data-state="2"] .t-dots i:nth-child(3),
.ticket[data-state="3"] .t-dots i:nth-child(4) { width: 34px; }

.ticket-burst { position: absolute; inset: 0; pointer-events: none; }
.ticket-burst img { position: absolute; left: 50%; top: 60%; width: 70px; height: auto; opacity: 0; filter: drop-shadow(0 0 14px rgba(229, 40, 46, .6)); }

/* ---------- Markets ---------- */
.markets { overflow-x: clip; padding-bottom: clamp(72px, 10vw, 120px); }
.markets-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.markets-head .sec-head { margin-bottom: 48px; }
.markets-meta { margin-bottom: 56px; text-align: right; color: var(--muted); font-size: 14px; }
.markets-meta b { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ember); font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.mkt-viewport { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.mkt-track { display: flex; gap: 20px; width: max-content; padding-right: var(--pad); will-change: transform; }
.mkt {
  --mx: 50%; --my: 50%;
  position: relative;
  width: clamp(330px, 30vw, 400px);
  min-height: 420px;
  padding: 26px;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden;
  background:
    linear-gradient(180deg, #140e0e, #0b0808) padding-box,
    linear-gradient(160deg, rgba(255, 120, 90, .35), rgba(236, 224, 204, .06) 35%, rgba(236, 224, 204, .04) 70%, rgba(229, 40, 46, .3)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  transition: translate .5s var(--ease), box-shadow .5s;
}
.mkt:hover { translate: 0 -6px; box-shadow: 0 40px 90px -40px rgba(229, 40, 46, .6); }
.mkt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; }
.mkt-top > * { white-space: nowrap; }
.tag { padding: 5px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); background: var(--surface-2); border: 1px solid var(--line); }
.mkt-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; color: #ffb4a0; letter-spacing: .06em; }
.mkt-live .pulse { width: 6px; height: 6px; }
.mkt-time { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.mkt-event { margin-top: 22px; font-size: 13px; color: var(--muted); }
.mkt-fight { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 auto; }
.mkt .f { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: end; }
.mkt .f-first { grid-column: 1; font-size: 13px; color: var(--dim); }
.mkt .f-last { grid-column: 1; font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mkt .f-odds { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 17px; font-weight: 700; letter-spacing: -.02em; transition: background-color .3s, border-color .3s; }
.mkt .f:first-child .f-odds { color: #ffc2b0; border-color: rgba(255, 90, 60, .35); background: rgba(255, 59, 48, .1); }
.mkt .f-odds:hover { border-color: var(--red-hi); }
.mkt-vs { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--red-hi); text-transform: uppercase; padding: 6px 0; }
.mkt-bar { margin-top: 26px; height: 5px; border-radius: 5px; background: rgba(255, 240, 225, .1); overflow: hidden; }
.mkt-bar span { display: block; height: 100%; width: var(--p); background: var(--grad); border-radius: 5px; box-shadow: 0 0 10px rgba(255, 59, 48, .7); transform-origin: left; }
.mkt-foot { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-size: 12.5px; color: var(--dim); }
.mkt-foot b { color: var(--bone); font-weight: 600; font-family: var(--f-mono); font-size: 12px; }
.mini { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 13px; transition: background-color .3s, border-color .3s; }
.mini svg { width: 14px; height: 14px; }
.mini:hover { background: var(--red); border-color: var(--red); }
.mkt-coin { position: absolute; right: -40px; top: 40px; width: 180px; height: auto; opacity: .09; z-index: -1; transform: rotate(-12deg); transition: opacity .5s, transform .8s var(--ease); }
.mkt:hover .mkt-coin { opacity: .22; transform: rotate(0deg) scale(1.08); }

.mkt-more {
  justify-content: flex-end;
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(229, 40, 46, .28), transparent 70%),
    linear-gradient(180deg, #1a0f0f, #0b0808) padding-box,
    linear-gradient(160deg, rgba(255, 120, 90, .5), rgba(229, 40, 46, .2)) border-box;
}
.mkt-more img { position: absolute; left: 50%; top: 42px; width: 118%; max-width: none; transform: translateX(-50%); opacity: .9; filter: drop-shadow(0 0 24px rgba(229, 40, 46, .5)); }
.mkt-more h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.mkt-more p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.mkt-progress { margin-top: 40px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mkt-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

@media (min-width: 901px) {
  .markets { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 104px 0 48px; }
  .markets-head .sec-head { margin-bottom: 36px; }
  .markets-meta { margin-bottom: 44px; }
  .mkt-progress { margin-top: 32px; }
}

/* ---------- Stats ---------- */
.stats { overflow: hidden; isolation: isolate; }
.stats-bg { position: absolute; inset: 0; z-index: -1; }
.stats-bg img {
  position: absolute; right: -8%; top: -2%;
  width: min(1180px, 72vw); height: auto;
  opacity: .6;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(55% 60% at 58% 48%, #000 30%, transparent 75%);
  mask-image: radial-gradient(55% 60% at 58% 48%, #000 30%, transparent 75%);
}
.stats::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 5, 5, .4) 45%, rgba(7, 5, 5, .1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 5, 5, .55) 45%, transparent 70%); pointer-events: none; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat { text-align: center; }
.ring { position: relative; width: min(100%, 200px); aspect-ratio: 1; margin: 0 auto 22px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; }
.ring-track { stroke: var(--line); stroke-width: 1.5; }
.ring-ticks { stroke: rgba(236, 224, 204, .14); stroke-width: 6; stroke-dasharray: 1 5.5; }
.ring-fill { stroke: url(#g-red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(255, 59, 48, .8)); }
.ring-comet { position: absolute; inset: 0; border-radius: 50%; animation: spin 7s linear infinite; }
.ring-comet::before { content: ""; position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #ffd0bf; box-shadow: 0 0 10px #fff, 0 0 24px var(--red-hi), 0 0 40px var(--red); }
.stat:nth-child(2) .ring-comet { animation-duration: 9s; animation-delay: -3s; }
.stat:nth-child(3) .ring-comet { animation-duration: 8s; animation-delay: -5s; }
.stat:nth-child(4) .ring-comet { animation-duration: 10s; animation-delay: -1s; }
@keyframes spin { to { transform: rotate(360deg); } }
.stat-num { position: relative; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 600; font-size: 16px; }
.stat-sub { font-size: 13.5px; color: var(--dim); margin-top: 2px; }

/* ---------- Token ---------- */
.token-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.alloc {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 240, 225, .045), rgba(255, 240, 225, .015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 240, 225, .05);
}
.alloc-title { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.alloc-title span { font-family: var(--f-mono); font-weight: 400; font-size: 12.5px; color: var(--dim); }
.alloc-bar { display: flex; gap: 2px; height: 22px; }
.seg {
  flex: var(--w) 1 0;
  background: var(--c);
  border-radius: 2px;
  transform-origin: left;
  transition: filter .25s;
  cursor: default;
}
.seg:first-child { border-radius: 4px 2px 2px 4px; }
.seg:last-child { border-radius: 2px 4px 4px 2px; }
.alloc-bar:hover .seg:not(:hover) { filter: saturate(.5) brightness(.6); }
.alloc-tip {
  position: absolute; z-index: 5; pointer-events: none;
  padding: 8px 12px; border-radius: 10px;
  background: #1c1414; border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8);
  font-size: 13px; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px));
}
.alloc-tip b { font-family: var(--f-mono); font-weight: 500; margin-left: 8px; }
.alloc-tip span { color: var(--dim); font-family: var(--f-mono); margin-left: 8px; font-size: 12px; }
.alloc-legend { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.alloc-legend th, .alloc-legend td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.alloc-legend th { color: var(--text); display: flex; align-items: center; gap: 12px; }
.alloc-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.alloc-legend td { text-align: right; font-family: var(--f-mono); font-size: 13px; color: var(--muted); width: 70px; }
.alloc-legend td:first-of-type { color: var(--text); }

.token-visual { position: relative; }
.coin-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; perspective: 1000px; }
.coin-halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(229, 40, 46, .45), rgba(229, 40, 46, .08) 50%, transparent 70%); filter: blur(10px); animation: glow 4s ease-in-out infinite alternate; }
.coin-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(236, 224, 204, .14); }
.coin-orbit.o1 { inset: 4%; animation: spin 40s linear infinite; }
.coin-orbit.o2 { inset: 18%; border-style: solid; border-color: rgba(255, 90, 60, .18); animation: spin 26s linear infinite reverse; }
.coin-orbit.o1::before, .coin-orbit.o2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 14px var(--red-hi); }
.coin-hero { position: relative; width: 56%; height: auto; filter: drop-shadow(0 0 30px rgba(229, 40, 46, .6)); will-change: transform; }
.token-chip {
  position: absolute;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 13, 13, .72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 240, 225, .06);
  animation: bob 6s ease-in-out infinite;
}
.token-chip span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.token-chip b { font-size: 16px; font-weight: 600; }
.tc1 { left: 0; top: 14%; }
.tc2 { right: 0; top: 34%; animation-delay: -2s; }
.tc3 { left: 8%; bottom: 10%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- Voices ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 240, 225, .045), rgba(255, 240, 225, .012));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 240, 225, .05);
  transition: border-color .4s, translate .5s var(--ease);
}
.quote:hover { border-color: rgba(255, 90, 60, .35); translate: 0 -4px; }
.quote::after {
  content: "D";
  position: absolute; right: 22px; top: -18px; z-index: -1;
  font-family: var(--f-display); font-weight: 900; font-size: 170px; line-height: 1;
  background: linear-gradient(180deg, rgba(255, 70, 50, .32), rgba(229, 40, 46, 0) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}
.stars { display: flex; gap: 5px; margin-bottom: 22px; }
.stars img { width: 15px; height: 15px; }
.quote blockquote { font-size: 18px; line-height: 1.55; letter-spacing: -.01em; margin-bottom: 30px; text-wrap: pretty; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 700; font-size: 13px; background: linear-gradient(145deg, #ff6a3d, #8e0e14); box-shadow: 0 0 0 3px rgba(255, 59, 48, .15); }
.quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quote figcaption b { font-weight: 600; font-size: 15px; }
.quote figcaption em { font-style: normal; font-size: 13px; color: var(--dim); }

/* ---------- Tiers ---------- */
.tiers::before { content: ""; position: absolute; inset: 20% 0 0; background: radial-gradient(40% 50% at 50% 50%, rgba(229, 40, 46, .14), transparent 70%); pointer-events: none; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #120d0d, #0a0707);
  border: 1px solid var(--line);
}
.tier.featured {
  overflow: visible;
  border: 1px solid transparent;
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(229, 40, 46, .22), transparent 65%) padding-box,
    linear-gradient(180deg, #170e0e, #0b0707) padding-box,
    conic-gradient(from var(--angle), rgba(255, 106, 61, .9), rgba(229, 40, 46, .15) 25%, rgba(236, 224, 204, .08) 50%, rgba(229, 40, 46, .15) 75%, rgba(255, 106, 61, .9)) border-box;
  animation: rotate 6s linear infinite;
  box-shadow: 0 40px 100px -40px rgba(229, 40, 46, .75);
}
.tier.featured::before { border-radius: var(--r-lg); overflow: hidden; }
@keyframes rotate { to { --angle: 360deg; } }
.tier-flag { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--grad); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; box-shadow: 0 8px 20px -6px rgba(229, 40, 46, .9); }
.tier-stake { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.tier h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 18px; }
.tier-fee { display: flex; align-items: baseline; gap: 10px; }
.tier-fee b { font-size: clamp(2.4rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tier-fee span { font-size: 13.5px; color: var(--dim); }
.tier-desc { margin: 16px 0 22px; font-size: 14.5px; color: var(--muted); }
.tier ul { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 30px; }
.tier li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.tier li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: var(--red-hi); background: rgba(255, 59, 48, .12); flex: none; }
.tier .btn { margin-top: auto; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0 clamp(140px, 18vw, 260px); text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-terrain {
  position: absolute; left: 50%; bottom: -2%;
  width: max(1400px, 120vw); max-width: none; height: auto;
  margin-left: calc(max(1400px, 120vw) / -2);
  opacity: .75;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 80%);
  mask-image: linear-gradient(0deg, #000 20%, transparent 80%);
}
.cta-glow { position: absolute; left: 50%; top: 45%; width: min(1100px, 110vw); aspect-ratio: 2; margin: calc(min(1100px, 110vw) / -4) 0 0 calc(min(1100px, 110vw) / -2); background: radial-gradient(closest-side, rgba(229, 40, 46, .38), rgba(229, 40, 46, .1) 55%, transparent); filter: blur(10px); }
.cta-fall { position: absolute; top: 4%; width: clamp(150px, 17vw, 280px); height: auto; opacity: .55; filter: drop-shadow(0 0 20px rgba(229, 40, 46, .4)); }
.cta-fall.l { left: 2%; }
.cta-fall.r { right: 2%; scale: -1 1; top: 14%; opacity: .4; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 90, 60, .6), transparent); }
.cta-inner { position: relative; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer .container { container-type: inline-size; }
.footer { position: relative; padding: 80px 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #0a0707, #050303); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin: 18px 0 20px; }
.foot-brand .nav-social { margin-left: -8px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-cols a { font-size: 14.5px; color: var(--muted); transition: color .25s; width: fit-content; }
.foot-cols a:hover { color: var(--text); }

.foot-word {
  display: flex; justify-content: space-between; gap: .2em;
  margin: 72px 0 36px;
  font-size: 11.4cqi;
  font-weight: 900; letter-spacing: -.05em; line-height: .8;
  user-select: none;
  background: linear-gradient(180deg, rgba(236, 224, 204, .16), rgba(236, 224, 204, .02) 85%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 224, 204, .08);
}
.foot-word span:last-child { background: linear-gradient(180deg, rgba(255, 70, 50, .5), rgba(229, 40, 46, .04) 90%); -webkit-background-clip: text; background-clip: text; }

.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot-risk { flex: 1; text-align: center; }
.phase-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); transition: color .25s, border-color .25s, background-color .25s; }
.phase-link b { color: var(--text); font-weight: 600; }
.phase-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.phase-link:hover { border-color: rgba(255, 90, 60, .5); background: rgba(255, 59, 48, .08); color: var(--text); }
.phase-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Initial animation states (JS only) ---------- */
.js-anim [data-intro],
.js-anim [data-intro-line] { opacity: 0; }
.js-anim [data-splash] { opacity: 0; }
.js-anim .slash path { stroke-dashoffset: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .token-grid { grid-template-columns: 1fr; }
  .token-visual { order: -1; max-width: 480px; margin: 0 auto -20px; width: 100%; }
  .foot-top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { position: relative; top: 0; height: auto; min-height: 0; order: -1; padding: 10px 0 30px; }
  .ticket-ghost.g2 { display: none; }
  .ticket-ghost.g1 { transform: translate(12px, 12px) rotate(2.5deg); }
  .step { min-height: 0; padding: 30px 0; }
  .steps { padding-left: 40px; }
  .step-dot { top: 36px; margin-top: 0; }
  .markets-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .markets-meta { text-align: left; margin-bottom: 36px; }
  .mkt-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-left: 0; }
  .mkt-viewport::-webkit-scrollbar { display: none; }
  .mkt-track { padding: 8px var(--pad) 20px; }
  .mkt { width: min(84vw, 360px); scroll-snap-align: center; }
  .quotes, .tier-grid { grid-template-columns: 1fr; }
  .tier-grid { gap: 28px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-fall { opacity: .25; }
  .cta-fall.r { display: none; }
  .foot-risk { text-align: left; flex-basis: 100%; order: 3; }
}

@media (max-width: 640px) {
  .nav { padding-top: 12px; }
  .nav-inner { height: 58px; padding: 0 6px 0 14px; }
  .nav-social, .nav-right > .btn { display: none; }
  .mnav .nav-social { display: flex; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 15px; }
  .modules { grid-template-columns: 1fr; }
  .module { min-height: 0; }
  .module-top { padding-bottom: 32px; }
  .hero-content { padding-top: 132px; }
  .h1 { font-size: 12.6vw; }
  .hero-splash { width: 190vw; translate: -50% -30%; }
  .hcoin.c1, .hcoin.c3, .hcoin.c5, .hcoin.c6 { display: none; }
  .hcoin.c2 { width: 90px; left: -4%; top: 70%; opacity: .6; }
  .hcoin.c4 { width: 96px; right: -5%; top: 64%; opacity: .6; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-cta .btn { width: 100%; }
  .ca-label { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .ring { width: min(100%, 150px); }
  .stat-sub { display: none; }
  .t-meta { display: none; }
  .ticket-card { padding: 18px; }
  .t-avatar { width: 44px; height: 44px; font-size: 14px; }
  .t-name { font-size: 13px; }
  .token-chip { padding: 9px 12px; }
  .token-chip b { font-size: 14px; }
  .alloc { padding: 20px; }
  .cta-btns { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .foot-word { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}
