* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f1115;
  color: #f3f4f6;
}

#viewer {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: #111827;
}

.view360-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.view360-loader.is-visible {
  opacity: 1;
}

.debug-center-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.view360-fade-overlay {
  position: absolute;
  inset: 0;
  background: #274522;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.view360-fade-overlay.is-visible {
  opacity: 1;
}

.view360-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.view360-hotspot {
  pointer-events: auto;
}

.view360-logo{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.view360-logo img{
  width: 500px;
  height: 208px;
}

.hotspot-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
}

.hotspot-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(39, 27, 17, 0.85);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.hotspot-button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:rgb(243, 166, 0);
  box-shadow: 0 0 0 6px rgba(65, 238, 34, 0.25);
}

.hotspot-button::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: 130%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.95);
  color: #f9fafb;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: center bottom;
}

.hotspot-button:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.hotspot-button:hover {
  background: rgba(31, 41, 55, 0.95);
}

code {
  color: #fbbf24;
}
