* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fff5f8 0%, #ffe8ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  position: relative;
  z-index: 2;
  width: min(92vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#lulu {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  cursor: pointer;
  filter: drop-shadow(0 12px 28px rgba(224, 80, 110, 0.18));
  transform-origin: center bottom;
}

#lulu.bounce {
  animation: luluBounce 0.55s cubic-bezier(0.2, 1.3, 0.3, 1);
}

@keyframes luluBounce {
  0% { transform: scale(1) translateY(0); }
  18% { transform: scale(1.04, 0.96) translateY(8px); }
  42% { transform: scale(0.98, 1.02) translateY(-18px); }
  68% { transform: scale(1.02, 0.98) translateY(4px); }
  100% { transform: scale(1) translateY(0); }
}

#hint {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 18vh;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

#hint.fading,
#hint.hidden {
  opacity: 0;
}

.hint-text {
  font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  font-weight: 700;
  color: #e0506e;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hint-arrows {
  display: flex;
  gap: 18px;
}

.ha {
  color: #e0506e;
  font-size: 1rem;
  opacity: 0.35;
  animation: arrowBlink 1.2s ease-in-out infinite;
}

.ha1 { animation-delay: 0s; }
.ha2 { animation-delay: 0.15s; }
.ha3 { animation-delay: 0.3s; }
.ha4 { animation-delay: 0.45s; }

@keyframes arrowBlink {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

#floatLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.float-word {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  white-space: nowrap;
  will-change: transform, opacity;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.35);
}

#big-xiangni {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 240, 245, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  cursor: pointer;
}

#big-xiangni.show {
  opacity: 1;
  pointer-events: auto;
}

#big-xiangni .big-text {
  font-size: clamp(2.4rem, 12vw, 4.6rem);
  font-weight: 900;
  color: #e0506e;
  letter-spacing: 0.06em;
  transform: scale(0.82);
  transition: transform 0.35s cubic-bezier(0.2, 1.2, 0.3, 1);
}

#big-xiangni.show .big-text {
  transform: scale(1);
}
