:root {
  --text: #111;
  --muted: #666;
  --card: #fff;
  --bg: #fafafa;
  --border: rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px;
}

.site-header, .site-footer {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  text-align: center;
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.site-title{ margin:0; font-size:20px; }
.site-nav a {
  margin-right: 10px;
  padding: 6px 8px;
  border-radius: 6px;
}
.site-nav a:last-child{ margin-right:0; }
.site-nav a:hover { background: rgba(0,0,0,0.04); }

.logo-link { text-decoration: none; }
.logo-link:hover { text-decoration: underline; }

.langs{ display:flex; gap:8px; }
.lang{
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:6px 10px;
  cursor:pointer;
  font-size:12px;
}
.lang.active{
  border-color: rgba(0,0,0,0.35);
  font-weight:700;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.muted { color: var(--muted); }

.badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--muted);
  font-size:12px;
}
.hidden{ display:none; }

.band-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Bands grid */
.bands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.band-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.band-card h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}
.band-card p {
  margin: 0;
  color: var(--muted);
}
.band-card .card-footer {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

/* Link pills */
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 8px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 9999px;
  text-decoration: none;
  color: inherit;
  background: rgba(0,0,0,0.02);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  line-height: 1;
  white-space: nowrap;
}
.link-pill:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.18); }
.link-pill:active { transform: translateY(1px); }
.link-pill__icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.link-pill__icon svg { width: 18px; height: 18px; display: block; }
.link-pill__text { font-size: 14px; line-height: 18px; }
.link-pill__arrow { margin-left: 2px; font-size: 14px; opacity: 0; transform: translateX(-2px); transition: opacity 160ms ease, transform 160ms ease; }
.link-pill:hover .link-pill__arrow { opacity: 0.7; transform: translateX(0); }

.links-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Album grid */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 12px;
  margin-top: 8px;
}

.album-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.album-cover {
  width: 100%;
  aspect-ratio: 1/1;
  background: #e9e9e9;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  padding: 10px;
  text-align: center;
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.album-title { font-weight: 600; }
.album-meta { color: var(--muted); font-size: 14px; }

/* Album detail / tracks */
.album-detail {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}
.album-detail header {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.album-detail header h4 { margin: 0; }
.album-detail .content {
  padding: 12px;
}

.track-list { list-style: none; margin: 0; padding: 0; }
.track-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.track-item:last-child { border-bottom: none; }
.track-title { font-weight: 600; }
.track-desc { color: var(--muted); font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: rgba(0,0,0,0.03); }


/* Spotify embed */
.spotify-embed {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
  background: #fff;
}
