
/* FULL SCREEN LEADERBOARD PAGE */
#leaderboard-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

#leaderboard-page.hidden {
    display: none;
}

.leaderboard-content {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #444;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.leaderboard-content h2 {
    text-align: center;
    color: #00ffff;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff0055;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 2px solid #333;
    color: #888;
    font-weight: bold;
    font-size: 0.9rem;
}

#leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    max-height: 60vh;
    overflow-y: auto;
}

#leaderboard-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #333;
    font-size: 1.2rem;
    transition: background 0.2s;
}

#leaderboard-list li:hover {
    background: rgba(255, 255, 255, 0.05);
}

#leaderboard-list li.me {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

#leaderboard-list li span:nth-child(1) { width: 50px; color: #888; } /* Rank */
#leaderboard-list li span:nth-child(2) { flex: 1; text-align: left; color: #fff; } /* Name */
#leaderboard-list li span:nth-child(3) { width: 80px; text-align: right; color: #ffaa00; font-family: monospace; } /* Score */

