* { box-sizing: border-box; }
body { font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace; }

.indicator-hit {
  background: rgba(251,191,36,0.08);
  border-left: 3px solid #fbbf24;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 2px;
  font-size: 0.8rem;
}

.brand-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  background: #1f2937;
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.news-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}

.news-card:hover {
  border-color: #374151;
}

.tx-row {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.78rem;
}

.tx-in { border-left: 3px solid #4ade80; }
.tx-out { border-left: 3px solid #f87171; }

/* D3 graph styles */
#crypto-graph svg { width: 100%; height: 100%; }
.node circle { stroke: #fbbf24; stroke-width: 1.5px; cursor: pointer; }
.node text { fill: #9ca3af; font-size: 10px; }
.link { stroke: #374151; stroke-width: 1.5px; }
.node.target circle { fill: #fbbf24; }
.node.exchange circle { fill: #60a5fa; }
.node.counterparty circle { fill: #374151; }

/* Data source pill in footer */
.data-source {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.data-source:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  text-decoration: none;
}

/* Sample button hover state */
.sample-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  display: inline-block;
}

/* Hero card hover lift */
#crypto-hero > div {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

#crypto-hero > div:hover {
  border-color: #374151;
}

/* Smooth tab transitions */
.tab-content {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Make tab buttons feel clickable */
.tab-btn {
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}

/* Tab icon stroke matches text color */
.tab-btn svg {
  transition: stroke 0.15s ease;
}

/* Examples grid card hover state */
.example-card {
  cursor: pointer;
  font-family: inherit;
}

.example-card:hover {
  transform: translateY(-1px);
}

/* Line clamp for news titles */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PH Threat Pulse stat number emphasis */
#threat-pulse [data-stat] {
  font-variant-numeric: tabular-nums;
}

/* Prospect tab — ad creative thumbnails with hover-to-enlarge */
.prospect-thumb-wrap {
  position: relative;
  display: inline-block;
}

.prospect-thumb {
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s ease, z-index 0s;
  position: relative;
  z-index: 1;
}

.prospect-thumb:hover {
  transform: scale(3);
  z-index: 50;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.8);
}
