/* ============================================================
   warsendedbytrump.eu — clean, light, responsive
   ============================================================ */

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --ink: #212529;
  --ink-soft: #495057;
  --ink-faint: #868e96;
  --line: #dee2e6;
  --ocean: #e7f0f7;
  --land: #e9ecef;
  --land-border: #ced4da;
  --accent: #c92a2a;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(33, 37, 41, .08);
  --shadow-lg: 0 8px 30px rgba(33, 37, 41, .14);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: #1971c2; }
a:hover { color: #1864ab; }

/* ---------- Header ---------- */

.site-header {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
  text-align: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}

h1 .question { color: var(--accent); }

.lede {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}

.hero-stats li strong { color: var(--ink); }
.hero-stats li .dot { margin-right: 7px; }

/* ---------- Map ---------- */

.map-section { padding: 40px 0 10px; }

#map-wrap {
  position: relative;
  background: var(--ocean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#map {
  display: block;
  width: 100%;
  height: auto;
}

.country {
  fill: var(--land);
  stroke: var(--land-border);
  stroke-width: .5;
}

.country.highlighted {
  cursor: pointer;
  transition: fill .15s ease;
}

.country.dimmed { opacity: .35; }

.country.active {
  stroke: #212529;
  stroke-width: 1.2;
}

/* claim marker pins (Kosovo, Strait of Hormuz) */
.marker {
  cursor: pointer;
}
.marker circle.core {
  stroke: #fff;
  stroke-width: 1.5;
}
.marker circle.pulse {
  fill: none;
  stroke-width: 1.5;
  opacity: .7;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { r: 6;  opacity: .7; }
  70%  { r: 16; opacity: 0; }
  100% { r: 16; opacity: 0; }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 18px 0 6px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.map-hint {
  text-align: center;
  color: var(--ink-faint);
  font-size: .85rem;
  margin: 8px 0 0;
}

/* ---------- Tooltip (speech bubble) ---------- */

.tooltip {
  position: absolute;
  width: min(320px, 82vw);
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  font-size: .9rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 10;
}

.tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip.pinned { pointer-events: auto; }

/* slim scrollbar for long tooltips (Firefox + WebKit) */
.tooltip { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tooltip::-webkit-scrollbar { width: 6px; }
.tooltip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.tooltip::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.tooltip.above::after {
  bottom: auto;
  top: -8px;
  transform: rotate(225deg);
}

.tooltip .tt-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.tooltip h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.tooltip p { margin: 0 0 8px; color: var(--ink-soft); }
.tooltip p:last-of-type { margin-bottom: 0; }

.tooltip .tt-claim {
  border-left: 3px solid var(--line);
  padding-left: 10px;
  font-style: italic;
  color: var(--ink-faint);
}

.tooltip .tt-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 1.1rem;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 2px 6px;
}
.tooltip .tt-close:hover { color: var(--ink); }

.tooltip .tt-more {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- Cards ---------- */

.claims-section { padding: 56px 0 20px; }

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.section-intro {
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 640px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 20px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.card.flash {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.card .badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  border-radius: 4px;
  padding: 3px 9px;
}

.card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.card .label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  margin: 0 0 4px;
}

.card blockquote {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--line);
  background: #f8f9fa;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--ink-soft);
  font-size: .92rem;
}

.card .reality { margin: 0; font-size: .94rem; color: var(--ink); }

.card .sources {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: .82rem;
  color: var(--ink-faint);
}

.card .sources ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* ---------- Method & footer ---------- */

.method-section {
  padding: 40px 0 60px;
}

.method-section p {
  max-width: 760px;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0 36px;
  font-size: .88rem;
  color: var(--ink-soft);
}

.site-footer .disclaimer {
  color: var(--ink-faint);
  font-size: .8rem;
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .site-header { padding: 40px 0 30px; }
  .lede { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .map-hint { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marker circle.pulse { animation: none; opacity: 0; }
  .tooltip { transition: none; }
}

