body {
  font-family: "B612 Mono", monospace;
  min-height: 100vh;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background: repeating-linear-gradient(
      0deg,
      #0E0D0E 25%,
      #0E0D0E 50%,
      #171819 50%,
      #171819 75%
    );
  background-size: 10px 10px;
}

#title {
  display: flex;
}

#broadcast {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50px;
  padding: 1em 0 1em 0;
}

.levy {
  z-index: -2;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -250px -250px;
  overflow: hidden;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    95.11% 95.11% at 36.64% 4.89%,
    #2ad0ca 0%,
    #e1f664 22.92%,
    #feb0fe 46.88%,
    #abb3fc 68.23%,
    #5df7a4 87.5%,
    #58c4f6 100%
  );
  -webkit-animation:spin 30s cubic-bezier(0.1,1,0.1,-3) infinite;
  -moz-animation:spin 30s cubic-bezier(0.1,1,0.1,-3) infinite;
  animation:spin 30s cubic-bezier(0.1,1,0.1,-3) infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.levy::before,
.levy::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: conic-gradient(
      from 176.21deg at 50% 50%,
      #000000 -24.66deg,
      #ffffff 0.25deg,
      #000000 50.63deg,
      #000000 51.97deg,
      #ffffff 88.12deg,
      #000000 142.5deg,
      #ffffff 196.87deg,
      #000000 256.87deg,
      #ffffff 300deg,
      #000000 335.2deg,
      #000000 335.34deg,
      #ffffff 360.25deg
    );
    -webkit-animation: spin 30s cubic-bezier(0.2,-3,0.2,1) infinite;
    -moz-animation: spin 30s cubic-bezier(0.2,-3,0.2,1) infinite;
    animation: spin 30s cubic-bezier(0.2,-3,0.2,1) infinite;
}

.levy::before {
  mix-blend-mode: difference;
}

.levy::after {
  mix-blend-mode: screen;
}

#kapy {
  z-index: -1;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  translate: -100px -100px;

  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 500px;
}

#status {
  position: relative;
  align-self: center;
  display: inline-block;
}

#statusDot {
  font-size: 32pt;
  margin:0;
  padding:0;
  display: none;
  color: red;
  animation: blink 1.5s steps(1,start) infinite;
}

@keyframes blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.info {
  color: white;
  position: relative;
  align-self: flex-start;
  text-shadow: 2px 2px 5px #231f20;
  margin: 0;
}

#player {
  position: relative;
  visibility: hidden;
  display: flex;
  justify-content: center;
}
.button {
  position: relative;
  box-sizing: border-box;
  height: 72px;
  scale: 0.5;
  background: transparent;
  translate: 0 -16px;

  border-color: transparent transparent transparent #ffffff;
  transition: 100ms all ease;
  will-change: border-width;
  cursor: pointer;

  border-style: solid;
  border-width: 37px 0 37px 60px;

  &.paused {
    border-style: double;
    border-width: 0px 0 0px 60px;
  }
}

@media screen and (max-width: 800px) {
  .container {
    width: 100%;
  }
  #volumecontainer {
    visibility: hidden !important;
    display: none !important;
  }
  .levy {
    width: 300px;
    height: 300px;
    translate: -150px -150px;
    top: 70%;
  }
  #kapy {
    top: 70%;
  }
}

#volume {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: white;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

#volume:hover {
  opacity: 1;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0px;
  width: 10px;
  height: 20px;
  background: red;
  cursor: pointer;
}
#volume::-moz-range-thumb {
  border-radius: 0px;
  border:none;
  width: 10px;
  height: 20px;
  background: red;
  cursor: pointer;
}

.glitch {
  position: relative;
  font-size: 32pt;
  color: #fff;
  font-weight: bold;
  display: inline-block;
}

.line:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* Subtle noise overlay */
.glitch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="1" numOctaves="1"/></filter><rect width="100%" height="100%" filter="url(%23n)" /></svg>');
  opacity: 0.03;
  animation: noise 0.2s steps(1) infinite;
  z-index: 2;
}

/* Animation assignments */
.line:nth-child(1) {
  animation:
    clip 3000ms -300ms linear infinite,
    glitch1 800ms linear infinite;
}
.line:nth-child(2) {
  animation:
    clip 3000ms -600ms linear infinite,
    glitch2 800ms linear infinite;
}
.line:nth-child(3) {
  animation:
    clip 3000ms -900ms linear infinite,
    glitch3 800ms linear infinite;
}
.line:nth-child(4) {
  animation:
    clip 3000ms -1200ms linear infinite,
    glitch4 800ms linear infinite;
}
.line:nth-child(5) {
  animation:
    clip 3000ms -1500ms linear infinite,
    glitch5 800ms linear infinite;
}

/* Glitch keyframes with softer values */
@keyframes glitch1 {
  0%, 85%, 100% { transform: translate(0); color: #fff; }
  90% { transform: translate(-1px, 0); color: #9ce09c; }
  95% { transform: translate(1px, 0); color: #e09c9c; }
}

@keyframes glitch2 {
  0%, 85%, 100% { transform: translate(0); color: #fff; }
  90% { transform: translate(2px, -1px); color: #c6f1c6; }
  95% { transform: translate(-2px, 1px); color: #f1c6c6; }
}

@keyframes glitch3 {
  0%, 85%, 100% { transform: translate(0); color: #fff; }
  90% { transform: translate(-1px, 1px); color: #c6e0c6; }
  95% { transform: translate(1px, -1px); color: #e0c6c6; }
}

@keyframes glitch4 {
  0%, 85%, 100% { transform: translate(0); color: #fff; }
  90% { transform: translate(1px, 0); color: #d0ffd0; }
  95% { transform: translate(-1px, 0); color: #ffd0d0; }
}

@keyframes glitch5 {
  0%, 85%, 100% { transform: translate(0); color: #fff; }
  90% { transform: translate(-2px, 0); color: #b0f0b0; }
  95% { transform: translate(2px, 0); color: #f0b0b0; }
}

/* Shared clip animation (like scanline) */
@keyframes clip {
  0% {
    clip-path: polygon(0 100%, 100% 100%, 100% 120%, 0 120%);
  }
  100% {
    clip-path: polygon(0 -20%, 100% -20%, 100% 0%, 0 0);
  }
}

/* Subtle static-like noise shimmer */
@keyframes noise {
  0% { opacity: 0.01; }
  50% { opacity: 0.04; }
  100% { opacity: 0.01; }
}

#equalizer {
  display: none;
  gap: 4px;
  align-items: flex-end;
  height: 30px;
  width: max-content;
  padding-left: 10px;
}

.bar {
  width: 5px;
  background: white;
  height: 5px;
  transition: height 0.01s steps(1, end);
}