/* Globe app — full-screen Cesium canvas + UI overlays */

body {
  overflow: hidden;
}

/* Nav */
.globe-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 16px; }

.nav-link {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }

/* Cesium container fills viewport */
.cesium-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Hide Cesium logo/attribution to keep UI minimal */
.cesium-widget-credits,
.cesium-credit-logo,
.cesium-credit-textContainer { display: none !important; }

/* Info panel */
.info-panel {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  width: 360px;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--border);
  padding: 32px 28px;
  overflow-y: auto;
  z-index: 5;
  transition: transform 0.3s ease;
}

.info-panel.hidden {
  transform: translateX(100%);
  pointer-events: none;
}

.info-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.info-close:hover { color: var(--fg); }

#infoContent { margin-top: 8px; }

.info-country {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.info-city {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}

.info-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Hint badge */
.globe-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--fg-muted);
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  z-index: 5;
  pointer-events: none;
  letter-spacing: 0.02em;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 100;
  transition: opacity 0.4s ease;
}

.loading-overlay.done {
  opacity: 0;
  pointer-events: none;
}

.loading-globe {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}