*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e5e5e5;
  --text: #111111;
  --text-muted: #777777;
  --accent: #111111;
  --radius: 6px;
  --max: 1100px;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* ── Header ── */
header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.hero-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1rem;
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}

.social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ── Section ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

/* ── Albums grid ── */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .albums-grid { grid-template-columns: 1fr; }
}

.album-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow 0.15s, transform 0.15s;
  display: block;
}

.album-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.album-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.album-cover-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.album-info {
  padding: 16px;
}

.album-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.album-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.album-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Album page ── */
.album-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.album-hero-cover {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.album-hero-cover-placeholder {
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.album-hero-info h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.album-hero-info .year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.album-hero-info .description {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.streaming-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.streaming-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}

.streaming-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ── Tracklist ── */
.tracklist {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.track {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}

.track:last-child { border-bottom: none; }
.track:hover { background: var(--bg); }

.track-main {
  display: grid;
  grid-template-columns: 20px 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.track-main .track-chevron { order: 1; }
.track-main .track-num     { order: 2; }
.track-main .track-info    { order: 3; }
.track-main .track-links   { order: 4; }

.track-num {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.track-info { min-width: 0; }

.track-title, h3.track-title {
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.track-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.track-chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.track.open .track-chevron { transform: rotate(180deg); }

.track-desc {
  display: none;
  padding: 0 18px 16px 66px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.track.open .track-desc { display: block; }

.track-video {
  position: relative;
  width: 70%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .track-video { width: 100%; }
}

.track-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.track-section {
  margin-bottom: 16px;
}

.track-section:last-child { margin-bottom: 0; }

.track-section h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.track-section-body {
  font-size: 0.87rem;
  line-height: 1.75;
  max-width: 70%;
}

@media (max-width: 640px) {
  .track-section-body { max-width: 100%; }
}

.track-section-body p {
  margin: 0 0 10px 0;
}

.track-section-body p:last-child { margin-bottom: 0; }

.track-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.track-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.12s, color 0.12s;
}

.track-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.track-link i { font-size: 1rem; }

.track-link[title="Spotify"]:hover       { border-color: #1DB954; color: #1DB954; }
.track-link[title="Deezer"]:hover        { border-color: #A238FF; color: #A238FF; }
.track-link[title="YouTube Music"]:hover { border-color: #FF0000; color: #FF0000; }
.track-link[title="YouTube"]:hover       { border-color: #FF0000; color: #FF0000; }

/* ── Lyrics ── */
.lyrics-section { margin-top: 48px; }

.lyrics-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 12px;
}

.lyrics-header {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.lyrics-header:hover { background: var(--bg); }

.lyrics-header .chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.lyrics-body {
  padding: 20px 18px;
  display: none;
  white-space: pre-line;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.lyrics-body.open { display: block; }
.lyrics-header.open .chevron { transform: rotate(180deg); }

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color 0.12s;
}

.back-link:hover { color: var(--text); }

/* ── Footer ── */
footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Artist bio ── */
.artist-bio {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.bio-block {
  flex: 1;
  min-width: 240px;
  max-width: 400px;
}

.bio-lang {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.bio-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero, .album-hero { flex-direction: column; gap: 24px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-photo-placeholder, .hero-photo { width: 120px; height: 120px; }
  .track-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
  }
  .track-main .track-chevron { order: 1; flex-shrink: 0; }
  .track-main .track-num     { order: 2; flex-shrink: 0; min-width: 24px; }
  .track-main .track-info    { order: 3; flex: 1; min-width: 0; }
  .track-main .track-links   { order: 4; width: 100%; padding: 4px 0 6px 48px; }
  .album-hero-cover, .album-hero-cover-placeholder { width: 160px; height: 160px; }
}
