/* Final polish pass: spacing, glows, hero and coin animations.
 *
 * Layer 04 of the stylesheet. ORDER IS SIGNIFICANT: this file's rules
 * are overridden by every later layer and override every earlier one, exactly as
 * when they were one file. See docs/frontend-architecture.md. */

/* FINAL POLISH PASS */
body {
  background:
    radial-gradient(circle at 50% -10%, rgba(0,255,153,.10), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(0,255,153,.05), transparent 26%),
    #05080c;
}

.main-card,
.sidebar,
.right-panel {
  box-shadow:
    0 18px 50px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.main-card:hover,
.right-panel:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 42px rgba(0,255,153,.08),
    0 24px 60px rgba(0,0,0,.45);
}


@keyframes heroGlow {
  from {
    box-shadow:
      0 0 32px rgba(0,255,153,.10),
      0 24px 60px rgba(0,0,0,.42);
  }
  to {
    box-shadow:
      0 0 54px rgba(0,255,153,.18),
      0 24px 70px rgba(0,0,0,.48);
  }
}

.coin-avatar,
.hero-coin-logo,
.detail-logo {
  animation: coinPulse 3.5s ease-in-out infinite alternate;
}

@keyframes coinPulse {
  from { box-shadow: 0 0 14px rgba(0,255,153,.18); }
  to { box-shadow: 0 0 28px rgba(0,255,153,.36); }
}

.signal-table tbody tr {
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.signal-table tbody tr:hover {
  box-shadow: inset 3px 0 0 #00ff99;
}

button,
.nav div,
.coin-card {
  transition: all .18s ease;
}

button:hover {
  transform: translateY(-1px);
}

.hero-status,
.signal-pill,
.confidence-badge {
  box-shadow: 0 0 16px rgba(0,255,153,.10);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #071017;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,255,153,.35);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 238, 143, 0.55);
}

.main-card,
.sidebar,
.right-panel {
  box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.signal-table tbody tr:hover {
  background: rgba(0,255,153,.12) !important;
  box-shadow: inset 4px 0 0 #00ff99 !important;
}

.coin-avatar,
.hero-coin-logo,
.detail-logo {
  box-shadow: 0 0 32px rgba(0,255,153,.42) !important;
}

.nav div.active,
.nav-item.active {
  box-shadow: inset 3px 0 0 #00ff99, 0 0 20px rgba(0,255,153,.16) !important;
}

button:hover,
.coin-card:hover {
  transform: translateY(-2px) !important;
}
.main-card {
  background:
    radial-gradient(circle at top left, rgba(0,255,153,.06), transparent 35%),
    linear-gradient(180deg, #0c151d, #070d12);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.main-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px 0;
  letter-spacing: .01em;
  color: #f0f0f0;
}

.sidebar {
  width: 230px;
  background:
    radial-gradient(circle at top left, rgba(0,255,153,.12), transparent 32%),
    linear-gradient(180deg, #0b141b, #05090d);
}

.nav-item {
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 15px;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(0,255,153,.22), rgba(0,255,153,.07));
  color: #fff;
  border: 1px solid rgba(0,255,153,.25);
}



#coinMonitor h2 {
  font-size: 18px;
  letter-spacing: .02em;
  margin-top: -4px;
}

.right-panel {
  background:
    radial-gradient(circle at top left, rgba(0,255,153,.10), transparent 34%),
    linear-gradient(180deg, #0b141b, #05090d);
}
