:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #08110f;
  color: #f4f7f2;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-height: 100vh;
}

.scene-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 50% 48%, rgba(79, 141, 111, 0.26), transparent 34%),
    linear-gradient(135deg, #07100f 0%, #162325 48%, #120f18 100%);
}

#sphereCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#sphereCanvas:active {
  cursor: grabbing;
}

.hud {
  position: absolute;
  top: clamp(20px, 5vw, 48px);
  left: clamp(18px, 5vw, 56px);
  width: min(310px, calc(100vw - 36px));
  padding: 0;
  pointer-events: none;
}

.hud h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hud p {
  max-width: 260px;
  margin: 0 0 18px;
  color: rgba(244, 247, 242, 0.76);
  font-size: 1rem;
  line-height: 1.45;
}

.hud button {
  width: 120px;
  min-height: 42px;
  border: 1px solid rgba(244, 247, 242, 0.32);
  border-radius: 8px;
  background: rgba(244, 247, 242, 0.1);
  color: #f4f7f2;
  font: inherit;
  font-weight: 700;
  pointer-events: auto;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.hud button:hover {
  background: rgba(244, 247, 242, 0.18);
}

@media (max-width: 640px) {
  .hud {
    top: 18px;
  }

  .hud h1 {
    font-size: 2.15rem;
  }

  .hud p {
    font-size: 0.92rem;
  }
}
