:root {
  --bg: #0A0B14;
  --card: #131827;
  --card-hover: #1A2135;
  --text: #F5F7FB;
  --muted: #8CA0B9;
  --blue: #2AABEE;
  --blue-2: #2291D9;
  --border: rgba(255,255,255,.08);
  --success: #4ade80;
  --danger: #f87171;
  --warning: #fbbf24;
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.25);
  --shadow-hover: 0 12px 30px rgba(0,0,0,0.4);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* Use landing-style fixed header (remove sticky duplicate) */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  z-index: 100;
  background: rgba(10,11,20,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
header::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg,var(--blue),var(--blue-2)); opacity:.6;
}
/* Add top padding because header is fixed */
body { padding-top: 70px; }

/* Accessibility focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile nav animation (match landing) */
#mainNav {
  transition: transform .2s var(--ease), opacity .2s var(--ease);
  transform-origin: top right;
}
@media(max-width:820px){
  #mainNav{display:none; flex-direction:column; position:absolute; top:70px; right:0; width:100%;
    background:#10131f; padding:20px 0; border-top:1px solid rgba(255,255,255,0.08);}
  #mainNav.show{display:flex; transform: scale(1); opacity: 1;}
}

/* Search bar small perf tweak */
.search-bar { will-change: transform, box-shadow; }

/* Token card hover consistency to landing (slightly lighter) */
.token-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,171,238,.4);
  box-shadow: var(--shadow-hover);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
    .nav-container{max-width:1200px;margin:0 auto;height:70px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;}
    .brand{display:flex;align-items:center;gap:10px;}
    .brand img{width:30px;height:30px;filter:drop-shadow(0 0 8px rgba(42,171,238,0.3));}
    .brand h1{font-family:"Sora",sans-serif;font-size:1.25rem;margin:0;font-weight:700;color:var(--text);}
    .brand h1 span{background:linear-gradient(90deg,var(--blue),var(--blue-2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
    .beta{font-size:0.65rem;color:#fff;background:rgba(42,171,238,0.25);padding:3px 7px;border-radius:6px;font-weight:700;letter-spacing:0.3px;}
    #mainNav{display:flex;align-items:center;gap:22px;}
    #mainNav a{font-weight:600;font-size:0.95rem;color:#d7e7f9;transition:color 0.2s var(--ease),text-shadow 0.2s var(--ease);}
    #mainNav a:hover{color:var(--blue);text-shadow:0 0 8px rgba(42,171,238,0.5);}
    #mainNav a i{margin-right:6px;color:var(--blue);opacity:0.85;transition:color .2s,transform .2s;}
    #mainNav a:hover i{color:#fff;transform:translateY(-1px);}
    .btn-primary{background:linear-gradient(90deg,var(--blue),var(--blue-2));color:#fff;padding:9px 16px;border-radius:10px;font-weight:700;box-shadow:0 3px 12px rgba(42,171,238,0.3);}
    .btn-primary:hover{transform:translateY(-2px);}
    .menu-toggle{display:none;background:none;border:none;color:var(--blue);font-size:1.7rem;cursor:pointer;}

    @media(max-width:820px){
      #mainNav{display:none;flex-direction:column;position:absolute;top:70px;right:0;width:100%;background:#10131f;padding:20px 0;border-top:1px solid rgba(255,255,255,0.08);}
      #mainNav.show{display:flex;}
      .menu-toggle{display:block;}
      #mainNav a{padding:10px 0;font-size:1.1rem;}
      .btn-primary{margin-top:8px;width:80%;text-align:center;}
    }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand img { width: 32px; height: 32px; }
.brand h1 {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.brand h1 span {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Search Section ---------- */
.search-section {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  background: linear-gradient(135deg, rgba(42,171,238,0.03) 0%, rgba(10,11,20,0.1) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-section h1 {
  font-family: Sora, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--blue) 50%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.search-section p {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
}
.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 16px 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(42,171,238,0.1), transparent);
  transition: left 0.6s ease;
}
.search-bar:focus-within::before { left: 100%; }
.search-bar:focus-within {
  background: rgba(255,255,255,0.1);
  border-color: rgba(42,171,238,0.6);
  box-shadow:
    0 12px 40px rgba(42,171,238,0.25),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.search-bar .fa-search {
  color: var(--muted);
  font-size: 1.1rem;
  margin-right: 16px;
  transition: all 0.3s ease;
}
.search-bar:focus-within .fa-search { color: var(--blue); transform: scale(1.1); }
.search-bar input {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 400;
  width: 100%;
  outline: none;
  padding-right: 60px;
  letter-spacing: 0.02em;
}
.search-bar input::placeholder { color: var(--muted); font-weight: 400; transition: all 0.3s ease; }
.search-bar:focus-within input::placeholder { color: rgba(140,160,185,0.6); }
.search-actions {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}
.token-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.open-dock-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2AABEE, #005F9E);
  box-shadow: 0 3px 10px rgba(42,171,238,0.3);
  transition: all 0.25s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.open-dock-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.open-dock-btn:hover::before {
  opacity: 1;
}

.open-dock-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 15px rgba(42,171,238,0.5);
  background: linear-gradient(135deg, #33BBFF, #007ACC);
}

.open-dock-btn i {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.open-dock-btn:hover i {
  transform: rotate(-15deg);
}


.search-loading { display: none; animation: pulse 1.5s ease-in-out infinite; }
.search-bar.loading .search-loading { display: block; }
.search-bar.loading .search-btn { display: none; }
.search-btn, .clear-btn {
  background: linear-gradient(135deg, rgba(42,171,238,0.15), rgba(42,171,238,0.05));
  border: 1px solid rgba(42,171,238,0.3);
  color: var(--blue);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}
.search-btn:hover, .clear-btn:hover {
  background: linear-gradient(135deg, rgba(42,171,238,0.25), rgba(42,171,238,0.15));
  border-color: rgba(42,171,238,0.6);
  box-shadow: 0 4px 15px rgba(42,171,238,0.3);
  transform: translateY(-1px);
}
.search-btn:active, .clear-btn:active { transform: translateY(0); }
.clear-btn { display: none; padding: 10px; }
.clear-btn i { margin: 0; }
.search-bar input:focus,
.search-bar:focus-within input,
.search-btn:focus,
.clear-btn:focus { outline: none; box-shadow: none; }
.search-btn:focus-visible,
.clear-btn:focus-visible { box-shadow: 0 0 0 3px rgba(42,171,238,0.3); }
.search-bar::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, rgba(42,171,238,0.4), rgba(42,171,238,0.1), rgba(42,171,238,0.4));
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#searchInput:focus { outline: none !important; box-shadow: none !important; }
.search-info {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
  margin-top: 8px;
}
.search-info .highlight { color: var(--blue); font-weight: 600; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05);} 100% { transform: scale(1);} }

/* ---------- Filter Controls ---------- */
.filter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 24px;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}
.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { background: rgba(42,171,238,0.1); color: var(--blue); border-color: rgba(42,171,238,0.3); }
.filter-btn.active { background: rgba(42,171,238,0.15); color: var(--blue); border-color: rgba(42,171,238,0.5); }
.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
}
.sort-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ---------- Token Grid ---------- */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

/* ---------- Token Card ---------- */
.token-card {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 40px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.5s var(--ease);
  transform-origin: bottom;
  backdrop-filter: blur(8px);
    content-visibility: auto;
  contain-intrinsic-size: 280px 220px; /* approximate minimum */
}
.token-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.7;
}
.token-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42,171,238,.4);
  box-shadow: var(--shadow-hover);
}

/* Verified token styling */
.token-card.verified {
    --vc: var(--verified-color, var(--blue));
    /* border-color: 
 color-mix(in srgb, var(--vc) 90%, transparent); */
    /* box-shadow: 0 0 0 1px 
 color-mix(in srgb, var(--vc) 50%, transparent), 0 10px 24px 
 color-mix(in srgb, var(--vc) 50%, transparent); */
    position: relative;
    /* background: var(--vc); */
    background: rgb(from #2aabee r g b / 0.2);
}
.token-card.verified::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--vc) 22%, transparent), rgba(0,0,0,0));
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: #2aabee;
  filter: drop-shadow(0 0 6px rgba(42,171,238,0.5));
  vertical-align: middle;
}
.verified-badge i {
  font-size: 1.1rem;
}

/* ---------- Token Header / Content ---------- */
.token-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.token-logo-wrap { position: relative; flex-shrink: 0; }
.token-logo-wrap img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  object-fit: cover;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease);
}
.token-card:hover .token-logo-wrap img { transform: scale(1.08) rotate(2deg); }
.token-title h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.token-title p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  font-family: monospace;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}

/* ---------- Price / Stats ---------- */
.token-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.token-price-row .price { font-family: "Sora", sans-serif; font-size: 1.4rem; font-weight: 700; }
.price-change {
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 6px 10px;
  transition: all 0.3s var(--ease);
}
.price-change.up { color: var(--success); background: rgba(74,222,128,0.12); }
.price-change.down { color: var(--danger); background: rgba(248,113,113,0.12); }
.price-change.neutral { color: var(--muted); background: rgba(140,160,185,0.12); }

.token-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.token-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.75rem;
  backdrop-filter: blur(5px);
}
.token-stat span {
  display: block;
  color: var(--text-muted, #aaa);
  font-size: 0.7rem;
  margin-top: 3px;
}

/* ---------- Chain Banner ---------- */
.chain-banner {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px 116px 16px;
  opacity: 0.85;
  width: 100px;
}
.chain-banner.solana { background: linear-gradient(135deg, rgba(153,69,255,0.6), rgba(20,241,149,0.6)); }
.chain-banner.ethereum { background: linear-gradient(135deg, rgba(98,126,234,0.6), rgba(160,168,255,0.6)); }
.chain-banner.bsc { background: linear-gradient(135deg, rgba(240,185,11,0.6), rgba(252,213,53,0.6)); color: #111; }
.chain-banner.base { background: linear-gradient(135deg, rgba(0,82,255,0.6), rgba(0,163,255,0.6)); }
.chain-banner.sui { background: linear-gradient(135deg, #6fbcf0, #1b9ce2); }
.chain-banner.avalanche { background: linear-gradient(135deg, #e84142, #ba1b1d); }
.chain-banner.optimism { background: linear-gradient(135deg, #ff0420, #b80010); }
.chain-banner.polygon { background: linear-gradient(135deg, #8247e5, #a17eff); }
.chain-banner.arbitrum { background: linear-gradient(135deg, #28a0f0, #1a62cc); }
.chain-banner.tron { background: linear-gradient(135deg, #ff2d55, #cc0b2b); }
.chain-banner.aptos { background: linear-gradient(135deg, #000000, #434343); }
.chain-banner.ton { background: linear-gradient(135deg, #0098ea, #00c4ff); }
.chain-banner.default {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  color: var(--muted);
}

/* ---------- Copy / Interactions ---------- */
.token-address {
  position: relative;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 4px;
}
#mainNav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #d7e7f9;
    transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}
.copy-icon { margin-left: 6px; opacity: 0.7; transition: opacity 0.2s ease; }
.token-address:hover .copy-icon { opacity: 1; color: var(--blue); }
.token-address.copied {
  color: var(--success);
  text-shadow: 0 0 8px rgba(74,222,128,0.4);
  position: relative;
}
.token-address.copied::after {
  content: "Copied!";
  position: absolute;
  right: -70px;
  top: 0;
  background: rgba(42,171,238,0.9);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: fadeCopied 1.2s ease-in-out forwards;
}
@keyframes fadeCopied {
  0% { opacity: 0; transform: translateX(5px); }
  20% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(5px); }
}

/* --- Empty State / Messages --- */
.no-results,
.loading,
.error {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 1.05rem;
  grid-column: 1 / -1;
}
.error { color: var(--danger); }

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes loading { 0% { background-position: 200% 0;} 100% { background-position: -200% 0;} }
.skeleton-logo { width: 52px; height: 52px; border-radius: 14px; }
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text.short { width: 70%; }
.skeleton-text.medium { width: 50%; }

/* ---------- Footer ---------- */
footer {
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 40px 20px;
  font-size: 0.9rem;
}
footer strong { color: var(--blue); }

/* ---------- Mini Dock (kept for consistency) ---------- */
.mini-dock {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  animation: fadeInUp 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mini-dock:hover { transform: translateY(-5px); border-color: rgba(42,171,238,0.4); box-shadow: var(--shadow-hover); }
.dock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; position: relative; }
.dock-logo {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  object-fit: cover;
}
.dock-title { flex-grow: 1; margin-left: 12px; }
.dock-title h3 { font-family: "Sora", sans-serif; font-size: 1.05rem; font-weight: 700; }
.dock-title .token-address {
  font-size: 0.75rem; color: var(--muted); margin-top: 3px;
  font-family: monospace; background: rgba(255,255,255,0.03);
  padding: 3px 6px; border-radius: 6px; cursor: pointer;
}
.chain-tag {
  position: absolute; top: -6px; right: -6px;
  font-size: 0.65rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  padding: 4px 8px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-transform: uppercase;
}
.dock-body { padding-top: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.price-row .price { font-family: "Sora", sans-serif; font-size: 1.25rem; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stat-grid div {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px;
}
.stat-grid label {
  display: block; font-size: 0.65rem; color: var(--muted);
  text-transform: uppercase; margin-bottom: 3px;
}
.stat-grid strong { font-size: 0.85rem; font-weight: 600; }
.open-mini-dock {
  margin-top: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(42,171,238,0.1), rgba(42,171,238,0.05));
  color: var(--blue);
  border: 1px solid rgba(42,171,238,0.3);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ease);
}
.open-mini-dock:hover {
  background: linear-gradient(135deg, rgba(42,171,238,0.15), rgba(42,171,238,0.1));
  border-color: rgba(42,171,238,0.5);
  box-shadow: 0 3px 10px rgba(42,171,238,0.25);
  transform: translateY(-2px);
}
/* Avoid expensive backdrop-filter unless supported */
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .search-bar,
  .token-card {
    backdrop-filter: none;
  }
}
/* Prevent layout shift: define image box */
.token-logo-wrap img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Optional: slightly lighter hover to reduce GPU overdraw */
.token-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow); /* keep existing, less aggressive than hover-shadow */
}
/* ---------- Animations ---------- */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .search-section { padding: 40px 16px 30px; }
  .search-bar { padding: 14px 20px; border-radius: 16px; }
  .search-bar input { font-size: 1rem; padding-right: 50px; }
  .search-actions { right: 16px; }
  .search-btn, .clear-btn { min-height: 40px; padding: 8px 12px; font-size: 0.85rem; }
  .search-btn .btn-text { display: none; }
  .search-btn { padding: 8px; min-width: 40px; }

  .token-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .filter-controls { flex-direction: column; align-items: stretch; }
  .sort-controls { margin-left: 0; margin-top: 10px; justify-content: center; }
}
@media (max-width: 480px) {
  .search-section h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .search-section p { font-size: 1rem; margin-bottom: 30px; }
  .search-bar { padding: 12px 16px; }
  .chain-banner { height: 24px; font-size: 0.7rem; }
  .nav-container { padding: 0 16px; }
  .token-grid { padding: 0 16px; }
}

/* ---------- Accessibility ---------- */
.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;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
/* Accessibility focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Smooth fade for hero cards on hover, keep light */
.card:hover, .feature-card:hover, .tier-card:hover, .roadmap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,171,238,.3);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}

/* Tier badge positioning fix */
.tier-card { position: relative; }
.tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(42,171,238,0.15);
  border: 1px solid rgba(42,171,238,0.25);
  color: #bce7ff;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ensure only one .dot style block exists; keep this one */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(42,171,238,0.6);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

/* Focus state polish for nav */
#mainNav a:focus-visible {
  color: #EAF8FF;
  text-shadow: 0 0 8px rgba(42,171,238,0.7);
}

/* Mobile nav animation (cheap) */
#mainNav {
  transition: transform .2s var(--ease), opacity .2s var(--ease);
  transform-origin: top right;
}
@media (max-width:820px){
  #mainNav { transform: scale(0.98); opacity: 0; }
  #mainNav.show { transform: scale(1); opacity: 1; }
}

/* Minor perf hint on hoverable blocks */
.feature-card, .tier-card, .dock { will-change: transform; }
/* Match landing page background + fade-in */
body {
  background: radial-gradient(700px 500px at 15% 0%, rgba(42,171,238,.1), transparent),
              radial-gradient(700px 500px at 90% 10%, rgba(34,145,217,.1), transparent),
              var(--bg);
  font-family: Inter, system-ui;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  /* remove body padding-top; use hero padding like landing */
  padding-top: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
body.loaded { opacity: 1; }

/* Header identical to landing */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  z-index: 100;
  background: rgba(10,11,20,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
header::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg,var(--blue),var(--blue-2)); opacity:.6;
}
.nav-container{max-width:1200px;margin:0 auto;height:70px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;}
.brand{display:flex;align-items:center;gap:10px;}
.brand img{width:30px;height:30px;filter:drop-shadow(0 0 8px rgba(42,171,238,0.3));}
.brand h1{font-family:"Sora",sans-serif;font-size:1.25rem;margin:0;font-weight:700;color:var(--text);}
.brand h1 span{background:linear-gradient(90deg,var(--blue),var(--blue-2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.beta{font-size:0.65rem;color:#fff;background:rgba(42,171,238,0.25);padding:3px 7px;border-radius:6px;font-weight:700;letter-spacing:0.3px;}
#mainNav{display:flex;align-items:center;gap:22px;}
#mainNav a{font-weight:600;font-size:0.95rem;color:#d7e7f9;transition:color 0.2s var(--ease),text-shadow 0.2s var(--ease);}
#mainNav a:hover{color:var(--blue);text-shadow:0 0 8px rgba(42,171,238,0.5);}
#mainNav a i{margin-right:6px;color:var(--blue);opacity:0.85;transition:color .2s,transform .2s;}
#mainNav a:hover i{color:#fff;transform:translateY(-1px);}
.btn-primary{background:linear-gradient(90deg,var(--blue),var(--blue-2));color:#fff;padding:9px 16px;border-radius:10px;font-weight:700;box-shadow:0 3px 12px rgba(42,171,238,0.3);}
.btn-primary:hover{transform:translateY(-2px);}
.menu-toggle{display:none;background:none;border:none;color:var(--blue);font-size:1.7rem;cursor:pointer;}

@media(max-width:820px){
  #mainNav{display:none;flex-direction:column;position:absolute;top:70px;right:0;width:100%;background:#10131f;padding:20px 0;border-top:1px solid rgba(255,255,255,0.08);}
  #mainNav.show{display:flex;}
  .menu-toggle{display:block;}
  #mainNav a{padding:10px 0;font-size:1.1rem;}
  .btn-primary{margin-top:8px;width:80%;text-align:center;}
}

/* Make Explore hero match landing hero */
.search-section {
  text-align: center;
  padding: 120px 0 40px; /* same as .hero on landing */
  background: transparent; /* remove gradient background to match */
  border-bottom: 0; /* remove border for seamless feel */
}
.search-section h1 {
  font-family: Sora, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); /* match landing */
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
  -webkit-text-fill-color: unset; /* ensure no gradient text */
  background: none; /* ensure plain text like landing */
}
.search-section p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 24px;
}

/* Keep existing search bar and controls styling; no changes needed */

/* Mobile nav animation and a11y polish (consistent with landing tweaks) */
#mainNav { transition: transform .2s var(--ease), opacity .2s var(--ease); transform-origin: top right; }
#mainNav a:focus-visible { color: #EAF8FF; text-shadow: 0 0 8px rgba(42,171,238,0.7); }
@media (max-width:820px){
  #mainNav { transform: scale(0.98); opacity: 0; }
  #mainNav.show { transform: scale(1); opacity: 1; }
}

/* Focus outlines (as on landing) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
    /* Features, Tiers, Roadmap cards simplified */
    .section{padding:40px 0;text-align:center;}
    .grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:30px;}
    .card,.feature-card,.tier-card,.roadmap-card{
      background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
      border:1px solid var(--border);border-radius:16px;padding:24px 20px;box-shadow:0 4px 14px rgba(0,0,0,.2);
      transition:transform 0.25s var(--ease),box-shadow 0.25s var(--ease);text-align:left;
    }
    .card:hover,.feature-card:hover,.tier-card:hover,.roadmap-card:hover{transform:translateY(-4px);border-color:rgba(42,171,238,.3);box-shadow:0 8px 20px rgba(0,0,0,.3);}
    h3{font-family:"Sora";font-weight:700;}
    .feature-icon{margin-bottom:10px;font-size:1.3rem;color:var(--blue);}
    .switcher{margin:50px auto 10px;display:flex;max-width:600px;gap:6px;padding:4px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--border);}
    .switcher button{flex:1;background:transparent;border:0;padding:10px;border-radius:8px;color:var(--muted);font-weight:700;cursor:pointer;}
    .switcher button.active{background:rgba(42,171,238,.15);color:#EAF8FF;}
    .panes{max-width:900px;margin:0 auto;padding:10px;}
    .pane{display:none;}
    .pane.active{display:block;}

    /* Footer + Disclaimer */
    footer{border-top:1px solid var(--border);padding:28px 0 40px;margin-top:40px;text-align:center;color:var(--muted);font-size:0.9rem;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent);}
    .footer-links{display:flex;justify-content:center;gap:20px;font-size:20px;}
    .footer-links a{color:var(--muted);transition:color 0.2s;}
    .footer-links a:hover{color:var(--blue);}
    .disclaimer{font-size:0.8rem;color:var(--muted);text-align:center;margin:40px auto 0;max-width:800px;padding:12px 16px;opacity:0.8;line-height:1.5;}
    .disclaimer strong{color:var(--blue);}
    .tier-badge {
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(42,171,238,0.15);
  border: 1px solid rgba(42,171,238,0.25);
  color: #bce7ff;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  
}
body {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
body.loaded {
  opacity: 1;
}

.tier-list.clean-style {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.tier-list.clean-style li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tier-list.clean-style li:last-child {
  border-bottom: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(42,171,238,0.6);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.tier-list.clean-style li:hover {
  color: #EAF8FF;
  transform: translateX(4px);
}

.tier-list.clean-style li:hover .dot {
  transform: scale(1.3);
  background: var(--blue-2);
  box-shadow: 0 0 10px rgba(34,145,217,0.8);
}
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,171,238,.3);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.feature-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* shared glowing dot from tier cards */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(42,171,238,0.6);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.feature-card:hover .dot {
  transform: scale(1.3);
  background: var(--blue-2);
  box-shadow: 0 0 10px rgba(34,145,217,0.8);
}
.section h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.dock-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.dock {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.25s var(--ease);
  text-align: left;
}

.dock:hover {
  transform: translateY(-3px);
  border-color: rgba(42,171,238,.3);
  box-shadow: 0 0 15px rgba(42,171,238,0.15);
}

.dock img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.dock strong {
  color: var(--text);
  font-weight: 600;
  display: block;
}

.dock small {
  color: var(--muted);
  font-size: 0.85rem;
}
.dock-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.dock-links a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(42,171,238,0.2);
  color: var(--blue);
  background: rgba(42,171,238,0.05);
  transition: all 0.2s var(--ease);
}

.dock-links a:hover {
  background: rgba(42,171,238,0.15);
  color: #eaf8ff;
  border-color: rgba(42,171,238,0.4);
}

.dock-links a.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.dock-links a:hover {
  box-shadow: 0 0 10px rgba(42,171,238,0.4);
}
.btn-primary:hover, .btn-ghost:hover {
  box-shadow: 0 0 12px rgba(42,171,238,0.35);
}
@media(max-width:500px){
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
}

/* ---- Featured Docks spacing tweaks (Explore overrides) ---- */
#docks.section { margin: 20px auto 40px; }
#docks .wrap { max-width: 980px; margin: 0 auto; }
#docks .dock-row {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
}
#docks .dock { padding: 12px; }
#docks .dock img { width: 44px; height: 44px; }