
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Mochiy Pop One', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(-45deg, #1a1625, #2d1f47, #1f3a52, #252839);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 173, 225, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(220, 0, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 221, 28, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

ul li {
  position: relative;
  list-style: none;
  perspective: 1000px;
}

ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 0;
  height: 2px;
  background: var(--clr);
  transform: translateY(-50%);
  transition: width 0.6s ease;
  box-shadow: 0 0 10px var(--clr);
}

ul li:hover::before {
  width: 20px;
}

ul li::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 0;
  height: 2px;
  background: var(--clr);
  transform: translateY(-50%);
  transition: width 0.6s ease;
  box-shadow: 0 0 10px var(--clr);
}

ul li:hover::after {
  width: 20px;
}

ul li a {
  font-size: 4em;
  text-decoration: none;
  letter-spacing: 2px;
  line-height: 1em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

ul li a::before {
  content: attr(data-text);
  position: absolute;
  color: var(--clr);
  width: 0;
  overflow: hidden;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-right: 8px solid var(--clr);
  -webkit-text-stroke: 1.5px var(--clr);
}

ul li a::after {
  content: attr(data-text);
  position: absolute;
  color: var(--clr);
  width: 0;
  overflow: hidden;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: blur(10px);
  opacity: 0.8;
  -webkit-text-stroke: 1.5px var(--clr);
  animation: pulse-glow 2s ease-in-out infinite;
}

ul li a:hover {
  -webkit-text-stroke: 2px var(--clr);
  text-shadow: 0 0 30px var(--clr);
}

ul li a:hover::before {
  width: 100%;
  filter: drop-shadow(0 0 15px var(--clr)) drop-shadow(0 0 30px var(--clr));
}

ul li a:hover::after {
  width: 100%;
  filter: drop-shadow(0 0 25px var(--clr));
}