:root {
  --bg: #050d21;
  --surface: #0f1a3f;
  --line: #273d70;
  --text: #dbe6ff;
  --muted: #90a7d8;
  --accent: #63d5ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #112860 0%, #081631 45%, #050d21 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 43, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 10px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: #35599a;
  background: rgba(23, 44, 92, 0.8);
}

.page {
  max-width: 1100px;
  margin: 26px auto;
  padding: 0 20px 40px;
}

h1 { margin: 0 0 10px; font-size: 34px; }
p { color: var(--muted); }

.card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(15, 28, 60, 0.9), rgba(10, 20, 44, 0.95));
}

#map {
  width: 100%;
  height: 68vh;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.env {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #3b5fa0;
  border-radius: 999px;
  color: #bad5ff;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand { width: 100%; text-align: center; }
}
