:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a3a3a3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: #000000;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 28%),
    linear-gradient(180deg, #080808 0%, #030303 55%, #000000 100%);
  min-height: 100vh;
}

.hero {
  position: relative;
  padding: 72px 20px 140px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 40%);
  opacity: 1;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f5f5;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

h1 {
  margin: 20px 0 12px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.subtext {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.search-shell {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: -68px auto 0;
  padding: 0 20px;
}

.search-bar {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(5, 5, 5, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: 0;
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
}

.search-bar input::placeholder {
  color: #737373;
}

.search-bar input:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.search-bar button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0 22px;
  min-height: 58px;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.search-bar button:hover {
  transform: translateY(-1px);
  background: #ededed;
}

.search-bar button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

main {
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 0 20px 72px;
}

.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.value {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
  color: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.map-wrap {
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

#mapFrame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: #050505;
  filter: grayscale(1) contrast(1.05) brightness(0.84);
}

.meta-grid {
  display: grid;
  gap: 20px;
}

.status {
  color: var(--muted);
  font-size: 0.96rem;
  min-height: 1.5em;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.list-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.list-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-note {
  margin-top: 18px;
  color: #7a7a7a;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .details,
  .layout {
    grid-template-columns: 1fr 1fr;
  }

  .layout > *:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 120px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar button {
    width: 100%;
  }

  .details,
  .layout {
    grid-template-columns: 1fr;
  }
}
