:root {
  --bg: #5c2971;
  --card: #7f2e7a;
  --card-soft: #6b2358;
  --accent: #22c55e;
  --active: #facc15;
  --muted: #b894b8;
  --text: #e5e7eb;
  --border: #331f2f;
}

* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
}

header {
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 6px 0;
}

/* ---------- SUMMARY ---------- */

.summary {
  background: var(--card);
  border: 1px solid var(--active);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.summary.hidden {
  display: none;
}

.summary h2 {
  margin: 0 0 10px 0;
  font-size: 1rem;
}

.summary ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
}

.summary li {
  margin-bottom: 6px;
}

/* ---------- COUNTRY ---------- */

.progress-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 28px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

.progress-bar {
  height: 14px;
  background: #4c084a;
  border-radius: 7px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e100ff, #c522b5);
  transition: width 0.4s ease;
}

/* ---------- CITY ---------- */

.city {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 26px;
}

.city.active {
  border-color: var(--active);
}

.city-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* ---------- OPERATOR ---------- */

.operator {
  margin-left: 10px;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 2px solid transparent;
}

.operator.active {
  border-left-color: var(--active);
}

.operator h4 {
  margin: 6px 0 8px;
}

/* ---------- LINE ---------- */

.line {
  margin-left: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.line.active {
  color: var(--text);
}

.line-title {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.line-bar {
  height: 6px;
  background: #020617;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.line-fill {
  height: 100%;
  background: var(--accent);
}

/* ---------- TAG ---------- */

.active-tag {
  padding: 2px 6px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #020617;
  background: var(--active);
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */

footer {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  body {
    padding: 14px;
  }

  h1 {
    font-size: 1.25rem;
  }

  .summary {
    padding: 12px;
  }

  .city {
    padding: 14px;
  }
}
