/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--accent);
  color: #fdf8f4;
  font-weight: 500;
}

.btn-primary:hover {
  background: #b8996e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-danger {
  background: rgba(192, 57, 43, 0.07);
  color: var(--danger);
  border: 1px solid rgba(192, 57, 43, 0.18);
}

.btn-danger:hover { background: rgba(192, 57, 43, 0.14); }

/* ── Form elements ───────────────────────────────── */
label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  background: rgba(253, 246, 249, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  transition: border-color 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus { border-color: var(--accent); }

select option { background: var(--bg); }

/* ── Page header ─────────────────────────────────── */
.page-header {
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s ease both;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.page-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Stars ───────────────────────────────────────── */
.stars {
  display: flex;
  gap: 0.3rem;
}

.star {
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}

.star:hover,
.star.active { color: var(--accent); transform: scale(1.1); }

.star svg { width: 100%; height: 100%; fill: currentColor; }

.mini-stars { display: flex; gap: 2px; }
.mini-star  { font-size: 0.85rem; cursor: pointer; transition: color 0.1s, opacity 0.1s; }
.mini-star.filled { color: var(--accent); }
.mini-star.empty  { color: var(--text-muted); opacity: 0.35; }

/* ── Empty state ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeUp 0.5s ease both;
}

.empty-state .empty-icon { font-size: 4rem; margin-bottom: 1rem; }

.empty-state h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.empty-state p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Spotify button ──────────────────────────────── */
.spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #1DB954;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.spotify-btn:hover {
  background: #1ed760;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 185, 84, 0.25);
}

.spotify-icon { width: 18px; height: 18px; }
