:root {
  color-scheme: dark;
  --bg: #09070b;
  --panel: rgba(20, 16, 22, 0.78);
  --panel-edge: rgba(255, 192, 203, 0.22);
  --text: #fff5f8;
  --muted: #d5a9b7;
  --rose: #ff4f86;
  --wine: #8b123c;
  --amber: #ffc16b;
  --track: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 18, 60, 0.32), transparent 34rem),
    linear-gradient(145deg, #09070b 0%, #170912 44%, #08080d 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 78%);
}

.shell {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 56px);
  display: grid;
  place-items: center;
}

.player {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.cover-wrap {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}

.cover {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
}

.glow {
  position: absolute;
  inset: 12%;
  background: rgba(255, 79, 134, 0.32);
  filter: blur(44px);
}

.content {
  min-width: 0;
}

.kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 12vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(255, 79, 134, 0.36);
}

.subtitle {
  margin: 16px 0 38px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

.progress-area {
  display: grid;
  gap: 10px;
}

.time-row,
.volume-row,
.actions {
  display: flex;
  align-items: center;
}

.time-row {
  justify-content: space-between;
  color: rgba(255, 245, 248, 0.72);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--rose);
}

.seek {
  height: 28px;
}

.controls {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

button,
.actions a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

button:focus-visible,
.actions a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.icon-btn {
  width: 58px;
  height: 44px;
  border-radius: 8px;
  font-weight: 700;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border-color: rgba(255, 122, 166, 0.46);
  background: linear-gradient(145deg, var(--rose), var(--wine));
  box-shadow: 0 16px 34px rgba(255, 79, 134, 0.3);
  font-size: 1.65rem;
  line-height: 1;
}

.volume-row {
  gap: 12px;
  color: var(--muted);
}

.actions {
  margin-top: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.actions button,
.actions a {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 760px) {
  .shell {
    padding: 18px;
    align-items: start;
  }

  .player {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .subtitle {
    margin-bottom: 24px;
  }
}
