/* ═══════════════════════════════════════
   MOONDEX — ULTRA-MODERN PURPLE/BLACK
   ─────────────────────────────────────
   Primary:  #8b5cf6  violet-500
   Light:    #a78bfa  violet-400
   Dark:     #6d28d9  violet-700
   Bg:       #070610
   Surface:  #0f0d1c
   Card:     #13102a
═══════════════════════════════════════ */

:root {
  --p:       #8b5cf6;
  --pl:      #a78bfa;
  --pd:      #6d28d9;
  --p2:      #c084fc;
  --dim:     rgba(139,92,246,0.08);
  --bdr:     rgba(139,92,246,0.18);
  --glow:    rgba(139,92,246,0.22);
  /* gold vars aliased to purple so any gold refs also work */
  --gold:      #8b5cf6;
  --gold-dark: #6d28d9;
  --gold-dim:  rgba(139,92,246,0.08);
  --gold-bdr:  rgba(139,92,246,0.18);
  --bg:      #070610;
  --bg2:     #0b0918;
  --surface: #0f0d1c;
  --card:    rgba(19,16,42,0.97);
  --card2:   #181430;
  --border:  rgba(139,92,246,0.1);
  --text:    #f0eeff;
  --muted:   rgba(240,238,255,0.42);
  --green:   #4ade80;
  --red:     #f87171;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

/* Kill ALL Bootstrap focus rings and outlines globally */
*:focus, *:focus-visible, *:focus-within {
  outline: none !important;
  box-shadow: none !important;
}
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width:5px; height:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(139,92,246,0.25); border-radius:999px; }
::-webkit-scrollbar-thumb:hover { background:rgba(139,92,246,0.45); }

/* ── Global ambient glow behind page ── */
body::before {
  content:'';
  position:fixed; top:-30vh; left:50%;
  transform:translateX(-50%);
  width:900px; height:600px;
  background:radial-gradient(ellipse 70% 60% at 50% 0%, rgba(109,40,217,0.18) 0%, transparent 70%);
  pointer-events:none; z-index:0;
}

/* ════════════════════════════
   1. TICKER BAR
════════════════════════════ */
.ticker-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-bar::before,
.ticker-bar::after {
  content:''; position:absolute; top:0; bottom:0;
  width:80px; z-index:2; pointer-events:none;
}
.ticker-bar::before { left:0;  background:linear-gradient(90deg,var(--bg2),transparent); }
.ticker-bar::after  { right:0; background:linear-gradient(-90deg,var(--bg2),transparent); }

.ticker-track {
  display:flex; gap:8px;
  width:max-content;
  animation:tickerScroll 35s linear infinite;
}
.ticker-bar:hover .ticker-track { animation-play-state:paused; }
@keyframes tickerScroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

.ticker-coin {
  display:flex; align-items:center; gap:6px;
  background:rgba(139,92,246,0.06);
  border:1px solid rgba(139,92,246,0.12);
  border-radius:999px;
  padding:3px 11px 3px 5px;
  white-space:nowrap; cursor:pointer;
  transition:border-color .15s, background .15s;
}
.ticker-coin:hover { border-color:rgba(139,92,246,0.35); background:rgba(139,92,246,0.1); }
.ticker-coin img { width:20px; height:20px; border-radius:50%; object-fit:cover; border:1px solid var(--bdr); }
.tc-name  { font-size:11px; font-weight:700; color:var(--text); }
.tc-addr  { font-size:10px; color:var(--muted); }
.tc-action { font-size:10px; font-weight:600; }
.tc-action.buy    { color:var(--green); }
.tc-action.sell   { color:#fb923c; }
.tc-action.launch { color:var(--p2); }

/* ════════════════════════════
   2. HEADER — redesigned, no border
════════════════════════════ */
.site-header {
  background: rgba(7,6,16,0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: none;
  padding: 12px 28px;
 display:flex; align-items:center;
  justify-content:space-between; gap:12px;
  align-items: center;
  position: sticky; top: 0; z-index: 200;
}

.header-left { display:flex; align-items:center; gap: 1rem; }
.header-center { display:flex; justify-content:center; }
.header-right  { display:flex; align-items:center; justify-content:flex-end; gap:10px; }

/* Logo */
.site-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-icon {
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background:linear-gradient(135deg,var(--p),var(--pd));
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:800; color:#fff;
  box-shadow:0 0 18px rgba(139,92,246,0.5);
}
.logo-text {
  font-size:18px; font-weight:800; letter-spacing:-0.03em;
  background:linear-gradient(135deg,#fff 30%,var(--pl));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}

/* Search — pill container owns the border, NOT the input */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.22);
  border-radius: 999px;
  padding: 9px 16px 9px 14px;
  width: 320px;
  transition: border-color .2s, background .2s, width .2s;
  cursor: text;
}
.search-wrap:focus-within {
  border-color: rgba(139,92,246,0.55);
  background: rgba(139,92,246,0.1);
  width: 360px;
  outline: none !important;
}
.search-wrap svg {
  color: var(--muted); flex-shrink:0;
  width:14px; height:14px; pointer-events:none;
}
/* The actual input — completely bare, no styling of its own */
.search-wrap input {
  all: unset !important;
  display: block !important;
  flex: 1 !important;
  font-size: 13px !important;
  color: var(--text) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  min-width: 0 !important;
}
.search-wrap input::placeholder { color: var(--muted); opacity:1; }
/* Absolute nuclear — target every possible browser state */
.search-wrap input:focus,
.search-wrap input:active,
.search-wrap input:focus-visible,
.search-wrap input:focus-within {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.btn-how {
  background:transparent; border:none; color:var(--muted);
  font-size:13px; font-family:'DM Sans',sans-serif; font-weight:500;
  cursor:pointer; padding:8px 12px; border-radius:10px;
  transition:color .15s,background .15s; white-space:nowrap;
}
.btn-how:hover { color:var(--text); background:var(--dim); }

.btn-launch {
  background:linear-gradient(135deg,var(--p),var(--pd));
  border:none; color:#fff;
  font-size:13px; font-family:'DM Sans',sans-serif; font-weight:700;
  cursor:pointer; padding:9px 20px; border-radius:999px;
  box-shadow:0 4px 16px rgba(139,92,246,0.35);
  transition:all .2s; white-space:nowrap;
}
.btn-launch:hover  { box-shadow:0 6px 22px rgba(139,92,246,0.55); transform:translateY(-1px); }
.btn-launch:active { transform:scale(0.97); }

.btn-wallet {
  background:transparent;
  border:1px solid rgba(139,92,246,0.4);
  color:var(--pl);
  font-size:13px; font-family:'DM Sans',sans-serif; font-weight:600;
  cursor:pointer; padding:9px 20px; border-radius:999px;
  transition:all .2s; white-space:nowrap;
}
.btn-wallet:hover { background:rgba(139,92,246,0.1); border-color:var(--p); color:#fff; }

/* Search */
/* (search-wrap defined above in header section) */

/* ════════════════════════════
   3. HERO — new layout
════════════════════════════ */
.hero {
  position:relative;
  padding: 36px 28px 52px;
  overflow:hidden;
  /* Deep purple-black — no grid lines, no image overlay clutter */
  background: var(--bg);
}

/* Large glow orbs — the main visual interest */
.hero::before {
  content:'';
  position:absolute; top:-160px; right:-120px;
  width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle, rgba(109,40,217,0.22) 0%, rgba(139,92,246,0.08) 40%, transparent 70%);
  pointer-events:none; z-index:0;
  animation:orbFloat 10s ease-in-out infinite;
}
.hero::after {
  content:'';
  position:absolute; bottom:-120px; left:-80px;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(192,132,252,0.12) 0%, transparent 65%);
  pointer-events:none; z-index:0;
  animation:orbFloat 13s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform:translateY(0) scale(1); }
  50%      { transform:translateY(-22px) scale(1.04); }
}

/* Floating star particles */
.hero-particles {
  position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden;
}
.hero-particles span {
  position:absolute; border-radius:50%;
  background:rgba(167,139,250,0.5);
  animation:particleDrift linear infinite;
}
@keyframes particleDrift {
  0%   { transform:translateY(100%) scale(0); opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:0.4; }
  100% { transform:translateY(-120px) scale(1); opacity:0; }
}

.hero-inner {
  position:relative; z-index:1;
  max-width:1320px; margin:0 auto;
  display:grid;
  grid-template-columns: 280px 1fr 280px;
  gap:16px;
  align-items:start;
}

/* ── Stat boxes (left) ── */
.stat-col { display:flex; flex-direction:column; gap:12px; }

.stat-box {
  background:rgba(19,16,42,0.85);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(139,92,246,0.18);
  border-radius:18px; padding:20px 22px;
  position:relative; overflow:hidden;
  transition:border-color .2s, box-shadow .2s;
}
.stat-box:hover {
  border-color:rgba(139,92,246,0.4);
  box-shadow:0 0 30px rgba(139,92,246,0.1);
}
/* inner glow */
.stat-box::before {
  content:''; position:absolute;
  top:-40px; left:-40px; width:130px; height:130px; border-radius:50%;
  background:radial-gradient(circle,rgba(139,92,246,0.1) 0%,transparent 70%);
  pointer-events:none;
}

.stat-icon {
  position:absolute; top:18px; right:18px;
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.stat-icon.gold-icon { background:rgba(139,92,246,0.18); }
.stat-icon.green     { background:rgba(74,222,128,0.15); }

.stat-label { font-size:11px; color:var(--muted); font-weight:500; margin-bottom:6px; text-transform:uppercase; letter-spacing:.04em; }
.stat-value { font-size:26px; font-weight:800; color:var(--text); letter-spacing:-0.03em; line-height:1; }

.live-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(74,222,128,0.08);
  border:1px solid rgba(74,222,128,0.18);
  border-radius:999px; padding:3px 10px;
  font-size:11px; color:var(--green); font-weight:600; margin-top:10px;
}
.live-dot {
  width:6px; height:6px; border-radius:50%; background:var(--green);
  animation:livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.35;transform:scale(.7);} }

.claimed-pill {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(139,92,246,0.07);
  border:1px solid rgba(139,92,246,0.15);
  border-radius:999px; padding:4px 10px 4px 5px;
  font-size:11px; color:var(--muted); margin-top:11px;
}
.claimed-avatar {
  width:18px; height:18px; border-radius:50%;
  background:linear-gradient(135deg,var(--p),var(--pd)); flex-shrink:0;
}
.claimed-amount { color:var(--pl); font-weight:600; }

/* ── Center: top earning coins ── */
.hero-center-box {
  background:rgba(19,16,42,0.85);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(139,92,246,0.18);
  border-radius:18px; padding:22px 22px 24px;
  transition:border-color .2s;
}
.hero-center-box:hover { border-color:rgba(139,92,246,0.35); }

.box-title {
  font-size:10px; font-weight:700; color:rgba(167,139,250,0.6);
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:18px;
}

.hero-coins-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px;
}

.hero-coin-card {
  display:flex; flex-direction:column; align-items:center; gap:7px;
  padding:12px 6px; cursor:pointer;
  background:rgba(139,92,246,0.05);
  border:1px solid rgba(139,92,246,0.1);
  border-radius:14px;
  transition:transform .15s, border-color .15s, box-shadow .15s;
}
.hero-coin-card:hover {
  transform:translateY(-4px);
  border-color:rgba(139,92,246,0.35);
  box-shadow:0 8px 24px rgba(139,92,246,0.15);
}
.hero-coin-img {
  width:54px; height:54px; border-radius:14px;
  background:rgba(139,92,246,0.08);
  border:1px solid rgba(139,92,246,0.12);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.hero-coin-img img { width:100%; height:100%; object-fit:cover; border-radius:14px; }
.hero-coin-name { font-size:11px; font-weight:700; color:var(--text); text-align:center; }
.hero-coin-mcap { font-size:10px; color:var(--muted); text-align:center; }
.coin-chg-up { font-size:10px; font-weight:700; color:var(--green); text-align:center; display:block; margin-top:2px; }
.coin-chg-dn { font-size:10px; font-weight:700; color:var(--red);   text-align:center; display:block; margin-top:2px; }

/* ── Right: top volume — flex rows, no overflow ── */
.vol-box {
  background:rgba(19,16,42,0.85);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(139,92,246,0.18);
  border-radius:18px; padding:18px 16px 14px;
  transition:border-color .2s;
  min-width:0; overflow:hidden;
}
.vol-box:hover { border-color:rgba(139,92,246,0.35); }

/* Replace table with flex layout to avoid overflow */
.vol-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.vol-table col:nth-child(1) { width:44%; }
.vol-table col:nth-child(2) { width:34%; }
.vol-table col:nth-child(3) { width:22%; }

.vol-table thead tr {
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap:6px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(139,92,246,0.1);
  margin-bottom:2px;
}
.vol-table thead th {
  font-size:9px; color:var(--muted); font-weight:700;
  text-transform:uppercase; letter-spacing:.07em;
  padding:0; border:none;
  white-space:nowrap;
}
.vol-table thead th:nth-child(2),
.vol-table thead th:nth-child(3) { text-align:right; }

.vol-table tbody tr {
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap:6px;
  align-items:center;
  border-top:1px solid rgba(139,92,246,0.06);
  padding:8px 0;
  transition:background .15s; cursor:pointer;
  border-radius:8px;
  margin:0 -6px;
  padding-left:6px; padding-right:6px;
}
.vol-table tbody tr:hover { background:rgba(139,92,246,0.07); }

.vol-table td {
  padding:9px 8px;
  font-size:12px;
  vertical-align:middle;
  overflow:hidden;
}
.vol-table td:nth-child(2),
.vol-table td:nth-child(3) { text-align:right; white-space:nowrap; }

.vol-coin-cell { display:flex; align-items:center; gap:8px; min-width:0;
  display:flex; align-items:center; gap:7px;
  min-width:0; overflow:hidden;
}
.vol-avatar {
  width:24px; height:24px; border-radius:50%; flex-shrink:0;
  background:rgba(139,92,246,0.1); border:1px solid var(--bdr);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.vol-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.vol-coin-name {
  font-size:12px; font-weight:700;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  max-width:72px;
}

/* mcap cell: stack value + badge */
.vol-mcap-wrap { display:flex; flex-direction:column; align-items:flex-end; gap:2px; white-space:nowrap; }
.vol-mcap-val  { font-size:11px; font-weight:700; color:var(--text); white-space:nowrap; }

.down-badge {
  display:inline-flex; align-items:center; gap:2px;
  background:rgba(248,113,113,0.12); color:var(--red);
  border-radius:4px; padding:1px 5px; font-size:9px; font-weight:700;
  white-space:nowrap;
}
.up-badge {
  display:inline-flex; align-items:center; gap:2px;
  background:rgba(74,222,128,0.12); color:var(--green);
  border-radius:4px; padding:1px 5px; font-size:9px; font-weight:700;
  white-space:nowrap;
}
.vol-num { color:var(--pl); font-size:11px; font-weight:700; white-space:nowrap; }

/* ════════════════════════════
   4. COIN LIST TABLE
════════════════════════════ */
.coin-list-section { max-width:1320px; margin:0 auto; padding:32px 28px 64px; }

.coin-tabs { display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.coin-tab {
  display:flex; align-items:center; gap:6px;
  background:rgba(139,92,246,0.06);
  border:1px solid rgba(139,92,246,0.14);
  border-radius:999px; padding:8px 18px;
  font-size:13px; font-weight:500; color:var(--muted);
  cursor:pointer; transition:all .15s; font-family:'DM Sans',sans-serif;
}
.coin-tab:hover { border-color:rgba(139,92,246,0.3); color:var(--text); background:rgba(139,92,246,0.1); }
.coin-tab.active {
  background:linear-gradient(135deg,var(--p),var(--pd));
  border-color:var(--p); color:#fff; font-weight:700;
  box-shadow:0 4px 14px rgba(139,92,246,0.3);
}
.tab-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }

.coins-table-wrap {
  background:rgba(15,13,28,0.95);
  border:1px solid rgba(139,92,246,0.14);
  border-radius:18px; overflow:hidden; overflow-x:auto;
  box-shadow:0 0 40px rgba(109,40,217,0.08);
}
.coins-table { width:100%; border-collapse:collapse; min-width:600px; }
.coins-table thead th {
  font-size:10px; color:var(--muted); font-weight:600;
  text-transform:uppercase; letter-spacing:.07em;
  padding:14px 20px; text-align:left;
  border-bottom:1px solid rgba(139,92,246,0.1);
  cursor:pointer; user-select:none; white-space:nowrap;
  background:rgba(139,92,246,0.04);
}
.coins-table thead th:not(:first-child) { text-align:right; }
.coins-table thead th:hover { color:var(--pl); }
.coins-table tbody tr {
  border-bottom:1px solid rgba(139,92,246,0.06);
  transition:background .15s; cursor:pointer;
}
.coins-table tbody tr:last-child { border-bottom:none; }
.coins-table tbody tr:hover { background:rgba(139,92,246,0.06); }
.coins-table td { padding:14px 20px; font-size:13px; color:var(--text); vertical-align:middle; }
.coins-table td:not(:first-child) { text-align:right; }

.coin-cell { display:flex; align-items:center; gap:12px; }
.coin-avatar {
  width:38px; height:38px; border-radius:50%;
  background:rgba(139,92,246,0.08); border:1px solid var(--bdr);
  overflow:hidden; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.coin-avatar img,
img.tok-img {
  width:100%; height:100%;
  object-fit:cover; border-radius:50%;
  /* Hide broken alt text while image loads */
  color: transparent;
  font-size: 0;
}
/* Show nothing while src is empty or errored */
img.tok-img:not([src]), img.tok-img[src=""] {
  visibility: hidden;
}
.tok-init {
  width:100%; height:100%; border-radius:50%;
  background:linear-gradient(135deg,var(--p),var(--pd));
  display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:800; color:#fff;
  text-transform:uppercase;
}
.coin-info-name { font-size:14px; font-weight:700; color:var(--text); }
.coin-info-sub  { font-size:11px; color:var(--muted); margin-top:2px; }

.change-neg { color:var(--red);   font-size:11px; font-weight:600; }
.change-pos { color:var(--green); font-size:11px; font-weight:600; }
.sparkline  { display:inline-block; width:56px; height:26px; vertical-align:middle; margin-right:8px; }

.receiver-pill {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(139,92,246,0.07); border:1px solid rgba(139,92,246,0.14);
  border-radius:999px; padding:4px 10px 4px 5px;
  font-size:11px; color:var(--muted);
}
.receiver-dot { width:14px; height:14px; border-radius:50%; flex-shrink:0; }
.earned-val { font-size:13px; font-weight:700; color:var(--pl); }

.btn-trade {
  background:transparent;
  border:1px solid rgba(139,92,246,0.3); color:var(--pl);
  font-size:12px; font-family:'DM Sans',sans-serif; font-weight:700;
  padding:6px 18px; border-radius:999px; cursor:pointer;
  transition:all .15s; white-space:nowrap;
}
.btn-trade:hover {
  background:linear-gradient(135deg,var(--p),var(--pd));
  border-color:var(--p); color:#fff;
  box-shadow:0 4px 14px rgba(139,92,246,0.3);
}

/* ════════════════════════════
   5. FOOTER
════════════════════════════ */
.site-footer {
  background:var(--bg2);
  border-top:1px solid var(--border);
  padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  position:relative; z-index:1;
}
.footer-left { display:flex; align-items:center; gap:20px; }

.theme-toggle {
  display:flex; align-items:center; gap:2px;
  background:rgba(139,92,246,0.08);
  border:1px solid rgba(139,92,246,0.2);
  border-radius:999px; padding:3px 5px; cursor:pointer;
  transition:border-color .15s;
}
.theme-toggle:hover { border-color:rgba(139,92,246,0.4); }
.toggle-icon {
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; transition:background .2s;
}
.toggle-icon.active { background:rgba(139,92,246,0.2); }

.footer-nav { display:flex; align-items:center; gap:20px; }
.footer-nav a { font-size:13px; color:var(--muted); text-decoration:none; transition:color .15s; }
.footer-nav a:hover { color:var(--pl); }

/* Footer center logo */
.footer-center {
  position:absolute; left:50%; transform:translateX(-50%);
  display:flex; align-items:center; gap:8px;
}
.footer-center span {
  font-size:14px; font-weight:800;
  background:linear-gradient(135deg,#fff 30%,var(--pl));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}

.footer-right { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); }
.footer-divider { color:rgba(139,92,246,0.2); }

/* ════════════════════════════
   ONLINE COUNTER
════════════════════════════ */
.online-counter {
  position:absolute; top:18px; right:28px; z-index:2;
  display:flex; align-items:center; gap:7px;
  background:rgba(15,13,28,0.82);
  border:1px solid rgba(139,92,246,0.25);
  border-radius:999px; padding:6px 14px 6px 10px;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  font-size:12px; font-weight:600; color:rgba(255,255,255,0.8);
  user-select:none;
}
.online-counter:hover { border-color:rgba(139,92,246,0.5); }
.online-dot {
  width:7px; height:7px; border-radius:50%; background:var(--green); flex-shrink:0;
  animation:onlinePulse 1.6s ease-in-out infinite;
  box-shadow:0 0 6px rgba(74,222,128,0.6);
}
@keyframes onlinePulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.4;transform:scale(.7);} }
.online-count { color:var(--green); font-weight:800; }

/* ════════════════════════════
   CVT TOKEN INFO BAR
════════════════════════════ */
.token-info-bar {
  max-width:1320px; margin:0 auto 20px;
  position:relative; z-index:1;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.token-info-pill {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(15,13,28,0.82);
  border:1px solid rgba(139,92,246,0.18);
  border-radius:999px; padding:6px 14px 6px 8px;
  backdrop-filter:blur(10px);
  font-size:12px; color:var(--muted);
  transition:border-color .2s; cursor:default;
}
.token-info-pill:hover { border-color:rgba(139,92,246,0.4); }
.tip-img { width:20px; height:20px; border-radius:50%; object-fit:cover; border:1px solid var(--bdr); flex-shrink:0; }
.tip-label { color:var(--muted); font-size:11px; }
.tip-value { color:var(--pl); font-weight:700; }
.tip-divider { width:1px; height:12px; background:rgba(139,92,246,0.15); margin:0 3px; }

/* ════════════════════════════
   SEARCH DROPDOWN
════════════════════════════ */
.search-dropdown {
  position:absolute; top:calc(100% + 10px); left:0; width:440px;
  background:#0f0d1c;
  /* border:1px solid rgba(139,92,246,0.25); */
  border-radius:16px; overflow:hidden; z-index:999;
  /* box-shadow:0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.08); */
  max-height:480px; overflow-y:auto;
  scrollbar-width:thin; scrollbar-color:rgba(139,92,246,0.15) transparent;
}
.sd-loading {
  display:flex; align-items:center; gap:10px;
  padding:18px 16px; font-size:13px; color:var(--muted);
}
.sd-spinner {
  width:14px; height:14px;
  border:2px solid rgba(139,92,246,0.2); border-top-color:var(--p);
  border-radius:50%; animation:spin .7s linear infinite; flex-shrink:0;
}
@keyframes spin { to{transform:rotate(360deg);} }
.sd-empty { padding:18px 16px; font-size:13px; color:var(--muted); }
.sd-empty strong { color:rgba(255,255,255,.7); }
.sd-item {
  display:flex; align-items:center; justify-content:space-between;
  padding:11px 14px; cursor:pointer;
  border-bottom:1px solid rgba(139,92,246,0.07);
  transition:background .12s; gap:12px;
}
.sd-item:last-child { border-bottom:none; }
.sd-item:hover { background:rgba(139,92,246,0.07); }
.sd-item-left { display:flex; align-items:center; gap:10px; min-width:0; flex:1; }
.sd-img { width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid var(--bdr); flex-shrink:0; background:rgba(139,92,246,0.06); }
.sd-item-info { min-width:0; }
.sd-item-name { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.sd-symbol { font-size:13px; font-weight:700; color:var(--text); }
.sd-fullname { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100px; }
.sd-chain-badge { font-size:10px; font-weight:600; background:rgba(139,92,246,0.12); color:var(--pl); border:1px solid rgba(139,92,246,0.2); border-radius:4px; padding:1px 6px; text-transform:uppercase; }
.sd-item-addr { font-size:10px; color:rgba(255,255,255,.28); font-family:monospace; margin-top:2px; }
.sd-item-right { text-align:right; flex-shrink:0; }
.sd-price { font-size:13px; font-weight:600; color:var(--text); }
.sd-pos { font-size:11px; color:var(--green); font-weight:600; }
.sd-neg { font-size:11px; color:var(--red);   font-weight:600; }
.sd-meta { font-size:10px; color:rgba(255,255,255,.3); margin-top:2px; white-space:nowrap; }
.row-highlight { background:rgba(139,92,246,0.1) !important; }

/* ════════════════════════════
   TRADE MODAL
════════════════════════════ */
.modal-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,0.8);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  z-index:1000;
  display:none; align-items:center; justify-content:center;
  padding:16px;
}
.modal-box {
  background:#100d22;
  border:1px solid rgba(139,92,246,0.25);
  border-radius:22px;
  width:100%; max-width:430px; padding:28px 24px;
  position:relative;
  animation:slideUp .22s ease;
  box-shadow:0 0 60px rgba(109,40,217,0.2);
}
@keyframes slideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

.modal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.modal-title  { display:flex; align-items:center; gap:12px; }
.modal-token-img { width:42px; height:42px; border-radius:50%; object-fit:cover; border:2px solid var(--bdr); }
.modal-token-name  { font-size:18px; font-weight:800; color:var(--text); }
.modal-token-price { font-size:12px; color:var(--muted); margin-top:2px; }
.modal-close {
  background:rgba(139,92,246,0.08); border:1px solid rgba(139,92,246,0.15);
  color:var(--muted); width:32px; height:32px; border-radius:50%;
  font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .15s;
}
.modal-close:hover { background:rgba(139,92,246,0.2); color:var(--text); }

.modal-tabs {
  display:flex; background:rgba(139,92,246,0.06); border:1px solid rgba(139,92,246,0.14);
  border-radius:999px; padding:4px; margin-bottom:22px;
}
.modal-tab {
  flex:1; padding:9px; border:none; border-radius:999px;
  font-size:14px; font-weight:700; font-family:'DM Sans',sans-serif;
  cursor:pointer; transition:all .2s; background:transparent; color:var(--muted);
}
.modal-tab.active-buy  { background:linear-gradient(135deg,var(--p),var(--pd)); color:#fff; box-shadow:0 2px 12px rgba(139,92,246,0.35); }
.modal-tab.active-sell { background:#f87171; color:#fff; }

.modal-label { font-size:10px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.modal-input-wrap { position:relative; margin-bottom:12px; }
.modal-currency { position:absolute; left:16px; top:50%; transform:translateY(-50%); font-size:18px; font-weight:700; color:var(--muted); pointer-events:none; }
.modal-amount-input {
  width:100%; background:rgba(139,92,246,0.06); border:1px solid rgba(139,92,246,0.2);
  border-radius:12px; padding:15px 16px 15px 34px;
  font-size:26px; font-weight:700; color:var(--text);
  font-family:'DM Sans',sans-serif; outline:none; text-align:center;
  transition:border-color .2s;
}
.modal-amount-input:focus { border-color:rgba(139,92,246,0.5); background:rgba(139,92,246,0.08); }
.modal-amount-input::placeholder { color:rgba(255,255,255,.12); }

.modal-quick { display:flex; gap:8px; margin-bottom:18px; }
.modal-quick-btn {
  flex:1; padding:8px 4px; text-align:center;
  background:rgba(139,92,246,0.06); border:1px solid rgba(139,92,246,0.14);
  border-radius:999px; font-size:12px; font-weight:600;
  color:var(--muted); font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .15s;
}
.modal-quick-btn:hover { border-color:var(--p); color:var(--pl); }
.modal-quick-btn.active { background:rgba(139,92,246,0.15); border-color:var(--p); color:var(--pl); }

.modal-balance-box {
  background:rgba(139,92,246,0.06); border:1px solid rgba(139,92,246,0.14);
  border-radius:14px; padding:14px 16px; margin-bottom:16px;
}
.modal-balance-row { display:flex; justify-content:space-between; align-items:center; padding:5px 0; }
.modal-balance-row+.modal-balance-row { border-top:1px solid rgba(139,92,246,0.08); }
.modal-balance-label    { font-size:12px; color:var(--muted); }
.modal-balance-value    { font-size:13px; font-weight:600; color:var(--text); }
.modal-balance-highlight { color:var(--pl); font-size:15px; font-weight:800; }

.modal-slippage { display:flex; align-items:center; justify-content:space-between; font-size:12px; color:var(--muted); margin-bottom:18px; }
.modal-slippage span { color:var(--pl); font-weight:600; cursor:pointer; }
.modal-slippage span:hover { text-decoration:underline; }

.modal-action-btn {
  width:100%; padding:15px; border:none; border-radius:999px;
  font-size:16px; font-weight:800; font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .15s;
}
.modal-action-btn.buy-btn  { background:linear-gradient(135deg,var(--p),var(--pd)); color:#fff; box-shadow:0 4px 20px rgba(139,92,246,0.35); }
.modal-action-btn.buy-btn:hover  { box-shadow:0 6px 24px rgba(139,92,246,0.5); transform:translateY(-1px); }
.modal-action-btn.sell-btn { background:linear-gradient(135deg,#f87171,#ef4444); color:#fff; }
.modal-action-btn.sell-btn:hover { opacity:.9; transform:translateY(-1px); }
.modal-action-btn.connect-btn { background:rgba(139,92,246,0.08); border:1px solid rgba(139,92,246,0.2); color:var(--muted); }
.modal-action-btn.connect-btn:hover { background:rgba(139,92,246,0.15); color:var(--text); }
.modal-action-btn:active { transform:scale(.98) !important; }

/* ════════════════════════════
   SIDE PANEL
════════════════════════════ */
.side-panel-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  z-index:900; opacity:0; pointer-events:none; transition:opacity .25s;
}
.side-panel-overlay.open { opacity:1; pointer-events:all; }

.side-panel {
  position:fixed; top:0; right:0; width:360px; height:100vh;
  background:#0f0d1c;
  border-left:1px solid rgba(139,92,246,0.18);
  z-index:901; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
  overflow:hidden;
}
.side-panel.open { transform:translateX(0); }

.sp-header { display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid rgba(139,92,246,0.1); flex-shrink:0; }
.sp-header-left { display:flex; align-items:center; gap:12px; }
.sp-token-img { width:40px; height:40px; border-radius:50%; object-fit:cover; border:1px solid var(--bdr); }
.sp-token-symbol { font-size:16px; font-weight:700; color:var(--text); }
.sp-token-sub    { font-size:11px; color:var(--muted); margin-top:1px; }
.sp-close { background:rgba(139,92,246,0.08); border:1px solid rgba(139,92,246,0.15); color:var(--muted); width:30px; height:30px; border-radius:50%; font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .15s; }
.sp-close:hover { background:rgba(139,92,246,0.2); color:var(--text); }

.sp-price-block { padding:16px 18px 12px; border-bottom:1px solid rgba(139,92,246,0.08); flex-shrink:0; }
.sp-mcap-label  { font-size:11px; color:var(--muted); margin-bottom:4px; }
.sp-mcap-value  { font-size:26px; font-weight:700; color:var(--text); letter-spacing:-0.02em; }
.sp-mcap-value span { font-size:16px; color:var(--muted); }
.sp-change-pos  { color:var(--green); font-size:13px; font-weight:600; margin-left:8px; }
.sp-change-neg  { color:var(--red);   font-size:13px; font-weight:600; margin-left:8px; }

.sp-tabs { display:flex; border-bottom:1px solid rgba(139,92,246,0.08); flex-shrink:0; }
.sp-tab { flex:1; padding:12px 8px; background:transparent; border:none; font-size:13px; font-weight:500; color:var(--muted); font-family:'DM Sans',sans-serif; cursor:pointer; border-bottom:2px solid transparent; transition:color .15s,border-color .15s; }
.sp-tab:hover  { color:rgba(255,255,255,.7); }
.sp-tab.active { color:var(--pl); border-bottom-color:var(--p); font-weight:600; }

.sp-content { flex:1; overflow-y:auto; padding:16px 18px; scrollbar-width:thin; scrollbar-color:rgba(139,92,246,0.15) transparent; }

.sp-timeframes { display:flex; gap:4px; margin-bottom:12px; }
.sp-tf-btn { padding:4px 10px; border-radius:6px; background:rgba(139,92,246,0.05); border:1px solid rgba(139,92,246,0.1); font-size:11px; font-weight:600; color:var(--muted); font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .15s; }
.sp-tf-btn:hover  { color:var(--text); border-color:rgba(139,92,246,0.25); }
.sp-tf-btn.active { background:rgba(139,92,246,0.15); border-color:var(--p); color:var(--pl); }

.sp-chart-wrap { background:rgba(139,92,246,0.03); border:1px solid rgba(139,92,246,0.08); border-radius:12px; overflow:hidden; margin-bottom:16px; height:200px; position:relative; }
#spChart { width:100%; height:100%; }

.sp-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px; }
.sp-stat-card { background:rgba(139,92,246,0.05); border:1px solid rgba(139,92,246,0.1); border-radius:10px; padding:12px; }
.sp-stat-label { font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }
.sp-stat-value { font-size:14px; font-weight:600; color:var(--text); }

.sp-trade-tabs { display:flex; background:rgba(139,92,246,0.06); border:1px solid rgba(139,92,246,0.1); border-radius:999px; padding:3px; margin-bottom:14px; }
.sp-trade-tab  { flex:1; padding:8px; border:none; border-radius:999px; font-size:13px; font-weight:600; font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .2s; background:transparent; color:var(--muted); }
.sp-trade-tab.active-buy  { background:linear-gradient(135deg,var(--p),var(--pd)); color:#fff; }
.sp-trade-tab.active-sell { background:#f87171; color:#fff; }

.sp-input-wrap  { position:relative; margin-bottom:10px; }
.sp-dollar      { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:16px; font-weight:700; color:var(--muted); pointer-events:none; }
.sp-amount-input { width:100%; background:rgba(139,92,246,0.05); border:1px solid rgba(139,92,246,0.2); border-radius:10px; padding:13px 14px 13px 30px; font-size:22px; font-weight:700; color:var(--text); font-family:'DM Sans',sans-serif; outline:none; transition:border-color .2s; }
.sp-amount-input:focus { border-color:rgba(139,92,246,0.5); }
.sp-amount-input::placeholder { color:rgba(255,255,255,.1); }

.sp-quick { display:flex; gap:6px; margin-bottom:12px; }
.sp-quick-btn { flex:1; padding:7px 4px; text-align:center; background:rgba(139,92,246,0.05); border:1px solid rgba(139,92,246,0.12); border-radius:999px; font-size:12px; font-weight:600; color:var(--muted); font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .15s; }
.sp-quick-btn:hover { border-color:var(--p); color:var(--pl); }

.sp-receive-box { background:rgba(139,92,246,0.05); border:1px solid rgba(139,92,246,0.12); border-radius:10px; padding:12px 14px; margin-bottom:12px; }
.sp-receive-row { display:flex; justify-content:space-between; font-size:12px; margin-bottom:4px; }
.sp-receive-row:last-child { margin-bottom:0; }
.sp-receive-label    { color:var(--muted); }
.sp-receive-val      { color:var(--text); font-weight:600; }
.sp-receive-highlight { color:var(--pl); font-weight:700; font-size:13px; }

.sp-footer    { padding:14px 18px; border-top:1px solid rgba(139,92,246,0.1); display:flex; gap:10px; flex-shrink:0; }
.sp-sell-btn, .sp-buy-btn { flex:1; padding:14px; border:none; border-radius:999px; font-size:15px; font-weight:700; font-family:'DM Sans',sans-serif; cursor:pointer; transition:all .15s; }
.sp-sell-btn { background:rgba(248,113,113,0.1); border:1px solid rgba(248,113,113,0.3); color:var(--red); }
.sp-sell-btn:hover { background:var(--red); color:#fff; }
.sp-buy-btn  { background:linear-gradient(135deg,var(--p),var(--pd)); color:#fff; box-shadow:0 4px 16px rgba(139,92,246,0.3); }
.sp-buy-btn:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(139,92,246,0.45); }

/* ════════════════════════════
   LOADING / MISC
════════════════════════════ */
.loading { color:rgba(255,255,255,.2); animation:loadPulse 1.2s ease-in-out infinite; }
@keyframes loadPulse { 0%,100%{opacity:.2;} 50%{opacity:.55;} }

/* Chat widget — purple tint */
.chat-widget,[class*="chat"],[id*="chat"],
iframe[src*="chat"],iframe[src*="tawk"],iframe[title*="chat"] {
  filter:hue-rotate(200deg) saturate(1.5) !important;
}

/* ════════════════════════════
   SOLANA STATS BAR
════════════════════════════ */
.sol-stats-bar {
  background:rgba(11,9,24,0.9);
  border-bottom:1px solid rgba(139,92,246,0.12);
  border-top:1px solid rgba(139,92,246,0.08);
  padding:10px 28px;
  display:flex; align-items:center; gap:0;
  overflow:hidden; position:relative; z-index:1;
}
.sol-stats-bar::before,
.sol-stats-bar::after {
  content:''; position:absolute; top:0; bottom:0; width:60px; z-index:2; pointer-events:none;
}
.sol-stats-bar::before { left:0;  background:linear-gradient(90deg,rgba(11,9,24,0.9),transparent); }
.sol-stats-bar::after  { right:0; background:linear-gradient(-90deg,rgba(11,9,24,0.9),transparent); }

.sol-stats-inner {
  display:flex; align-items:center; gap:28px;
  animation:statsScroll 30s linear infinite;
  width:max-content; flex-shrink:0;
}
.sol-stats-bar:hover .sol-stats-inner { animation-play-state:paused; }
@keyframes statsScroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

.sol-stat-item {
  display:flex; align-items:center; gap:8px;
  white-space:nowrap; font-size:12px;
}
.sol-stat-logo {
  width:18px; height:18px; border-radius:50%;
  background:linear-gradient(135deg,#9945ff,#7b2ff7);
  display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:800; color:#fff; flex-shrink:0;
}
.sol-stat-label { color:var(--muted); font-size:11px; }
.sol-stat-val   { font-weight:700; color:var(--text); }
.sol-stat-up    { color:var(--green); font-weight:600; font-size:11px; }
.sol-stat-dn    { color:var(--red);   font-weight:600; font-size:11px; }
.sol-stat-sep   { width:1px; height:16px; background:rgba(139,92,246,0.15); margin:0 4px; }

/* Solana network badge */
.sol-network-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(153,69,255,0.1); border:1px solid rgba(153,69,255,0.25);
  border-radius:999px; padding:2px 10px 2px 7px;
  font-size:11px; font-weight:600; color:#c084fc;
}
.sol-net-dot {
  width:6px; height:6px; border-radius:50%; background:#9945ff;
  box-shadow:0 0 6px rgba(153,69,255,0.7);
  animation:livePulse 2s ease-in-out infinite;
}

/* ════════════════════════════
   CRYPTO FEATURES SECTION
   (below hero, above table)
════════════════════════════ */
.crypto-features {
  max-width:1320px; margin:0 auto;
  padding:0 28px 28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.feature-card {
  background:rgba(19,16,42,0.7);
  border:1px solid rgba(139,92,246,0.14);
  border-radius:16px; padding:20px;
  display:flex; align-items:flex-start; gap:14px;
  transition:border-color .2s, box-shadow .2s, transform .2s;
  cursor:default;
}
.feature-card:hover {
  border-color:rgba(139,92,246,0.35);
  box-shadow:0 8px 28px rgba(139,92,246,0.1);
  transform:translateY(-2px);
}
.feature-icon {
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:20px;
}
.fi-purple  { background:rgba(139,92,246,0.15); }
.fi-green   { background:rgba(74,222,128,0.12); }
.fi-pink    { background:rgba(236,72,153,0.12); }
.fi-sol     { background:rgba(153,69,255,0.15); }
.fi-blue    { background:rgba(96,165,250,0.12); }
.fi-orange  { background:rgba(251,146,60,0.12); }
.feature-body {}
.feature-title { font-size:14px; font-weight:700; color:var(--text); margin-bottom:4px; }
.feature-desc  { font-size:12px; color:var(--muted); line-height:1.55; }

/* ════════════════════════════
   SOLANA NETWORK STATUS
   (small strip above footer)
════════════════════════════ */
.network-strip {
  max-width:1320px; margin:0 auto;
  padding:0 28px 28px;
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.ns-card {
  display:flex; align-items:center; gap:8px;
  background:rgba(15,13,28,0.8);
  border:1px solid rgba(139,92,246,0.12);
  border-radius:999px; padding:7px 14px;
  font-size:12px; color:var(--muted);
  white-space:nowrap;
}
.ns-dot {
  width:7px; height:7px; border-radius:50%; flex-shrink:0;
  box-shadow:0 0 6px currentColor;
  animation:livePulse 2s ease-in-out infinite;
}
.ns-dot.green  { background:var(--green);  color:var(--green); }
.ns-dot.purple { background:var(--p);      color:var(--p); }
.ns-dot.orange { background:#fb923c;       color:#fb923c; }
.ns-val { font-weight:700; color:var(--text); }

@media(max-width:900px) {
  .crypto-features { grid-template-columns:repeat(2,1fr); }
  .sol-stats-bar   { padding:8px 16px; }
  .network-strip   { padding:0 16px 20px; }
}
@media(max-width:600px) {
  .crypto-features { grid-template-columns:1fr; padding:0 16px 20px; }
  .network-strip   { display:none; }
  .feature-card    { padding:16px; }
}

/* ════════════════════════════
   RESPONSIVE (continued)
════════════════════════════ */
@media (max-width:1100px) {
  .hero-inner { grid-template-columns:230px 1fr; }
  .vol-box    { display:none; }
  .site-header { grid-template-columns:auto 1fr auto; gap:12px; }
  .search-wrap { width:100%; }
  .search-wrap:focus-within { width:100%; }
}

@media (max-width:900px) {
  .hero-inner  { grid-template-columns:200px 1fr; gap:12px; }
  .hero        { padding:28px 20px 40px; }
  .site-header { grid-template-columns:auto 1fr auto; padding:10px 16px; gap:10px; }
  .search-wrap { width:100%; }
  .btn-how     { display:none; }
}

@media (max-width:768px) {
  .site-header     { grid-template-columns:auto 1fr auto; padding:10px 14px; gap:8px; }
  .search-wrap     { width:100%; max-width:none; }
  .search-wrap:focus-within { width:100%; }
  .hero            { padding:20px 16px 32px; }
  .hero-inner      { grid-template-columns:1fr; gap:12px; }
  .stat-col        { flex-direction:row; gap:10px; }
  .stat-box        { flex:1; padding:14px 16px; }
  .stat-value      { font-size:20px; }
  .claimed-pill    { display:none; }
  .hero-coins-grid { grid-template-columns:repeat(4,1fr); gap:8px; }
  .hero-coin-img   { width:44px; height:44px; }
  .coin-list-section { padding:20px 16px 40px; }
  .online-counter  { top:14px; right:16px; font-size:11px; }
  .token-info-bar  { gap:6px; }
  .token-info-pill { font-size:11px; padding:5px 10px 5px 7px; }
  .side-panel      { width:100vw; }
  .footer-center   { display:none; }
  .search-dropdown { width:calc(100vw - 28px); }
}

@media (max-width:600px) {
  .site-header  { grid-template-columns:auto 1fr; }
  .header-right { display:none; }
  /* Show only login on very small */
}

@media (max-width:540px) {
  .stat-col        { flex-direction:column; }
  .hero-coins-grid { grid-template-columns:repeat(2,1fr); }
  .site-header     { padding:10px 12px; }
}

@media (max-width:480px) {
  .hero            { padding:16px 12px 24px; }
  .logo-text       { display:none; }
  .coins-table td:nth-child(4),.coins-table th:nth-child(4) { display:none; }
  .coin-list-section { padding:16px 12px 32px; }
  .online-counter  { display:none; }
  .modal-box       { padding:20px 16px; }
  .site-header     { grid-template-columns:auto 1fr auto; }
  .header-right    { display:flex; }
  .btn-wallet      { display:none; }
}

@media (max-width:640px) {
  .site-footer    { flex-direction:column; align-items:flex-start; gap:10px; padding:14px 16px; }
  .footer-right   { font-size:12px; flex-wrap:wrap; gap:6px; }
  .footer-divider { display:none; }
}

@media (max-width:380px) {
  .footer-nav   { gap:12px; }
  .footer-nav a { font-size:12px; }
  .search-wrap  { min-width:0; }
  .hero-coins-grid { grid-template-columns:repeat(2,1fr); }
}

/* CVT fallback bg */
img[src*="cvt.png"] { background:linear-gradient(135deg,var(--p),var(--pd)); }
/* ── Loading pulse animation ── */
@keyframes pulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.9; }
}