
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #fff8e6;
  color: #333;
  text-align: center;
}

.sunset-field-bg {
  background: linear-gradient(to top, #fff3b0, #ffe2c2);
  padding: 100px 20px;
}

button {
  padding: 12px 24px;
  background-color: #ffd966;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.hidden {
  display: none;
}

form {
  background: rgba(255, 255, 255, 0.85);
  margin: 30px auto;
  padding: 20px;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
#manifest-countdown {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
#seedAnimationContainer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(#0a0a0a, #000022);
  z-index: 9999;
}

#starCanvas {
  width: 100%;
  height: 100%;
}

#seedAnimationContainer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}
#flyingSeed {
  width: 60px;
  height: auto;
}
body {
  background-image: url("assets/img/time.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: brightness(0.95) contrast(1.05); /* 可选滤镜增强梦境感 */
}
.blackhole {
  display: none;
  text-align: center;
  font-size: 24px;
  color: #888;
  animation: pulse 2s infinite;
}
.blackhole.active {
  display: block;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.5; }
}
.dodva-message p {
  animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.dodva-avatar img {
  width: 120px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

.dodva-message {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 20px;
  max-width: 320px;
  margin: 0 auto;
}
#blackhole {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #000 30%, #111 80%, transparent 100%);
  position: fixed;
  bottom: 20px;
  right: 30px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 120px;
  opacity: 0.4;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 999;
}
#blackhole.active {
  transform: scale(1.2) rotate(360deg);
  opacity: 1;
  box-shadow: 0 0 30px 10px #000;
}

.floating-text {
  position: fixed;
  top: 20px;
  left: 20px;
  color: #fff;
  font-size: 16px;
}

.floating-response {
  position: fixed;
  bottom: 150px;
  right: 30px;
  background: rgba(255,255,255,0.2);
  padding: 10px 18px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 14px;
  color: #fff;
}

.wish-bubble {
  position: fixed;
  bottom: -50px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  animation: floatUp ease-in forwards;
  z-index: 500;
}

/* ✅ 登录成功后渐隐 overlay 效果 */
.fade-out {
  animation: fadeOut 1s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to {
    opacity: 0;
    pointer-events: none;
  }
}