* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07090d;
  --bg-soft: #0d1118;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --blue: #00a2ff;
  --blue2: #005eff;
  --blue-light: #74d0ff;
  --text: #ffffff;
  --muted: #9ba8b5;
  --green: #00d26a;
  --red: #ff4d6d;
  --shadow: 0 18px 40px rgba(0,0,0,0.25);
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 162, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(0, 94, 255, 0.10), transparent 24%),
    linear-gradient(180deg, #06080c 0%, #0b1017 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(92%, 1280px);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  pointer-events: none;
}

.glow-1 {
  background: rgba(0, 162, 255, 0.22);
  top: 20px;
  left: -120px;
}

.glow-2 {
  background: rgba(0, 94, 255, 0.16);
  right: -120px;
  bottom: -80px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 18, 0.72);
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(0,162,255,0.28);
}

.logo h1 {
  font-size: 1.08rem;
}

.logo span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.08);
  border: 1px solid rgba(0, 162, 255, 0.18);
  color: var(--blue-light);
  font-size: 0.92rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff9d;
  box-shadow: 0 0 12px #00ff9d;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}

.hero {
  padding: 60px 0 30px;
}

.hero-badge {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.08);
  border: 1px solid rgba(0, 162, 255, 0.18);
  color: var(--blue-light);
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.hero h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 860px;
}

.hero p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 820px;
}

.top-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.mini-stat {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mini-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mini-stat strong {
  font-size: 1.2rem;
  color: #fff;
}

.cards-grid,
.charts-grid,
.bottom-grid {
  display: grid;
  gap: 22px;
}

.cards-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.charts-grid {
  margin-top: 22px;
}

.bottom-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 22px 0 50px;
}

.status-card,
.chart-card,
.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.card-top h3 {
  font-size: 1.15rem;
}

.status-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.status-pill.online {
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.24);
  color: #63f0a8;
}

.status-pill.offline {
  background: rgba(255, 77, 109, 0.10);
  border: 1px solid rgba(255, 77, 109, 0.22);
  color: #ff94a7;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-row strong {
  text-align: right;
  font-size: 0.96rem;
}

.chart-info {
  color: var(--muted);
  font-size: 0.9rem;
}

#pingChart,
#playerChart {
  width: 100% !important;
  height: 340px !important;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .top-mini-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .charts-grid,
  .cards-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-mini-stats {
    grid-template-columns: 1fr;
  }

  .stat-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-row strong {
    text-align: left;
  }

  #pingChart,
  #playerChart {
    height: 280px !important;
  }
}