body {
  background: #0f172a;
  color: white;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  padding: 15px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #38bdf8;
}
.logo span {
  color: #f59e0b;
}

.navbar a {
  margin-left: 20px;
  text-decoration: none;
  color: #cbd5e1;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #fff;
}

.leaderboard {
  max-width: 900px;
  margin: 30px auto;
}

.player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transform: scale(1);
  transition: transform 0.2s ease, background 0.2s ease;
}
.player:hover {
  transform: scale(1.02);
  background: #2d3b54;
}

.rank {
  font-weight: bold;
  font-size: 1.2rem;
  color: gold;
  width: 50px;
  text-align: center;
}

.info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badges img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #111827;
  padding: 5px;
  transition: transform 0.2s ease;
}
.badges img:hover {
  transform: scale(1.2);
}

.points {
  font-weight: bold;
  color: #38bdf8;
}
