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

:root {
  --bg: #0a0a0f;
  --text: #e0e0e0;
  --accent: #4ade80;
  --muted: #666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

h1 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status--live::before {
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.status--loading::before {
  background: #fbbf24;
  animation: pulse 1s ease-in-out infinite;
}

.status--error::before {
  background: #ef4444;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

#map {
  flex: 1;
  z-index: 1;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  font-family: 'SF Mono', Monaco, 'Consolas', monospace;
  z-index: 1000;
}

#coordinates {
  color: var(--text);
}

#updated {
  color: var(--muted);
}

/* Dark map tiles */
.leaflet-container {
  background: var(--bg);
}

/* ISS marker styles */
.iss-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.6));
}

/* Trail polyline is styled in JS */
