* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #131313;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.3);
  --accent: #ffcc00;
  --accent-bg: #201900;
}

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

body {
  font-family: 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Fullscreen globe */
#globe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* Overlay container */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.overlay * {
  pointer-events: auto;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 18px;
  height: 21px;
}

.logo-text {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.logo-text .u {
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links svg {
  display: block;
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tunnel-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  user-select: none;
}

.tunnel-icon {
  color: var(--accent);
}

.tunnel-count-number {
  color: var(--text);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
  transition: background 0.3s ease;
}

.status-dot.green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.status-dot.yellow {
  background: #eab308;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.6);
}

.status-dot.red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero * {
  pointer-events: auto;
}

.hero-title {
  font-family: 'Geist', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 475px;
  margin-bottom: 24px;
}

.hero-command {
  background: var(--accent-bg);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 6px 22px;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-command span {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.hero-command:hover {
  background: rgba(255, 204, 0, 0.15);
}

.hero-command.copied span::after {
  content: ' ✓';
}

/* Bottom bar */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.copyright {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
}

.tunnel-count {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
}

.built-by {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  text-decoration: none;
  transition: opacity 0.2s;
}

.built-by:hover {
  opacity: 0.7;
}

.built-by-brand {
  color: var(--text);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
  }

  .logo {
    order: -1;
  }

  .nav-links {
    gap: 20px;
  }

  .hero-title {
    font-size: 32px;
    max-width: 400px;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
  }

  .built-by {
    order: -1;
  }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .top-bar,
  .bottom-bar {
    gap: 12px;
    padding: 16px 12px;
  }

  .logo-icon {
    width: 16px;
    height: 19px;
  }

  .logo-text {
    font-size: 13px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero-title {
    font-size: 26px;
    max-width: 320px;
  }

  .hero-command {
    padding: 6px 20px;
  }

  .hero-command span {
    font-size: 13px;
  }

  .copyright,
  .built-by {
    font-size: 11px;
  }

  .tunnel-indicator {
    padding: 4px 8px;
    font-size: 11px;
  }
}
