@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
/* "Pulse" is Bitget's own type family — they use it for ALL UI text, not just numerals. */
@font-face { font-family: 'Pulse'; src: url('/fonts/pulse-regular.ttf') format('truetype');  font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pulse'; src: url('/fonts/pulse-medium.ttf') format('truetype');   font-weight: 500; font-display: swap; }
@font-face { font-family: 'Pulse'; src: url('/fonts/pulse-semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pulse'; src: url('/fonts/pulse-bold.ttf') format('truetype');     font-weight: 700; font-display: swap; }

:root {
  /* ── Core Palette — BitradeX style ── */
  --cf-bg:         #0d0f14;
  --cf-bg-soft:    #111318;
  --cf-panel:      #0d0f14;
  --cf-panel-2:    #151820;
  --cf-panel-glass: #111520;

  /* ── Brand / Accent — BitradeX #00BDDE ── */
  --cf-brand:      #00BDDE;
  --cf-brand-2:    #00D9FF;
  --cf-brand-glow: rgba(0,189,222,0.34);
  --cf-brand-soft: rgba(0,189,222,0.14);
  --cf-brand-grad: linear-gradient(135deg, #00BDDE 0%, #00D9FF 100%);

  /* ── Text — BitradeX #F9FAFB ── */
  --cf-text:       #F9FAFB;
  --cf-text-2:     #E8EDF5;
  --cf-muted:      #6B7A99;

  /* ── Borders ── */
  --cf-line:       rgba(255,255,255,0.06);
  --cf-line-soft:  rgba(255,255,255,0.04);

  /* ── Status ── */
  --cf-green:      #19d27f;
  --cf-red:        #ff5f82;

  /* ── Shadows ── */
  --cf-shadow:     0 16px 48px rgba(0, 0, 0, 0.55);
  --cf-glow:       0 0 22px rgba(0,189,222,0.18), 0 0 42px rgba(0,217,255,0.10);
}

* {
  box-sizing: border-box;
}

/* ── Global gradient button override ── */
.coinflare-page .cf-hot-market-tabs button.active,
.coinflare-page .cf-market-tabs button.active,
.coinflare-page .cf-gate-market-tabs button.active,
.coinflare-page .cf-mode-switch button.active,
.coinflare-page .cf-fullmkt-subtabs button.active {
  background: linear-gradient(135deg, #00BDDE 0%, #00D9FF 100%) !important;
  color: #000 !important;
  border-color: transparent !important;
  box-shadow: 0 0 12px rgba(0,189,222,0.4), 0 2px 8px rgba(0,0,0,0.25) !important;
  font-weight: 800 !important;
}

/* ── Market tabs — BitradeX style ── */
.coinflare-page .cf-fullmkt-cattabs button {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  color: #6b7a99 !important;
  box-shadow: none !important;
  font-family: 'Pulse', 'Manrope', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  padding: 0.7rem 1rem !important;
  cursor: pointer !important;
  position: relative !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
}
.coinflare-page .cf-fullmkt-cattabs button.active {
  background: transparent !important;
  color: #f4f8ff !important;
  border-bottom: 2px solid #00BDDE !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.coinflare-page .cf-fullmkt-viewall {
  background: transparent !important;
  color: #6b7a99 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  border-radius: 0 !important;
  padding: 0.8rem 1rem !important;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: none auto;
  background: #0d0f14;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

/* Prevent ghost clicks on interactive elements */
a, button, [role="button"],
.cf-guide-card-link, .cf-copy-btn, .cf-copy-card,
.cf-signup, .cf-signup-link, .cf-nav-toggle,
.cf-nav-drawer-links a, .cf-cta-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.coinflare-page {
  min-height: 100vh;
  font-family: 'Pulse', 'Manrope', 'Segoe UI', sans-serif;
  color: var(--cf-text);
  background: #0d0f14;
  position: relative;
  padding-top: 56px;
  scroll-behavior: smooth;
}

body.coinflare-page.cf-nav-open {
  overflow: hidden;
}

body.coinflare-page.cf-signup-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

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

.up,
.price-up {
  color: var(--cf-green) !important;
}

.down,
.price-down {
  color: var(--cf-red) !important;
}

.bnx-loading {
  margin: 0;
  color: var(--cf-muted);
  font-size: 0.9rem;
}

.cf-bg-grid {
  display: none;
}

.cf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #0d0f14;
  box-shadow: none;
}

.cf-header-inner {
  width: min(1280px, 100% - 1rem);
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.cf-brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.12rem;
  display: block;
  border-radius: 0.8rem;
  object-fit: contain;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.96), rgba(3, 8, 16, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(87, 206, 255, 0.18),
    0 0 16px rgba(45, 214, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.34);
}

.cf-brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, #00b8d4 0%, #0288d1 100%);
  box-shadow: 0 0 12px rgba(0,184,212,0.5), 0 0 24px rgba(0,184,212,0.2);
  position: relative;
  flex: 0 0 auto;
}

.cf-brand-mark::before,
.cf-brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 999px;
}

.cf-brand-mark::before {
  width: 0.88rem;
  height: 0.88rem;
  background: rgba(6, 11, 18, 0.92);
}

.cf-brand-mark::after {
  width: 0.4rem;
  height: 0.4rem;
  background: #00b8d4;
  transform: translate(0.46rem, -0.44rem);
}

.cf-brand-word,
.cf-drawer-brand span:last-child {
  font-size: 0.78rem;
  font-weight: 800;
  color: #00b8d4;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.cf-drawer-brand,
.cf-footer-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.cf-nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: clamp(0.65rem, 1vw, 1.25rem);
}

.cf-nav a {
  text-decoration: none;
  color: #d8e2f2;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.cf-nav a:hover,
.cf-nav .active-link {
  color: var(--cf-text);
}

.cf-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.cf-search-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* Header account/profile avatar — same colorful circular entry point as the
   P2P page header (.p2p-avatar-btn in p2p.css), added to Home 2026-09-06 so
   the icon shows in the same spot (left of the search icon) on every page.
   Opens the real own-account profile panel by navigating to /p2p#profile,
   which p2p.js already deep-links into mobProfileScreen on load — this app
   is a static multi-page site, so this is the shared entry point rather than
   duplicating the profile panel's markup here. */
.cf-home-avatar-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1b4bff,#00d2d8);
  color: #fff;
  border: none;
  font-size: 0.6rem;
  font-weight: 800;
  font-family: 'Pulse', 'Manrope', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.cf-home-avatar-btn.has-image { color: transparent; }

/* Default fallback (no real profile photo yet): show the app's own "B" brand
   mark instead of a colored circle + random initial letter (2026-09-06). */
.cf-home-avatar-btn.avatar-brand-fallback {
  background-color: #16171c;
  /* Bumped 78% -> 90% (2026-09-06) to match the P2P panel's bolder mark. */
  background-image: url('/logos/bitegit-app.png');
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
}

.cf-login,
.cf-signup,
.cf-signup-link,
.cf-apk-cta {
  min-height: 30px;
  border-radius: 7px;
  padding: 0 0.85rem;
  border: 1px solid var(--cf-line);
  background: transparent;
  color: var(--cf-text);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
}

.cf-signup,
.cf-signup-link,
.cf-apk-cta {
  background: #00b8d4 !important;
  border-color: transparent !important;
  color: #000 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 184, 212, 0.25) !important;
}

.cf-user-logout {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 0.95rem;
  border: none;
  background: rgba(255, 109, 134, 0.08);
  color: #ffd4dc;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.cf-login:hover,
.cf-signup:hover,
.cf-signup-link:hover,
.cf-apk-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(20, 149, 255, 0.20);
}

body.coinflare-page.cf-chart-open .cf-signup,
body.coinflare-page.cf-chart-open .cf-signup-link {
  display: none !important;
}

.cf-nav-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: transparent !important;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.cf-nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
}

.cf-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(2, 5, 9, 0.72);
}

.cf-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 66;
  width: min(330px, 88vw);
  height: 100dvh;
  padding: 1rem;
  border-left: 1px solid var(--cf-line);
  background: #0d0d0d;
  transform: translateX(102%);
  transition: transform 0.24s ease;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1rem;
}

.cf-nav-drawer.is-open {
  transform: translateX(0);
}

.cf-nav-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cf-nav-drawer-head strong {
  color: var(--cf-brand);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.cf-nav-drawer-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--cf-line);
  border-radius: 8px;
  background: transparent;
  color: var(--cf-text);
  cursor: pointer;
}

.cf-nav-drawer-links {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.cf-nav-drawer-links a {
  text-decoration: none;
  color: #dde6f6;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cf-nav-drawer-links a:hover {
  border-color: var(--cf-line);
  background: #0d0f14;
}

.cf-nav-drawer-actions {
  display: grid;
  gap: 0.6rem;
}

.cf-signup-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
}

.cf-signup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 13, 0.76);
  backdrop-filter: blur(5px);
}

.cf-signup-modal-card {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 1.1rem));
  border-radius: 16px;
  border: 1px solid var(--cf-line);
  background: linear-gradient(180deg, #0d0d0d, #080808);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.cf-signup-modal-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.cf-signup-modal-card p {
  margin: 0;
  color: var(--cf-muted);
  font-size: 0.87rem;
}

.cf-signup-modal-card input {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  border: none;
  outline: none;
  background: #111;
  color: #f0f6ff;
  padding: 0 0.84rem;
  font-size: 0.94rem;
  -webkit-appearance: none;
  appearance: none;
}
.cf-signup-modal-card input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 229, 196, 0.4);
}

.cf-signup-modal-message {
  min-height: 1.1rem;
  font-size: 0.82rem !important;
}

.cf-signup-modal-message.success {
  color: var(--cf-green);
}

.cf-signup-modal-message.error {
  color: var(--cf-red);
}

.cf-signup-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.cf-signup-modal-actions button {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.cf-signup-modal-actions button:first-child {
  background: linear-gradient(135deg, #00b8d4 0%, #0288d1 100%);
  color: #000;
  box-shadow: 0 0 14px rgba(0,184,212,0.45), 0 2px 8px rgba(0,0,0,0.3);
}

.cf-signup-modal-actions button.secondary {
  border: 1px solid var(--cf-line);
  background: #0d0d0d;
  color: #edf5ff;
}

.cf-main {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 0;
  overflow-x: hidden;
}

.cf-main section,
.cf-footer {
  border: none;
  background: #0d0f14;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.cf-hero-banner {
  padding: 0;
  background: #0d0f14;
}

/* Logged-in user action grid */
.cf-user-action-section {
  width: 100%;
  padding: 0 0 24px;
  background: #0d0f14;
  display: block;
}
.cf-user-action-section .cf-action-grid {
  margin-top: 20px;
}
.cf-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 0;
  width: 100%;
  max-width: 100%;
  padding: 0 8px;
  margin: 0 auto;
}
.cf-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
}
.cf-action-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-action-icon svg {
  width: 42px;
  height: 42px;
}
.cf-action-label {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  text-align: center;
  line-height: 1.2;
}

.cf-hero-banner-shell {
  max-width: 840px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: #0d0f14;
  display: block;
  overflow: hidden;
  position: relative;
}

.cf-hero-banner-shell::after {
  display: none;
}

.cf-hero-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1.15rem;
  justify-items: center;
  text-align: center;
}

.cf-hero-banner-kicker {
  display: none;
}

.cf-hero-banner h1 {
  margin: 0;
  max-width: 8.4ch;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.cf-hero-banner p {
  margin: 0;
  max-width: 28rem;
  color: #eef4ff;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.55;
}

.cf-hero-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.cf-hero-banner-cta {
  min-height: 58px;
  min-width: min(100%, 320px);
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00b8d4 0%, #0288d1 100%);
  color: #041018;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(20, 149, 255, 0.22);
}

.cf-hero-banner-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(20, 149, 255, 0.26);
}

.cf-hero-video-section {
  position: relative;
  width: 100%;
  min-height: 54vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

.cf-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.2) contrast(1.1);
  transform: scale(1.0);
  z-index: 1;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.cf-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.cf-hero-video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.cf-hero-video-content h2 {
  margin: 0;
  color: var(--cf-text);
  font-size: clamp(1.65rem, 5.2vw, 3.15rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.cf-hero-video-cta {
  justify-self: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  background: var(--cf-brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(0,184,212, 0.24);
}

.cf-hero-video-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.cf-hero {
  padding: clamp(1rem, 4vw, 2rem) clamp(1.2rem, 5vw, 2.5rem);
  display: grid;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
}

.cf-hero-left,
.cf-hero-right {
  min-width: 0;
}

.cf-user-panel {
  border: none;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 0%, rgba(198, 255, 0, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(10, 16, 26, 0.96), rgba(9, 13, 20, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.cf-user-badge {
  width: fit-content;
  min-height: 1.9rem;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.14);
  color: var(--cf-brand);
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cf-user-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  letter-spacing: -0.05em;
}

.cf-user-panel p {
  margin: 0;
  color: var(--cf-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cf-hero-copy {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.cf-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cf-hero-kicker {
  margin: 0;
  color: var(--cf-brand);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.cf-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.9rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.cf-hero h1 span {
  color: var(--cf-brand);
  display: block;
}

.cf-hero-subtitle {
  margin: 1rem 0 0;
  color: var(--cf-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  max-width: 62ch;
}

.cf-hero-panel-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cf-lead-form {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.65rem;
}

.cf-hero-left .cf-lead-form:first-child {
  margin-top: 0;
}

.cf-lead-form.is-focus {
  animation: cf-form-focus 0.8s ease;
}

.cf-lead-form input,
.cf-otp-row input {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.08);
  outline: none;
  background: #0d0d0d;
  color: #eff5ff;
  padding: 0 1.2rem;
  font-size: 0.96rem;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
}

.cf-lead-form input:focus,
.cf-otp-row input:focus {
  outline: none;
  border-color: rgba(0, 229, 196, 0.6);
}

.cf-lead-form button,
.cf-otp-row button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #00b8d4 0%, #0288d1 100%);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 0 18px rgba(0,184,212,0.5), 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf-lead-form button:hover,
.cf-otp-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0,184,212,0.65), 0 6px 20px rgba(0,0,0,0.35);
}

.cf-otp-row {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.65rem;
}

.message {
  margin: 0.85rem 0 0;
  min-height: 1.3rem;
  font-size: 0.9rem;
  color: var(--cf-muted);
}

.message.success {
  color: var(--cf-green);
}

.message.error {
  color: var(--cf-red);
}

.cf-social-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--cf-muted);
  font-size: 0.85rem;
}

.cf-mobile-events {
  display: grid;
  gap: 0;
  overflow-x: clip;
}

.cf-announcement-bar {
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0d0d;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.cf-announcement-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  background: rgba(0, 184, 212, 0.2);
  color: #00b8d4;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0 0.55rem;
  white-space: nowrap;
}

.cf-announcement-marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.cf-announcement-track {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  color: #cfd9eb;
  font-size: 0.8rem;
  white-space: nowrap;
  animation: cf-announcement-scroll 18s linear infinite;
}

.cf-announcement-track span {
  display: inline-flex;
  align-items: center;
}

.cf-announcement-marquee:hover .cf-announcement-track {
  animation-play-state: paused;
}

.cf-announcement-bar a {
  color: var(--cf-brand);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

.cf-events-track-wrap {
  overflow: hidden;
  width: 100%;
}

.cf-events-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.cf-events-track::-webkit-scrollbar {
  display: none;
}

.cf-event-card {
  flex: 0 0 min(320px, 90%);
  min-height: 240px;
  border-radius: 22px;
  border: none;
  padding: 1rem;
  background:
    radial-gradient(circle at 100% 10%, rgba(129, 214, 255, 0.18), transparent 45%),
    linear-gradient(130deg, #0c1118 0%, #090d14 55%, #111826 100%);
  scroll-snap-align: start;
  display: grid;
  gap: 0.9rem;
}

.cf-event-card small {
  color: var(--cf-brand);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.cf-event-card h4 {
  margin: 0.4rem 0 0;
  font-size: 1.34rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.cf-event-card p {
  margin: 0.45rem 0 0;
  color: var(--cf-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cf-event-card-copy {
  display: grid;
  gap: 0.4rem;
}

.cf-event-meta {
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.72rem;
  border-top: none;
}

.cf-event-meta span {
  color: #9bb0cf;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cf-event-meta strong {
  color: #f5f9ff;
  font-size: 1.08rem;
  font-weight: 800;
}

.cf-event-art {
  min-height: 118px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(145deg, rgba(17, 23, 35, 0.98), rgba(12, 17, 25, 0.98));
  position: relative;
  overflow: hidden;
}

.cf-event-card[data-event-tone='ember'] .cf-event-art {
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 179, 65, 0.22), transparent 42%),
    linear-gradient(145deg, #15110d 0%, #171c29 100%);
}

.cf-event-card[data-event-tone='volt'] .cf-event-art {
  background:
    radial-gradient(circle at 50% 38%, rgba(241, 192, 0, 0.18), transparent 34%),
    linear-gradient(145deg, #0e1014 0%, #131b29 100%);
}

.cf-event-card[data-event-tone='carbon'] .cf-event-art {
  background:
    radial-gradient(circle at 84% 25%, rgba(255, 183, 65, 0.18), transparent 28%),
    linear-gradient(145deg, #121417 0%, #111826 100%);
}

.cf-event-coin,
.cf-event-art-token .event-token,
.cf-event-art-cards .event-card-back,
.cf-event-art-cards .event-card-front,
.cf-event-art-cards .event-chip {
  position: absolute;
}

.cf-event-coin {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #f8fbff;
  border: none;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.24);
}

.coin-pepe {
  left: 1rem;
  bottom: 1rem;
  background: linear-gradient(145deg, #2dc46a, #0f5d35);
}

.coin-ada {
  left: 4.2rem;
  top: 1rem;
  background: linear-gradient(145deg, #24469a, #0d0d0d);
}

.coin-zec {
  left: 7.8rem;
  bottom: 1.2rem;
  background: linear-gradient(145deg, #f2c14c, #936000);
}

.coin-pip {
  right: 4rem;
  top: 1.2rem;
  background: linear-gradient(145deg, #f7f7ff, #bfc7d8);
  color: #202938;
}

.coin-power {
  right: 1rem;
  bottom: 1.2rem;
  background: linear-gradient(145deg, #9654ff, #37137d);
}

.cf-event-art-token .event-plinth {
  position: absolute;
  inset: auto 1.2rem 1.1rem auto;
  width: 120px;
  height: 68px;
  border-radius: 22px 22px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 220, 63, 0.9), rgba(151, 108, 0, 0.96));
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.28);
}

.cf-event-art-token .event-token {
  top: 1.2rem;
  right: 2.5rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0d0d0d, #0d0d0d);
  border: none;
  color: #eef5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
}

.cf-event-art-token .event-orbit {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 230, 90, 0.7), transparent);
}

.cf-event-art-token .orbit-one {
  right: 0.8rem;
  top: 2.8rem;
  width: 96px;
  height: 6px;
}

.cf-event-art-token .orbit-two {
  right: 1.3rem;
  top: 4.8rem;
  width: 68px;
  height: 6px;
}

.cf-event-art-cards .event-card-back,
.cf-event-art-cards .event-card-front {
  width: 72px;
  height: 106px;
  border-radius: 20px;
  border: none;
  bottom: 1rem;
}

.cf-event-art-cards .event-card-back {
  right: 5.4rem;
  transform: rotate(-10deg);
  background: linear-gradient(160deg, #0d0d0d, #0d0d0d);
}

.cf-event-art-cards .event-card-front {
  right: 1.8rem;
  transform: rotate(8deg);
  background: linear-gradient(160deg, #ffd363, #b67600);
}

.cf-event-art-cards .event-chip {
  width: 56px;
  height: 56px;
  right: 0.9rem;
  top: 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe39a, #9a6400);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.26);
}

.cf-events-count {
  margin: 0;
  color: var(--cf-brand);
  font-size: 0.96rem;
  font-weight: 700;
}

.cf-exchange-ticker-bar {
  border-radius: 12px;
  background: linear-gradient(120deg, #0d0d0d 0%, #0d0d0d 100%);
  border: none;
  padding: 0.58rem 0;
  overflow: hidden;
}

.cf-exchange-ticker-marquee {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.cf-exchange-ticker-track {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  animation: cf-exchange-scroll 22s linear infinite;
}

.cf-exchange-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(20, 32, 50, 0.9);
  color: #dce6f8;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.cf-exchange-ticker-item strong {
  color: #f4f8ff;
  font-weight: 800;
}

.cf-exchange-ticker-item em {
  font-style: normal;
  color: #93a4c3;
  font-weight: 800;
}

.cf-exchange-ticker-item.up em {
  color: #93ff48;
}

.cf-exchange-ticker-item.down em {
  color: #ff6d86;
}

.cf-exchange-ticker-bar:hover .cf-exchange-ticker-track {
  animation-play-state: paused;
}

.social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  text-decoration: none;
  color: #00b8d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(0,184,212,0.07);
}

.cf-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.cf-mini-head h3 {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
}

.cf-mini-head a {
  color: var(--cf-brand);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.cf-mini-market-list {
  display: grid;
  gap: 0.55rem;
}

.cf-market-shell {
  display: grid;
  gap: 0.6rem;
  overflow-x: clip;
}

.cf-hot-market-shell {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--cf-line);
  border-radius: 16px;
  background: #0d0d0d;
  padding: 0.9rem;
}

.cf-hot-market-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: none;
  padding-bottom: 0.4rem;
}

.cf-hot-market-tabs button {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #9aa8c1;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.cf-hot-market-tabs button.active {
  color: #00b8d4;
  border-bottom-color: #00b8d4;
}

.cf-hot-market-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 0.7rem;
  color: #8f9db5;
  font-size: 0.82rem;
}

.cf-hot-market-head span:nth-child(2),
.cf-hot-market-head span:nth-child(3) {
  justify-self: end;
}

.cf-hot-market-list {
  display: grid;
  gap: 0.52rem;
}

.cf-hot-market-row {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.62rem 0.56rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  color: #f2f6ff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cf-hot-market-row:hover {
  border-color: transparent;
  background: #0d0d0d;
  transform: translateY(-1px);
}

.cf-hot-market-pair {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  min-width: 0;
}

.cf-hot-market-pair p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-hot-coin-dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-hot-coin-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.cf-hot-market-price {
  justify-self: end;
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 0.08rem;
}

.cf-hot-market-price strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.cf-hot-market-price span {
  font-size: 0.75rem;
  color: #8d9bb2;
}

.cf-hot-market-change {
  min-width: 90px;
  min-height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.cf-hot-market-change.positive {
  color: #10160f;
  background: #c7f14e;
}

.cf-hot-market-change.negative {
  color: #fff2f3;
  background: #f1516f;
}

.cf-hot-market-more {
  justify-self: center;
  color: #aeb8cb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cf-market-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  color: var(--cf-muted);
  font-size: 0.78rem;
  padding: 0 0.55rem;
}

.cf-market-head span:nth-child(2),
.cf-market-head span:nth-child(3) {
  justify-self: end;
}

.cf-market-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  border-bottom: none;
  padding-bottom: 0.42rem;
}

.cf-market-tabs button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #93a0b8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-market-tabs button.active {
  border-color: rgba(0, 184, 212, 0.38);
  background: rgba(0, 184, 212, 0.14);
  color: #00b8d4;
}

.bnx-market-row {
  width: 100%;
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0d0d;
  color: var(--cf-text);
  min-height: 58px;
  padding: 0.55rem 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bnx-market-row:hover {
  border-color: rgba(0,184,212, 0.38);
  background: #0d0d0d;
  transform: translateY(-1px);
}

.bnx-market-symbol {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bnx-market-symbol p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.96rem;
  font-weight: 700;
}

.bnx-market-symbol small {
  font-size: 0.74rem;
  color: var(--cf-muted);
  margin-left: 0.25rem;
  font-weight: 600;
}

.bnx-coin-dot {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.76rem;
  background: #0d0d0d;
}

.bnx-coin-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.coin-fallback {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.76rem;
  color: #dce7fb;
  z-index: 1;
}

.bnx-market-price {
  margin: 0;
  font-size: 0.9rem;
  color: #dce6f7;
}

.bnx-market-change {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.cf-news-card {
  margin-top: 0.9rem;
  border: 1px solid var(--cf-line);
  border-radius: 14px;
  background: #0d0d0d;
  padding: 0.85rem;
}

.cf-news-card h4 {
  margin: 0;
  font-size: 0.93rem;
}

.cf-news-card ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.cf-news-card li {
  color: var(--cf-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cf-hero-stats {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 0.65rem;
}

.cf-hero-stats article {
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0d0d;
  padding: 0.8rem;
}

.cf-hero-stats strong {
  font-size: clamp(1.04rem, 3.1vw, 1.35rem);
}

.cf-hero-stats span {
  display: block;
  margin-top: 0.22rem;
  color: var(--cf-muted);
  font-size: 0.84rem;
}

.cf-opportunities,
.cf-everyone,
.cf-trading-exp,
.cf-app-block,
.cf-testimonials,
.cf-neon-strip,
.cf-partners,
.cf-footer {
  padding: clamp(1rem, 3vw, 2rem);
}

.cf-opportunities h2,
.cf-everyone h2,
.cf-trading-exp h2,
.cf-testimonials h2 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cf-opportunities h2 span,
.cf-everyone h2 span,
.cf-trading-exp h2 span,
.cf-testimonials h2 span,
.cf-app-copy h2 span {
  color: var(--cf-brand);
}

.cf-everyone {
  position: relative;
}

/* The 3D scroll-tilt only runs on desktop (script.js bails on <=768px); keep the
   compositor hints off mobile so they don't cost a layer for nothing. */
@media (min-width: 769px) {
  .cf-everyone {
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
  }
}

.cf-everyone-video {
  display: block;
  width: 100%;
  aspect-ratio: 1196 / 846;   /* reserve space so the video load doesn't shift the page */
  object-fit: cover;
  margin-top: clamp(1rem, 3vw, 1.75rem);
  border-radius: 16px;
  background: #0d0f14;
}

.cf-everyone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 16%, rgba(0,184,212, 0.11), transparent 56%);
  transition: opacity 0.26s ease;
}

.cf-everyone > * {
  position: relative;
  z-index: 1;
}

.cf-everyone.cf-everyone-3d-active::before {
  opacity: 1;
}

.cf-everyone.cf-everyone-3d-active {
  transition: box-shadow 0.24s ease;
}

/* ── Trending crypto pairs (BYDFi-style "Catch top trades instantly") ── */
.cf-trending {
  padding: clamp(1rem, 3vw, 2rem);
}

.cf-trending h2 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cf-trending h2 span { color: var(--cf-brand); }

.cf-trending-sub {
  margin: 0.5rem 0 0;
  color: var(--cf-muted);
  font-size: clamp(0.85rem, 2.4vw, 0.98rem);
}

.cf-trending-tabs {
  display: flex;
  gap: 0.35rem;
  margin-top: clamp(1rem, 3vw, 1.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cf-trending-tabs::-webkit-scrollbar { display: none; }

.cf-trending-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cf-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.18s ease, background 0.18s ease;
}

.cf-trending-tab:hover { color: var(--cf-text-2); }

.cf-trending-tab.active {
  color: var(--cf-text);
  background: rgba(255, 255, 255, 0.08);
}

.cf-trending-table {
  margin-top: 0.5rem;
}

.cf-trending-head,
.cf-trending-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.25rem;
}

.cf-trending-head {
  color: var(--cf-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding-top: 0.3rem;
  padding-bottom: 0.5rem;
}

.cf-trending-head .cf-trending-c2,
.cf-trending-head .cf-trending-c3,
.cf-trending-row .cf-trending-c2,
.cf-trending-row .cf-trending-c3 { text-align: right; justify-content: flex-end; }

.cf-trending-body { min-height: 120px; }

.cf-trending-loading {
  padding: 2.2rem 1rem;
  text-align: center;
  color: var(--cf-muted);
  font-size: 0.9rem;
}

.cf-trending-row {
  text-decoration: none;
  color: var(--cf-text);
  transition: background 0.15s ease;
}

.cf-trending-row:hover { background: rgba(255, 255, 255, 0.03); }

.cf-trending-c1 { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }

.cf-trending-ico {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.cf-trending-ico img,
.cf-trending-ico svg { width: 100%; height: 100%; display: block; object-fit: cover; }

.cf-trending-ico-fb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.cf-trending-pair { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; min-width: 0; }
.cf-trending-pair b { font-weight: 600; font-size: 16px; letter-spacing: -0.2px; }
.cf-trending-pair i { font-style: normal; color: var(--cf-muted); font-size: 13px; }

.cf-trending-c2 { display: flex; justify-content: flex-end; }
.cf-trending-c2 b { font-weight: 700; font-size: 15px; letter-spacing: -0.2px; font-variant-numeric: tabular-nums; }

.cf-trending-c3 { display: flex; justify-content: flex-end; }

/* filled % box — matches the app list pill exactly
   (min 88dp, radius 6dp, 16dp/2dp padding, 13sp bold white, -0.3sp tracking) */
.cf-trending-pill {
  display: inline-block;
  min-width: 88px;
  text-align: center;
  border-radius: 6px;
  padding: 5px 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.3px;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
}

.cf-trending-pill.up { background: #00b7d4; }
.cf-trending-pill.dn { background: #ff3377; }

.cf-trending-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cf-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.cf-trending-more span { margin-left: 4px; }
.cf-trending-more:hover { color: var(--cf-text); }

@media (max-width: 520px) {
  .cf-trending-head,
  .cf-trending-row { grid-template-columns: 1.5fr 1fr auto; padding-left: 0; padding-right: 0; }
  .cf-trending-pill { min-width: 78px; padding: 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-trending-tab,
  .cf-trending-row { transition: none; }
}

/* ── Trusted by Industry Leaders ── */
.cf-trust-section {
  margin-top: 2rem;
  text-align: center;
}

.cf-trust-sub {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.cf-trust-desc {
  font-size: 0.9rem;
  color: #6b7a99;
  margin: 0 0 2rem;
}

.cf-trust-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cf-trust-row {
  overflow: hidden;
}

.cf-trust-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.cf-trust-row-fwd .cf-trust-track {
  animation: trustFwd 28s linear infinite;
}

.cf-trust-row-rev .cf-trust-track {
  animation: trustRev 28s linear infinite;
}

@keyframes trustFwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes trustRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.cf-trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d0d0d;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8a9ab8;
  white-space: nowrap;
  min-width: 140px;
  justify-content: center;
  flex-shrink: 0;
}

.cf-trust-logo span {
  font-size: 1rem;
  opacity: 0.7;
}

.cf-pairs-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.cf-pairs-card {
  border: 1px solid var(--cf-line);
  border-radius: 16px;
  background: #0d0d0d;
  padding: 1rem;
}

.cf-pairs-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cf-pairs-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.cf-pair-row {
  width: 100%;
  border: 1px solid var(--cf-line);
  border-radius: 11px;
  background: #0d0d0d;
  color: inherit;
  text-decoration: none;
  min-height: 56px;
  padding: 0.55rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.58rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cf-pair-row:hover {
  border-color: rgba(0,184,212, 0.4);
  transform: translateY(-1px);
}

.cf-pair-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cf-pair-main p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.93rem;
  font-weight: 700;
}

.cf-pair-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.cf-pair-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.cf-pair-price,
.cf-pair-change {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.cf-view-more {
  margin-top: 0.8rem;
  border: 0;
  border-radius: 10px;
  background: var(--cf-brand-soft);
  color: var(--cf-brand);
  min-height: 42px;
  padding: 0 1rem;
  font-weight: 800;
  cursor: pointer;
}

.cf-feature-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.cf-feature-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.cf-feature-card {
  border: none;
  border-radius: 16px;
  background: #0d0f14;
  padding: 1rem;
}

.cf-feature-media-card {
  padding: 0;
  overflow: hidden;
  background: #0d0f14;
  border-color: transparent;
  position: relative;
  isolation: isolate;
  min-height: 180px;
}

.cf-feature-media-video,
.cf-feature-media-fallback {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d0f14;
}

.cf-feature-media-video {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.cf-feature-media-fallback {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.cf-feature-media-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88));
  z-index: 3;
  pointer-events: none;
}

.cf-feature-media-caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  z-index: 4;
  color: #f5f9ff;
}

.cf-feature-media-caption h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cf-feature-media-caption p {
  margin: 0.26rem 0 0;
  font-size: 0.78rem;
  color: rgba(222, 235, 255, 0.88);
  line-height: 1.35;
}

.cf-feature-media-card.cf-media-ready .cf-feature-media-video {
  opacity: 1;
}

.cf-feature-media-card.cf-media-ready .cf-feature-media-fallback {
  opacity: 0;
}

.cf-feature-media-card:hover .cf-feature-media-video {
  transform: none;
}

.cf-everyone-trigger {
  width: 100%;
  margin: 0;
}

.cf-feature-media-video-primary,
.cf-everyone-trigger .cf-feature-media-fallback {
  width: 100%;
  aspect-ratio: auto;
  height: min(72vh, 920px);
  object-fit: cover;
  background: #0d0f14;
}

.cf-feature-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 2.8vw, 1.65rem);
}

.cf-feature-card p {
  margin: 0.55rem 0 0;
  color: var(--cf-muted);
  line-height: 1.65;
}

.cf-object-stage {
  margin-top: 0.9rem;
  min-height: 165px;
  border: 1px dashed rgba(0,184,212, 0.36);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 7, 10, 0.45), rgba(0, 0, 0, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-object {
  position: relative;
}

.cf-obj-cube {
  width: 120px;
  height: 96px;
  border-radius: 18px;
  transform: rotate(-16deg);
  background: linear-gradient(135deg, #f5ffb8, #99f500 50%, #22a21a);
  box-shadow: 0 16px 42px rgba(120, 255, 53, 0.25);
  animation: cf-float 4s ease-in-out infinite;
}

.cf-obj-candles {
  width: 146px;
  height: 112px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 10px;
}

.cf-obj-candles span {
  width: 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, #89f500, #ff4fd8);
  animation: cf-candle 2.6s ease-in-out infinite;
}

.cf-obj-candles span:nth-child(1) {
  height: 72px;
  animation-delay: 0s;
}

.cf-obj-candles span:nth-child(2) {
  height: 52px;
  animation-delay: 0.2s;
}

.cf-obj-candles span:nth-child(3) {
  height: 84px;
  animation-delay: 0.4s;
}

.cf-obj-candles span:nth-child(4) {
  height: 60px;
  animation-delay: 0.6s;
}

.cf-obj-battery {
  width: 136px;
  height: 74px;
  border-radius: 999px;
  border: 3px solid #c6ff44;
  background: linear-gradient(90deg, #ff54c1, #93f800);
  transform: rotate(-38deg);
  animation: cf-spin-soft 8s linear infinite;
}

.cf-obj-coins {
  width: 156px;
  height: 110px;
}

.cf-obj-coins span {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #00b8d4, #0288d1);
  box-shadow: 0 10px 18px rgba(0, 184, 212, 0.26);
  animation: cf-float 3.4s ease-in-out infinite;
}

.cf-obj-coins span:nth-child(1) {
  left: 6px;
  top: 54px;
}

.cf-obj-coins span:nth-child(2) {
  left: 38px;
  top: 22px;
  animation-delay: 0.15s;
}

.cf-obj-coins span:nth-child(3) {
  left: 70px;
  top: 46px;
  animation-delay: 0.3s;
}

.cf-obj-coins span:nth-child(4) {
  left: 98px;
  top: 14px;
  animation-delay: 0.45s;
}

.cf-obj-coins span:nth-child(5) {
  left: 114px;
  top: 58px;
  animation-delay: 0.6s;
}

.cf-trading-exp {
  display: grid;
  gap: 1rem;
  background: #05070b;
}

.cf-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.cf-guide-card {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d1015;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.44);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
  touch-action: manipulation;
}

.cf-guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 24%);
  pointer-events: none;
}

.cf-guide-card:hover {
  transform: translateY(-7px);
  border-color: rgba(18, 223, 210, 0.18);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.52);
}

.cf-guide-card-link {
  position: relative;
  display: block;
  padding: 0.75rem;
  background: #05070b;
  color: inherit;
  text-decoration: none;
}

.cf-guide-card-visual {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: #0d1015;
}

.cf-guide-card-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cf-guide-cta {
  position: absolute;
  left: 50%;
  bottom: 1.55rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(calc(100% - 5rem), 16rem);
  min-height: 3.55rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #f5ffff;
  background: #00b8d4;
  box-shadow: 0 18px 34px rgba(0, 184, 212, 0.18);
  z-index: 3;
  pointer-events: none;
}

.cf-guide-card-link:hover .cf-guide-cta {
  box-shadow: 0 20px 36px rgba(0, 184, 212, 0.22);
}

.cf-guide-card.cf-reveal:nth-child(1) {
  transition-delay: 0.03s;
}

.cf-guide-card.cf-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.cf-guide-card.cf-reveal:nth-child(3) {
  transition-delay: 0.17s;
}

.cf-mode-switch {
  display: inline-flex;
  width: max-content;
  border: 1px solid var(--cf-line);
  border-radius: 999px;
  overflow: hidden;
}

.cf-mode-switch button {
  min-height: 42px;
  border: 0;
  padding: 0 1.2rem;
  font-weight: 700;
  color: #dae4f5;
  background: transparent;
  cursor: pointer;
}

.cf-mode-switch button.active {
  background: var(--cf-brand);
  color: #fff;
}

.cf-terminal {
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: #0d0d0d;
  overflow: hidden;
}

.cf-terminal-top {
  min-height: 54px;
  border-bottom: 1px solid var(--cf-line);
  padding: 0 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.cf-terminal-top p,
.cf-terminal-top span {
  margin: 0;
  font-weight: 700;
}

.cf-terminal-top span {
  color: var(--cf-green);
}

.cf-terminal-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.9rem;
}

.cf-chart-mock {
  min-height: 220px;
  border: 1px solid var(--cf-line);
  border-radius: 13px;
  padding: 0.65rem;
  background: #0d0f14;
}

.cf-chart-mock svg {
  width: 100%;
  height: 100%;
}

.cf-order-box {
  border: 1px solid var(--cf-line);
  border-radius: 13px;
  background: #0d0f14;
  padding: 0.8rem;
  display: grid;
  gap: 0.56rem;
}

.cf-order-box h4,
.cf-order-box p {
  margin: 0;
}

.cf-order-box p {
  color: var(--cf-muted);
  font-size: 0.88rem;
}

.cf-order-box input,
.cf-order-box button {
  min-height: 42px;
  border-radius: 10px;
}

.cf-order-box input {
  border: 1px solid var(--cf-line);
  background: #0d0f14;
  color: #e9f0fe;
  padding: 0 0.8rem;
}

.cf-order-box button {
  border: 0;
  font-weight: 800;
  background: var(--cf-brand);
  color: #fff;
}

.cf-app-block {
  display: grid;
  gap: 1rem;
}

.cf-app-phone {
  border-radius: 20px;
  border: 1px solid rgba(0,184,212, 0.52);
  background: linear-gradient(140deg, rgba(0,184,212, 0.96), rgba(2, 136, 209, 0.9));
  min-height: 250px;
  display: grid;
  place-items: center;
}

.cf-phone-screen {
  width: min(260px, 70vw);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  border: 10px solid #10131a;
  background: #0d0f14;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cf-brand);
  padding: 0.8rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.cf-phone-screen p {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.cf-phone-screen small {
  color: #d0d9e6;
  margin-top: 0.45rem;
}

.cf-app-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.cf-app-copy p {
  margin: 0.9rem 0 0;
  color: var(--cf-muted);
  line-height: 1.55;
}

.cf-apk-download {
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(14, 22, 35, 0.96), rgba(9, 14, 22, 0.98));
  display: grid;
  gap: 1rem;
}

.cf-apk-download-copy small {
  color: #8fa0bc;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.cf-apk-download-copy h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.35rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.cf-apk-download-copy p {
  margin: 0.55rem 0 0;
  color: var(--cf-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.cf-apk-download-actions {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.cf-apk-primary,
.cf-apk-secondary {
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cf-line);
  padding: 0 1rem;
}

.cf-apk-primary {
  background: linear-gradient(135deg, #00b8d4 0%, #0288d1 100%);
  border-color: transparent;
  color: #000;
  box-shadow: 0 0 14px rgba(0,184,212,0.45), 0 2px 8px rgba(0,0,0,0.3);
}

.cf-apk-secondary {
  background: #0d0d0d;
  color: #ecf3ff;
}

.cf-apk-note {
  margin-top: 0.65rem !important;
  font-size: 0.78rem !important;
}

.cf-apk-download-meta {
  border: 1px solid var(--cf-line);
  border-radius: 14px;
  background: #0d0d0d;
  padding: 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.cf-apk-download-meta p {
  margin: 0;
  color: #90a0bc;
  font-size: 0.78rem;
}

.cf-apk-download-meta strong {
  font-size: 1rem;
  color: #f3f8ff;
}

.cf-qr {
  margin-top: 0.9rem;
  width: clamp(120px, 24vw, 168px);
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid var(--cf-line);
  background: #0d0d0d;
}

.cf-store-row {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.cf-store-row button {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--cf-line);
  background: #0d0f14;
  color: #ecf3ff;
  font-weight: 700;
  cursor: pointer;
}

.cf-testi-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.cf-testi-card {
  border: 1px solid var(--cf-line);
  border-radius: 15px;
  background: #0d0d0d;
  padding: 0.95rem;
  display: grid;
  gap: 0.7rem;
}

.cf-testi-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0d0d0d;
  color: #dbe6fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.cf-testi-head h4 {
  margin: 0;
  font-size: 1rem;
}

.cf-testi-head p {
  margin: 0.1rem 0 0;
  color: var(--cf-muted);
  font-size: 0.85rem;
}

.cf-testi-card blockquote {
  margin: 0;
  color: #d5dfef;
  line-height: 1.6;
}

.cf-testi-card strong {
  color: #dbe5f4;
  font-size: 0.95rem;
}

.cf-copy-subtitle {
  margin: 0.55rem 0 0;
  color: #c9d6ea;
  font-size: 0.95rem;
}

.cf-copy-section h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  max-width: 18ch;
}

.cf-copy-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.cf-copy-card {
  border: none;
  border-radius: 18px;
  background: #0d0f14;
  padding: 0.95rem;
  display: grid;
  gap: 0.72rem;
  touch-action: manipulation;
}

.cf-copy-card.is-highlight {
  border-color: rgba(0,184,212, 0.78);
  box-shadow: 0 0 0 1px rgba(0,184,212, 0.18), inset 0 0 26px rgba(0,184,212, 0.06);
}

.cf-copy-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.cf-copy-head > div {
  min-width: 0;
}

.cf-copy-head h4 {
  margin: 0;
  font-size: 1rem;
  color: #f4f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-copy-head p {
  margin: 0.12rem 0 0;
  color: #9fb0ca;
  font-size: 0.82rem;
}

.cf-copy-metrics {
  display: grid;
  gap: 0.44rem;
}

.cf-copy-metrics p {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.cf-copy-metrics span {
  color: #8f9eb7;
  font-size: 0.8rem;
}

.cf-copy-metrics strong {
  color: #e8f0fe;
  font-size: 1rem;
}

.cf-copy-chart {
  height: 84px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(6, 14, 24, 0.9), rgba(6, 12, 20, 0.55));
  padding: 0.4rem;
}

.cf-copy-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cf-copy-chart polyline {
  fill: none;
  stroke: #1fd8a4;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf-copy-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: none;
  background: #0a0a0a;
  color: #eef5ff;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
}

.cf-copy-btn:hover {
  border-color: rgba(0,184,212, 0.55);
}

.cf-neon-strip {
  overflow: hidden;
}

.cf-neon-strip p {
  margin: 0;
  font-size: clamp(2.8rem, 17vw, 12rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #00b8d4;
  text-shadow: 0 0 18px rgba(0,184,212, 0.4);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.cf-mobile-promo-video {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  place-items: center;
}

.cf-mobile-promo-video-shell {
  width: min(420px, 95%);
  aspect-ratio: 704 / 700;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #0d0f14;
  box-shadow: none;
}

.cf-mobile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transform-origin: center center;
}

.cf-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.cf-partners p {
  margin: 0;
  min-height: 46px;
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0f14;
  color: #dce6f7;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.cf-footer {
  width: min(1280px, 100% - 1rem);
  margin: 0.95rem auto 1.2rem;
}

.cf-footer-mobile {
  display: none;
}

.cf-footer-cols {
  display: grid;
  gap: 1rem;
}

.cf-footer-cols article {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.cf-footer-cols h4 {
  margin: 0;
  font-size: 1rem;
}

.cf-footer-cols a,
.cf-footer-cols p {
  margin: 0;
  text-decoration: none;
  color: var(--cf-muted);
  font-size: 0.9rem;
}

.cf-footer-qr {
  justify-items: start;
}

.cf-copyright {
  margin: 1rem 0 0;
  color: #90a0ba;
  font-size: 0.86rem;
}

.bnx-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.bnx-chart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 7, 0.72);
  backdrop-filter: blur(5px);
}

.bnx-chart-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92dvh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--cf-line);
  background: #0d0f14;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.bnx-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.bnx-chart-head-meta p,
.bnx-chart-head-meta span {
  margin: 0;
}

.bnx-chart-head-meta p {
  font-weight: 800;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
}

.bnx-chart-head-meta span {
  color: var(--cf-muted);
  font-size: 0.85rem;
}

.bnx-chart-head button {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--cf-line);
  background: #0d0d0d;
  color: #ebf2ff;
  padding: 0 0.95rem;
  font-weight: 700;
}

.bnx-order-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
}

.bnx-order-stats article {
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0f14;
  padding: 0.7rem;
}

.bnx-order-stats span {
  color: var(--cf-muted);
  font-size: 0.8rem;
}

.bnx-order-stats strong {
  margin-top: 0.2rem;
  display: block;
  font-size: 0.95rem;
}

.bnx-order-grid {
  display: grid;
  gap: 0.75rem;
}

.bnx-order-table-card,
.bnx-trades-card {
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #0d0d0d;
  padding: 0.75rem;
}

.bnx-order-table-card h4,
.bnx-trades-card h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.bnx-order-table {
  width: 100%;
  border-collapse: collapse;
}

.bnx-order-table th,
.bnx-order-table td {
  text-align: left;
  padding: 0.44rem;
  font-size: 0.82rem;
  border-bottom: none;
}

.bnx-order-table th {
  color: var(--cf-muted);
  font-weight: 600;
}

.bnx-trades-wrap {
  max-height: 270px;
  overflow: auto;
}

.cf-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cf-form-focus {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cf-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes cf-candle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes cf-spin-soft {
  0% {
    transform: rotate(-38deg);
  }
  100% {
    transform: rotate(322deg);
  }
}

@media (min-width: 620px) {
  .cf-main,
  .cf-header-inner,
  .cf-footer {
    width: min(1280px, 100% - 1.5rem);
  }

  .cf-lead-form,
  .cf-otp-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cf-lead-form button,
  .cf-otp-row button {
    width: auto;
    min-width: 172px;
  }

  .cf-store-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-apk-download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .cf-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .cf-pairs-grid,
  .cf-feature-grid,
  .cf-footer-cols,
  .bnx-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-terminal-body {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .cf-app-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .cf-apk-download {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }

  .cf-testi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cf-copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .cf-copy-card {
    height: 100%;
  }

  .cf-partners {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  .cf-copy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-nav {
    display: flex;
  }

  .cf-nav-toggle,
  .cf-nav-drawer,
  .cf-nav-overlay {
    display: none !important;
  }

  .cf-actions {
    margin-left: 0;
  }

  .cf-footer-cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cf-actions .cf-apk-cta {
    display: none;
  }
}

@media (max-width: 460px) {
  .cf-header-inner,
  .cf-main,
  .cf-footer {
    width: calc(100% - 0.8rem);
  }

  .cf-hero,
  .cf-opportunities,
  .cf-everyone,
  .cf-trading-exp,
  .cf-app-block,
  .cf-testimonials,
  .cf-neon-strip,
  .cf-partners,
  .cf-footer {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .cf-brand-logo {
    width: 1.9rem;
    height: 1.9rem;
    padding: 0.1rem;
    border-radius: 0.66rem;
  }

  .bnx-market-row,
  .cf-pair-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'symbol symbol'
      'price change';
    row-gap: 0.35rem;
  }

  .bnx-market-symbol,
  .cf-pair-main {
    grid-area: symbol;
  }

  .bnx-market-price,
  .cf-pair-price {
    grid-area: price;
  }

  .bnx-market-change,
  .cf-pair-change {
    grid-area: change;
    justify-self: end;
  }

  .cf-guide-card {
    border-radius: 22px;
  }

  .cf-guide-card-link {
    padding: 0.7rem;
  }

  .cf-guide-cta {
    min-width: calc(100% - 4.4rem);
    min-height: 3.15rem;
    font-size: 1rem;
    bottom: 1.38rem;
  }

  .cf-market-tabs {
    gap: 0.3rem;
    padding-bottom: 0.34rem;
  }

  .cf-market-tabs button {
    min-height: 30px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .cf-header-inner,
  .cf-main,
  .cf-footer {
    width: 100%;
    box-sizing: border-box;
  }

  .cf-header-inner {
    height: 52px;
    min-height: 52px;
    padding: 0 0.5rem;
    align-items: center;
  }

  .cf-header {
    backdrop-filter: none;
    background: #0d0f14;
  }

  .cf-brand-word,
  .cf-drawer-brand span:last-child {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.03em;
  }

  .cf-brand {
    padding-left: 0.45rem;
  }

  .cf-actions {
    gap: 0.35rem;
  }

  .cf-actions .cf-login,
  .cf-actions .cf-signup {
    min-height: 30px;
    height: 30px;
    padding: 0 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
  }

  .cf-actions .cf-login {
    border: 1.5px solid rgba(0,184,212,0.5) !important;
    color: #00b8d4 !important;
    background: transparent !important;
    padding-top: 5px;
    padding-bottom: 0px;
  }

  .cf-actions .cf-signup {
    padding-top: 5px;
    padding-bottom: 0px;
  }

  .cf-user-panel {
    padding: 1rem;
    gap: 0.72rem;
  }

  .cf-user-actions {
    flex-direction: column;
  }

  .cf-event-card {
    min-height: 228px;
    padding: 0.9rem;
  }

  .cf-nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .cf-main {
    margin-top: 0.75rem;
    gap: 1.2rem;
  }

  .cf-main section,
  .cf-hero,
  .cf-hero-left,
  .cf-hero-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .feature-container,
  .cf-feature-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .feature-card,
  .cf-feature-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .cf-everyone {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cf-feature-grid {
    gap: 12px;
  }

  .cf-feature-media-video,
  .cf-feature-media-card.cf-media-ready .cf-feature-media-video {
    display: none;
  }

  .cf-feature-media-fallback,
  .cf-feature-media-card.cf-media-ready .cf-feature-media-fallback {
    display: block;
    opacity: 1;
    aspect-ratio: 9 / 16;
  }

  .cf-feature-media-video-primary,
  .cf-feature-media-card.cf-media-ready .cf-feature-media-video-primary {
    display: block;
    height: min(78vh, 700px);
  }

  .cf-feature-media-card.cf-media-ready.cf-everyone-trigger .cf-feature-media-fallback {
    display: none;
    opacity: 0;
  }

  .cf-feature-media-caption {
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.66rem;
  }

  .cf-feature-media-caption h3 {
    font-size: 0.92rem;
  }

  .cf-feature-media-caption p {
    font-size: 0.73rem;
  }

  .cf-hero-banner {
    padding: 0.85rem 20px 0;
  }

  .cf-hero-banner-shell {
    max-width: 100%;
    padding: 1.15rem;
    border-radius: 24px;
  }

  .cf-hero-banner-shell::after {
    inset: auto -12% -48% 20%;
    height: 180px;
  }

  .cf-hero-banner h1 {
    max-width: 8.6ch;
    font-size: clamp(2.65rem, 12.5vw, 4.05rem);
    line-height: 0.98;
  }

  .cf-hero-banner p {
    max-width: 20rem;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .cf-hero-banner-actions {
    width: 100%;
  }

  .cf-hero-banner-cta {
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
  }

  .cf-hero-video-section {
    min-height: 42vh;
  }

  .cf-hero-video-content h2 {
    font-size: clamp(1.35rem, 8vw, 2.05rem);
  }

  .cf-hero-video-cta {
    min-height: 46px;
    padding: 0.68rem 1.18rem;
    font-size: 0.92rem;
  }

  .cf-hero {
    border-radius: 0;
    background: #0d0f14;
    padding: 1rem 20px 1.5rem 20px;
    box-sizing: border-box;
    overflow: visible;
  }

  .cf-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
    max-width: 10ch;
  }

  .cf-hero-subtitle {
    font-size: 0.96rem;
    max-width: none;
  }

  .cf-hero-panel-title {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .cf-lead-form {
    width: 100%;
    max-width: 100%;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
  }

  .cf-lead-form input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 54px;
    border-radius: 999px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .cf-lead-form button {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 54px;
    border-radius: 999px;
    font-size: 1.08rem;
    font-weight: 800;
  }

  .cf-mini-head h3 {
    font-size: 1.75rem;
  }

  .cf-mini-head a {
    font-size: 1rem;
  }

  .cf-market-shell {
    gap: 0.85rem;
  }

  .cf-market-tabs {
    border-bottom: none;
  }

  .cf-market-head {
    padding: 0 0.2rem;
    font-size: 0.76rem;
  }

  .cf-market-tabs button {
    min-height: 32px;
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 0;
    color: #a8b4ca;
    background: transparent;
    font-size: 0.84rem;
    justify-content: flex-start;
    text-align: left;
  }

  .cf-market-tabs button.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: transparent;
  }

  .cf-hot-market-pair p {
    font-size: 0.86rem;
  }

  .cf-hot-coin-dot {
    width: 1.55rem;
    height: 1.55rem;
  }

  .cf-hot-market-price strong {
    font-size: 0.9rem;
  }

  .cf-hot-market-price span {
    font-size: 0.72rem;
  }

  .cf-hot-market-change {
    min-width: 84px;
    min-height: 34px;
    font-size: 0.84rem;
  }

  .cf-exchange-ticker-bar {
    border-radius: 14px;
    padding: 0.52rem 0;
    border-color: transparent;
  }

  .cf-exchange-ticker-track {
    animation-duration: 24s;
  }

  .cf-exchange-ticker-item {
    font-size: 0.74rem;
    padding: 0.33rem 0.62rem;
  }

  .bnx-market-row {
    border-radius: 14px;
    min-height: 68px;
    padding: 0.7rem 0.85rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'symbol change'
      'price price';
    border-color: transparent;
  }

  .bnx-market-symbol {
    grid-area: symbol;
  }

  .bnx-market-price {
    grid-area: price;
    font-size: 1.12rem;
    font-weight: 700;
  }

  .bnx-market-change {
    grid-area: change;
    justify-self: end;
    font-size: 1.02rem;
  }

  .cf-market-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'pair change';
    padding: 0 0.15rem;
  }

  .cf-market-head span:nth-child(1) {
    grid-area: pair;
  }

  .cf-market-head span:nth-child(2) {
    display: none;
  }

  .cf-market-head span:nth-child(3) {
    grid-area: change;
    justify-self: end;
  }

  .cf-copy-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cf-copy-grid::-webkit-scrollbar {
    display: none;
  }

  .cf-copy-section {
    overflow: hidden;
  }

  .cf-copy-card {
    width: auto;
    min-width: min(84vw, 320px);
    flex: 0 0 min(84vw, 320px);
  }

  .cf-news-card,
  .cf-hero-stats {
    display: none;
  }

  .cf-opportunities,
  .cf-everyone,
  .cf-trading-exp,
  .cf-app-block,
  .cf-testimonials,
  .cf-mobile-promo-video,
  .cf-neon-strip,
  .cf-partners,
  .cf-footer {
    margin-top: 0;
  }

  .cf-main section,
  .cf-footer {
    border: 0 !important;
    box-shadow: none !important;
  }

  .cf-guide-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .cf-guide-card-link {
    padding: 0.65rem;
  }

  .cf-guide-cta {
    min-width: calc(100% - 3.6rem);
    min-height: 2.95rem;
    bottom: 1.12rem;
    font-size: 0.95rem;
  }

  .cf-footer-mobile {
    display: grid;
    gap: 1rem;
  }

  .cf-footer-mobile-head {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .cf-footer-mobile-brand {
    text-decoration: none;
    color: #f3f8ff;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .cf-footer-mobile-brand .cf-brand-logo {
    width: 2rem;
    height: 2rem;
  }

  .cf-footer-mobile-head p {
    margin: 0;
    color: #d8e2f2;
    font-size: 1.01rem;
    line-height: 1.38;
    font-weight: 400;
  }

  .cf-footer-accordions {
    display: grid;
    gap: 0.25rem;
  }

  .cf-footer-accordion-item {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .cf-footer-accordion-item summary {
    list-style: none;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    cursor: pointer;
    color: #f3f7ff;
    font-size: 1.08rem;
    font-weight: 600;
  }

  .cf-footer-accordion-item summary::-webkit-details-marker {
    display: none;
  }

  .cf-footer-accordion-item .cf-acc-arrow {
    color: #d7e2f5;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .cf-footer-accordion-item[open] .cf-acc-arrow {
    transform: rotate(180deg);
  }

  .cf-footer-accordion-links {
    display: grid;
    gap: 0.2rem;
    padding: 0.1rem 0 0.55rem;
  }

  .cf-footer-accordion-links a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #9eafc8;
    font-size: 0.98rem;
    font-weight: 500;
  }

  .cf-footer-social-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.2rem;
  }

  .cf-footer-social-grid a {
    min-height: 40px;
    border-radius: 10px;
    border: none;
    background: #0a0a0a;
    color: #f2f7ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    font-weight: 700;
  }

  .cf-footer-mobile-meta {
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .cf-footer-mobile-meta button {
    min-height: 40px;
    border-radius: 10px;
    border: none;
    background: #0d0f14;
    color: #eaf2ff;
    font-size: 0.93rem;
    font-weight: 600;
  }

  .cf-footer-cols {
    display: none;
  }

  .cf-copyright {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.78rem;
  }

  .cf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .cf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .cf-neon-strip p {
    color: #b7ff35;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 0 22px rgba(0,184,212, 0.34);
  }
}

@keyframes cf-announcement-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.9rem));
  }
}

@keyframes cf-exchange-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.325rem));
  }
}

/* ── Gate-style Market Table ── */
.cf-gate-market-shell {
  background: var(--cf-panel, #0d0d0d);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 1rem;
}

.cf-gate-market-tabs {
  display: flex;
  gap: 0;
  border-bottom: none;
  padding: 0 0.5rem;
}

.cf-gate-market-tabs button {
  background: none;
  border: none;
  color: var(--cf-muted, #95a3bc);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.cf-gate-market-tabs button.active,
.cf-gate-market-tabs button[aria-selected="true"] {
  color: var(--cf-text, #f4f8ff);
  border-bottom-color: var(--cf-brand, #00b8d4);
}

.cf-gate-market-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.cf-gate-market-table thead th {
  color: var(--cf-muted, #95a3bc);
  font-weight: 500;
  text-align: left;
  padding: 0.6rem 0.9rem;
  font-size: 0.75rem;
  border-bottom: none;
}

.cf-gate-market-table thead th:last-child {
  text-align: right;
}

.cf-gate-market-row {
  border-bottom: none;
  transition: background 0.15s;
}

.cf-gate-market-row:last-child {
  border-bottom: none;
}

.cf-gate-market-row:hover {
  background: rgba(0,184,212,0.04);
}

.cf-gate-market-table td {
  padding: 0.65rem 0.9rem;
  vertical-align: middle;
  color: var(--cf-text, #f4f8ff);
}

.cf-gate-coin-cell {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
}

.cf-gate-coin-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,184,212,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.cf-gate-coin-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.cf-gate-coin-names {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cf-gate-coin-sym {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--cf-text, #f4f8ff);
}

.cf-gate-coin-name {
  font-size: 0.7rem;
  color: var(--cf-muted, #95a3bc);
}

.cf-gate-price-cell {
  font-weight: 600;
  font-size: 0.82rem;
}

.cf-gate-change-cell {
  font-weight: 600;
  font-size: 0.82rem;
}

.cf-gate-change-cell.positive { color: var(--cf-green, #19d27f); }
.cf-gate-change-cell.negative { color: var(--cf-red, #ff5f82); }

.cf-gate-vol-cell {
  color: var(--cf-muted, #95a3bc);
  font-size: 0.78rem;
}

.cf-gate-action-cell {
  text-align: right;
}

.cf-gate-trade-btn {
  display: inline-block;
  background: #00b8d4;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.cf-gate-trade-btn:hover {
  background: #00b8d4;
}

.cf-gate-market-more {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  color: var(--cf-muted, #95a3bc);
  font-size: 0.8rem;
  text-decoration: none;
  border-top: none;
  transition: color 0.2s;
}

.cf-gate-market-more:hover {
  color: var(--cf-brand, #00b8d4);
}

.bnx-loading {
  text-align: center;
  color: var(--cf-muted, #95a3bc);
  padding: 1.5rem;
}

/* ══════════════════════════════════════
   Payment Partners Marquee Strip
   ══════════════════════════════════════ */
.cf-pay-partners-strip {
  width: 100%;
  background: #0d0f14;
  padding: 1rem 0 1.1rem;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.cf-pay-partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00b8d4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.cf-pay-marquee-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.cf-pay-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  animation: payMarquee 20s linear infinite;
}

.cf-pay-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c8d8e8;
  white-space: nowrap;
  padding: 0.45rem 1rem 0.45rem 0.6rem;
  border-radius: 28px;
  background: rgba(0,184,212,0.06);
  border: none;
  letter-spacing: 0.01em;
}

.cf-pay-item svg {
  flex-shrink: 0;
  display: block;
}

@keyframes payMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   Full-width homepage Market Section
   ══════════════════════════════════════ */
.cf-fullmkt {
  padding: 0 0 1rem;
  background: #0d0f14;
}

.cf-fullmkt-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Category tabs: Popular / Market Trends / 24H Change / New Coin List */
.cf-fullmkt-cattabs-wrap {
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  padding: 0 0.5rem;
}

.cf-fullmkt-cattabs {
  display: flex;
  gap: 0;
  white-space: nowrap;
  pointer-events: auto;
  touch-action: manipulation;
}

.cf-fullmkt-cattabs button {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #6b7a99;
  font-family: 'Pulse', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: color 0.15s;
  margin-bottom: -1px;
  white-space: nowrap;
}

.cf-fullmkt-cattabs button.active {
  color: #f4f8ff;
  border-bottom-color: #00b8d4;
  font-weight: 700;
}

.cf-fullmkt-cattabs button:not(.active):hover { color: #c0cce0; }

/* Sub tabs: Spot / Futures */
.cf-fullmkt-subtabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.cf-fullmkt-subtabs button {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 999px;
  color: #8e9bb0;
  font-family: 'Pulse', 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.38rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cf-fullmkt-subtabs button.active {
  background: rgba(255,255,255,0.18);
  color: #f4f8ff;
}

/* Table */
.cf-fullmkt-table-wrap {
  border-radius: 0;
  overflow: hidden;
  background: #0d0f14;
  border: none;
}

.cf-fullmkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cf-fullmkt-table thead {
  background: #0d0f14;
}

.cf-fullmkt-table thead th {
  background: #0d0f14;
  color: #6b7a99;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: left;
  border: none;
  border-bottom: none;
  white-space: nowrap;
  user-select: none;
  transition: color 0.15s;
}

.cf-fullmkt-table thead th:hover { color: #f4f8ff; }
.cf-fullmkt-table thead th:nth-child(2),
.cf-fullmkt-table thead th:nth-child(3) { text-align: right; }
.cf-fullmkt-table thead th.hm-sort-asc::after  { content: ' ↑'; }
.cf-fullmkt-table thead th.hm-sort-desc::after { content: ' ↓'; }

.cf-fullmkt-table tbody tr {
  background: #0d0f14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.cf-fullmkt-table tbody tr:hover { background: #0d0f14; }

.cf-fullmkt-table tbody td {
  background: transparent;
  padding: 1.1rem 1rem;
  vertical-align: middle;
  border: none;
  color: #f4f8ff;
}
.cf-fullmkt-table tbody td:nth-child(2),
.cf-fullmkt-table tbody td:nth-child(3) { text-align: right; }

/* Coin cell */
.cf-fullmkt-coin-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-fullmkt-coin-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.cf-fullmkt-coin-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

.cf-fullmkt-coin-fb {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cf-brand, #00b8d4);
  z-index: 1;
}

.cf-fullmkt-coin-names { display: flex; flex-direction: column; gap: 2px; }

.cf-fullmkt-coin-sym {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.cf-fullmkt-coin-name {
  font-size: 0.76rem;
  color: #6b7a99;
  font-weight: 400;
}

.cf-fullmkt-price { font-weight: 700; font-size: 1rem; color: #f4f8ff; }

.cf-fullmkt-chg { font-weight: 700; font-size: 0.95rem; }
.cf-fullmkt-chg.up { color: #19d27f; }
.cf-fullmkt-chg.dn { color: #ff5f82; }

.cf-fullmkt-vol { color: var(--cf-muted, #95a3bc); font-size: 0.83rem; }

.cf-fullmkt-trade-btn {
  display: inline-block;
  background: #00b8d4;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1.15rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.cf-fullmkt-trade-btn:hover { background: #00b8d4; }

.cf-fullmkt-viewall {
  display: block;
  text-align: center;
  padding: 1rem;
  color: var(--cf-muted, #95a3bc);
  font-size: 0.82rem;
  text-decoration: none;
  background: #0d0f14;
  border-top: none;
  border-radius: 0 0 14px 14px;
  transition: color 0.2s;
}
.cf-fullmkt-viewall:hover { color: var(--cf-brand, #00b8d4); }

.cf-fullmkt-loading td {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cf-muted, #95a3bc);
  font-size: 0.9rem;
}

.cf-fullmkt-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: none;
  border-top-color: var(--cf-brand, #00b8d4);
  border-radius: 50%;
  animation: fullmkt-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes fullmkt-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  /* ── Section background ── */
  .cf-fullmkt {
    padding: 1.5rem 0 1rem;
    background: #0d0f14 !important;
  }
  .cf-fullmkt-inner { background: #0d0f14; }

  /* ── Hide search bar on mobile ── */
  .cf-fullmkt-controls-row { display: none; }

  /* ── Tabs: Gate.io style ── */
  .cf-fullmkt-tabs-center { margin-bottom: 1rem; }
  .cf-fullmkt-tabs {
    gap: 2.5rem;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
  }
  .cf-fullmkt-tabs button {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7a99;
    padding: 0.4rem 0;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
  }
  .cf-fullmkt-tabs button.active {
    color: #f4f8ff;
    border: none;
    border-bottom: 2px solid #f4f8ff;
    border-radius: 0;
    background: transparent;
    padding: 0.4rem 0;
  }

  /* ── Table wrap ── */
  .cf-fullmkt-table-wrap {
    background: #0d0f14 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible;
  }

  /* ── All cells same dark bg ── */
  .cf-fullmkt-table,
  .cf-fullmkt-table thead,
  .cf-fullmkt-table thead th,
  .cf-fullmkt-table tbody tr,
  .cf-fullmkt-table tbody td { background: #0d0f14 !important; }

  /* ── Hide Volume (col 4) and Action (col 5) ── */
  .cf-fullmkt-table thead th:nth-child(4),
  .cf-fullmkt-table tbody td:nth-child(4),
  .cf-fullmkt-table thead th:nth-child(5),
  .cf-fullmkt-table tbody td:nth-child(5) { display: none; }

  /* ── Column headers ── */
  .cf-fullmkt-table thead th {
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    color: #6b7a99;
    font-weight: 400;
    border-bottom: none;
    text-align: left;
  }
  .cf-fullmkt-table thead th:nth-child(2),
  .cf-fullmkt-table thead th:nth-child(3) { text-align: right; }

  /* ── Rows ── */
  .cf-fullmkt-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  }
  .cf-fullmkt-table tbody td {
    padding: 1rem 0.75rem;
    border: none !important;
  }
  .cf-fullmkt-table tbody td:nth-child(2),
  .cf-fullmkt-table tbody td:nth-child(3) { text-align: right; }

  /* ── Coin cell ── */
  .cf-fullmkt-coin-cell { gap: 0.75rem; }
  .cf-fullmkt-coin-ico { width: 40px; height: 40px; }
  .cf-fullmkt-coin-sym { font-size: 0.95rem; font-weight: 800; }
  .cf-fullmkt-coin-name { font-size: 0.74rem; color: #6b7a99; }

  /* ── Price ── */
  .cf-fullmkt-price { font-size: 0.95rem; font-weight: 700; color: #f4f8ff; }

  /* ── Change ── */
  .cf-fullmkt-chg { font-size: 0.92rem; font-weight: 700; }

  /* ── View All link ── */
  .cf-fullmkt-viewall {
    color: #6b7a99 !important;
    font-size: 0.88rem;
    padding: 1rem;
    background: #0d0f14 !important;
    border: none !important;
  }
}

/* ── Gate.io-style Promo Cards ── */
.gp-promo-wrap {
  position: relative;
  overflow: hidden;
  background: #0d0f14;
  border-radius: 14px;
  margin-top: 0.6rem;
}

.gp-promo-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gp-promo-track::-webkit-scrollbar { display: none; }

.gp-promo-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d0d0d;
  border-radius: 14px;
  padding: 0.7rem 0.9rem 0.65rem;
  min-height: 80px;
  border: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.gp-promo-copy {
  flex: 1;
  z-index: 1;
}

.gp-promo-copy h4 {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f4f8ff;
  line-height: 1.4;
}

.gp-join-now {
  font-size: 0.82rem;
  color: #8a9bbb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.gp-join-now:hover { color: #00b8d4; }

.gp-promo-art {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 0.6rem;
}

.gp-art-icon {
  font-size: 1.9rem;
  z-index: 1;
  position: relative;
}

.gp-art-dot {
  position: absolute;
  border-radius: 50%;
}

.gp-dot-blue  { width: 60px; height: 60px; background: #00b8d4; top: 5px; right: 0; }
.gp-dot-green { width: 22px; height: 22px; background: #00b8d4; bottom: 8px; left: 5px; }
.gp-dot-black { width: 18px; height: 18px; background: #0d0f14; bottom: 10px; right: 18px; }

/* Dots indicator */
.gp-promo-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem 0 0.2rem;
}

.gp-promo-dots .gp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, width 0.3s;
}

.gp-promo-dots .gp-dot.active {
  background: #00b8d4;
  width: 18px;
  border-radius: 3px;
}

/* ===== COIN MARQUEE STRIP ===== */
.coin-marquee-section {
  background: #0d0f14;
  padding: 2rem 0 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.coin-marquee-row {
  overflow: hidden;
  width: 100%;
}
.coin-marquee-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
}
.coin-track-ltr {
  animation: coinLTR 24s linear infinite;
}
.coin-track-rtl {
  animation: coinRTL 24s linear infinite;
}
@keyframes coinLTR {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes coinRTL {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.coin-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coin-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .coin-logo { width: 52px; height: 52px; }
  .coin-marquee-track { gap: 0.9rem; }
}

/* ── Mobile Scroll Performance ── */
@media (max-width: 768px) {
  .cf-everyone {
    transform-style: flat;
    will-change: auto;
  }
  body.coinflare-page {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
  }
  .cf-hero-banner canvas {
    display: none;
  }
}
