/* ── Trending Tabs ── */
.trending-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1.5rem; justify-content: center;
}
.trending-tab {
  padding: 0.5rem 1.25rem; border: 2px solid var(--black); background: var(--white);
  font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
  color: var(--black); transition: all 0.12s; border-radius: 4px;
}
.trending-tab:hover { background: #f0f0f0; }
.trending-tab.active { background: var(--black); color: white; }

/* ── Trending Grid ── */
.trending-grid { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Trending Card ── */
.trending-card {
  display: flex; align-items: center; gap: 1rem;
  border: 2px solid var(--black); background: var(--white);
  box-shadow: 4px 4px 0 var(--black); padding: 1rem 1.25rem;
  transition: all 0.15s; position: relative;
}
.trending-card:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--black); }

.trending-rank {
  font-family: 'Space Mono', monospace; font-size: 1.1rem; font-weight: 700;
  color: #ccc; min-width: 30px; text-align: center; flex-shrink: 0;
}
.trending-card:nth-child(1) .trending-rank { color: #f5a623; font-size: 1.3rem; }
.trending-card:nth-child(2) .trending-rank { color: #a855f7; font-size: 1.2rem; }
.trending-card:nth-child(3) .trending-rank { color: #e84393; font-size: 1.2rem; }

.trending-vote-col { flex-shrink: 0; }

.trending-content { display: flex; gap: 1rem; flex: 1; min-width: 0; align-items: center; }

.trending-card-img {
  width: 80px; height: 80px; object-fit: contain; background: #f5f5f5;
  border-radius: 4px; flex-shrink: 0;
}

.trending-info { flex: 1; min-width: 0; }

.trending-event-tag {
  display: inline-block; padding: 2px 8px; font-family: 'Space Mono', monospace;
  font-size: 0.55rem; font-weight: 700; border-radius: 999px;
  background: rgba(99,102,241,0.1); color: #6366f1; text-decoration: none;
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.trending-event-tag:hover { background: rgba(99,102,241,0.2); }

.trending-title {
  font-weight: 700; font-size: 0.95rem; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 0.2rem;
}

.trending-fire { font-size: 0.85rem; }

.trending-time { font-family: 'Space Mono', monospace; font-size: 0.6rem; color: #888; margin-bottom: 0.35rem; }

.trending-price-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.trending-price { font-family: 'Space Mono', monospace; font-size: 1.1rem; font-weight: 700; }
.trending-price.free { color: var(--pink); }
.trending-original { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: #999; text-decoration: line-through; }
.trending-badge {
  display: inline-block; padding: 2px 8px; font-family: 'Space Mono', monospace;
  font-size: 0.55rem; font-weight: 700; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.03em;
}

.trending-actions { flex-shrink: 0; display: flex; align-items: center; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .trending-card { flex-wrap: wrap; padding: 0.75rem; gap: 0.6rem; }
  .trending-content { gap: 0.6rem; }
  .trending-card-img { width: 60px; height: 60px; }
  .trending-title { font-size: 0.85rem; }
  .trending-rank { min-width: 24px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .trending-tabs { gap: 0.3rem; }
  .trending-tab { padding: 0.4rem 0.75rem; font-size: 0.6rem; }
  .trending-card-img { width: 50px; height: 50px; }
  .trending-title { font-size: 0.8rem; white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .trending-price { font-size: 0.95rem; }
}
