@import url('https://fonts.cdnfonts.com/css/jetbrains-mono-2');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
  background: #000;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
}

#container canvas {
  width: 100vw !important;
  height: 100vh !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

/* Fallback CSS Animation */
#fallback-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #000 0%, #111 100%);
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  opacity: 0.8;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 7s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 9s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 6s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 8s; }
.particle:nth-child(10) { left: 15%; animation-delay: 9s; animation-duration: 7s; }
.particle:nth-child(11) { left: 25%; animation-delay: 10s; animation-duration: 9s; }
.particle:nth-child(12) { left: 35%; animation-delay: 11s; animation-duration: 6s; }
.particle:nth-child(13) { left: 45%; animation-delay: 12s; animation-duration: 8s; }
.particle:nth-child(14) { left: 55%; animation-delay: 13s; animation-duration: 7s; }
.particle:nth-child(15) { left: 65%; animation-delay: 14s; animation-duration: 9s; }
.particle:nth-child(16) { left: 75%; animation-delay: 15s; animation-duration: 6s; }
.particle:nth-child(17) { left: 85%; animation-delay: 16s; animation-duration: 8s; }
.particle:nth-child(18) { left: 95%; animation-delay: 17s; animation-duration: 7s; }
.particle:nth-child(19) { left: 5%; animation-delay: 18s; animation-duration: 9s; }
.particle:nth-child(20) { left: 12%; animation-delay: 19s; animation-duration: 6s; }

@keyframes float {
  0%, 100% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(50vh) scale(1.2);
    opacity: 1;
  }
}

/* Animation Overlay Elements */
#animation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1000;
}

.center-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  z-index: 1001;
}

.center-text h1 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .center-text h1 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .center-text h1 {
    font-size: 0.9rem;
  }
}
