:root {
  --bg: #05060f;
  --card: rgba(12, 16, 32, 0.72);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #7c3aed;
  --accent2: #22c55e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(900px 600px at 20% 10%, rgba(124,58,237,0.25), transparent),
              radial-gradient(800px 700px at 80% 20%, rgba(34,197,94,0.22), transparent),
              linear-gradient(140deg, #0a0f1f, #05060f 60%);
  z-index: -2;
}
.glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 50% 80%, rgba(255,255,255,0.04), transparent);
  z-index: -1;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
}
.actions {
  display: flex;
  gap: 12px;
}
.btn {
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
.btn.solid {
  background: linear-gradient(135deg, var(--accent), #5b21b6);
  box-shadow: 0 10px 30px rgba(124,58,237,0.35);
}
.btn.ghost {
  background: rgba(255,255,255,0.05);
}
.btn:hover { transform: translateY(-1px); }

.container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  padding: 20px 32px 10px 32px;
}
.content {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
}
.eyebrow {
  color: var(--accent2);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 10px;
}
.content h1 {
  font-size: 36px;
  margin: 0 0 12px;
  line-height: 1.1;
}
.sub {
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.cta { display: flex; gap: 12px; }

.card {
  padding: 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  background: radial-gradient(140px, rgba(124,58,237,0.16), transparent 60%);
}
.badge {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: #bbf7d0;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(34,197,94,0.4);
}
.card h3 { margin: 12px 0; }
.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
.card li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card li::before {
  content: "*";
  color: var(--accent2);
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 0 32px 32px;
}
.stats div {
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.value {
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   VIDEO EMBED
========================= */
.video-block {
  padding: 0 32px 32px;
}
.video-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.video-header h3 {
  margin: 0 0 6px;
}
.video-header p {
  margin: 0 0 12px;
  color: var(--muted);
}
.video-embed {
  position: relative;
  padding-bottom: 38%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-section {
  padding: 0 32px 32px;
}
.map-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.map-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.6);
}
.map-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: radial-gradient(800px 400px at 20% 30%, rgba(79,70,229,0.2), transparent),
              radial-gradient(600px 300px at 80% 70%, rgba(34,197,94,0.2), transparent),
              #0b1223;
  display: grid;
  grid-template-columns: 3fr 1fr;
}
#mapCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.map-list {
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 10px;
  overflow-y: auto;
  font-size: 12px;
  color: var(--muted);
  background: rgba(0,0,0,0.12);
}
.map-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4px;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.map-item span:last-child {
  grid-column: 1 / -1;
  color: rgba(229,231,235,0.6);
}
.map-empty {
  margin: 0;
  color: rgba(229,231,235,0.6);
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .actions { width: 100%; }
  .actions .btn { flex: 1; text-align: center; }
}
