.vhs-timecode {
  position: fixed;
  bottom: 30px;
  right: 10px;
  font-family: 'Orbitron', sans-serif;
  padding: 5px 10px;
  box-shadow: 0 0 0px currentColor;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vhs-timecode a {
  display: inline-block;
  border: 2px solid;
  animation: rainbow-border 3s infinite linear;
  box-shadow: 0 0 0px currentColor;
  transition: transform 0.3s;
  line-height: 0;
  font-size: 0;
  padding: 0;
  margin: 0;
}

.vhs-timecode a:hover {
  transform: scale(1.1);
}

.vhs-timecode img {
  filter: grayscale(50%) contrast(120%);
  display: block;
  object-fit: contain;
  width: 60px;
  height: auto;
  background-color: transparent;
}

.image-wrapper {
  display: inline-block;
  font-size: 0;
}

.vhs-timecode-label {
  font-family: 'Orbitron', sans-serif;
  margin-top: 5px;
  font-size: 1rem;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-slide 3s infinite linear;
}

@keyframes rainbow-slide {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes rainbow-border {
  0% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000; }
  14% { border-color: #ff7f00; box-shadow: 0 0 10px #ff7f00; }
  28% { border-color: #ffff00; box-shadow: 0 0 10px #ffff00; }
  42% { border-color: #00ff00; box-shadow: 0 0 10px #00ff00; }
  56% { border-color: #0000ff; box-shadow: 0 0 10px #0000ff; }
  70% { border-color: #4b0082; box-shadow: 0 0 10px #4b0082; }
  84% { border-color: #8f00ff; box-shadow: 0 0 10px #8f00ff; }
  100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000; }
}