@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@400;800&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at center, #0a0a1a 0%, #000000 100%);
}

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

#ui-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
}

#question-text {
  font-family: "Dancing Script", cursive;
  color: #ff4d6d;
  font-size: 4rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 77, 109, 0.4);
  margin: 0;
  animation: float 3s ease-in-out infinite;
}

.controls {
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100px;
  margin-bottom: 40px;
}

button {
  font-family: "Montserrat", sans-serif;
  padding: 18px 45px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    box-shadow 0.3s ease;
}

#connect-btn {
  background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
  color: white;
  position: absolute;
  transform: translateX(-95px);
  box-shadow: 0 10px 30px rgba(255, 8, 68, 0.4);
  z-index: 2;
}

#no-btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: absolute;
  transform: translateX(95px);
  z-index: 1;
}

#connect-btn:hover {
  box-shadow: 0 15px 40px rgba(255, 8, 68, 0.6);
  filter: brightness(1.1);
}

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

@media (max-width: 480px) {
  #question-text {
    font-size: 2.5rem;
    padding-top: 20px;
  }

  button {
    padding: 14px 30px;
    font-size: 1rem;
  }

  #connect-btn {
    transform: translateX(-75px);
  }
  #no-btn {
    transform: translateX(75px);
  }
}

#ui-layer::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 77, 109, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
