/* ===============================
   ONLINE COUNTER
   =============================== */
.online-counter-card {
  position: relative;
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(5, 9, 20, 0.98));
  border: 1px solid rgba(80, 255, 140, 0.16);
  box-shadow:
    0 0 20px rgba(50, 255, 210, 0.08),
    inset 0 0 10px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.online-counter-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(50, 255, 210, 0.85), rgba(255, 211, 46, 0.25), transparent);
  pointer-events: none;
}

.online-counter-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.online-counter-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #32ffd2;
  box-shadow: 0 0 10px rgba(50, 255, 210, 0.7);
  flex-shrink: 0;
}

.online-counter-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b6fff1;
}

.online-counter-value {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(50, 255, 210, 0.18);
}

.online-counter-value.bump {
  animation: onlineValueBump 0.35s ease;
}

@keyframes onlineValueBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.online-counter-sub {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
}

.online-counter-card.is-live .online-counter-dot {
  animation: onlinePulse 1.8s infinite ease-in-out;
}

@keyframes onlinePulse {
  0%   { transform: scale(1); box-shadow: 0 0 8px rgba(50, 255, 210, 0.45); }
  50%  { transform: scale(1.15); box-shadow: 0 0 16px rgba(50, 255, 210, 0.85); }
  100% { transform: scale(1); box-shadow: 0 0 8px rgba(50, 255, 210, 0.45); }
}