body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at center, #1e1e1e 0%, #000000 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  box-sizing: border-box;
}
.back-btn {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.back-btn:hover {
  background: #E62272;
  border-color: #E62272;
  transform: translateY(-2px);
}
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: #E62272;
  text-shadow: 0 0 20px rgba(230, 34, 114, 0.5);
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  text-align: center;
}
.leaderboard-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.2rem 2rem;
  width: 100%;
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  box-sizing: border-box;
}
.leaderboard-item:last-child {
  border-bottom: none;
}
.leaderboard-item .rank {
  color: #E62272;
  font-weight: bold;
  width: 50px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
}
.leaderboard-item .name {
  flex: 1;
  font-weight: 500;
}
.leaderboard-item .score {
  font-weight: bold;
  color: #FFD700;
  width: 90px;
  text-align: right;
}
.leaderboard-item .date {
  color: #888;
  font-size: 0.9rem;
  width: 90px;
  text-align: right;
  font-family: 'Inter', sans-serif;
}

/* Top 3 styles */
.rank-gold {
  background: rgba(255, 215, 0, 0.08) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.rank-gold .name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.rank-gold .score {
  font-size: 1.3rem;
  color: #FFD700;
}
.rank-gold .rank {
  color: #FFD700 !important;
  font-size: 1.8rem;
}
.rank-gold .date {
  color: rgba(255, 215, 0, 0.65);
}

.rank-silver {
  background: rgba(192, 192, 192, 0.06) !important;
  border: 1px solid rgba(192, 192, 192, 0.2) !important;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.rank-silver .name {
  font-size: 1.25rem;
  font-weight: bold;
  color: #E0E0E0;
}
.rank-silver .score {
  font-size: 1.2rem;
  color: #E0E0E0;
}
.rank-silver .rank {
  color: #E0E0E0 !important;
  font-size: 1.6rem;
}
.rank-silver .date {
  color: rgba(224, 224, 224, 0.65);
}

.rank-bronze {
  background: rgba(205, 127, 50, 0.05) !important;
  border: 1px solid rgba(205, 127, 50, 0.15) !important;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.rank-bronze .name {
  font-size: 1.15rem;
  font-weight: bold;
  color: #CD7F32;
}
.rank-bronze .score {
  font-size: 1.1rem;
  color: #CD7F32;
}
.rank-bronze .rank {
  color: #CD7F32 !important;
  font-size: 1.5rem;
}
.rank-bronze .date {
  color: rgba(205, 127, 50, 0.7);
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 600px;
}
.page-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.8rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) {
  background: #E62272;
  border-color: #E62272;
  transform: translateY(-2px);
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-info {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #ccc;
}
