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

body {
  font-family: "Inter", sans-serif;
  background: #0a0a0a;
  color: white;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#backgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  perspective: 1000px;
}

.title-text {
  font-size: 5rem;
  font-weight: 700;
  display: block;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.title-text:hover {
  transform: scale(1.05);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
  25% {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
  }
  75% {
    transform: translateY(20px) rotateX(-5deg) rotateY(-5deg);
  }
}

.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  transform: translateX(-100%);
  z-index: 1000;
  pointer-events: none;
}

body.transitioning .transition-overlay {
  animation: slideIn 1.5s ease-in-out forwards;
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
