:root {
  --grad: linear-gradient(270deg, #00aaff, #6a0dad, #00aaff);
}

@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.logo {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  gap: 0.12em;
  position: relative;
}

.letter {
  display: inline-block;
  background: var(--grad);
  background-size: 600% 600%;
  animation: gradientShift 8s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;      /* Safari fix */
  transform: translateZ(0);
  position: relative;
  z-index: 1;
}

/* Wrap for L */
.L-wrap {
  position: relative;
  display: inline-block;
}

/* Line above L */
.line {
  position: absolute;
  top: -0.18em;       /* adjust higher if overlap */
  left: 0;
  width: 0.75em;
  height: 3px;
  background: var(--grad);
  background-size: 600% 600%;
  animation: gradientShift 8s ease-in-out infinite;
  border-radius: 2px;
  z-index: 0;         /* sits behind the L */
}
