html,
    body,
    #cesiumContainer {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }

    /* INTRO OVERLAY */
#introOverlay {
  position: absolute;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;

  /* optional cinematic overlay */
  background: rgba(0, 0, 0, 0.45);
}

/* Logo above text */
#introLogo {
  width: 520px;
  max-width: 90vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}

/* Fancy welcome text */
#welcomeText {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 6px 18px 0;

  /* gradient text */
  background: linear-gradient(90deg, #00ffd5, #9dff6a, #00b7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* fade-in animation */
  opacity: 0;
  animation: fadeInUp 1.8s ease forwards;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Start button as image, hidden initially (shown after 2s) */
#startButton {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10001;
  margin-top: -28px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

#startButton.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#startButton img {
  width: 260px;
  max-width: 75vw;
  height: 200px;
  display: block;
}

#startButton:active {
  transform: translateY(0) scale(0.98);
}


    /* POI Media Panel (top-right) - hidden by default; shown only when image exists */
    #poiMediaPanel {
      position: absolute;
      top: 46px;
      right: 16px;
      width: 340px;
      height: 200px;
      z-index: 9998;

      background: rgba(0, 0, 0, 0.18);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);

      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 14px;
      overflow: hidden;

      align-items: center;
      justify-content: center;

      display: none;
      pointer-events: none;
    }

    #poiMediaImg {
      max-width: 100%;
      max-height: 100%;
      object-fit: cover;
      display: none;
      opacity: 0;
      transition: opacity 250ms ease;
    }

    /* Pause button look like Cesium toolbar buttons */
    #pauseToggle {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  cursor: pointer;

  background: transparent !important;   /* ✅ stop Cesium overriding */
  box-shadow: none !important;
}

#pauseToggle img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 5px auto 0; /* center inside 32x32 */
  pointer-events: none; /* ✅ clicks go to button */
}

