* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0e2039 0%, #0a1729 40%, #081525 100%);
  color: #e6eaf0;
}
header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.filter-btn {
  background: linear-gradient(120deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}
.filter-btn:hover { filter: brightness(1.05); }
h1 { margin: 0; font-size: 26px; }
p { margin: 6px 0 0; color: #9fb1c9; }
main { padding: 20px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.card.wide { grid-column: span 2; min-width: 640px; }
.card h3 {
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.filters {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #d8e3f6;
}
.filters select {
  background: #0f233f;
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 140px;
}
.card div[id] { min-height: 260px; }
.map-container {
  width: 100%;
  min-height: 480px;
}
.hidden { display: none; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  z-index: 50;
}
.modal.hidden { display: none; }
.modal-content {
  background: rgba(12, 19, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  width: min(900px, 96vw);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e6eaf0;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
@media (max-width: 720px) { .card.wide { grid-column: span 1; min-width: 100%; } }
