:root {
  --bg: #e7e7e7;
  --text: #242529;
  --muted: #6a6b70;
  --rule: #d0d0d0;
  --accent: #ff0000;
  --btn: #1379f4;
  --btn-hover: #0d67cf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 25px 28px;
}

.hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cover-card {
  width: 210px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #f5f5f5;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-art {
  width: 176px;
  height: 176px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.hero-copy h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero-copy h2 {
  margin: 36px 0 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 23px;
}

.meta {
  margin: 0;
  color: #75777c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.description {
  margin: 16px 0 18px;
  max-width: 520px;
  color: #595b60;
  font-size: 13px;
  line-height: 1.3;
}

.follow-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: var(--btn);
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  padding: 9px 16px;
  box-shadow: 0 4px 10px rgba(19, 121, 244, 0.3);
  transition: background 0.2s ease;
}

.follow-btn:hover,
.follow-btn:focus-visible {
  background: var(--btn-hover);
}

.tracklist {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}

.tracklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracklist li {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.track-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 12px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #5d5f64;
  font: inherit;
  font-size: 13px;
}

.track-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.track-btn:focus-visible {
  outline: 2px solid #6f8fd8;
  outline-offset: -2px;
}

.tracklist .index {
  color: #66686c;
}

.footer {
  margin-top: 26px;
  color: #6d6f74;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.08;
}

.footer p {
  margin: 0 0 3px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(124, 124, 124, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 40;
}

.modal-overlay.is-active {
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay.is-open {
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(100%, 668px);
  background: #f6f6f6;
  border-radius: 12px;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.18);
  padding: 26px 28px 30px;
  color: #2a2b2f;
  transform: translateY(36px) scale(0.98);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 260ms ease;
}

.modal-overlay.is-active .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-overlay.is-closing .modal-panel {
  transform: translateY(48px) scale(0.98);
  opacity: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #8a8b90;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #5c5e64;
}

#modalTitle {
  margin: 0 0 18px;
  font-size: 53px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

#modalBody {
  color: #5a5b60;
  font-size: 20px;
  line-height: 1.24;
  max-width: 560px;
}

#modalBody p {
  margin: 0 0 12px;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 740px) {
  .page {
    max-width: 100%;
    padding: 24px 16px 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cover-card {
    width: min(100%, 230px);
    margin: 0 auto;
  }

  .hero-copy h1 {
    font-size: 22px;
  }

  .hero-copy h2 {
    font-size: 22px;
    margin-top: 10px;
  }

  .meta,
  .description,
  .track-btn {
    font-size: 18px;
  }

  .tracklist {
    margin-top: 24px;
  }

  .track-btn {
    grid-template-columns: 38px 1fr;
    padding: 10px 0;
  }

  .footer {
    margin-top: 24px;
    font-size: 18px;
  }

  .modal-overlay {
    padding: 16px;
  }

  .modal-panel {
    padding: 24px 18px;
    border-radius: 10px;
  }

  #modalTitle {
    font-size: 42px;
    margin-bottom: 14px;
  }

  #modalBody {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-panel {
    transition: none;
  }
}
