:root {
  --bg: #07070d;
  --bg-raised: #0e0e18;
  --bg-panel: #12121f;
  --bg-glass: rgba(18, 18, 31, 0.72);
  --text: #e8eaef;
  --text-dim: #8b93a7;
  --text-muted: #5c6478;
  --border: rgba(139, 92, 246, 0.18);
  --border-bright: rgba(6, 182, 212, 0.35);
  --purple: #8b5cf6;
  --purple-dim: #6d28d9;
  --cyan: #06b6d4;
  --cyan-dim: #0891b2;
  --orange: #f7931a;
  --green: #22c55e;
  --red: #ef4444;
  --glow-purple: rgba(139, 92, 246, 0.45);
  --glow-cyan: rgba(6, 182, 212, 0.35);
  --font-display: "Syne", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "IBM Plex Mono", ui-monospace, monospace;
  --container: min(1180px, calc(100% - 32px));
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--purple); }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.bg-glow-a { width: 500px; height: 500px; top: -120px; left: -80px; background: var(--glow-purple); opacity: 0.35; }
.bg-glow-b { width: 400px; height: 400px; top: 40%; right: -100px; background: var(--glow-cyan); opacity: 0.2; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  padding: 10px 16px; background: var(--purple); color: #fff;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: var(--container); margin: 0 auto; position: relative; z-index: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }

.brand-glyph {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  color: #0a0a0f;
  font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 0 24px rgba(247, 147, 26, 0.4);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.site-nav a {
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* App Store download badge (image-based, fixed size) */
.app-store-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: none;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.app-store-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.app-store-link img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}
.app-store-link--sm img { width: 108px; height: 33px; }
.app-store-link--md img { width: 140px; height: 42px; }
.app-store-link--block {
  width: 100%;
  justify-content: center;
}
.site-nav .app-store-link {
  margin-left: 6px;
  padding: 0 !important;
  border-radius: 0;
  font-size: inherit;
}
.site-nav .app-store-link:hover {
  background: transparent !important;
  color: inherit;
}

.ticker-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.35);
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 75s linear infinite;
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-transform: none;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.ticker-item .ticker-sym {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ticker-item .ticker-price {
  color: var(--cyan);
  font-weight: 600;
}
.ticker-item .ticker-chg {
  font-weight: 600;
  font-size: 0.72rem;
}
.ticker-item .ticker-chg.up { color: var(--green); }
.ticker-item .ticker-chg.down { color: var(--red); }
.ticker-loading {
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero */
.hero-block {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 24px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-glow {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple));
  box-shadow: 0 8px 32px var(--glow-purple);
}
.btn-glow:hover { color: #fff; filter: brightness(1.08); }

.btn-outline {
  color: var(--text);
  border-color: var(--border-bright);
  background: transparent;
}
.btn-outline:hover { color: var(--cyan); border-color: var(--cyan); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

.hero-stats {
  display: flex; gap: 24px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Terminal visual */
.hero-terminal {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.terminal-bar span:nth-child(1) { background: #ef4444; }
.terminal-bar span:nth-child(2) { background: #eab308; }
.terminal-bar span:nth-child(3) { background: #22c55e; }
.terminal-bar code {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  font-size: 0.78rem;
  line-height: 1.8;
}
.terminal-body p { margin: 0; }
.t-dim { color: var(--text-muted); }
.t-ok { color: var(--green); }
.t-warn { color: var(--orange); }
.t-accent { color: var(--cyan); }

.terminal-chart {
  display: flex; align-items: end; gap: 8px;
  height: 80px; margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.terminal-chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--c), transparent);
  opacity: 0.85;
}

/* Market dashboard */
.market-dashboard { padding: 40px 0 16px; }

.dashboard-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dashboard-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.coin-grid--sidebar {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.coin-card--compact .coin-card-top {
  margin-bottom: 6px;
  gap: 6px;
}
.coin-card--compact .coin-card-top .coin-symbol {
  font-size: 0.78rem;
}
.coin-card--compact {
  padding: 10px;
}
.coin-card--compact .coin-price {
  font-size: 0.82rem;
}
.coin-card--compact .coin-change {
  font-size: 0.66rem;
  margin-top: 2px;
}

.sidebar-quotes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.sidebar-quotes-head .sidebar-title {
  margin: 0;
}
.live-badge-sm {
  font-size: 0.58rem;
  padding: 3px 8px;
}

.coin-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.coin-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.coin-card-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.coin-icon { border-radius: 50%; }
.coin-symbol {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}
.coin-name {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.coin-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--coin-color, var(--text));
}
.coin-change {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}
.coin-change.up { color: var(--green); }
.coin-change.down { color: var(--red); }

/* Content blocks */
.content-block { padding: 24px 0 64px; }

.section-bar {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.section-bar-spaced { margin-top: 48px; }
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.section-desc {
  margin: 6px 0 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.chip-live { background: rgba(6, 182, 212, 0.12); color: var(--cyan); border-color: rgba(6, 182, 212, 0.3); }
.chip-ai { background: rgba(245, 158, 11, 0.12); color: var(--orange); border-color: rgba(245, 158, 11, 0.28); }
.chip-snapshot { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); border-color: rgba(148, 163, 184, 0.22); }

.featured-article {
  position: relative;
  margin-bottom: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  overflow: hidden;
}
.featured-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(139,92,246,0.2), transparent 55%),
              radial-gradient(ellipse at 80% 100%, rgba(6,182,212,0.12), transparent 50%);
  pointer-events: none;
}
.featured-inner { position: relative; padding: 28px 32px; }
.featured-heading {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.2;
}
.featured-heading a { color: var(--text); }
.featured-heading a:hover { color: var(--cyan); }
.featured-excerpt { margin: 0 0 20px; color: var(--text-dim); max-width: 720px; }
.featured-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: 0.82rem; color: var(--text-muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  list-style: none; margin: 0; padding: 0;
}

.article-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  min-height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.article-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-size: 0.75rem; color: var(--text-muted);
}
.article-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.35;
}
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--cyan); }
.article-card p {
  margin: 0;
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
}
.article-card-cta {
  border-style: dashed;
  background: linear-gradient(135deg, rgba(139,92,246,0.06), transparent);
}

.pager {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin-top: 32px;
}
.pager-btn, .pager-info {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}
.pager-btn { color: var(--text); background: var(--bg-raised); }
.pager-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.link-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.link-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text);
  transition: border-color 0.2s;
}
.link-tile:hover { border-color: var(--purple); color: var(--text); }
.link-tile strong { font-family: var(--font-display); }
.link-tile span { font-size: 0.82rem; color: var(--text-dim); }

/* Page & post */
.page-shell, .post-shell { padding: 32px 0 64px; }
.page-head { margin-bottom: 28px; }
.page-head h1, .post-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.page-lead { margin: 0; color: var(--text-dim); max-width: 640px; }

.about-block {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}
.about-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
}
.about-block p, .about-block li { color: var(--text-dim); margin: 0 0 10px; }

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.2);
}
.faq-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 14px 12px; margin: 0; }

.app-redirect-page {
  box-sizing: border-box;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 56px auto;
  padding: 32px 36px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}
.app-redirect-title {
  margin: 0 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}
.app-redirect-lead { color: var(--text-dim); margin: 0; }
.app-redirect-fallback { margin-top: 20px; font-size: 0.85rem; }
.app-redirect-fallback a { color: var(--cyan); font-weight: 600; }
.app-redirect-spinner {
  width: 28px; height: 28px; margin: 0 auto 16px;
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: app-spin 0.8s linear infinite;
}
@keyframes app-spin { to { transform: rotate(360deg); } }

.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 20px; padding: 0;
  font-size: 0.78rem; color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; opacity: 0.5; }
.breadcrumbs a { color: var(--text-muted); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.post-body {
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}

.post-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted);
}

.prose { padding-top: 20px; }
.prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
}
.prose h3 { margin: 1.5rem 0 0.5rem; font-size: 1rem; color: var(--text); }
.prose p, .prose li { color: var(--text-dim); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.prose strong { color: var(--text); }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-nav a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
}
.post-nav a:hover { border-color: var(--cyan); }
.post-nav-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.post-nav-title { font-size: 0.82rem; font-weight: 600; }
.post-nav-next { text-align: right; }

.post-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }

.sidebar-panel {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}
.sidebar-app {
  background: linear-gradient(160deg, rgba(139,92,246,0.15), rgba(6,182,212,0.08));
  border-color: rgba(139, 92, 246, 0.3);
}
.app-badge {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  font-size: 1.2rem; font-weight: 800;
  margin-bottom: 12px;
}
.sidebar-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.sidebar-desc { margin: 0 0 14px; font-size: 0.78rem; color: var(--text-dim); line-height: 1.55; }
.sidebar-alt { display: block; margin-top: 10px; font-size: 0.75rem; text-align: center; }

.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.price-list div {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.78rem;
}
.price-list dt { color: var(--text-muted); margin: 0; }
.price-list dd { margin: 0; font-weight: 600; color: var(--text); }

.archive-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.archive-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.archive-row:last-child { border-bottom: 0; }
.archive-row a { color: var(--text); font-weight: 600; font-size: 0.88rem; }
.archive-row a:hover { color: var(--cyan); }
.archive-row time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

.app-hero {
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(139,92,246,0.1), transparent);
}
.app-icon-large {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  font-size: 2rem; font-weight: 800;
  box-shadow: 0 12px 40px rgba(247,147,26,0.35);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  background: rgba(0,0,0,0.35);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer-copy { margin: 0; font-size: 0.75rem; color: var(--text-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a { font-size: 0.75rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--cyan); }

@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .coin-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .coin-card { padding: 12px; }
  .coin-price { font-size: 0.92rem; }
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .link-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { width: 100%; }
  .coin-grid { grid-template-columns: 1fr; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .pulse-dot, .live-dot { animation: none; }
}
