:root {
  --bg: transparent;
  --panel-bg: rgba(10, 12, 20, 0.82);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --muted: #9ba3ba;
  --accent: #63d8ff;
  --glow: 0 12px 28px rgba(99, 216, 255, 0.45);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0b1020;
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.wrapper {
  width: min(1200px, 100%);
}

.header {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.subtitle {
  color: var(--muted);
  font-size: 15px;
}

.globe-shell {
  position: relative;
  height: 560px;
  width: 100%;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(99, 216, 255, 0.08), rgba(99, 216, 255, 0) 45%),
              linear-gradient(145deg, rgba(30, 40, 70, 0.8), rgba(10, 14, 28, 0.95));
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

#globe {
  width: 100%;
  height: 600px;
  max-height: 70vh;
  position: absolute;
  inset: 0;
}


.info-card {
  position: absolute;
  min-width: 220px;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  color: var(--text);
  box-shadow: var(--glow);
  pointer-events: auto;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 120ms ease, transform 160ms ease;
  backdrop-filter: blur(10px);
  z-index: 2;
  pointer-events: none;
}

.info-card.visible {
  opacity: 1;
  pointer-events: auto;
  pointer-events: auto;
  transform: translate(-50%, -2px);
  pointer-events: auto;
}

.info-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.info-card .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.info-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

.status {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px) {
  body {
    padding: 18px 12px;
  }
  .globe-shell {
    height: 420px;
    border-radius: 14px;
  }
  .title {
    font-size: 20px;
  }
  .subtitle {
    font-size: 14px;
  }
}
