/* ---------------------------
   Theme tokens (Light/Dark)
---------------------------- */
:root {
  --font:
    ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  --radius: 18px;
  --radius-lg: 24px;

  /* Accents – calm usage */
  --a1: #6d28d9;
  --a2: #06b6d4;
  --a3: #10b981;

  --ease-out: cubic-bezier(0.2, 0.9, 0.2, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --btn-h: 46px;

  /* Solid brand for buttons */
  --brand: var(--a2);
  --brand-2: color-mix(in srgb, var(--a2) 70%, var(--a1));
  --focusRing: color-mix(in srgb, var(--a2) 40%, transparent);

  /* Light theme */
  --bg: #f7f8fc;
  --bg2: #ffffff;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.72);
  --muted2: rgba(11, 18, 32, 0.56);
  --border: rgba(11, 18, 32, 0.1);

  --glass: rgba(255, 255, 255, 0.62);
  --glass2: rgba(255, 255, 255, 0.46);
  --glassBorder: rgba(255, 255, 255, 0.55);
  --blur: 14px;

  --cardBg: rgba(255, 255, 255, 0.66);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
  --shadow2: 0 14px 36px rgba(0, 0, 0, 0.08);

  --btnTextDark: #06121a;

  --blob1: rgba(109, 40, 217, 0.1);
  --blob2: rgba(6, 182, 212, 0.08);
  --blob3: rgba(16, 185, 129, 0.07);

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #05070b;
  --bg2: #070a10;
  --text: #eaf2ff;
  --muted: rgba(234, 242, 255, 0.74);
  --muted2: rgba(234, 242, 255, 0.58);
  --border: rgba(255, 255, 255, 0.12);

  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.04);
  --glassBorder: rgba(255, 255, 255, 0.1);
  --blur: 16px;

  --cardBg: rgba(255, 255, 255, 0.05);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --shadow2: 0 14px 36px rgba(0, 0, 0, 0.25);

  --blob1: rgba(109, 40, 217, 0.14);
  --blob2: rgba(6, 182, 212, 0.1);
  --blob3: rgba(16, 185, 129, 0.07);

  color-scheme: dark;
}

/* Smooth theme transition */
html,
body,
.site-header,
.product-card,
.rw-card,
.dex-card,
.mm-item,
.faq-item,
.story-wrap,
.spotlight-media,
.rm-curve__wrap,
.site-footer,
.btn,
.icon-btn,
.nav-toggle,
.fab,
.to-top {
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

/* ---------------------------
   Base / Reset
---------------------------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
::selection {
  background: rgba(6, 182, 212, 0.18);
}

/* Calm global background glow */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 18%, var(--blob2), transparent 44%),
    radial-gradient(circle at 82% 22%, var(--blob1), transparent 46%),
    radial-gradient(circle at 55% 88%, var(--blob3), transparent 48%);
  filter: blur(4px);
  opacity: 0.75;
  pointer-events: none;
}

/* ---------------------------
   Buttons
---------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: 0.2px;
  cursor: pointer;
  user-select: none;
  transform: translateZ(0);
  transition:
    transform 0.18s var(--ease-spring),
    box-shadow 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    filter 0.22s var(--ease-out),
    opacity 0.22s var(--ease-out);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focusRing);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 35%,
    transparent 70%
  );
  transform: translateX(-35%);
}
.btn:hover::before {
  opacity: 1;
  animation: btnSheen 1.05s var(--ease-out) both;
}
@keyframes btnSheen {
  from {
    transform: translateX(-35%);
  }
  to {
    transform: translateX(35%);
  }
}

/* Solid button */
.btn-solid {
  background: var(--brand);
  color: var(--btnTextDark);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.1),
    0 10px 26px color-mix(in srgb, var(--brand) 22%, transparent);
}
.btn-solid:hover {
  background: var(--brand-2);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.14),
    0 12px 30px color-mix(in srgb, var(--brand) 28%, transparent);
}
html[data-theme="dark"] .btn-solid {
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 40px color-mix(in srgb, var(--brand) 24%, transparent);
}

/* Ghost / glass button */
.btn-ghost {
  background: color-mix(in srgb, var(--glass2) 92%, transparent);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.btn-ghost:hover {
  background: var(--glass);
  border-color: color-mix(in srgb, var(--a2) 18%, var(--border));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Icon button */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--glass2);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition:
    transform 0.18s var(--ease-spring),
    box-shadow 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}
.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.icon-btn:active {
  transform: translateY(0) scale(0.98);
}
.icon-btn--active {
  background: linear-gradient(
    135deg,
    rgba(109, 40, 217, 0.16),
    rgba(6, 182, 212, 0.12)
  );
  border-color: rgba(6, 182, 212, 0.22);
}

/* Theme toggle icons */
.theme-ic--sun {
  display: none;
}
.theme-ic--moon {
  display: inline;
}
html[data-theme="dark"] .theme-ic--sun {
  display: inline;
}
html[data-theme="dark"] .theme-ic--moon {
  display: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .icon-btn {
    transition: none !important;
  }
  .btn:hover::before {
    animation: none !important;
  }
}

/* ---------------------------
   Story
---------------------------- */
.story {
  padding: 76px 0 86px;
}
.story-wrap {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
}
.story-block {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.story-block h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.story-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
  max-width: 92ch;
  margin-inline: auto;
}
.story-divider {
  height: 1px;
  margin: clamp(22px, 3.5vw, 34px) auto;
  max-width: 920px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border),
    rgba(6, 182, 212, 0.25),
    var(--border),
    transparent
  );
}

/* ---------------------------
   DEXs
---------------------------- */
.dexs {
  padding: 76px 0 86px;
}
.dexs-head {
  text-align: center;
  margin-bottom: 20px;
}
.dexs-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.04em;
}
.dexs-head p {
  margin: 0 auto;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.7;
}
.dexs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 140px));
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.dex-logo-img {
  object-fit: contain;
  display: block;
  margin-inline: auto;
  image-rendering: auto;
}

.dex-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;

  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  min-height: 66px;
  justify-content: center;
}

html[data-theme="light"] .dex-logo-img {
  padding: 10px;
  border-radius: 14px;
  background: #0b1220; /* dark chip behind white logo */
  border: 1px solid rgba(11, 18, 32, 0.12);
}

html[data-theme="light"] .dex-card {
  background: black;
}

.dex-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
/*
.dex-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--glass2);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  z-index: 2;
}
  */

.dex-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--glass2);
  color: var(--text);
  font-weight: 900;
}
.dex-logo--gmgn {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(16, 185, 129, 0.26),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--screen {
  background:
    radial-gradient(circle at 30% 30%, rgba(11, 18, 32, 0.1), transparent 60%),
    var(--glass2);
}
.dex-logo--bird {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(245, 158, 11, 0.2),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--bubble {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(236, 72, 153, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--photon {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(6, 182, 212, 0.22),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--tools {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(109, 40, 217, 0.2),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--gecko {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(167, 139, 250, 0.2),
      transparent 60%
    ),
    var(--glass2);
}
.dex-logo--flux {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(6, 182, 212, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.dex-name {
  font-weight: 900;
}
.dex-sub {
  margin-left: auto;
  color: var(--muted2);
  font-weight: 800;
  font-size: 12px;
}
.dexs-cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------
   Spotlight
---------------------------- */
.spotlight {
  padding: 82px 0 92px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
}
.spotlight-media {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
}
.spotlight-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--glass2);
}
.spotlight-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.spotlight-content h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.spotlight-sub {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 70ch;
}
.spotlight-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.spotlight-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
}
.spark {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(6, 182, 212, 0.75),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(109, 40, 217, 0.55),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.08);
  flex: 0 0 auto;
}
.spotlight-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------
   Token Distribution
---------------------------- */
.token {
  padding: 76px 0 86px;
}
.token-card {
  position: relative;
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.token-card > * {
  position: relative;
  z-index: 1;
}
.token-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.token-text {
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
  max-width: 92ch;
}

/* ---------------------------
   Products (Slider)
---------------------------- */
.products {
  padding: 64px 0 80px;
}
.products-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.products-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
}
.products-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}
.products-controls {
  display: inline-flex;
  gap: 10px;
  margin-top: 6px;
}
.products-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 4px;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  scrollbar-width: none;
}
.products-rail::-webkit-scrollbar {
  display: none;
}
.product-card {
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  padding: 16px;
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-media {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--glass2);
  padding: 14px;
  height: 190px;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.product-card p {
  margin: 0 0 auto;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.product-link {
  margin-top: 14px;
  display: inline-flex;
  width: fit-content;
  font-weight: 800;
  font-size: 14px;
  opacity: 0.85;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
}
.product-link:hover {
  opacity: 1;
}

/* Product mock visuals */
.product-media__mock {
  height: 100%;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass2);
  font-weight: 800;
}
.chip--good {
  color: color-mix(in srgb, var(--a3) 90%, black);
}
.chip--accent {
  color: color-mix(in srgb, var(--a2) 90%, black);
}
.mock-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 9%, transparent);
  margin-bottom: 10px;
}
.mock-lines span:nth-child(2) {
  width: 85%;
}
.mock-lines span:nth-child(3) {
  width: 65%;
}
.mock-lines span:nth-child(4) {
  width: 72%;
}
.mock-chart {
  margin-top: 10px;
  height: 70px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.14), rgba(6, 182, 212, 0.1)),
    var(--glass2);
}
.mock-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.kpi {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--glass2);
  padding: 10px;
}
.kpi small {
  display: block;
  color: var(--muted2);
  margin-bottom: 4px;
  font-weight: 700;
}
.kpi strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mock-grid span {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass2);
}
.mock-code span {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--text) 9%, transparent);
  margin-bottom: 10px;
}
.mock-code span:nth-child(2) {
  width: 86%;
}
.mock-code span:nth-child(3) {
  width: 66%;
}
.mock-code span:nth-child(4) {
  width: 78%;
}

/* ---------------------------
   Market Marquee
---------------------------- */
.market-marquee {
  padding: 74px 0 76px;
}
.mm-head {
  text-align: center;
  margin-bottom: 18px;
}
.mm-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.03em;
}
.mm-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass2);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.mm-tab {
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}
.mm-tab:hover {
  color: var(--text);
}
.mm-tab.is-active {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
}
.mm-row {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 10px 0;
}
.mm-row::before,
.mm-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.mm-row::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.mm-row::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.mm-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: mm-scroll var(--mm-duration, 30s) linear infinite;
}
.mm-row--reverse .mm-track {
  animation-direction: reverse;
}
.market-marquee:hover .mm-track {
  animation-play-state: paused;
}
@keyframes mm-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.mm-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  min-width: 240px;
  user-select: none;
}
.coin-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(6, 182, 212, 0.55),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(109, 40, 217, 0.48),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
}
.coin-dot--alt {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(16, 185, 129, 0.42),
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(6, 182, 212, 0.36),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
}
.coin-dot--alt2 {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(167, 139, 250, 0.44),
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(6, 182, 212, 0.34),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
}
.coin-dot--good {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(16, 185, 129, 0.48),
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(109, 40, 217, 0.32),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
}
.coin-dot--warn {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(239, 68, 68, 0.48),
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(6, 182, 212, 0.28),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.03);
}
.mm-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.mm-text strong {
  font-size: 15px;
}
.mm-sym {
  color: var(--muted2);
  font-weight: 800;
}
.mm-price {
  color: var(--muted);
}
.mm-chg {
  font-weight: 1000;
}
.mm-chg.pos {
  color: color-mix(in srgb, var(--a3) 92%, black);
}
.mm-chg.neg {
  color: #ef4444;
}
.mm-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

/* ---------------------------
   Rewards
---------------------------- */
.rewards {
  padding: 78px 0 86px;
}
.rewards-head {
  text-align: center;
  margin-bottom: 26px;
}
.rewards-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.04em;
}
.rewards-head p {
  margin: 0 auto;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}
.rewards-note {
  color: var(--text);
  font-weight: 900;
}
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.rw-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  padding: 18px 16px 16px;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  min-height: 170px;
}
.rw-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.rw-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  margin: 2px auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--glass2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.rw-icon span {
  font-weight: 1000;
  font-size: 18px;
}
.rw-icon--btc {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(245, 158, 11, 0.24),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--eth {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(167, 139, 250, 0.24),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--sol {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(6, 182, 212, 0.24),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--dot {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(236, 72, 153, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--ada {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(59, 130, 246, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--atom {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(148, 163, 184, 0.16),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--inj {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(16, 185, 129, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--bnb {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(245, 158, 11, 0.2),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--link {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(99, 102, 241, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--avax {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(239, 68, 68, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--xrp {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(148, 163, 184, 0.16),
      transparent 60%
    ),
    var(--glass2);
}
.rw-icon--uni {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(236, 72, 153, 0.18),
      transparent 60%
    ),
    var(--glass2);
}
.rw-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.rw-sym {
  color: var(--muted2);
  font-weight: 900;
}
.rw-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--a3) 22%, var(--border));
  background: color-mix(in srgb, var(--a3) 10%, var(--glass2));
  color: color-mix(in srgb, var(--a3) 90%, black);
  font-weight: 900;
  font-size: 12px;
}
.rewards-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

/* ---------------------------
   FAQ
---------------------------- */
.faq {
  padding: 86px 0 96px;
}
.faq-head {
  text-align: center;
  margin-bottom: 22px;
}
.faq-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.04em;
}
.faq-head p {
  margin: 0 auto;
  max-width: 76ch;
  color: var(--muted);
  line-height: 1.7;
}
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item:hover {
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr 46px;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass2);
  font-weight: 1000;
  color: var(--muted);
}
.faq-title {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.faq-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--glass2);
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  transition:
    transform 0.22s ease,
    background 0.2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: color-mix(in srgb, var(--text) 82%, transparent);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--glass);
}
.faq-a {
  padding: 0 16px 16px;
}
.faq-a__inner {
  color: var(--muted);
  line-height: 1.75;
}
.faq-side__card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--cardBg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.faq-side__badge {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass2);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--a2) 90%, black);
}
.faq-side__card h3 {
  margin: 0;
  font-size: 20px;
}
.faq-side__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------------------
   Back to top
---------------------------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow2);
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 18px;
  color: var(--text);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.to-top:hover {
  background: var(--glass2);
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------------------------
   Responsive (non‑header)
---------------------------- */
@media (max-width: 1100px) {
  .dexs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rewards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-points {
    grid-template-columns: 1fr;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .products-head {
    flex-direction: column;
  }
  .products-controls {
    align-self: flex-start;
  }
  .products-rail {
    grid-auto-columns: minmax(240px, 86%);
  }
  .mm-row::before,
  .mm-row::after {
    width: 64px;
  }
  .mm-item {
    min-width: 210px;
  }
}
@media (max-width: 760px) {
  .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
