* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --tar-black: #0B0B0A;
  --deep-charcoal: #171614;
  --oxide-red: #8F241C;
  --nicotine-cream: #D4C39C;
  --dead-tv-cyan: #4E8D91;
  --concrete-gray: #686762;
  --off-white: #EEE9DC;

  --black: var(--tar-black);
  --deep: var(--deep-charcoal);
  --primary: var(--oxide-red);
  --secondary: var(--nicotine-cream);
  --accent: var(--dead-tv-cyan);
  --white: var(--off-white);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(78,141,145,.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 84% 42%,
      rgba(143,36,28,.14),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--tar-black),
      var(--deep-charcoal)
    );

  color: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
a,
input {
  font: inherit;
}

.sound-room {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.sound-room::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;

  pointer-events: none;
  opacity: .08;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.05) 0,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 3px
    );

  mix-blend-mode: soft-light;
}


/* =====================================================
   AMBIENT BACKGROUND
===================================================== */

.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;

  overflow: hidden;
  pointer-events: none;
}

.ambient-orbs span {
  position: absolute;

  width: 240px;
  height: 240px;

  border:
    1px solid
    color-mix(in srgb, var(--oxide-red) 28%, transparent);

  border-radius: 50%;

  opacity: .18;
  filter: blur(1px);

  animation:
    drift 10s ease-in-out infinite alternate;
}

.ambient-orbs span:nth-child(1) {
  top: 8%;
  left: 3%;
}

.ambient-orbs span:nth-child(2) {
  width: 340px;
  height: 340px;

  right: -90px;
  top: 35%;

  border-color:
    color-mix(in srgb, var(--dead-tv-cyan) 28%, transparent);

  animation-delay: -3s;
}

.ambient-orbs span:nth-child(3) {
  width: 180px;
  height: 180px;

  bottom: 4%;
  left: 36%;

  animation-delay: -6s;
}


/* =====================================================
   NAVIGATION
===================================================== */

.sound-nav {
  position: relative;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding: 20px 6%;

  border-bottom:
    1px solid
    rgba(78,141,145,.42);

  background:
    color-mix(
      in srgb,
      var(--tar-black) 78%,
      transparent
    );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sound-nav a {
  color: var(--dead-tv-cyan);

  text-decoration: none;
  font-weight: 700;

  transition:
    color .15s ease,
    transform .15s ease;
}

.sound-nav a:hover {
  color: var(--nicotine-cream);
  transform: translateX(-2px);
}

.sound-nav span {
  color: var(--nicotine-cream);

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


/* =====================================================
   MAIN STAGE
===================================================== */

.artist-stage {
  width: min(1100px, 92%);
  min-height: 80vh;

  margin: auto;
  padding: 50px 0;

  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}


/* =====================================================
   DESKTOP STICKER FIELD
===================================================== */

.sprite-area {
  position: relative;

  min-width: 0;
  min-height: 680px;

  align-self: stretch;
}

.artist-sprite {
  position: absolute;

  display: block;
  object-fit: contain;

  filter:
    drop-shadow(0 20px 30px rgba(0,0,0,.6))
    drop-shadow(0 0 14px rgba(78,141,145,.10))
    drop-shadow(0 0 22px rgba(143,36,28,.08));

  animation:
    float 3s ease-in-out infinite;
}

/* Red Babies scattered desktop composition */

.artist-sprite--performance {
  width: min(370px, 95%);
  left: 8%;
  top: 14%;
  z-index: 5;

  transform: rotate(-2deg);
}

.artist-sprite--middle {
  width: min(285px, 70%);
  left: 0;
  top: 0;
  z-index: 4;

  transform: rotate(-8deg);
  animation-delay: -.9s;
}

.artist-sprite--neutral {
  width: min(280px, 66%);
  right: 2%;
  top: 5%;
  z-index: 3;

  transform: rotate(7deg);
  animation-delay: -1.8s;
}

.artist-sprite--tired {
  width: min(360px, 74%);
  left: 2%;
  bottom: 3%;
  z-index: 4;

  transform: rotate(6deg);
  animation-delay: -2.4s;
}

.artist-sprite--underdog {
  width: min(235px, 62%);
  right: 0;
  bottom: 2%;
  z-index: 3;

  transform: rotate(-7deg);
  animation-delay: -1.3s;
}

.artist-sprite--logo {
  width: min(512px, 95%);
  left: 50%;
  top: 50%;
  z-index: 1;

  transform: translate(-50%, -50%);
  animation-delay: -2s;
}


/* =====================================================
   PLAYER CARD
===================================================== */

.player-card {
  position: relative;
  min-width: 0;

  padding: 35px;

  border:
    1px solid
    rgba(78,141,145,.42);

  border-radius: 25px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.018)
    );

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 0 50px rgba(78,141,145,.10);

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.transmission-label {
  color: var(--nicotine-cream);

  letter-spacing: 4px;
  font-size: 10px;
}

.player-card h1 {
  margin: 12px 0;

  color: var(--oxide-red);

  font-size: clamp(34px, 6vw, 70px);
  line-height: .92;

  text-shadow:
    0 0 18px rgba(143,36,28,.32);
}

.artist-location {
  margin-bottom: 25px;

  color: var(--dead-tv-cyan);

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


/* =====================================================
   ALBUM ART + SONG INFO
===================================================== */

.album-frame {
  padding: 8px;

  border:
    1px solid
    var(--nicotine-cream);

  background:
    rgba(0,0,0,.4);

  transition:
    box-shadow .2s ease;
}

.album-art {
  width: 100%;
  aspect-ratio: 1 / 1;

  display: block;
  object-fit: cover;
}

.song-info {
  margin-top: 20px;
}

.song-info h2 {
  color: var(--off-white);
  letter-spacing: 2px;
}

.song-info p {
  margin-top: 5px;

  color: var(--dead-tv-cyan);
}


/* =====================================================
   AUDIO PROGRESS
===================================================== */

.progress-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;

  margin: 20px 0;

  font-size: 11px;
}

#progressBar {
  width: 100%;
  min-width: 0;

  accent-color: var(--dead-tv-cyan);

  cursor: pointer;
}


/* =====================================================
   CONTROLS
===================================================== */

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

.controls button {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(255,255,255,.2);

  border-radius: 50%;

  background: transparent;
  color: var(--off-white);

  cursor: pointer;

  transition:
    transform .15s ease,
    border-color .15s ease,
    color .15s ease,
    background .15s ease;
}

.controls button:hover {
  transform: translateY(-2px);

  border-color: var(--dead-tv-cyan);
  color: var(--dead-tv-cyan);
}

.controls .play-button {
  width: 70px;
  height: 70px;

  border-color: var(--oxide-red);

  background: var(--oxide-red);
  color: var(--off-white);

  font-size: 25px;
}


/* =====================================================
   EQUALIZER + AUDIO STATUS
===================================================== */

.equalizer {
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  margin: 20px 0 10px;
}

.equalizer span {
  width: 5px;
  height: 8px;

  border-radius: 5px;

  background:
    var(--dead-tv-cyan);
}

.equalizer.playing span {
  animation:
    equalize
    .6s
    ease-in-out
    infinite alternate;
}

.equalizer span:nth-child(2) {
  animation-delay: .1s;
}

.equalizer span:nth-child(3) {
  animation-delay: .2s;
}

.equalizer span:nth-child(4) {
  animation-delay: .3s;
}

.equalizer span:nth-child(5) {
  animation-delay: .15s;
}

.equalizer span:nth-child(6) {
  animation-delay: .25s;
}

.equalizer span:nth-child(7) {
  animation-delay: .05s;
}

.audio-status {
  min-height: 1.2em;

  margin: 0 0 14px;

  text-align: center;

  color: var(--dead-tv-cyan);

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


/* =====================================================
   ACTION BUTTONS
===================================================== */

.artist-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.artist-actions a {
  min-height: 48px;
  padding: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;

  transition:
    transform .15s ease,
    opacity .15s ease,
    background .15s ease,
    color .15s ease;
}

.artist-actions a:hover {
  transform: translateY(-2px);
}

.secondary-button {
  border:
    1px solid
    var(--dead-tv-cyan);

  color: var(--off-white);
}

.secondary-button:hover {
  background:
    rgba(78,141,145,.12);
}

.ticket-button {
  background: var(--oxide-red);
  color: var(--off-white);
}

.ticket-button:hover {
  opacity: .88;
}


/* =====================================================
   PLAYING STATE
===================================================== */

body.dead-air-playing .player-card {
  border-color:
    rgba(78,141,145,.72);

  box-shadow:
    0 0 60px rgba(78,141,145,.16),
    0 0 24px rgba(143,36,28,.10);
}

body.dead-air-playing .album-frame {
  box-shadow:
    0 0 18px rgba(143,36,28,.14);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
  padding: 25px;

  text-align: center;

  color: var(--concrete-gray);

  font-size: 10px;
  letter-spacing: 3px;
}


/* =====================================================
   ACCESSIBILITY BASE
   Shared accessibility CSS adds the full global layer.
===================================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline:
    2px solid
    var(--dead-tv-cyan);

  outline-offset: 3px;
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes equalize {
  from {
    height: 6px;
  }

  to {
    height: 35px;
  }
}

@keyframes drift {
  from {
    transform:
      translate3d(0,0,0)
      scale(1);
  }

  to {
    transform:
      translate3d(28px,-22px,0)
      scale(1.08);
  }
}


/* =====================================================
   MOBILE
   Same Jillian master template:
   performance sticker becomes the single hero
===================================================== */

@media (max-width: 750px) {

  .artist-stage {
    width: min(680px, 92%);

    grid-template-columns: 1fr;
    gap: 0;

    padding-top: 30px;
  }

  .sprite-area {
    min-height: 0;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    margin-bottom: -58px;

    pointer-events: none;
    z-index: 5;
  }

  .artist-sprite {
    display: none;
    position: static;
  }

  .artist-sprite--performance {
    display: block;

    width: min(315px, 78vw);
    max-height: 350px;

    margin: 0 auto;

    transform: none;

    z-index: 6;
  }

  .player-card {
    z-index: 2;

    padding:
      82px
      25px
      25px;

    border-radius: 25px;
  }

  .sound-nav span {
    display: none;
  }

  .artist-actions {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 430px) {

  .sound-nav {
    padding-inline: 18px;
  }

  .artist-stage {
    width: min(94%, 420px);
  }

  .sprite-area {
    margin-bottom: -48px;
  }

  .artist-sprite--performance {
    width: min(275px, 76vw);
    max-height: 310px;
  }

  .player-card {
    padding:
      70px
      20px
      20px;

    border-radius: 18px;
  }

  .progress-container {
    gap: 7px;
  }

  .controls {
    gap: 14px;
  }

  .song-info h2 {
    font-size: 18px;
  }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .artist-sprite,
  .ambient-orbs span,
  .equalizer.playing span {
    animation: none;
  }
}