:root {
  color-scheme: light;
  font-family: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
  background: #eef7fb;
  color: #1d2b2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #dff5ff 0%, #fff7d8 54%, #dcefd7 100%);
}

.player-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(91, 130, 124, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.25)),
    linear-gradient(180deg, #bfeeff 0%, #ffefbd 58%, #a6d68a 100%);
  box-shadow: 0 24px 70px rgba(47, 95, 101, 0.24);
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sun {
  position: absolute;
  right: 9%;
  top: 9%;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd45a;
  box-shadow: 0 0 45px rgba(255, 196, 49, 0.58);
}

.cloud {
  position: absolute;
  width: 170px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(0.2px);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 12px;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 28px;
  width: 64px;
  height: 64px;
}

.cloud::after {
  right: 30px;
  width: 82px;
  height: 82px;
}

.cloud-a {
  left: 7%;
  top: 12%;
}

.cloud-b {
  right: 20%;
  top: 30%;
  transform: scale(0.72);
  opacity: 0.72;
}

.album,
.panel,
.lyrics {
  position: relative;
  z-index: 1;
}

.album {
  display: grid;
  place-items: center;
}

.record {
  width: min(430px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f6f0cf 0 16%, transparent 16.5%),
    repeating-radial-gradient(circle at center, #173236 0 8px, #10282c 9px 14px);
  box-shadow: 0 30px 60px rgba(22, 50, 54, 0.28);
}

.record.playing {
  animation: spin 8s linear infinite;
}

.record-ring {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.record-label {
  width: 38%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: #ffe58b;
  color: #28413b;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.32);
}

.record-label span {
  font-size: 15px;
}

.record-label strong {
  display: block;
  margin-top: -14px;
  font-size: 28px;
}

.panel {
  padding: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(55, 91, 88, 0.18);
  box-shadow: 0 18px 50px rgba(51, 92, 93, 0.16);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 10px;
  color: #47735d;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
}

.subtitle {
  margin: 14px 0 34px;
  color: #4d6266;
  font-size: 18px;
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #375156;
  font-weight: 700;
}

.seek,
.volume input {
  width: 100%;
  accent-color: #ed7d31;
}

.seek {
  height: 28px;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.icon-btn,
.toggle {
  min-width: 74px;
  min-height: 48px;
  border-radius: 8px;
  background: #18383c;
  color: #fff;
  font-weight: 800;
}

.play-btn {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ed7d31;
  color: white;
  font-size: 34px;
  box-shadow: 0 15px 32px rgba(237, 125, 49, 0.35);
}

.play-btn:active,
.icon-btn:active,
.toggle:active {
  transform: translateY(1px);
}

.options {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.volume {
  display: grid;
  gap: 8px;
  color: #375156;
  font-weight: 700;
}

.toggle[aria-pressed="true"] {
  background: #47735d;
}

.lyrics {
  margin-top: 18px;
  padding: 24px;
  border-radius: 8px;
  background: #fffdf4;
  border: 1px solid rgba(91, 130, 124, 0.18);
}

.lyrics h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lyrics p {
  margin: 0;
  color: #40575a;
  line-height: 1.9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
  }

  .panel {
    padding: 24px;
  }

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