* {
  box-sizing: border-box;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 196, 120, 0.16), transparent 35%),
    linear-gradient(180deg, #3a2518 0%, #17100c 72%);
  color: #f2e5cf;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 110px
    );
}

.room {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 24px 28px;
}

.brand {
  text-align: center;
  margin-bottom: 34px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.38rem;
  opacity: 0.58;
}

h1 {
  margin: 5px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.13em;
  font-weight: 500;
  line-height: 1;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.18);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #d15335;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(209, 83, 53, 0.7);
}

.listening-area {
  width: min(1050px, 100%);
  display: grid;
  grid-template-columns: 190px minmax(360px, 560px) 190px;
  gap: 38px;
  align-items: end;
  justify-content: center;
}

.speaker {
  height: 340px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent),
    #4a2d1b;
  border: 5px solid #28170e;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.035),
    0 18px 30px rgba(0, 0, 0, 0.42);
  position: relative;
}

.tweeter,
.woofer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, #4b4b45 0 13%, #181815 14% 55%, #080807 56%);
  border: 8px solid #28251f;
  box-shadow: inset 0 0 25px #000;
}

.tweeter {
  width: 82px;
  height: 82px;
  top: 45px;
}

.woofer {
  width: 135px;
  height: 135px;
  bottom: 48px;
}

.console {
  padding: 20px;
  border-radius: 8px;
  background: #5b3720;
  border: 5px solid #2c190f;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.5);
}

.receiver {
  height: 125px;
  background: linear-gradient(#79766c, #484740);
  border: 7px solid #211f1a;
  border-radius: 4px;
  padding: 12px 18px;
  position: relative;
}

.receiver-label {
  font-size: 0.55rem;
  letter-spacing: 0.23em;
  color: #191814;
}

.meters {
  display: flex;
  gap: 15px;
  margin-top: 9px;
}

.meter {
  width: 92px;
  height: 43px;
  background: #e2b768;
  border: 4px solid #23211d;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(92, 48, 0, 0.4);
}

.needle {
  position: absolute;
  width: 2px;
  height: 38px;
  background: #331b0e;
  left: 50%;
  bottom: -18px;
  transform-origin: bottom center;
  transform: rotate(-20deg);
}

.needle-two {
  transform: rotate(18deg);
}

.receiver-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.receiver-controls span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a5a298, #3b3935 68%);
  border: 2px solid #292823;
}

.turntable {
  height: 335px;
  margin-top: 16px;
  position: relative;
  background: linear-gradient(135deg, #b58a56, #795230);
  border: 7px solid #2b1a10;
  border-radius: 5px;
  overflow: hidden;
}

.platter {
  position: absolute;
  left: 48%;
  top: 51%;
  transform: translate(-50%, -50%);
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: #2a2926;
  box-shadow:
    0 7px 15px rgba(0, 0, 0, 0.5),
    inset 0 0 0 5px #44413b;
}

.record {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      #171717 0px,
      #171717 2px,
      #202020 3px,
      #202020 5px
    );
}

.record.spinning {
  animation: spin 2.1s linear infinite;
}

.record-label {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #b06438;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.record-hole {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #121212;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tonearm {
  position: absolute;
  right: 28px;
  top: 35px;
}

.tonearm-base {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #aaa89e, #3d3b37 70%);
}

.tonearm-arm {
  width: 11px;
  height: 205px;
  background: linear-gradient(90deg, #777, #ddd, #777);
  position: absolute;
  top: 31px;
  left: 24px;
  transform-origin: top center;
  transform: rotate(20deg);
  border-radius: 8px;
}

.cartridge {
  width: 25px;
  height: 38px;
  background: #292724;
  position: absolute;
  top: 218px;
  left: 76px;
  transform: rotate(20deg);
}

.player-panel {
  width: min(700px, 100%);
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  padding: 20px 26px;
  border-radius: 10px;
  background: rgba(17, 12, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.35);
}

.now-playing {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.small-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  opacity: 0.55;
}

#nowPlaying {
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

#subtitle {
  font-size: 0.75rem;
  opacity: 0.55;
}

.play-button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 24px;
  min-width: 155px;
  font-size: 0.9rem;
  font-weight: bold;
  background: #d28b49;
  color: #21140c;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.play-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.36);
}

.play-button:active {
  transform: translateY(1px);
}

.volume-area {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.volume-area input {
  width: 125px;
}

.ios-volume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  opacity: 0.7;
  white-space: nowrap;
}

footer {
  margin-top: 25px;
  font-size: 0.65rem;
  opacity: 0.35;
  letter-spacing: 0.16em;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .listening-area {
    grid-template-columns: 90px minmax(240px, 1fr) 90px;
    gap: 10px;
  }

  .speaker {
    height: 250px;
  }

  .woofer {
    width: 75px;
    height: 75px;
  }

  .tweeter {
    width: 50px;
    height: 50px;
  }

  .turntable {
    height: 280px;
  }

  .platter {
    width: 215px;
    height: 215px;
  }

  .player-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .volume-area {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .room {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 28px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.24rem;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.5rem);
  }

  .live-badge {
    font-size: 0.58rem;
    padding: 6px 10px;
  }

  .listening-area {
    grid-template-columns: 55px 1fr 55px;
    gap: 5px;
  }

  .speaker {
    height: 190px;
    border-width: 3px;
  }

  .tweeter {
    width: 33px;
    height: 33px;
    border-width: 4px;
    top: 30px;
  }

  .woofer {
    width: 45px;
    height: 45px;
    border-width: 4px;
    bottom: 35px;
  }

  .console {
    padding: 8px;
  }

  .receiver {
    height: 95px;
  }

  .meters {
    gap: 5px;
  }

  .meter {
    width: 55px;
  }

  .receiver-controls {
    display: none;
  }

  .turntable {
    height: 220px;
  }

  .platter {
    width: 160px;
    height: 160px;
  }

  .record-label {
    width: 54px;
    height: 54px;
  }

  .tonearm {
    transform: scale(0.72);
    transform-origin: top right;
  }

  .player-panel {
    margin-top: 26px;
    padding: 18px;
    gap: 18px;
  }

  .play-button {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .ios-volume {
    white-space: normal;
    max-width: 220px;
    margin: 0 auto;
  }

  footer {
    margin-top: 20px;
    text-align: center;
  }
}
