/* Leaderboard - Compact Classic Theme */

.leaderboard-section {
	background: #1a1a1a;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6),
	            inset 0 1px 0 rgba(255, 255, 255, 0.03);
	border: 1px solid #2a2a2a;
	position: relative;
}

/* Leaderboard Header */
.leaderboard-header {
	padding: 10px 14px;
	background: #252525;
	border-bottom: 1px solid #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.leaderboard-header-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.leaderboard-header-left i {
	font-size: 14px;
	color: #c9a860;
}

.leaderboard-title {
	font-size: 13px;
	font-weight: 600;
	color: #e5cc9f;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-family: 'Roboto', sans-serif;
}

.leaderboard-title i {
	color: #c9a860;
	font-style: normal;
}

.leaderboard-reset {
	font-size: 9px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	font-weight: 500;
}

/* Leaderboard Container - Compact */
.leaderboard-container {
	padding: 10px;
}

/* Leaderboard Row - Very Compact */
.leaderboard-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	background: #202020;
	border: 1px solid #2a2a2a;
	border-radius: 2px;
	margin-bottom: 6px;
	transition: all 0.2s ease;
	min-height: 40px;
}

.leaderboard-row:last-child {
	margin-bottom: 0;
}

.leaderboard-row:hover {
	background: #252525;
	border-color: #333;
	transform: translateX(2px);
}

/* Player Rank */
.player-rank {
	flex: 0 0 28px;
	font-size: 11px;
	font-weight: 700;
	color: #888;
	font-family: 'Courier New', monospace;
}

/* Top 3 Rank Colors */
.leaderboard-row.rank-1 .player-rank {
	color: #ffd700;
	text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.leaderboard-row.rank-2 .player-rank {
	color: #c0c0c0;
}

.leaderboard-row.rank-3 .player-rank {
	color: #cd7f32;
}

/* Player Avatar - Small */
.player-avatar {
	flex: 0 0 30px;
}

.player-avatar img {
	width: 30px;
	height: 30px;
	border-radius: 2px;
	border: 1px solid #333;
	display: block;
	background: #1a1a1a;
}

/* Player Name - Compact */
.player-name {
	flex: 1;
	font-size: 11px;
	font-weight: 500;
	color: #ccc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.leaderboard-row:hover .player-name {
	color: #e5cc9f;
}

/* Player Points - Compact */
.player-points {
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 600;
	color: #c9a860;
	font-family: 'Courier New', monospace;
	white-space: nowrap;
}

/* Top 3 highlighting */
.leaderboard-row.rank-1 {
	background: rgba(255, 215, 0, 0.05);
	border-color: rgba(255, 215, 0, 0.15);
}

.leaderboard-row.rank-1:hover {
	background: rgba(255, 215, 0, 0.08);
	border-color: rgba(255, 215, 0, 0.25);
}

.leaderboard-row.rank-2 {
	background: rgba(192, 192, 192, 0.03);
	border-color: rgba(192, 192, 192, 0.1);
}

.leaderboard-row.rank-3 {
	background: rgba(205, 127, 50, 0.03);
	border-color: rgba(205, 127, 50, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
	.leaderboard-header {
		padding: 9px 12px;
	}

	.leaderboard-title {
		font-size: 12px;
	}

	.leaderboard-reset {
		font-size: 8px;
	}

	.leaderboard-container {
		padding: 9px;
	}

	.leaderboard-row {
		padding: 5px 7px;
		gap: 7px;
		min-height: 36px;
		margin-bottom: 5px;
	}

	.player-rank {
		flex: 0 0 26px;
		font-size: 10px;
	}

	.player-avatar {
		flex: 0 0 28px;
	}

	.player-avatar img {
		width: 28px;
		height: 28px;
	}

	.player-name {
		font-size: 10px;
	}

	.player-points {
		font-size: 9px;
	}
}

@media (max-width: 480px) {
	.leaderboard-header {
		padding: 8px 10px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.leaderboard-title {
		font-size: 11px;
	}

	.leaderboard-reset {
		font-size: 8px;
	}

	.leaderboard-container {
		padding: 8px;
	}

	.leaderboard-row {
		padding: 5px 6px;
		gap: 6px;
		min-height: 34px;
		margin-bottom: 5px;
	}

	.player-rank {
		flex: 0 0 24px;
		font-size: 10px;
	}

	.player-avatar {
		flex: 0 0 26px;
	}

	.player-avatar img {
		width: 26px;
		height: 26px;
	}

	.player-name {
		font-size: 10px;
	}

	.player-points {
		font-size: 9px;
	}
}

/* Animation - Compact */
.leaderboard-row {
	animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.leaderboard-row:nth-child(1) { animation-delay: 0.05s; }
.leaderboard-row:nth-child(2) { animation-delay: 0.08s; }
.leaderboard-row:nth-child(3) { animation-delay: 0.11s; }
.leaderboard-row:nth-child(4) { animation-delay: 0.14s; }
.leaderboard-row:nth-child(5) { animation-delay: 0.17s; }
.leaderboard-row:nth-child(6) { animation-delay: 0.20s; }
.leaderboard-row:nth-child(7) { animation-delay: 0.23s; }
.leaderboard-row:nth-child(8) { animation-delay: 0.26s; }
.leaderboard-row:nth-child(9) { animation-delay: 0.29s; }
.leaderboard-row:nth-child(10) { animation-delay: 0.32s; }


