* {
  box-sizing: border-box;
}

:root {
  font-family: Inter, system-ui, Arial, sans-serif;
  color: #f4f7fb;
  background: #080b10;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(87, 255, 145, 0.12), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(72, 133, 255, 0.12), transparent 30rem),
    #080b10;
}

.container {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  font-weight: 900;
  letter-spacing: -2px;
}

.eyebrow, .label {
  margin: 0;
  color: #8f9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

h1 {
  margin: 3px 0 0;
  font-size: clamp(28px, 7vw, 44px);
}

.status-card,
.players-card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background: rgba(15, 20, 29, .78);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px;
  margin-bottom: 18px;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.dot.online {
  background: #57ff91;
  box-shadow: 0 0 20px rgba(87,255,145,.8);
}

.dot.offline {
  background: #ff6262;
  box-shadow: 0 0 20px rgba(255,98,98,.55);
}

.counter {
  text-align: right;
}

.counter span {
  font-size: 38px;
  font-weight: 900;
}

.counter small {
  color: #8f9aaa;
}

.players-card {
  padding: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

h2 {
  margin: 0;
}

button {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 9px 13px;
  color: white;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

button:hover {
  background: rgba(255,255,255,.10);
}

.players-list {
  display: grid;
  gap: 10px;
}

.player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(255,255,255,.045);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(87,255,145,.12);
  color: #7dffa6;
  font-weight: 900;
}

.player-name {
  font-weight: 750;
}

.empty {
  color: #8f9aaa;
  text-align: center;
  padding: 24px;
}

footer {
  margin-top: 18px;
  color: #7f8998;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 520px) {
  .status-card {
    align-items: flex-start;
  }

  .counter small {
    display: block;
  }
}
