/* AxoGain — Hi-Fi Crypto Dark Mode */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --bg:        #0a0a0c;
  --bg-2:      #0d0d10;
  --panel:     #11131a;
  --panel-2:   #161823;
  --line:      #1f2230;
  --line-soft: #15171f;
  --text:      #f5f5fa;
  --text-2:    #a8aabb;
  --text-3:    #6a6c7c;

  /* axolotl-inspired accents */
  --pink:      #ff3d9a;
  --pink-soft: #ff7ab8;
  --cyan:      #00e5ff;
  --cyan-soft: #6ff1ff;
  --purple:    #8b5cf6;
  --green:     #39ffa1;
  --red:       #ff5c7a;
  --amber:     #ffb547;

  --gradient: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 50%, #ff3d9a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0,229,255,0.18) 0%, rgba(139,92,246,0.14) 50%, rgba(255,61,154,0.18) 100%);

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.04), 0 18px 50px -12px rgba(0,0,0,0.6);
  --shadow-pink: 0 0 0 1px rgba(255,61,154,0.4), 0 12px 40px -10px rgba(255,61,154,0.5);
  --shadow-cyan: 0 0 0 1px rgba(0,229,255,0.3), 0 12px 40px -10px rgba(0,229,255,0.4);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Global ambient gradient + watermark */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 12% -10%,  rgba(255,61,154,0.10), transparent 60%),
    radial-gradient(900px 600px at 90% 8%,    rgba(0,229,255,0.08),  transparent 60%),
    radial-gradient(700px 500px at 50% 110%,  rgba(139,92,246,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Watermark logo, very subtle, fixed */
.bg-watermark {
  position: fixed;
  right: -120px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { margin: 0; color: var(--text-2); }

a { color: inherit; text-decoration: none; }

.mono { font-family: "JetBrains Mono", monospace; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* glass card */
.glass {
  background: rgba(20, 22, 32, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-2 {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* eyebrow / labels */
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient);
  color: #0a0a0c;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(255,61,154,0.6), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(255,61,154,0.8), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: rgba(255,255,255,0.08);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--text-2);
  font-family: "JetBrains Mono", monospace;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }
.chip.active {
  background: rgba(255,61,154,0.12);
  border-color: rgba(255,61,154,0.5);
  color: var(--pink);
}
.chip-cyan.active {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.45);
  color: var(--cyan);
}

/* dot */
.dot { display:inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot-bull { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-bear { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot-neutral { background: var(--text-3); }
.dot-live { background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,255,161,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(57,255,161,0); }
}

/* nav header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,12,0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 20px -6px rgba(0,229,255,0.35), 0 0 0 1px rgba(255,255,255,0.06); }
.brand .dot-com { color: var(--pink); font-weight: 500; }
.brand-tag { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; display: block; }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: 32px;
  flex: 1;
  flex-wrap: wrap;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.main-nav a.active {
  color: var(--text);
  background: rgba(255,61,154,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,61,154,0.3);
}
/* Premium "Exclusive" nav item */
.main-nav a.nav-premium {
  gap: 6px;
  color: var(--cyan);
  background: linear-gradient(180deg, rgba(0,229,255,0.06), rgba(255,42,138,0.05));
  box-shadow: inset 0 0 0 1px rgba(0,229,255,0.22);
}
.main-nav a.nav-premium .nav-diamond { color: #00e5ff; filter: drop-shadow(0 0 4px rgba(0,229,255,0.6)); }
.main-nav a.nav-premium:hover { color: #fff; background: linear-gradient(180deg, rgba(0,229,255,0.12), rgba(255,42,138,0.1)); }
.main-nav a.nav-premium.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(0,229,255,0.14), rgba(255,42,138,0.12));
  box-shadow: inset 0 0 0 1px rgba(255,42,138,0.4);
}

/* footer */
.site-footer {
  margin-top: 80px;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,61,154,0.04));
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-2); font-size: 14px; transition: color 0.15s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* sections */
section { position: relative; z-index: 1; }
.sec-pad { padding: 96px 0; }
.sec-pad-sm { padding: 56px 0; }

/* divider */
.hr-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,61,154,0.4), transparent);
  border: 0;
  margin: 0;
}

/* icon */
.icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 40px; height: 40px; }
.icon-sm { width: 14px; height: 14px; }

.icon-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,61,154,0.18), rgba(0,229,255,0.12));
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--pink);
}

/* page title bar */
.page-hero {
  padding: 56px 0 32px;
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 16px; }

/* common grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* fade-in on view (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal 0.7s ease forwards; }
  .reveal.d1 { animation-delay: 0.08s; }
  .reveal.d2 { animation-delay: 0.16s; }
  .reveal.d3 { animation-delay: 0.24s; }
  .reveal.d4 { animation-delay: 0.32s; }
  @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
}

/* form controls */
.input, .textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.input:focus, .textarea:focus {
  border-color: rgba(255,61,154,0.6);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(255,61,154,0.08);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }

.field-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

/* checkboxes */
.check {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s;
  font-size: 13px;
  color: var(--text-2);
}
.check:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.check input { display: none; }
.check .box {
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.check input:checked ~ .box {
  background: var(--pink);
  border-color: var(--pink);
}
.check input:checked ~ .box::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 2px solid #0a0a0c;
  border-bottom: 2px solid #0a0a0c;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* axolotl hero illustration container */
.axolotl-hero {
  position: relative;
  filter: drop-shadow(0 30px 80px rgba(255,61,154,0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* live ticker strip */
.ticker-strip {
  display: flex;
  gap: 36px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  gap: 36px;
  animation: ticker 40s linear infinite;
  flex-shrink: 0;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--text-2);
}
.ticker-item .sym { color: var(--text); font-weight: 600; }
.ticker-item .up { color: var(--green); }
.ticker-item .dn { color: var(--red); }

/* news card — override on top of .glass */
.news-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,61,154,0.42);
  box-shadow: 0 26px 56px -22px rgba(255,61,154,0.35), 0 0 0 1px rgba(255,61,154,0.18);
}

/* news card glass — hover transform + animated gradient border */
.news-card-glass {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease;
}
.news-card-glass:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(255,61,154,0.45) !important;
}
.news-card-glass .news-card-img {
  transition: transform 0.6s ease;
}
.news-card-glass:hover .news-card-img {
  transform: scale(1.06);
}
.news-card-glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,61,154,0) 0%, rgba(255,61,154,0.6) 30%, rgba(0,229,255,0.6) 70%, rgba(0,229,255,0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.news-card-glass:hover .news-card-glow { opacity: 1; }

/* news search bar */
.news-search:focus-within {
  border-color: rgba(255,61,154,0.42);
  box-shadow: 0 0 0 3px rgba(255,61,154,0.10), 0 12px 32px -12px rgba(0,0,0,0.4);
}
.news-search input::placeholder { color: var(--text-3); }

/* gauge loading spinner */
@keyframes fngSpin {
  to { transform: rotate(360deg); }
}
@keyframes fngPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

/* modal animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* skeleton shimmer */
@keyframes skeletonShimmer {
  0%   { background-position: -480px 0; }
  100% { background-position: 480px 0; }
}
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 480px 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}

/* category sidebar buttons */
.cat-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  text-align: left;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cat-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.cat-btn[data-active="true"] {
  background: linear-gradient(135deg, rgba(255,61,154,0.16), rgba(0,229,255,0.10));
  color: var(--text);
  border-color: rgba(255,61,154,0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.cat-btn .icon { color: var(--text-2); }
.cat-btn[data-active="true"] .icon { color: var(--pink); }

/* news search input focus */
.news-search:focus-within {
  border-color: rgba(255,61,154,0.45);
  box-shadow: 0 0 0 4px rgba(255,61,154,0.12);
}
.news-search input::placeholder { color: var(--text-3); }

.thumb-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cBg1, #1a1f3a), var(--cBg2, #0f1226));
}
.thumb-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,61,154,0.16), transparent 50%);
}
.thumb-glyph {
  position: absolute;
  right: 14px; bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 84px;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.thumb-tag {
  position: absolute;
  left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

/* sentiment badge */
.sentiment {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
}
.sentiment-bull { background: rgba(57,255,161,0.1); color: var(--green); border: 1px solid rgba(57,255,161,0.25); }
.sentiment-bear { background: rgba(255,92,122,0.1); color: var(--red); border: 1px solid rgba(255,92,122,0.25); }
.sentiment-neutral { background: rgba(168,170,187,0.08); color: var(--text-2); border: 1px solid rgba(168,170,187,0.2); }

/* sidebar (news) */
.news-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  align-self: flex-start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.news-sidebar::-webkit-scrollbar { width: 6px; }
.news-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* News page — responsive layout (sidebar desktop-only) */
@media (max-width: 1024px) {
  .news-main-grid {
    grid-template-columns: 1fr !important;
  }
  .news-sidebar {
    display: none !important;
  }
}
.sidebar-section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sidebar-section:first-child { padding-top: 0; }
.sidebar-section:last-child { border-bottom: 0; }
.sidebar-section h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-section h5 .clear { color: var(--pink); cursor: pointer; text-transform: none; letter-spacing: 0.05em; font-size: 10px; }

/* ticker filter row */
.ticker-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.ticker-row:hover { background: rgba(255,255,255,0.03); }
.ticker-row.checked { background: rgba(255,61,154,0.07); }
.ticker-row .coin {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk"; font-weight: 700; font-size: 11px;
  color: #0a0a0c;
  flex-shrink: 0;
}
.ticker-row .name { flex: 1; min-width: 0; }
.ticker-row .name .sym { font-family: "Space Grotesk"; font-weight: 600; font-size: 13px; color: var(--text); }
.ticker-row .name .full { font-size: 11px; color: var(--text-3); }
.ticker-row .price { font-family: "JetBrains Mono", monospace; font-size: 11px; text-align: right; }
.ticker-row .price .pct.up { color: var(--green); }
.ticker-row .price .pct.dn { color: var(--red); }

/* exchange / partner cards */
.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.15s;
}
.partner-card:hover { border-color: rgba(255,61,154,0.4); transform: translateY(-2px); }

.exchange-mark {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: white;
  position: relative;
  overflow: hidden;
}
.exchange-mark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 50%);
}

/* stat */
.stat-num { font-family: "Space Grotesk"; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }

/* feature card */
.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.15s, transform 0.15s;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-3px); }

/* tools page table */
.cal-table { width: 100%; border-collapse: collapse; }
.cal-table th { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); font-weight: 500; text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cal-table td { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.cal-table tr:last-child td { border-bottom: 0; }
.cal-table tr:hover td { background: rgba(255,255,255,0.02); }

/* impact dots */
.impact-dots { display: inline-flex; gap: 3px; }
.impact-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.impact-dot.on { background: var(--amber); box-shadow: 0 0 6px var(--amber); }

/* swap widget */
.swap-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.swap-coin {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.swap-amount { font-family: "Space Grotesk"; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; background: transparent; border: 0; outline: 0; color: var(--text); width: 100%; text-align: right; }

.swap-divider {
  display: flex; justify-content: center;
  margin: -10px 0;
  position: relative; z-index: 1;
}
.swap-flip {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: transform 0.2s, color 0.2s;
}
.swap-flip:hover { transform: rotate(180deg); color: var(--pink); }

/* card render (XT card) */
.crypto-card {
  width: 100%;
  aspect-ratio: 1.586/1;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,61,154,0.5), transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(0,229,255,0.4), transparent 50%),
    linear-gradient(135deg, #1a1d2e 0%, #0a0a12 100%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
}
.crypto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,0.015) 8px 9px);
}
.crypto-card .chip-emv {
  width: 38px; height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4b87a, #8a6e3a);
  position: relative;
}
.crypto-card .chip-emv::before, .crypto-card .chip-emv::after {
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.25);
  height: 1px;
  left: 4px; right: 4px;
}
.crypto-card .chip-emv::before { top: 9px; }
.crypto-card .chip-emv::after { top: 18px; }

/* bubble chart (Tools) */
.bubble-canvas {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,229,255,0.05), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255,61,154,0.05), transparent 50%),
    var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s;
}
.bubble:hover { transform: translate(-50%, -50%) scale(1.06); }
.bubble.bull { background: radial-gradient(circle at 35% 35%, rgba(57,255,161,0.5), rgba(57,255,161,0.1)); border: 1px solid rgba(57,255,161,0.4); color: var(--green); }
.bubble.bear { background: radial-gradient(circle at 35% 35%, rgba(255,92,122,0.5), rgba(255,92,122,0.1)); border: 1px solid rgba(255,92,122,0.4); color: var(--red); }
.bubble.flat { background: radial-gradient(circle at 35% 35%, rgba(168,170,187,0.3), rgba(168,170,187,0.05)); border: 1px solid rgba(168,170,187,0.3); color: var(--text-2); }

/* campaign card */
.campaign-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.campaign-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,0.3); }
.campaign-art {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.campaign-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

/* badge live */
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(57,255,161,0.1);
  border: 1px solid rgba(57,255,161,0.3);
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* link arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 500;
  transition: gap 0.15s;
}
.arrow-link:hover { gap: 10px; }

/* avatar circle */
.avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--panel-2); border: 1px solid var(--line); font-size: 11px; font-weight: 600; }

/* 8/10/12 col helpers */
.col-span-2 { grid-column: span 2; }
.row-span-2 { grid-row: span 2; }

/* tools nav cards */
.tool-tile {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: all 0.2s;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 14px;
}
.tool-tile:hover { border-color: rgba(255,61,154,0.4); background: var(--panel-2); }

/* stagger hover ring */
.glow-ring {
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,229,255,0.4), rgba(255,61,154,0.4));
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
  z-index: -1;
}

/* responsive ish */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-card { grid-template-columns: 1fr; }
}


/* ============================================================
   Header search (autocomplete)
   ============================================================ */
.hsearch {
  position: relative;
  flex: 0 1 320px;
  min-width: 200px;
}
.hsearch-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
}
.hsearch-input.is-open,
.hsearch-input:focus-within {
  border-color: rgba(168,85,247,0.55);
  background: rgba(0,0,0,0.45);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.10), 0 0 32px -8px rgba(168,85,247,0.40);
}
.hsearch-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  padding: 4px 0;
  min-width: 0;
}
.hsearch-input input::placeholder { color: rgba(168,170,187,0.5); }
.hsearch-kbd {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-3);
}
.hsearch-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 14px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.6);
  padding: 6px;
  z-index: 50;
  max-height: 360px;
  overflow-y: auto;
}
.hsearch-section {
  padding: 10px 12px 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hsearch-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-2);
  cursor: pointer;
}
.hsearch-item.is-active,
.hsearch-item:hover {
  background: rgba(168,85,247,0.10);
  color: var(--text);
}
.hsearch-arrow {
  color: var(--text-3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  text-align: center;
}
.hsearch-item.is-active .hsearch-arrow { color: #c4b5fd; }
.hsearch-q {
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hsearch-tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.hsearch-item.is-active .hsearch-tag {
  color: #c4b5fd;
  border-color: rgba(168,85,247,0.30);
  background: rgba(168,85,247,0.06);
}

/* Tighter header on small screens */
@media (max-width: 1100px) {
  .main-nav { gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 880px) {
  .nav-row { gap: 16px; }
  .hsearch { flex: 1 1 100%; order: 99; }
}

/* Skeleton element (used on home loaders) */
.skel {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 480px 100%;
  background-position: -480px 0;
  border-radius: 6px;
  animation: skelShimmer 1.4s linear infinite;
}
@keyframes skelShimmer {
  to { background-position: 480px 0; }
}

/* Tighter side padding on phones so cards don't kiss the edge */
@media (max-width: 640px) {
  .container,
  .container-wide { padding-left: 16px; padding-right: 16px; }
}


/* ============================================================
   Tablet & mobile header / footer polish
   ============================================================ */
@media (max-width: 1100px) {
  .nav-row { flex-wrap: wrap; row-gap: 12px; padding: 12px 0; }
  .main-nav {
    order: 99;
    flex: 1 1 100%;
    margin-left: 0;
    padding: 4px 0 6px;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .hsearch { flex: 1 1 240px; min-width: 200px; }
}

@media (max-width: 700px) {
  .brand { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .brand-tag { display: none; }
}

@media (max-width: 700px) {
  .site-footer { margin-top: 56px; padding: 48px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
    padding-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 10px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .site-footer { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; }
}
