body {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #212743, #241930);
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 60px auto 40px;
}

#title span {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #00f2fe 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

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

@media (max-width: 768px) {
  #title span {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  #title {
    flex-direction: column;
    gap: 15px;
  }
}

h2 {
  width: 90%;
  margin: 20px auto;
  color: white;
  text-align: center;
}

#instruction {
  text-align: center;
  margin: 30px auto;
  color: white;
}

#instruction .hand-emoji {
  font-size: 3rem;
  display: inline-block;
  animation: pointUp 1.5s ease-in-out infinite;
}

#instruction p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 1px;
}

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

@media (max-width: 768px) {
  #instruction .hand-emoji {
    font-size: 2.5rem;
  }

  #instruction p {
    font-size: 1rem;
  }
}

#audioToggle {
  font-size: 32px;
  background: #ffffff19;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#audioToggle:hover {
  background: #ffffff40;
  transform: scale(1.1);
  rotate: -10deg;
}

img {
  width: 40px;
  height: 40px;
}

#string {
  width: 90%;
  max-width: 1000px;
  height: 300px;
  margin: 0 auto;
  background-color: #ffffff0f;
  border: 1px solid #ffffff1f;
  border-radius: 20px;
  touch-action: none;
}

svg {
  width: 100%;
  height: 100%;
}

#cursor {
  width: 10px;
  height: 10px;
  background-color: transparent;
  padding: 4px;
  border: 1px solid white;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

#cursor-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: skyblue;
}

@media (max-width: 768px) {
  #cursor {
    display: none;
  }
}
