:root {
  --bg: #0f172a;
  --card: #111827;
  --accent: #7c3aed;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.container {
  width: 100%;
  max-width: 900px;
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header h1 {
  font-size: 22px;
}

.badge {
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

textarea {
  width: 100%;
  min-height: 160px;
  background: #020617;
  border: 1px solid #1f2933;
  border-radius: 12px;
  padding: 14px;
  color: var(--text);
  resize: vertical;
  font-size: 15px;
}

.stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 14px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

button {
  background: #020617;
  color: var(--text);
  border: 1px solid #1f2933;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
  font-size: 14px;
}

button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width:600px) {
  .header h1 {
    font-size: 18px;
  }
}