body {
  margin: 0;
  height: 100vh;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "General Sans", sans-serif;
}

.infinity-container {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 10;
  transition: filter 1s ease-in-out;
}

.infinity-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    ellipse at center,
    rgba(138, 43, 226, 0.3),
    rgba(75, 0, 130, 0.2),
    rgba(25, 25, 112, 0.1),
    transparent
  );
  border-radius: 50%;
  filter: blur(18px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

svg {
  width: 100px;
  height: 100px;
  overflow: visible;
  z-index: 1;
}

.infinity-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px #8a2be2) drop-shadow(0 0 8px #4b0082)
    drop-shadow(0 0 12px #191970);
  opacity: 0.2;
}

.tracer-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 10px #8a2be2)
    drop-shadow(0 0 15px #4b0082) drop-shadow(0 0 20px #191970);
  stroke-dasharray: 20 180;
  animation: dashmove 3s linear infinite;
}

@keyframes dashmove {
  to {
    stroke-dashoffset: -200;
  }
}

.loading-text {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.shine {
  filter: brightness(10) saturate(3);
}

.white-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  z-index: 50;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.white-overlay.fade-in {
  opacity: 1;
}

/* Home */
#main-container {
  background-color: black;
  color: white;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
