:root {
  color-scheme: dark;
  --ink: #060606;
  --paper: #f8efe3;
  --muted: rgba(248, 239, 227, 0.68);
  --line: rgba(248, 239, 227, 0.18);
  --ember: #ff3d16;
  --amber: #ff9d21;
  --wine: #3c0610;
  --cyan: #56f0db;
  --violet: #7267ff;
  --panel: rgba(8, 7, 6, 0.54);
  --panel-strong: rgba(8, 7, 6, 0.82);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 157, 33, 0.18), transparent 34rem),
    linear-gradient(180deg, #080706 0%, #140608 46%, #060606 100%);
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(2.75rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 4vw, 3rem);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent);
}

.brand,
.nav-links,
.hero-actions,
.player-controls,
.progress-row,
.track,
.date-item,
.stats-list,
.brand-mark,
.icon-button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(248, 239, 227, 0.75);
  border-radius: 50%;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 24px rgba(255, 61, 22, 0.35);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--paper);
}

.brand-mark::before {
  width: 0.72rem;
  height: 0.72rem;
}

.brand-mark::after {
  width: 0.18rem;
  height: 1.35rem;
  right: 0.42rem;
  top: 0.28rem;
  transform: rotate(16deg);
}

.nav-links {
  gap: clamp(1rem, 3vw, 2.4rem);
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(248, 239, 227, 0.18);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}

.nav-links a {
  min-width: 2.2rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(248, 239, 227, 0.78);
}

.nav-links a:hover {
  color: var(--paper);
}

.icon-button,
.transport-button,
.primary-action,
.ghost-action,
.track,
.date-item a {
  border: 0;
  cursor: pointer;
}

.icon-button {
  justify-self: end;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--paper);
  border-radius: 50%;
  border: 1px solid rgba(248, 239, 227, 0.22);
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.icon-volume,
.icon-volume::before,
.icon-volume::after {
  display: block;
  position: relative;
}

.icon-volume {
  width: 1.05rem;
  height: 0.82rem;
  border-left: 0.36rem solid currentColor;
  border-top: 0.26rem solid transparent;
  border-bottom: 0.26rem solid transparent;
}

.icon-volume::before,
.icon-volume::after {
  content: "";
  position: absolute;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.icon-volume::before {
  width: 0.44rem;
  height: 0.72rem;
  left: 0.24rem;
  top: -0.21rem;
}

.icon-volume::after {
  width: 0.7rem;
  height: 1.02rem;
  left: 0.36rem;
  top: -0.36rem;
  opacity: 0.55;
}

.poster-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: clamp(6.5rem, 11vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
}

.poster-image,
.poster-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.poster-vignette {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, transparent 40%, rgba(0, 0, 0, 0.84) 100%);
}

.hero-content {
  width: min(32.5rem, 100%);
  align-self: center;
  padding-top: 4rem;
  font-size: 0.875rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  width: min(32.5rem, 100%);
  margin-bottom: 1.15rem;
  margin-right: 0.625rem;
  font-size: 3.75rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.46);
}

.hero-copy {
  width: min(34rem, 100%);
  margin-bottom: 1.8rem;
  color: rgba(248, 239, 227, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.primary-action,
.ghost-action,
.date-item a {
  min-height: 3rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-action {
  display: inline-flex;
  gap: 0.65rem;
  padding: 0 1.35rem;
  color: #120504;
  background: linear-gradient(135deg, var(--amber), var(--ember));
  box-shadow: 0 1rem 2.5rem rgba(255, 61, 22, 0.35);
}

.ghost-action {
  display: inline-flex;
  padding: 0 1.25rem;
  border: 1px solid rgba(248, 239, 227, 0.26);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.primary-action:hover,
.ghost-action:hover,
.date-item a:hover,
.transport-button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.play-glyph,
.icon-play,
.icon-prev,
.icon-next {
  display: inline-block;
  width: 0;
  height: 0;
}

.play-glyph,
.icon-play {
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.58rem solid currentColor;
}

.now-panel {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  width: min(26rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(248, 239, 227, 0.2);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(24px);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
}

.track-kicker,
.track-artist,
.progress-row,
.track small,
.track-length,
.date-item span {
  color: var(--muted);
}

.track-kicker {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.track-title {
  font-size: 1.75rem;
  font-weight: 850;
}

.track-artist {
  margin-top: 0.15rem;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  align-items: center;
  gap: 0.28rem;
  height: 4.2rem;
  margin: 1rem 0;
  padding: 0.35rem 0;
}

.waveform span {
  width: 100%;
  height: var(--h);
  min-height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--amber) 58%, var(--ember));
  opacity: 0.88;
  transform-origin: bottom;
}

body.is-playing .waveform span {
  animation: pulse 940ms ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes pulse {
  from { transform: scaleY(0.55); opacity: 0.58; }
  to { transform: scaleY(1); opacity: 1; }
}

.player-controls {
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.transport-button {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--paper);
  border-radius: 50%;
  border: 1px solid rgba(248, 239, 227, 0.22);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease;
}

.play-button {
  width: 3.35rem;
  height: 3.35rem;
  color: #170604;
  border: 0;
  background: var(--paper);
}

body.is-playing .icon-play {
  width: 0.72rem;
  height: 0.84rem;
  border: 0;
  border-left: 0.24rem solid currentColor;
  border-right: 0.24rem solid currentColor;
}

.icon-prev,
.icon-next {
  position: relative;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
}

.icon-prev {
  border-right: 0.55rem solid currentColor;
}

.icon-next {
  border-left: 0.55rem solid currentColor;
}

.icon-prev::after,
.icon-next::after {
  content: "";
  position: absolute;
  top: -0.42rem;
  width: 0.12rem;
  height: 0.84rem;
  background: currentColor;
}

.icon-prev::after {
  left: -0.1rem;
}

.icon-next::after {
  right: -0.1rem;
}

.progress-row {
  gap: 0.7rem;
  font-size: 0.78rem;
}

.progress {
  flex: 1;
  min-width: 5rem;
  accent-color: var(--cyan);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 1.3rem;
  height: 2.2rem;
  border: 1px solid rgba(248, 239, 227, 0.42);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0.45rem auto 0;
  border-radius: 50%;
  background: var(--paper);
  animation: scrollDot 1.5s ease infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0.8rem); opacity: 0; }
}

.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  width: min(67rem, 100%);
  margin: 0 auto 2rem;
}

.section-heading h2,
.visual-content h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.release-grid {
  width: min(67rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(19rem, 1.1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}

.release-copy {
  padding-top: 0.55rem;
}

.release-copy p,
.visual-content p {
  color: rgba(248, 239, 227, 0.72);
  line-height: 1.8;
  font-size: 1.02rem;
}

.stats-list {
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 2rem 0 0;
  padding: 0;
}

.stats-list div {
  min-width: 7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.stats-list dt {
  font-weight: 850;
  font-size: 1.45rem;
  color: var(--amber);
}

.stats-list dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.playlist {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.track {
  width: 100%;
  min-height: 5.5rem;
  gap: 1rem;
  padding: 1rem;
  color: var(--paper);
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.track:last-child {
  border-bottom: 0;
}

.track:hover,
.track.active {
  background: linear-gradient(90deg, rgba(255, 61, 22, 0.26), rgba(86, 240, 219, 0.08));
}

.track-index {
  width: 2.4rem;
  color: var(--cyan);
  font-weight: 800;
}

.track-meta {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.track-meta strong,
.track-meta small,
.track-length {
  overflow-wrap: anywhere;
}

.track-meta small,
.track-length {
  font-size: 0.82rem;
}

.visual-section {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.visual-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.22) contrast(1.1);
}

.visual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74));
}

.visual-content {
  width: min(42rem, 100%);
}

.visual-content p:last-child {
  margin-bottom: 0;
}

.dates-section {
  background:
    linear-gradient(180deg, rgba(20, 6, 8, 0), rgba(20, 6, 8, 0.95)),
    linear-gradient(90deg, rgba(86, 240, 219, 0.08), transparent 42%, rgba(114, 103, 255, 0.1));
}

.date-list {
  width: min(67rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.date-item {
  min-height: 5rem;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.date-item time {
  width: 5rem;
  color: var(--amber);
  font-size: 1.35rem;
  font-weight: 850;
}

.date-item span {
  width: 6rem;
}

.date-item strong {
  flex: 1;
  min-width: 8rem;
}

.date-item a {
  display: inline-flex;
  min-width: 5rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  color: #06110f;
  background: var(--cyan);
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .poster-hero {
    min-height: 100svh;
    align-items: start;
    padding-top: 5.5rem;
    padding-bottom: 16rem;
  }

  .poster-image {
    object-position: 58% center;
  }

  .hero-content {
    align-self: start;
    padding-top: 1.5rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  .section-heading h2,
  .visual-content h2 {
    font-size: 3rem;
  }

  .now-panel {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .scroll-hint {
    display: none;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .visual-section {
    min-height: 66vh;
  }

  .date-item {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
  }

  .date-item span,
  .date-item strong {
    width: auto;
  }

  .date-item strong {
    grid-column: 2 / -1;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 8.75rem;
    overflow-wrap: anywhere;
  }

  .brand {
    min-width: 0;
  }

  .topbar {
    padding-inline: 0.85rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section-heading h2,
  .visual-content h2 {
    font-size: 2.25rem;
  }

  .poster-hero {
    padding-inline: 0.85rem;
  }

  .hero-actions,
  .primary-action,
  .ghost-action {
    width: 100%;
  }

  .track {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .track-length {
    grid-column: 2;
  }

  .date-item {
    grid-template-columns: 1fr auto;
  }

  .date-item time,
  .date-item span,
  .date-item strong {
    width: auto;
  }

  .date-item strong {
    grid-column: 1 / -1;
  }
}
