
html {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #181926;
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  min-height: 100%;
    overflow-x: hidden;
  overflow-y: auto;
    
}


body {
    height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

.stats-wrapper {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
}

.title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

.subtitle {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 25px;
}

.milestone-banner {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #181926;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.5);
}

.milestone-banner.hidden {
  display: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  opacity: 0.9;
}

.value {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 4px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#deviceList li,
#osList li,
#browserList li,
#pageList li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
}

.item-label {
  opacity: 0.85;
}

.item-value {
  opacity: 0.8;
}

.pct {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-left: 4px;
}

.events-card {
  max-height: 260px;
  overflow-y: auto;
}

#eventList li {
  font-size: 0.85rem;
  opacity: 0.8;
  padding: 3px 0;
}

.event-milestone {
  color: #fbbf24;
  font-weight: 600;
}


