:root {
  --accent: #1268ff;
  --bg: #000;
  --panel: #050505;
  --text: #fff;
  --muted: rgba(255,255,255,.65);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Raleway, Arial, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  padding-bottom: 96px;
  display: grid;
  place-items: center;
}

.page-center {
  text-align: center;
  opacity: .75;
  padding: 30px;
}

.page-center h1,
.page-center p {
  display: none;
}

/* =========================
   TOP LOGO
========================= */

.top-logo {
  position: fixed;
  top: 24px;
  left: 28px;
  width: 138px;
  z-index: 99999;
}

.top-logo img {
  width: 100%;
  display: block;
}

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

.jt-radio-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  height: 96px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 -18px 50px rgba(0,0,0,.55);
}

.fixedversion-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 180px 150px 1fr 110px 80px;
  align-items: center;
  gap: 18px;
  padding: 0 28px 0 205px;
}

/* =========================
   BOOKLET
========================= */

.name-freq {
  position: absolute;
  left: 28px;
  bottom: 14px;
  width: 138px;
  height: 138px;
  border: 5px solid rgba(255,255,255,.25);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 12px 40px rgba(0,0,0,.7);
  overflow: hidden;
}

.name-freq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   VOLUME
========================= */

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-control i {
  font-size: 15px;
}

.volume-slider-container {
  position: relative;
  width: 130px;
  height: 18px;
  display: flex;
  align-items: center;
}

.volume-slider-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background: rgba(18,104,255,.25);
}

.volume-bar-filled {
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  width: 50%;
}

.volume-slider {
  width: 100%;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 2;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--accent);
  cursor: pointer;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
}

/* =========================
   PLAY BUTTONS
========================= */

.play-pause-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.jt-radio-player button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.jt-play-button {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent) !important;
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #fff !important;
  box-shadow:
    0 0 0 8px rgba(18,104,255,.18),
    0 0 0 15px rgba(18,104,255,.10);
}

.jt-play-button i {
  transform: translateX(3px);
}

.jt-pause-button {
  font-size: 24px;
}

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

#jt-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jt-progress-bar {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,.25);
  flex: 1;
  border-radius: 99px;
  overflow: hidden;
}

.jt-progress-bar-filled {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: var(--accent);
}

#jt-time {
  min-width: 92px;
  font-size: 12px;
  white-space: nowrap;
}

/* =========================
   EQUALIZER
========================= */

#jt-image-container,
.pause-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

#bouncing-bars,
#bouncing-bars-paused {
  width: 58px;
  height: 58px;
  transform: rotate(180deg);
}

#bouncing-bars .bar {
  fill: var(--accent);
  animation: equalize 2s steps(25) infinite;
}

#bouncing-bars-paused .bar {
  fill: var(--accent);
  opacity: .4;
}

@keyframes equalize {
  0% { height: 60px; }
  50% { height: 20px; }
  100% { height: 80px; }
}

/* =========================
   NOW PLAYING
========================= */

.now-playing-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  text-align: center;
  z-index: 50;
  width: 90%;
  max-width: 1100px;
}

.now-playing-label {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: .35em;
  margin-bottom: 18px;
  font-weight: 600;
}

.now-playing-wave {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 28px;
  height: 26px;
}

.now-playing-wave span {
  width: 4px;
  background: var(--accent);
  border-radius: 99px;
  animation: wave 1.2s infinite ease-in-out;
}

.now-playing-wave span:nth-child(1) {
  height: 10px;
}

.now-playing-wave span:nth-child(2) {
  height: 24px;
}

.now-playing-wave span:nth-child(3) {
  height: 16px;
}

.now-playing-wave span:nth-child(4) {
  height: 26px;
}

.now-playing-wave span:nth-child(5) {
  height: 12px;
}

.now-playing-artist {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(72px, 8vw, 140px);
  line-height: .9;
  color: #fff;
  text-transform: uppercase;
}

.now-playing-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(56px, 6vw, 120px);
  line-height: .9;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 6px;
}

.now-playing-meta {
  margin-top: 28px;
  color: rgba(255,255,255,.75);
  font-size: 18px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.now-playing-meta .dot {
  margin: 0 14px;
  color: var(--accent);
}

@keyframes wave {
  0% {
    transform: scaleY(.45);
    opacity: .5;
  }

  50% {
    transform: scaleY(1.25);
    opacity: 1;
  }

  100% {
    transform: scaleY(.45);
    opacity: .5;
  }
}

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

@media (max-width: 900px) {

  body {
    padding-bottom: 82px;
  }

  .jt-radio-player {
    height: 82px;
  }

  .fixedversion-inner {
    display: grid;
    grid-template-columns: 72px 72px 58px 22px 58px 28px;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 86px;
  }

  .name-freq {
    left: 8px;
    bottom: 10px;
    width: 66px;
    height: 66px;
    border-width: 3px;
  }

  /* VOLUME */

  .volume-control {
    width: 72px;
    gap: 5px;
  }

  .volume-control i {
    font-size: 12px;
  }

  .volume-slider-container {
    width: 50px;
  }

  /* BUTTONS */

  .play-pause-buttons {
    display: contents;
  }

  .jt-play-button {
    width: 54px;
    height: 54px;
    font-size: 22px;
    box-shadow:
      0 0 0 5px rgba(18,104,255,.18),
      0 0 0 9px rgba(18,104,255,.10);
  }

  .jt-pause-button {
    font-size: 17px;
  }

  /* TIME */

  #jt-controls {
    display: block;
    width: 58px;
    min-width: 58px;
  }

  .jt-progress-bar {
    display: none;
  }

  #jt-time {
    font-size: 9px;
    min-width: 58px;
    white-space: nowrap;
  }

  /* EQUALIZER */

  #bouncing-bars,
  #bouncing-bars-paused {
    width: 28px;
    height: 28px;
  }

  #jt-image-container,
  .pause-image {
    justify-content: center;
    align-items: center;
  }

  /* HIDE SCROLL BUTTON */

  .scroll-top-demo {
    display: none !important;
  }

  /* CENTER TEXT */

  .now-playing-center {
    top: 47%;
    transform: translate(-50%, -50%);
    width: 92%;
  }

  .now-playing-label {
    font-size: 11px;
    letter-spacing: .28em;
    margin-bottom: 14px;
  }

  .now-playing-wave {
    margin-bottom: 22px;
  }

  .now-playing-artist {
    font-size: clamp(42px, 13vw, 62px);
  }

  .now-playing-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .now-playing-meta {
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: .18em;
  }

  /* LOGO */

  .top-logo {
    top: 24px;
    left: 28px;
    width: 138px;
  }
}