/* ---- HERO SEARCH ---- */
.hero-search { margin-top: 0; }
.hero-search-wrap {
  display: flex;
  gap: 10px;
  max-width: 580px;
}
.hero-search-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 16px 20px;
  color: #111111;
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
}
.hero-search-input:focus {
  border-color: #888888;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.hero-search-input::placeholder { color: #aaaaaa; }
.hero-search-btn {
  padding: 16px 32px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.hero-search-btn:hover { background: #333333; transform: translateY(-1px); }
.hero-search-btn:active { transform: translateY(0); }

/* ---- CHARTS ---- */
.charts-section {
  padding: 100px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.charts-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.chart-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.chart-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.trending-badge {
  background: #f0f0f0;
  color: #333333;
  border: 1px solid var(--border);
}
.rising-badge {
  background: #f0f0f0;
  color: #555555;
  border: 1px solid var(--border);
}
.chart-sub {
  font-size: 13px;
  color: var(--fg-dim);
}
.chart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.chart-item:last-child { border-bottom: none; }
.chart-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  width: 28px;
  flex-shrink: 0;
}
.chart-name {
  flex: 1;
  color: #111111;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.chart-name:hover { color: #555555; }
.chart-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  flex-shrink: 0;
}
.chart-count--green { color: #333333; }

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .hero-search-wrap { flex-direction: column; }
  .hero-search-btn { width: 100%; }
  .charts-inner { grid-template-columns: 1fr; gap: 48px; }
}