:root {
  --bg: #0b0d10;
  --surface: #12151b;
  --border: #1f2430;
  --text: #e6e8eb;
  --muted: #9aa0aa;
  --accent: #7aa2ff;
  --danger: #ff6b6b;
}

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

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

/* Popup */

#popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.popup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  animation: popupIn 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

.popup h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.popup p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.popup button {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.popup button:hover {
  filter: brightness(1.05);
}

.hidden {
  display: none;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
