body {
  margin: 0;
  overflow: hidden;
}
#frameOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;

  pointer-events: none;
  z-index: 10;
}
#hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  text-align: center;
  z-index: 20;
  font-size: 1.5em;
  color: white;
  text-shadow: 0 0 5px #000;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
}

/* Hotspot Styles */
.hotspot {
  position: absolute;
  background: #00000000;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.hotspot:hover {
  background: #00000000;
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.6);
}

.hotspot:active {
  transform: scale(0.95);
}

/* Hotspot animation for attention */
@keyframes hotspotPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hotspot.attention {
  animation: hotspotPulse 2s infinite;
}

/* Native model-viewer hotspot styles for AR compatibility */
model-viewer .hotspot {
  display: block;
  width: auto;
  height: auto;
  position: relative;
  z-index: 1000;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

model-viewer .hotspot-text {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  background: #d32f2f; /* Red background */
  padding: 6px 18px;
  border-radius: 18px;
  text-shadow: 
    2px 2px 0px #000000,
    4px 4px 0px #333333,
    6px 6px 0px #666666,
    0px 0px 10px rgba(255,255,255,0.5);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
  letter-spacing: 1px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(211,47,47,0.3);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

model-viewer .hotspot .annotation {
  color: white;
  display: block;
  font-size: 12px;
  font-weight: bold;
  left: 25px;
  padding: 5px 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  text-shadow: 
    1px 1px 0px #000000,
    2px 2px 0px #333333,
    3px 3px 0px #666666,
    0px 0px 6px rgba(255,255,255,0.4);
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.2));
  letter-spacing: 0.5px;
}

model-viewer .hotspot:hover .annotation {
  opacity: 1;
} 