:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #171717;

  --text: #ffffff;
  --muted: #8c8c8c;

  --gold: #e8bd4d;
  --gold-light: #ffd96a;

  --border: rgba(255,255,255,.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 75% 10%,
      rgba(232,189,77,.10),
      transparent 25rem
    ),
    var(--bg);
}


/* HEADER */

.header {
  width: min(1240px, calc(100% - 40px));

  margin: auto;
  padding: 28px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  color: white;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #090909;
  background: var(--gold);

  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand b {
  display: block;
  line-height: 1;
}

.brand strong {
  letter-spacing: 4px;
}

.brand b {
  margin-top: 5px;

  color: var(--gold);
  font-size: 11px;
  letter-spacing: 5px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 15px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--muted);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.live-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: #555;
}

.live-badge.online {
  color: #d9ffe6;
}

.live-badge.online .live-dot {
  background: #35d66f;

  box-shadow:
    0 0 12px rgba(53,214,111,.8);
}


/* MAIN */

.page {
  width: min(1240px, calc(100% - 40px));
  margin: auto;
}

.hero {
  min-height: 630px;

  display: grid;
  grid-template-columns: 1.15fr .85fr;

  gap: 80px;

  align-items: center;
}

.eyebrow {
  margin-bottom: 24px;

  color: var(--gold);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

h1 {
  margin: 0;

  max-width: 760px;

  font-size: clamp(54px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -5px;
}

h1 span {
  color: var(--gold);
}

.description {
  max-width: 560px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 18px;
  line-height: 1.7;
}


/* PLAYER */

.player-card {
  padding: 34px;

  border: 1px solid var(--border);
  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    );

  box-shadow:
    0 40px 100px rgba(0,0,0,.45);

  backdrop-filter: blur(18px);
}

.visualizer {
  position: relative;

  min-height: 190px;

  display: grid;
  place-items: center;
}

.disc {
  width: 170px;
  height: 170px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle,
      #202020 0,
      #202020 3px,
      #121212 4px,
      #121212 7px
    );

  box-shadow:
    0 25px 60px rgba(0,0,0,.6);

  transition: transform .3s;
}

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

.disc-inner {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #090909;
  background: var(--gold);

  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 2px;
}

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

.bars {
  position: absolute;
  right: 12px;
  bottom: 15px;

  height: 55px;

  display: flex;
  align-items: end;
  gap: 4px;
}

.bars i {
  width: 4px;
  height: 15px;

  border-radius: 4px;

  background: var(--gold);
}

.playing .bars i {
  animation:
    wave .7s ease-in-out infinite alternate;
}

.bars i:nth-child(2) {
  animation-delay: .1s;
}

.bars i:nth-child(3) {
  animation-delay: .3s;
}

.bars i:nth-child(4) {
  animation-delay: .15s;
}

.bars i:nth-child(5) {
  animation-delay: .4s;
}

.bars i:nth-child(6) {
  animation-delay: .2s;
}

@keyframes wave {
  from {
    height: 10px;
  }

  to {
    height: 52px;
  }
}

.now-label {
  margin-top: 22px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.track-title {
  margin-top: 10px;

  font-size: 26px;
  font-weight: 800;

  overflow-wrap: anywhere;
}

.track-artist {
  min-height: 24px;

  margin-top: 5px;

  color: var(--muted);
}


/* CONTROLS */

.controls {
  margin-top: 30px;

  display: flex;
  align-items: center;

  gap: 24px;
}

.play-button {
  width: 66px;
  height: 66px;

  flex: 0 0 66px;

  border: 0;
  border-radius: 50%;

  cursor: pointer;

  color: #080808;
  background: var(--gold);

  font-size: 24px;

  box-shadow:
    0 12px 35px rgba(232,189,77,.18);

  transition:
    transform .15s,
    background .15s;
}

.play-button:hover {
  transform: scale(1.06);
  background: var(--gold-light);
}

.play-button:active {
  transform: scale(.96);
}

.volume {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 12px;
}

.volume input {
  width: 100%;
  accent-color: var(--gold);
}


/* STATS */

.stats {
  margin-top: 30px;
  padding-top: 24px;

  display: grid;
  grid-template-columns: repeat(3,1fr);

  border-top: 1px solid var(--border);
}

.stats > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stats strong {
  font-size: 17px;
}

.stats span {
  color: var(--muted);
  font-size: 11px;
}


/* LOWER SECTION */

.info-grid {
  margin: 50px 0 90px;

  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 15px;
}

.info-grid article {
  min-height: 190px;

  padding: 26px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: var(--panel);
}

.info-grid article > span {
  color: var(--gold);

  font-size: 11px;
  font-weight: 900;
}

.info-grid h2 {
  margin: 45px 0 8px;

  font-size: 25px;
}

.info-grid p {
  margin: 0;

  color: var(--muted);
  line-height: 1.5;
}


/* FOOTER */

footer {
  width: min(1240px, calc(100% - 40px));

  margin: auto;
  padding: 30px 0;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid var(--border);

  color: #555;

  font-size: 11px;
  letter-spacing: 1px;
}


/* MOBILE */

@media (max-width: 850px) {

  .hero {
    min-height: auto;

    padding: 60px 0;

    grid-template-columns: 1fr;

    gap: 60px;
  }

  h1 {
    letter-spacing: -3px;
  }

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

}

@media (max-width: 520px) {

  .header,
  .page,
  footer {
    width: min(
      100% - 28px,
      1240px
    );
  }

  .header {
    padding-top: 18px;
  }

  .live-badge {
    padding: 9px 11px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 54px;
  }

  .player-card {
    padding: 22px;
    border-radius: 24px;
  }

  .stats {
    gap: 10px;
  }

  footer {
    gap: 20px;
  }

}
