/* ==========================================================================
   SPECTER — Swiss Editorial Redesign
   Inspired by RobinLink UI: Cream · Charcoal · Lime · Neo-Brutalist Grid
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-h:    'Instrument Serif', serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Palette */
  --cream:      #F1EDE6;
  --cream-2:    #EAE6DF;
  --cream-3:    #E2DDD6;
  --ink:        #0A0C0B;
  --ink-80:     rgba(10, 12, 11, 0.8);
  --ink-50:     rgba(10, 12, 11, 0.5);
  --ink-20:     rgba(10, 12, 11, 0.2);
  --ink-10:     rgba(10, 12, 11, 0.1);
  --ink-06:     rgba(10, 12, 11, 0.06);
  --lime:       #C8FF44;
  --lime-dark:  #9ADB00;
  --lime-soft:  rgba(200, 255, 68, 0.15);
  --white:      #FFFFFF;
  --red:        #E84545;
  --green:      #1DB954;
  --amber:      #F59E0B;

  /* Sizing */
  --nav-h: 64px;
  --t: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Hide canvas — not needed for this style */
#ghostCanvas { display: none; }
.bg-vignette { display: none; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.hidden   { display: none !important; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.text-lime { color: var(--lime-dark); }
.pos { color: var(--green); }
.neg { color: var(--red); }

/* Thin rule dividers */
.rule { width: 100%; height: 1px; background: var(--ink-10); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--cream);
  border-bottom: 1px solid var(--ink-10);
  height: var(--nav-h);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { width: 28px; height: 28px; border-radius: 4px; object-fit: contain; }
.wordmark-top {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
  display: block;
}
.wordmark-bot { display: none; }

/* Oracle pill — system status */
.nav-oracle-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--ink-20);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink);
  letter-spacing: 0.5px;
  background: var(--white);
}
.oracle-eye { display: none; }
.oracle-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Nav links */
.nav-links { display: flex; gap: 0; flex: 1; justify-content: center; }
.nav-tab {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: var(--ink-50);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--t);
  text-transform: uppercase;
}
.nav-tab:hover { color: var(--ink); }
.nav-tab.active { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--t);
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink-20);
  color: var(--ink-80);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-violet {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-violet:hover { background: #1a1a1a; }
.btn-violet-solid {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.88rem;
}
.btn-violet-solid:hover { background: #222; }
.btn-ghost-violet {
  background: transparent;
  border-color: var(--ink-20);
  color: var(--ink);
}
.btn-ghost-violet:hover { border-color: var(--ink); }
.btn-wallet {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-size: 0.82rem;
}
.btn-wallet:hover { background: #222; }
.btn-wallet.is-connected {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime-dark);
}
.btn-wallet.is-connected:hover { background: var(--lime-dark); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 1px; }

/* ==========================================================================
   HERO — Swiss Editorial
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--ink-10);
  padding-top: var(--nav-h);
}
.hero-inner {
  display: contents;
}

/* Left column */
.hero-left {
  padding: 72px 48px 72px 40px;
  border-right: 1px solid var(--ink-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--ink-50);
  text-transform: uppercase;
  margin-bottom: 40px;
  background: none;
  border: none;
  padding: 0;
}
.badge-dot {
  width: 20px;
  height: 20px;
  border: 1px solid var(--ink-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-whisper {
  font-style: italic;
  color: var(--ink-50);
  display: block;
}
.hero-gradient {
  color: var(--ink);
  display: block;
  -webkit-text-fill-color: unset;
  background: none;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--ink-50);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 12px; margin-bottom: 56px; }

/* Stat badges below CTA */
.hero-stats-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--ink-10);
  padding-top: 28px;
}
.hero-stat { flex: 1; padding-right: 24px; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid var(--ink-10); }
.hero-stat-div { display: none; }
.hero-stat-val {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.hero-stat-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: var(--ink-50);
  text-transform: uppercase;
}

/* Right column — Gauge */
.hero-right {
  padding: 72px 40px 72px 48px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 4px 4px 0 var(--ink-10);
  position: relative;
  overflow: visible;
}
.gauge-card::before { display: none; }

.gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink-10);
}
.gauge-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--ink-50);
  text-transform: uppercase;
}
.gauge-updated {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
}

.gauge-wrap { position: relative; }
.gauge-svg { width: 100%; display: block; }
/* Override gauge arc colors to work on light bg */
.gauge-seg.seg-fear    { stroke: var(--red); }
.gauge-seg.seg-neutral { stroke: var(--amber); }
.gauge-seg.seg-greed   { stroke: var(--green); }

.gauge-score-wrap {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.gauge-score {
  font-family: var(--font-h);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.gauge-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--ink);
  margin-top: 4px;
}

.gauge-bands {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 20px;
}
.band {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--ink-50);
  text-transform: uppercase;
}
.band.fear    { color: var(--red); }
.band.neutral { color: var(--amber); }
.band.greed   { color: var(--green); }

.gauge-sub-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--ink-10);
  padding-top: 18px;
  margin-bottom: 20px;
}
.gauge-sub { flex: 1; text-align: center; border-right: 1px solid var(--ink-10); }
.gauge-sub:last-child { border-right: none; }
.gsub-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--ink-50);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.gsub-val {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.prophecy-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--lime-soft);
  border: 1px solid rgba(200, 255, 68, 0.5);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
}
.pp-eye { display: none; }

/* ==========================================================================
   STATS BAR (like RobinLink's metrics row)
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.stats-bar-item {
  padding: 28px 40px;
  border-right: 1px solid var(--ink-10);
}
.stats-bar-item:last-child {
  background: var(--lime);
  border-right: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sb-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--ink-50);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.sb-value {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
}
.sb-lime-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; }
.oracle-section { background: none; }

.section-header { margin-bottom: 56px; }

/* Section tag — editorial number style */
.section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--ink-50);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before {
  content: attr(data-num);
  width: 24px;
  height: 24px;
  border: 1px solid var(--ink-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0;
}
.section-sub {
  font-size: 0.92rem;
  color: var(--ink-50);
  line-height: 1.7;
  max-width: 500px;
  margin-top: 16px;
}

/* Padding inside container */
.section > .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ==========================================================================
   SIGNAL GRID — 4-col with borders
   ========================================================================== */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink-10);
}
.sig-card {
  padding: 28px;
  border-right: 1px solid var(--ink-10);
  background: var(--white);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.sig-card:last-child { border-right: none; }
.sig-card::after { display: none; }
.sig-card:hover { background: var(--cream); }

.sig-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 24px;
  flex-direction: column;
}
.sig-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sig-icon-violet { background: var(--cream-2); color: var(--ink); border: 1px solid var(--ink-10); }
.sig-icon-pink   { background: var(--cream-2); color: var(--ink); border: 1px solid var(--ink-10); }
.sig-icon-blue   { background: var(--cream-2); color: var(--ink); border: 1px solid var(--ink-10); }
.sig-icon-amber  { background: var(--cream-2); color: var(--ink); border: 1px solid var(--ink-10); }

.sig-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.sig-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
  letter-spacing: 0.5px;
}

.sig-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}
.sig-badge.bullish { background: rgba(29,185,84,0.08); color: var(--green); border-color: rgba(29,185,84,0.3); }
.sig-badge.bearish { background: rgba(232,69,69,0.08);  color: var(--red);   border-color: rgba(232,69,69,0.3); }
.sig-badge.neutral { background: rgba(245,158,11,0.08); color: var(--amber); border-color: rgba(245,158,11,0.3); }

.sig-score-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 18px;
  flex-direction: column;
  align-items: flex-start;
}
.sig-score {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.sig-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--ink-10);
  border-radius: 2px;
  overflow: hidden;
}
.sig-bar { height: 100%; background: var(--ink); border-radius: 2px; transition: width 1s ease; }

.sig-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--ink-10);
  padding-top: 16px;
  margin-top: 8px;
}
.sig-met { display: flex; justify-content: space-between; align-items: center; }
.sml {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.smv {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   ORACLE CHAMBER
   ========================================================================== */
.oracle-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--ink-10);
}

.oracle-main-card {
  padding: 40px;
  background: var(--white);
  border-right: 1px solid var(--ink-10);
  box-shadow: none;
}
.oracle-main-card::before { display: none; }

.oracle-eye-wrap {
  display: none;
}

.oracle-week {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--ink-50);
  margin-bottom: 20px;
  text-align: left;
  text-transform: uppercase;
}
.oracle-prophecy-text {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--ink);
  padding-left: 20px;
  margin-bottom: 32px;
}
.oracle-confidence {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.oc-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
  flex-shrink: 0;
}
.oc-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--ink-10);
  border-radius: 2px;
  overflow: hidden;
}
.oc-bar {
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.oc-val {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
}

.oracle-verdict-row {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--ink-10);
  padding-top: 28px;
}
.oracle-verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 4px;
  border: 1px solid;
  flex-shrink: 0;
  min-width: 110px;
}
.bullish-verdict {
  background: rgba(29,185,84,0.06);
  border-color: rgba(29,185,84,0.25);
}
.bearish-verdict {
  background: rgba(232,69,69,0.06);
  border-color: rgba(232,69,69,0.25);
}
.verd-icon { font-size: 1.4rem; }
.verd-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  text-transform: uppercase;
}
.verd-sub {
  font-size: 0.65rem;
  color: var(--ink-50);
  font-family: var(--font-mono);
}
.oracle-targets { flex: 1; }
.ot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-10);
}
.ot-row:last-child { border-bottom: none; }
.ot-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-50);
}
.ot-val {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* Timeline card */
.oracle-timeline-card {
  padding: 40px;
  background: var(--cream-2);
  border-radius: 0;
}
.otl-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 24px;
}
.otl-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 80px;
  margin-bottom: 8px;
}
.otl-bar {
  flex: 1;
  background: var(--ink-10);
  border-radius: 1px 1px 0 0;
  transition: var(--t);
  min-height: 4px;
}
.otl-bar:hover { background: var(--ink); }
.otl-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--ink-50);
  margin-bottom: 28px;
}
.otl-breakdown { display: flex; flex-direction: column; gap: 12px; }
.otl-bd-row { display: flex; align-items: center; gap: 10px; }
.otl-bd-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.otl-bd-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
  width: 50px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.otl-bd-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--ink-10);
  border-radius: 2px;
  overflow: hidden;
}
.otl-bd-bar { height: 100%; border-radius: 2px; }
.otl-bd-val {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* ==========================================================================
   SIGNAL FEED
   ========================================================================== */
.feed-layout { display: flex; flex-direction: column; gap: 20px; }
.feed-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.feed-filter {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--ink-20);
  background: transparent;
  color: var(--ink-50);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--t);
}
.feed-filter:hover { border-color: var(--ink); color: var(--ink); }
.feed-filter.active { border-color: var(--ink); color: var(--ink); background: var(--white); }

.feed-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--ink-10); }
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  transition: var(--t);
  animation: feedSlide 0.3s ease;
}
.feed-item:last-child { border-bottom: none; }
@keyframes feedSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-item:hover { background: var(--cream); }
.feed-icon { font-size: 1rem; flex-shrink: 0; margin-top: 3px; }
.feed-body { flex: 1; }
.feed-msg {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 6px;
  font-weight: 500;
}
.feed-meta { display: flex; gap: 12px; align-items: center; }
.feed-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feed-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
}
.feed-impact {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
  align-self: center;
  border: 1px solid;
}
.fi-bull { background: rgba(29,185,84,0.06); color: var(--green); border-color: rgba(29,185,84,0.3); }
.fi-bear { background: rgba(232,69,69,0.06); color: var(--red);   border-color: rgba(232,69,69,0.3); }
.fi-neut { background: rgba(245,158,11,0.06); color: var(--amber); border-color: rgba(245,158,11,0.3); }

/* ==========================================================================
   PROPHECY WALL
   ========================================================================== */
.prophecy-wall-section { background: none; }
.pw-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink-10);
  margin-bottom: 48px;
}
.pw-stat {
  padding: 28px 32px;
  border-right: 1px solid var(--ink-10);
  background: var(--white);
  text-align: left;
  transition: var(--t);
}
.pw-stat:last-child { border-right: none; }
.pw-stat:hover { background: var(--cream); }
.pw-stat-val {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 6px;
  display: block;
  letter-spacing: -1px;
  color: var(--ink);
}
.pw-stat-val.text-violet { color: var(--ink); }
.pw-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
}

.pw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink-10);
}
.pw-card {
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  transition: var(--t);
}
.pw-card:hover { background: var(--cream); }
.pw-card:nth-child(3n) { border-right: none; }
.pw-card:nth-last-child(-n+3) { border-bottom: none; }

.pw-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pw-card-week {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-50);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pw-card-result {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}
.pw-hit  { background: rgba(29,185,84,0.08); color: var(--green); border-color: rgba(29,185,84,0.3); }
.pw-miss { background: rgba(232,69,69,0.08); color: var(--red);   border-color: rgba(232,69,69,0.3); }
.pw-card-text {
  font-family: var(--font-h);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}
.pw-card-meta { display: flex; justify-content: space-between; }
.pw-acc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
}
.pw-bias {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-50);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--ink-10);
  padding: 0;
  background: var(--ink);
  color: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 56px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; flex-direction: column; }
.footer-wordmark { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; color: var(--white); }
.footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-style: italic; }
.footer-links-group { display: flex; gap: 60px; }
.footer-links-col { display: flex; flex-direction: column; gap: 12px; }
.fl-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fl-link { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--t); }
.fl-link:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   WALLET CONNECT MODAL — Swiss style
   ========================================================================== */
.wc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 11, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wc-overlay.open { display: flex; animation: fadeIn 0.15s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.wc-modal {
  background: var(--white);
  border: 1px solid var(--ink-20);
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  box-shadow: 6px 6px 0 var(--ink-10);
  overflow: hidden;
  animation: slideUp 0.2s ease;
}
@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.wc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--ink-10);
}
.wc-title-wrap { display: flex; align-items: center; gap: 12px; }
.wc-shield-icon {
  width: 30px;
  height: 30px;
  background: var(--cream);
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.wc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.wc-close {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--ink-20);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-50);
  transition: var(--t);
}
.wc-close:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.wc-subtitle {
  font-size: 0.82rem;
  color: var(--ink-50);
  padding: 16px 24px 10px;
  line-height: 1.5;
}
.wc-wallets { display: flex; flex-direction: column; padding: 0 12px 10px; gap: 4px; }
.wc-wallet-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: var(--t);
  text-align: left;
  width: 100%;
}
.wc-wallet-opt:hover { background: var(--cream); border-color: var(--ink-10); }
.wc-wallet-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cream);
}
.wl-mm { background: rgba(246,133,27,0.06); border-color: rgba(246,133,27,0.2); }
.wl-cb { background: rgba(0,82,255,0.06); border-color: rgba(0,82,255,0.2); }
.wl-wc { background: rgba(59,153,252,0.06); border-color: rgba(59,153,252,0.2); }
.wl-ph { background: rgba(171,159,242,0.06); border-color: rgba(171,159,242,0.2); }
.wc-wallet-info { flex: 1; }
.wc-wallet-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.wc-wallet-desc { font-family: var(--font-mono); font-size: 0.62rem; color: var(--ink-50); }
.wc-wallet-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--cream-2);
  border: 1px solid var(--ink-10);
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.wc-wallet-badge.detected     { background: rgba(29,185,84,0.08); border-color: rgba(29,185,84,0.3); color: var(--green); }
.wc-wallet-badge.not-detected { background: var(--cream-2); border-color: var(--ink-10); color: var(--ink-50); }
.wc-footer {
  margin: 6px 12px 20px;
  padding: 12px 14px;
  background: var(--lime-soft);
  border: 1px solid rgba(200,255,68,0.4);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* States */
.wc-connecting-box {
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.wc-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink-10);
  border-top-color: var(--ink);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wc-conn-wallet-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.wc-conn-desc { font-size: 0.82rem; color: var(--ink-50); text-align: center; line-height: 1.6; }

.wc-connected-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wc-addr-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-50);
}
.wc-addr-display {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 20px;
  background: var(--cream);
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  letter-spacing: 1px;
}
.wc-network-row { display: flex; align-items: center; gap: 7px; }
.net-dot-small {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.wc-network-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-50);
}
.wc-balance-box {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  overflow: hidden;
}
.wc-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--ink-10);
}
.wc-balance-row:last-child { border-bottom: none; }
.wc-bal-lbl { font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.5px; }
.wc-bal-val { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.wc-bal-val.text-violet { color: var(--green); }
.wc-connected-actions { display: flex; gap: 10px; width: 100%; }
.btn-disconnect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--ink-20);
  background: transparent;
  color: var(--ink);
  transition: var(--t);
  font-family: var(--font-sans);
}
.btn-disconnect:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--ink-10); }
  .hero-right { padding: 48px 40px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .sig-card:nth-child(2) { border-right: none; }
  .sig-card:nth-child(3) { border-top: 1px solid var(--ink-10); }
  .sig-card:nth-child(4) { border-right: none; border-top: 1px solid var(--ink-10); }
  .oracle-grid { grid-template-columns: 1fr; }
  .oracle-main-card { border-right: none; border-bottom: 1px solid var(--ink-10); }
  .pw-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item { border-bottom: 1px solid var(--ink-10); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .signal-grid { grid-template-columns: 1fr; }
  .sig-card { border-right: none; border-bottom: 1px solid var(--ink-10); }
  .sig-card:last-child { border-bottom: none; }
  .pw-stats-row { grid-template-columns: repeat(2, 1fr); }
  .pw-grid { grid-template-columns: 1fr; }
  .pw-card:nth-child(3n) { border-right: 1px solid var(--ink-10); }
  .pw-card { border-right: none; }
  .oracle-verdict-row { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links-group { flex-wrap: wrap; gap: 32px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   WALLET MODAL — Simple Swiss Style (addendum)
   ========================================================================== */
.wc-simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ink-10);
}
.wc-simple-body {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 4px;
}
.wc-wallet-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: var(--t);
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.wc-wallet-opt:hover {
  background: var(--cream);
  border-color: var(--ink-10);
}
.wc-wallet-opt span:nth-child(2) { flex: 1; text-align: left; }
.wc-bal-simple {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  margin: 4px 0 16px;
}

/* ==========================================================================
   VISUAL EFFECTS — Swiss Editorial Animations
   ========================================================================== */

/* ---------- Dot Grid Hero Background ---------- */
.hero {
  background-image: radial-gradient(circle, var(--ink-10) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}
.hero-right {
  background-image: radial-gradient(circle, var(--ink-10) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: var(--cream-2);
}
.hero-left { background: none; }

/* ---------- Marquee Ticker ---------- */
.ticker-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.ticker-item .t-label { color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }
.ticker-item .t-val   { color: var(--white); font-weight: 600; }
.ticker-item .t-pos   { color: #4ade80; }
.ticker-item .t-neg   { color: #f87171; }
.ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  animation: pulse-ring 1.5s ease-in-out infinite;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1),
              transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Hero Stagger Load Animation ---------- */
.hero-badge   { animation: fadeUp 0.5s ease 0.1s both; }
.hero-h1      { animation: fadeUp 0.6s ease 0.2s both; }
.hero-sub     { animation: fadeUp 0.6s ease 0.35s both; }
.hero-actions { animation: fadeUp 0.6s ease 0.45s both; }
.hero-stats-row { animation: fadeUp 0.6s ease 0.55s both; }
.gauge-card   { animation: fadeUp 0.7s ease 0.3s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Signal Card Hover Enhancement ---------- */
.sig-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sig-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--ink-10);
  background: var(--white);
}
.sig-card:hover .sig-bar {
  filter: brightness(1.1);
}

/* ---------- Animated Score Number ---------- */
.sig-score {
  transition: color 0.3s ease;
}

/* ---------- Stats Bar Number Highlight ---------- */
.sb-value {
  display: inline-block;
  transition: transform 0.3s ease;
}
.stats-bar-item:hover .sb-value {
  transform: scale(1.04);
}
.stats-bar-item:hover { background: var(--cream-2); cursor: default; }
.stats-bar-item:last-child:hover { background: var(--lime); }

/* ---------- Oracle Card Eye Pulse ---------- */
.oracle-main-card {
  position: relative;
  overflow: hidden;
}
.oracle-main-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,68,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orb-float 6s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-10px, 10px) scale(1.1); }
}

/* ---------- Prophecy text fade cycle ---------- */
#ppText, #oracleProphecy {
  transition: opacity 0.4s ease;
}

/* ---------- Feed item pulse on new entry ---------- */
.feed-item:first-child {
  border-left: 3px solid var(--lime);
  animation: feedSlide 0.35s ease, newItemPulse 1.5s ease;
}
@keyframes newItemPulse {
  0%   { background: rgba(200,255,68,0.08); }
  100% { background: var(--white); }
}

/* ---------- Gauge needle transition ---------- */
#gaugeNeedle {
  transition: x2 0.8s cubic-bezier(0.34,1.56,0.64,1),
              y2 0.8s cubic-bezier(0.34,1.56,0.64,1);
}

/* ---------- Decorative lime accent lines ---------- */
.section-header { position: relative; padding-top: 8px; }
.section-header::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--lime);
  margin-bottom: 18px;
  border-radius: 2px;
}

/* ---------- PW Card hover border ---------- */
.pw-card {
  transition: background 0.2s ease, transform 0.2s ease;
}
.pw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ink-10);
}

/* ---------- Scrolling progress indicator ---------- */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 2px;
  background: var(--lime);
  z-index: 999;
  transition: width 0.1s linear;
  width: 0%;
}

/* ---------- Nav active tab underline ---------- */
.nav-tab {
  position: relative;
}
.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* ---------- Gauge card score color flash on change ---------- */
@keyframes scoreFlash {
  0%   { color: var(--ink); }
  40%  { color: var(--green); }
  100% { color: var(--ink); }
}
.score-flash { animation: scoreFlash 0.8s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ticker-bar { display: none; }
}

/* Logo hover rotate */
.logo-img { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }

/* Stats bar reveal fix */
.stats-bar.reveal.visible { opacity: 1; transform: none; }
