/* Page sections — Basket Trading */

/* ============ Navbar ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #0d0d0d;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav--on-dark {
  color: #fbfbfb;
}

.nav.is-stuck {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(13, 13, 13, 0.07);
}

.nav--on-dark.is-stuck {
  background: rgba(10, 10, 10, 0.62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

/* Logo mark: the hoop-and-candles icon, no container */
.logo__mark {
  width: 28px;
  height: 34px;
  flex: none;
  object-fit: contain;
}

/* Wordmark: a light-blue highlight sweeping across the letters */
.logo__text {
  background: linear-gradient(
    100deg,
    currentColor 0%,
    currentColor 44%,
    #62c9f5 50%,
    currentColor 56%,
    currentColor 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  /* only the fill goes transparent — `color` must stay for currentColor */
  -webkit-text-fill-color: transparent;
  animation: logo-sweep 4.5s linear infinite;
}

@keyframes logo-sweep {
  from {
    background-position: 140% 0;
  }
  to {
    background-position: -40% 0;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav__link {
  padding: 9px 14px;
  border-radius: var(--r-full);
  color: currentColor;
  opacity: 0.6;
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1;
  transition: opacity var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  opacity: 1;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: auto;
}

.nav__cta {
  display: none;
}

/* Hamburger — bare icon, no chrome */
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: currentColor;
  font-size: 26px;
  transition: opacity var(--dur) var(--ease);
}

.burger:hover {
  opacity: 0.6;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
  .nav__actions {
    margin-left: 0;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--s-7));
  padding-bottom: var(--s-8);
  text-align: center;
  background: #030a0f;
  overflow: hidden;
}

/* Currency-symbol wave field */
.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  max-width: 960px;
  margin-inline: auto;
}

.hero h1 {
  font-size: var(--t-display);
  line-height: var(--lh-display);
  margin: var(--s-5) 0 var(--s-4);
}

.hero h1 .accent {
  color: var(--accent-ink);
}

.hero .lead {
  margin-inline: auto;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* Screenshot — sits straight on the section, no frame behind it */
.shot {
  position: relative;
  margin-top: var(--s-7);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.shot.is-empty {
  background: var(--fill);
  border-radius: var(--r-2xl);
}

.shot img {
  width: 100%;
  height: auto;
}

.shot__ph {
  display: none;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: var(--s-5);
  text-align: center;
}

.shot.is-empty img {
  display: none;
}

.shot.is-empty .shot__ph {
  display: grid;
}

.shot__ph i {
  font-size: 30px;
  color: var(--faint);
  margin-bottom: 12px;
}

.shot__ph code {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============ Stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-4);
  margin-top: var(--s-8);
}

.stat {
  text-align: center;
}

.stat i {
  font-size: 20px;
  color: var(--accent-ink);
  margin-bottom: 10px;
}

.stat__k {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.stat__v {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============ Marquee ============ */
.marquee {
  position: relative;
  padding-block: var(--s-4);
  background: var(--bg);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--s-7);
  width: max-content;
  animation: slide 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.marquee__item i {
  color: var(--accent-ink);
  font-size: 18px;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Counter ============ */
.counter {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: var(--s-6) auto 0;
  padding: 12px;
  border-radius: var(--r-2xl);
  background: #0a0a0a;
}

.counter__sym {
  display: grid;
  place-items: center;
  width: clamp(46px, 11vw, 62px);
  height: clamp(46px, 11vw, 62px);
  flex: none;
  border-radius: 14px;
  background: var(--wa);
  color: #05230f;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.counter__digits {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 6px);
  padding-right: clamp(6px, 2vw, 14px);
  user-select: none;
  -webkit-user-select: none;
}

.counter__digits .d,
.counter__digits .sep {
  color: #ffffff;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* Each digit is a reel that rolls up, like an odometer */
.counter__digits .d {
  display: block;
  min-width: clamp(24px, 6vw, 40px);
  height: 1.18em;
  overflow: hidden;
  transition: color 0.5s var(--ease);
}

.counter__digits .reel {
  display: block;
  transform: translateY(calc(var(--n, 0) * -9.0909%));
  transition: transform 0.42s cubic-bezier(0.3, 1.15, 0.4, 1);
  transition-delay: var(--roll-delay, 0ms);
}

.counter__digits .reel b {
  display: block;
  height: 1.18em;
  line-height: 1.18em;
  font-weight: 500;
}

.counter__digits .sep {
  color: rgba(255, 255, 255, 0.55);
  min-width: 12px;
  line-height: 1.18em;
}

.counter.is-bump .counter__digits .d:nth-last-child(-n + 2) {
  color: #4ade80;
  transition-duration: 0.12s;
}

.counter__note {
  margin: var(--s-5) auto 0;
  text-align: center;
  max-width: 54ch;
}

/* ============ Payouts by country ============ */
.payouts {
  margin-top: var(--s-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.payouts__track {
  display: flex;
  gap: var(--s-3);
  width: max-content;
  padding-inline: var(--s-3);
  animation: slide 46s linear infinite;
}

.payouts:hover .payouts__track {
  animation-play-state: paused;
}

.payout {
  min-width: 218px;
  padding: 18px 20px;
  border-radius: var(--r-xl);
  background: var(--card);
}

.payout .fi {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: -3px;
}

.payout__c {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.3;
}

.payout strong {
  display: block;
  margin-top: 12px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

/* ============ Video ============ */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--fill);
  cursor: pointer;
}

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

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}

.video__play span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yt);
  color: #fff;
  font-size: 30px;
  transition: background-color var(--dur) var(--ease);
}

.video:hover .video__play span {
  background: var(--yt-hover);
}

.video-wrap {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 1024px) {
  .video-wrap {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--s-8);
  }
  .video-wrap .section-head {
    margin-bottom: 0;
  }
}

/* ============ Route cards ============ */
.grid-4 {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.route__n {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
}

.route__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--s-4);
  color: var(--accent-ink);
  font-size: var(--t-xs);
  font-weight: 500;
  line-height: 1;
}

.route__tag i {
  font-size: 15px;
}

/* ============ Steps ============ */
.steps {
  display: grid;
  gap: var(--s-4);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--r-xl);
  background: var(--card);
}

.step--live {
  background: var(--fill-2);
}

.step__n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
}

.step--live .step__n {
  background: var(--wa);
}

.step__body h3 {
  margin-bottom: 8px;
}

.step__body p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
  max-width: 46ch;
}

.step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.step__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(37, 211, 102, 0.16);
  color: #128a3e;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--t-mono);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.on-dark .step__pill {
  color: #4ade80;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============ CTA band ============ */
.cta {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-2xl);
  background: var(--card);
}

.cta__grid {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

.cta h2 {
  margin: var(--s-4) 0 var(--s-3);
}

.cta p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.65;
  max-width: 46ch;
}

.cta__flow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.cta__flow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-full);
  background: var(--fill);
  color: var(--muted);
  font-size: var(--t-xs);
  line-height: 1.3;
}

.cta__flow i {
  color: var(--wa);
  font-size: 16px;
}

.cta--tg .cta__flow i {
  color: var(--tg);
}

.cta__side {
  display: grid;
  gap: 10px;
}

@media (min-width: 900px) {
  .cta {
    padding: var(--s-7);
  }
  .cta__grid {
    grid-template-columns: 1.4fr auto;
    gap: var(--s-7);
  }
  .cta__side {
    min-width: 280px;
  }
}

/* ============ FAQ ============ */
.faq-wrap {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 1024px) {
  .faq-wrap {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--s-8);
    align-items: start;
  }
  .faq-wrap .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    margin-bottom: 0;
  }
}

/* ============ Footer ============ */
.footer {
  position: relative;
  padding-top: var(--s-8);
  padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom));
}

.footer__grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}

.footer__about p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.65;
  max-width: 34ch;
  margin-top: var(--s-4);
}

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: var(--s-5);
}

.footer h4 {
  margin-bottom: var(--s-4);
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.4;
  width: fit-content;
  transition: color var(--dur) var(--ease);
}

.footer__links a i {
  font-size: 17px;
  opacity: 0.55;
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-5);
  color: var(--faint);
  font-size: var(--t-xs);
  line-height: 1.5;
}

.risk {
  padding-block: var(--s-5);
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.75;
}

.risk strong {
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr;
  }
}

/* ============ Back to top ============ */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  background: #0a0a0a;
  color: #fff;
  font-size: 21px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur),
    background-color var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--accent);
}
