:root {
  --bg: #0e1117;
  --panel: #151a24;
  --accent: #19d463;
  --text: #e8ecf5;
  --muted: #9ca4b5;
  --border: #1f2633;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, #111827, #0b0f16);
  color: var(--text);
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 42px;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--muted);
}

.search input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(25, 212, 99, 0.16);
}

.results {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform 0.15s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 212, 99, 0.45);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #1f2633;
  object-fit: cover;
}

.meta {
  flex: 1;
  min-width: 0;
}

.meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta .followers {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.action button {
  background: var(--accent);
  border: none;
  color: #04130a;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  min-width: 96px;
  transition: transform 0.1s ease, opacity 0.2s ease;
}

.action button.secondary {
  background: #253043;
  color: var(--text);
}

.action button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}
