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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05050f;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  cursor: crosshair;
}

#sky {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  touch-action: none;
}

.overlay {
  position: fixed;
  top: 12%;
  left: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.message {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 9vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #fff5f8;
  transition: opacity 1.2s ease;
  animation: glow-pulse 3.2s ease-in-out infinite;
}

.message :lang(ja) {
  font-family: "Klee One", "Great Vibes", cursive;
  font-weight: 600;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255, 214, 240, 0.55),
      0 0 22px rgba(255, 154, 214, 0.35),
      0 0 40px rgba(200, 120, 255, 0.25);
  }
  50% {
    text-shadow:
      0 0 16px rgba(255, 214, 240, 0.85),
      0 0 34px rgba(255, 154, 214, 0.55),
      0 0 60px rgba(200, 120, 255, 0.4);
  }
}

.hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 1.2s ease;
}

.overlay.faded .hint {
  opacity: 0;
}

.overlay.faded .message {
  opacity: 0.4;
}

.sound-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.sound-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}
