* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #020617;
  border-bottom: 1px solid #1f2937;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  border: 1px solid #4b5563;
  background: #111827;
  color: #e5e7eb;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.nav-btn:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.nav-btn.active {
  background: #2563eb;
  border-color: #2563eb;
}

.app {
  flex: 1;
  padding: 24px 20px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.card {
  background: #020617;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #1f2937;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #9ca3af;
}

.card-list {
  margin-top: 12px;
  padding-left: 18px;
  color: #d1d5db;
}

.card-list li {
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(37, 99, 235, 0.15);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.4);
  margin-bottom: 8px;
}

.footer {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: #6b7280;
  border-top: 1px solid #1f2937;
  background: #020617;
}

/* Счётчик */

.counter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.counter-value {
  font-size: 40px;
  font-weight: 700;
}

.counter-buttons {
  display: flex;
  gap: 8px;
}

.counter-btn {
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #e5e7eb;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.counter-btn:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.counter-btn.primary {
  background: #16a34a;
  border-color: #16a34a;
}

.counter-btn.primary:hover {
  background: #22c55e;
}
