* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1b1f3b, #05060f);
  color: #fff;
  font-family: system-ui;
}

.app {
  padding: 16px;
}

header h1 {
  text-align: center;
  margin-bottom: 12px;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.tab {
  background: linear-gradient(135deg, #3a3fff, #6a6dff);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0.6;
}

.tab.active {
  opacity: 1;
  box-shadow: 0 0 15px #4b50ff;
}

.card {
  margin-top: 20px;
  background: #0e1224;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(0,0,0,.6);
}

.cpu-ring {
  position: relative;
  width: 140px;
  margin: 0 auto 20px;
}

.cpu-ring span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
}

svg circle {
  fill: none;
  stroke-width: 12;
  stroke: #222;
}

svg .progress {
  stroke: url(#grad);
  stroke-dasharray: 377;
  stroke-dashoffset: 210;
  stroke-linecap: round;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: .7 }
  50% { opacity: 1 }
  100% { opacity: .7 }
}

.proxies {
  display: grid;
  gap: 10px;
}

.proxy {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
}

.proxy.ok {
  background: linear-gradient(135deg, #1d8f5a, #28c76f);
}

.proxy.bad {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.proxy button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

