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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0a0a14;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #fff;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

#scene {
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  cursor: crosshair;
}

#hint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}

#count {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  transition: opacity 0.3s;
}

.pause-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  gap: 12px;
  animation: fadeIn 0.25s ease;
}

.pause-overlay span {
  font-size: 48px;
  font-weight: 200;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.pause-overlay p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  #hint { font-size: 12px; bottom: 20px; }
  #count { font-size: 11px; top: 14px; right: 16px; }
  .pause-overlay span { font-size: 36px; }
}

